The following TCP/IP specific options are defined:
level=IPPROTO_IP
Value | Type | Meaning |
---|---|---|
IP_OPTIONS | char FAR * | List of IP options to be inserted into outgoing packets. |
IP_TOS | int | Specifies type of service to be used |
IP_TTL | int | Specify TTL to be used |
IP_HDRINCL | BOOL | If true, application will provide IP header in the packets sent over SOCK_RAW interface, otherwise the header is provided by the service provider. |
IP_MULTICAST_IF | struct in_addr FAR * | Select interface for outgoing multicast packets. The optval should point to the address of the interface to be used. If NULL, the default interface is used. |
IP_MULTICAST_TTL | int | TTL used for the multicast packets |
IP_MULTICAST_LOOP | BOOL | If true, multicast loopback is enabled, otherwise - disabled. |
IP_ADD_MEMBERSHIP | struct ip_mreq FAR * | Specify the multicast group to join |
IP_DROP_MEMBERSHIP | struct ip_mreq FAR * | Specify the multicast group to leave |
level= IPPROTO_UDP
Value | Type | Meaning |
---|---|---|
UDP_NOCHECKSUM | BOOL | If the option is set, UDP datagrams are sent with the checksum of zero. This option is required. If a service provider does not have a mechanism to disable UDP checksum calculation, it may just store this option without doing any actions. |
level= IPPROTO_TCP
Value | Type | Meaning |
---|---|---|
TCP_EXPEDITED_1122 | BOOL | If set, the Service Provider implements the expedited data as specified in RFC-1222, otherwise the BSD style (default) is used. This option can be set on the connection only once, i.e. once on, this option can not be turned off. This option is not required. |
XPI_SUPPORTS_MULTIPOINT = 1
XP1_MULTIPOINT_CONTROL_PLANE = 0
XP1_MULTIPOINT_DATA_PLANE = 0