Links

GitHub

Open HUB

Quick Links

Download

STREAMS

SIGTRAN

SS7

Hardware

SCTP

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

Repositories

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_G(0.9.2.7) Copyright (c) 2001-2008 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


Last modified: Thu, 28 Nov 2024 14:44:31 GMT  
Copyright © 2014 OpenSS7 Corporation All Rights Reserved.