Previous section.

Technical Standard: Networking Services (XNS), Issue 5.2 Draft 2.0
Copyright © 1999 The Open Group

NAME

-<->XTI

SYNOPSIS


#include <xti_inet.h>


DESCRIPTION

The following symbol is defined to identify the ISO Transport protocol level:

Symbol Protocol Level
T_INET_TP TCP

The following symbols are defined with distinct integer values to identify TCP-level options:

Symbol Option
T_TCP_NODELAY do not delay packets to coalesce
T_TCP_MAXSEG get maximum segment size
T_TCP_KEEPALIVE check whether connections are alive

Structure type t_kpalive is defined with the following members for use with TCP_KEEPALIVE option:

Member Type Contents
kp_onoff t_scalar_t option on/off
kp_timeout t_scalar_t timeout in minutes

The following symbol is defined to identify the UDP protocol level:

Symbol Protocol Level
T_INET_UDP UDP

The following symbol is defined with integer value to identify the UDP-level checksum option:

Symbol Option
T_UDP_CHECKSUM checksum computation

The following symbol is defined to identify the IP protocol level:

Symbol Protocol Level
T_INET_IP IP

The following symbols are defined with distinct integer values to identify IP-level options:

Symbol Option
T_IP_OPTIONS IP per-packet options
T_IP_TOS IP per-packet type of service
T_IP_TTL IP per-packet time to live
T_IP_REUSEADDR allow local address reuse
T_IP_DONTROUTE just use interface addresses
T_IP_BROADCAST permit sending of broadcast messages

The following symbols are defined with distinct integer values to identify IP Types of Service:

Symbol Type of Service
T_NOTOS normal
T_LDELAY low delay
T_HITHRPT high throughput
T_HIREL high resilience
T_LOCOST low cost

The following symbols are defined with distinct integer values to identify IP Type of Service precedence levels:

Symbol IP TOS Precedence Level
T_ROUTINE routine
T_PRIORITY priority
T_IMMEDIATE immediate
T_FLASH flash
T_OVERRIDEFLASH override flash
T_CRITIC_ECP critical/ECP
T_INETCONTROL internetwork control
T_NETCONTROL network control

Macro SET_TOS(prec, tos) is defined such that SET_TOS(prec, tos) is the value of the IP Type of Service field for Type of Service tos and precedence prec.

SEE ALSO

<xti.h>, <xti_osi.h>.

CHANGE HISTORY

First released in Issue 5.2.

Contents Next section Index