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

📄 xti_ip.h

📁 No7信令,我需要交换类似的代码, 请店长审核,谢谢了,急着交换,谢谢
💻 H
字号:
/***************************************************************************** @(#) xti_ip.h,v 0.7.8.1 2001/12/11 13:26:36 brian Exp ----------------------------------------------------------------------------- Copyright (C) 2001  OpenSS7 Corporation <http://www.openss7.com> 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; either version 2 of the License, or (at your option) any later version. 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 success regulations) or, in the cases of NASA, in paragraph 18.52.227-86 of the NASA Supplement to the FAR (or any successor regulations). ----------------------------------------------------------------------------- Last Modified 2001/12/11 13:26:36 by brian *****************************************************************************/#ifndef _SYS_XTI_IP_H#define _SYS_XTI_IP_H#define T_INET_IP	0   /* IP level (same as protocol number) */#define T_IP_OPTIONS	0x1	/* IP per-packet options	    */#define T_IP_TOS	0x2	/* IP per-packet type of service    */#define T_IP_TTL	0x3	/* IP per-packet time to live	    */#define T_IP_REUSEADDR	0x4	/* allow local address reuse	    */#define T_IP_DONTROUTE	0x10	/* just use interface addresses	    */#define T_IP_BROADCAST	0x20	/* permit sending of broadcast msgs *//* *  IP_TOS precedence levels */#define T_ROUTINE	0#define T_PRIORITY	1#define T_IMMEDIATE	2#define T_FLASH		3#define T_OVERRIDEFLASH	4#define T_CRITIC_ECP	5#define T_INETCONTROL	6#define T_NETCONTROL	7/* *  IP_TOS type of service */#define T_NOTOS		0#define T_LDELAY	(1<<4)#define T_HITHRPT	(1<<3)#define T_HIREL		(1<<2)#define T_LOCOST	(1<<1)#define SET_TOS(prec, tos) ((0x7 & (prec)) << 5 | (0x1c & (tos)))#endif  _SYS_XTI_IP_H

⌨️ 快捷键说明

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