⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xti_osi.h

📁 OpenSS7 This the fourth public release of the OpenSS7 Master Package. See README in the release for
💻 H
字号:
/***************************************************************************** @(#) xti_osi.h,v 0.9.2.5 2006/09/25 12:10:09 brian Exp ----------------------------------------------------------------------------- Copyright (c) 2001-2006  OpenSS7 Corporation <http://www.openss7.com/> Copyright (c) 1997-2001  Brian F. G. Bidulock <bidulock@openss7.org> All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ----------------------------------------------------------------------------- U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software on behalf of the U.S. Government ("Government"), the following provisions apply to you.  If the Software is supplied by the Department of Defense ("DoD"), it is classified as "Commercial Computer Software" under paragraph 252.227-7014 of the DoD Supplement to the Federal Acquisition Regulations ("DFARS") (or any successor regulations) and the Government is acquiring only the license rights granted herein (the license rights customarily provided to non-Government users).  If the Software is supplied to any unit or agency of the Government other than DoD, it is classified as "Restricted Computer Software" and the Government's rights in the Software are defined in paragraph 52.227-19 of the Federal Acquisition Regulations ("FAR") (or any successor regulations) or, in the cases of NASA, in paragraph 18.52.227-86 of the NASA Supplement to the FAR (or any successor regulations). ----------------------------------------------------------------------------- Commercial licensing and support of this software is available from OpenSS7 Corporation at a fee.  See http://www.openss7.com/ ----------------------------------------------------------------------------- Last Modified 2006/09/25 12:10:09 by brian ----------------------------------------------------------------------------- xti_osi.h,v Revision 0.9.2.5  2006/09/25 12:10:09  brian - updated and doxygenified headers Revision 0.9.2.4  2006/09/18 13:52:37  brian - added doxygen markers to sources Revision 0.9.2.3  2005/05/14 08:30:49  brian - copyright header correction Revision 0.9.2.2  2004/09/02 09:31:14  brian - Synchronization with other packages. Revision 0.9.2.1  2004/05/12 08:01:39  brian - Added in xti library and STREAMS modules. Revision 1.1.2.1  2004/04/13 12:12:52  brian - Rearranged header files. *****************************************************************************/#ifndef _SYS_XTI_OSI_H#define _SYS_XTI_OSI_H#ident "@(#) xti_osi.h,v openss7-0_9_2_E(0.9.2.5) Copyright (c) 2001-2006 OpenSS7 Corporation."/* This file can be processed with doxygen(1). *//** @addtogroup xnet  * @{ *//** @file  * XTI ISO-Specific header file.  *  * This file contains specific ISO option and management parameters.  *//* * XTI ISO-Specific Header File. * * This file contains specific ISO option and management parameters. *//**  * @name ISO Transport Classes  * Definition of the ISO transport classes.  *  * @{ */#define T_CLASS0	0#define T_CLASS1	1#define T_CLASS2	2#define T_CLASS3	3#define T_CLASS4	4/** @} *//**  * @name Priorities  * Definition of the priorities.  *  * @{ */#define T_PRITOP	0#define T_PRIHIGH	1#define T_PRIMID	2#define T_PRILOW	3#define T_PRIDFLT	4/** @} *//**  * @name Protection Levels  * Definitions of the protection levels.  *  * @{ */#define T_NOPROTECT		1#define T_PASSIVEPROTECT	2#define T_ACTIVEPROTECT		4/** @} *//**  * Rate structure.  */struct rate {	t_scalar_t targetvalue;		/**< Target value. */	t_scalar_t minacceptvalue;	/**< Value of minimum acceptable quality. */};/**  * Request value structure.  */struct reqvalue {	struct rate called;		/**< Called rate. */	struct rate calling;		/**< Calling rate. */};/**  * Throughput structure.  */struct thrpt {	struct reqvalue maxthrpt;	/**< Maximum throughput. */	struct reqvalue avgthrpt;	/**< Average throughput. */};/**  * Transit delay structure.  */struct transdel {	struct reqvalue maxdel;		/**< Maximum transit delay. */	struct reqvalue avgdel;		/**< Average transit delay. */};/**  * ISO Transport Option Level.  */#define T_ISO_TP	0x0100/**  * @name QOS Options  * Options for Quality of Service and Expedited Data (ISO 8072:1994).  *  * @{ */#define T_TCO_THROUGHPUT	0x0001	/**< struct thrpt, octets per second. */#define T_TCO_TRANSDEL		0x0002	/**< struct transdel, milliseconds. */#define T_TCO_RESERRORRATE	0x0003	/**< struct rate, -log10(ratio). */#define T_TCO_TRANSFFAILPROB	0x0004	/**< struct rate, -log10(ratio). */#define T_TCO_ESTFAILPROB	0x0005	/**< struct rate, -log10(ratio). */#define T_TCO_RELFAILPROB	0x0006	/**< struct rate, -log10(ratio). */#define T_TCO_ESTDELAY		0x0007	/**< struct rate, milliseconds. */#define T_TCO_RELDELAY		0x0008	/**< struct rate, milliseconds. */#define T_TCO_CONNRESIL		0x0009	/**< struct rate, -log10(ratio). */#define T_TCO_PROTECTION	0x000a	/**< t_uscalar_t, values above. */#define T_TCO_PRIORITY		0x000b	/**< t_uscalar_t, values above. */#define T_TCO_EXPD		0x000c	/**< t_uscalar_t T_YES/T_NO. *//** @} *//**  * @name Management Options  *  * @{ */#define T_TCO_LTPDU		0x0100	/**< t_uscalar_t, octets. */#define T_TCO_ACKTIME		0x0200	/**< t_uscalar_t, milliseconds. */#define T_TCO_REASTIME		0x0300	/**< t_uscalar_t, seconds. */#define T_TCO_PREFCLASS		0x0900	/**< t_uscalar_t, see above. */#define T_TCO_ALTCLASS1		0x0a00	/**< t_uscalar_t, see above. */#define T_TCO_ALTCLASS2		0x0b00	/**< t_uscalar_t, see above. */#define T_TCO_ALTCLASS3		0x0c00	/**< t_uscalar_t, see above. */#define T_TCO_ALTCLASS4		0x0d00	/**< t_uscalar_t, see above. */#define T_TCO_EXTFORM		0x0400	/**< t_uscalar_t, T_YES/T_NO/T_UNSPEC. */#define T_TCO_FLOWCTRL		0x0500	/**< t_uscalar_t, T_YES/T_NO/T_UNSPEC. */#define T_TCO_CHECKSUM		0x0600	/**< t_uscalar_t, T_YES/T_NO/T_UNSPEC. */#define T_TCO_NETEXP		0x0700	/**< t_uscalar_t, T_YES/T_NO/T_UNSPEC. */#define T_TCO_NETRECPTCF	0x0800	/**< t_uscalar_t, T_YES/T_NO/T_UNSPEC. */#define T_TCL_TRANSDEL		0x000d#define T_TCL_RESERRORRATE	T_TCO_RESERRORRATE#define T_TCL_PROTECTION	T_TCO_PROTECTION#define T_TCL_PRIORITY		T_TCO_PRIORITY#define T_TCL_CHECKSUM		T_TCO_CHECKSUM/** @} */#endif				/* _SYS_XTI_OSI_H *//** @} */// vim: com=srO\:/**,mb\:*,ex\:*/,srO\:/*,mb\:*,ex\:*/,b\:TRANS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -