OpenSS7
SS7 for the
Common Man
© Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved.
Last modified: Wed, 30 Jul 2008 00:13:35 GMT
Home TopIndex FirstPrev Next LastMore Download Info FAQ Mail  Home -> Resources -> Browse Source -> /code/strss7/src/include/sys/xti_ip.h
Quick Links

Download

SCTP

SIGTRAN

SS7

Hardware

STREAMS

Asterisk

Related

Package

Manual

FAQ

Browse Source

Applications

SS7 Stack

ISDN Stack

SIGTRAN Stack

VoIP Stack

MG Stack

SS7/ISDN Devices

IP Transport

Embedded Systems

Operating System

Resources

Packages

Sys Req

Download

Mailing Lists

Browse Source

CVS Archive

Bug Reports

Library

Hardware

Vendor Links

Home

Overview

Status

Documentation

Resources

About

News

Description: Code

File /code/strss7/src/include/sys/xti_ip.h



#ifndef _SYS_XTI_IP_H
#define _SYS_XTI_IP_H

#ident "@(#) xti_ip.h,v openss7-0_9_2_F(0.9.2.5) Copyright (c) 2001-2006 OpenSS7 Corporation."

#define T_INET_IP		0

#define T_IP_OPTIONS		1
#define T_IP_TOS		2
#define T_IP_TTL		3
#define T_IP_REUSEADDR		4
#define T_IP_DONTROUTE		5
#define T_IP_BROADCAST		6
#define T_IP_ADDR		7

#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

#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) | ((T_NOTOS|T_LDELAY|T_HITHRPT|T_HIREL|T_LOCOST) & (tos)))

#endif


OpenSS7
SS7 for the
Common Man
Home TopIndex FirstPrev Next LastMore Download Info FAQ Mail  Home -> Resources -> Browse Source -> /code/strss7/src/include/sys/xti_ip.h
Last modified: Wed, 30 Jul 2008 00:13:35 GMT
© Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved.