Socket Protocol#

Macros#

#define

Dummy for IP.

#define
IPPROTO_HOPOPTS IPPROTO_IP

Hop-by-hop option header.

#define

Control message protocol.

#define

Group mgmt protocol.

#define

Gateway^2 (deprecated)

#define

IP inside IP.

#define
IPPROTO_IPV4 IPPROTO_IPIP

IP inside IP.

#define
#define

Exterior gateway protocol.

#define

PUP.

#define

User datagram protocol.

#define

XNS IDP.

#define

TP-4 w/ class negotiation.

#define

IPv6 in IPv6.

#define

Routing header.

#define

Fragmentation/reassembly header.

#define

Resource reservation.

#define

GRE encap, RFCs 1701/1702.

#define

Encap. Security Payload.

#define

Authentication header.

#define

IP Mobility, RFC 2004.

#define

ICMP for IPv6.

#define

No next header.

#define

Destination options header.

#define

ISO cnlp.

#define

Ethernet in IPv4.

#define

Encapsulation header.

#define

Protocol indep. multicast.

#define

IP Payload comp. Protocol.

#define

CARP.

#define

SCTP, RFC 4960.

#define

UDP-Lite, RFC 3828.

#define

Unicast MPLS packet.

#define

PFSYNC.

#define

Raw IP packet.

#define

Maximum protocol value.

Macro Definition Documentation#

IPPROTO_IP#

#define IPPROTO_IP
Value:
0

Dummy for IP.


Definition at line 123 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_HOPOPTS#

#define IPPROTO_HOPOPTS
Value:
IPPROTO_IP

Hop-by-hop option header.


Definition at line 124 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_ICMP#

#define IPPROTO_ICMP
Value:
1

Control message protocol.


Definition at line 125 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_IGMP#

#define IPPROTO_IGMP
Value:
2

Group mgmt protocol.


Definition at line 126 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_GGP#

#define IPPROTO_GGP
Value:
3

Gateway^2 (deprecated)


Definition at line 127 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_IPIP#

#define IPPROTO_IPIP
Value:
4

IP inside IP.


Definition at line 128 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_IPV4#

#define IPPROTO_IPV4
Value:
IPPROTO_IPIP

IP inside IP.


Definition at line 129 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_TCP#

#define IPPROTO_TCP
Value:
6

TCP.


Definition at line 130 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_EGP#

#define IPPROTO_EGP
Value:
8

Exterior gateway protocol.


Definition at line 131 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_PUP#

#define IPPROTO_PUP
Value:
12

PUP.


Definition at line 132 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_UDP#

#define IPPROTO_UDP
Value:
17

User datagram protocol.


Definition at line 133 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_IDP#

#define IPPROTO_IDP
Value:
22

XNS IDP.


Definition at line 134 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_TP#

#define IPPROTO_TP
Value:
29

TP-4 w/ class negotiation.


Definition at line 135 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_IPV6#

#define IPPROTO_IPV6
Value:
41

IPv6 in IPv6.


Definition at line 136 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_ROUTING#

#define IPPROTO_ROUTING
Value:
43

Routing header.


Definition at line 137 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_FRAGMENT#

#define IPPROTO_FRAGMENT
Value:
44

Fragmentation/reassembly header.


Definition at line 138 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_RSVP#

#define IPPROTO_RSVP
Value:
46

Resource reservation.


Definition at line 139 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_GRE#

#define IPPROTO_GRE
Value:
47

GRE encap, RFCs 1701/1702.


Definition at line 140 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_ESP#

#define IPPROTO_ESP
Value:
50

Encap. Security Payload.


Definition at line 141 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_AH#

#define IPPROTO_AH
Value:
51

Authentication header.


Definition at line 142 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_MOBILE#

#define IPPROTO_MOBILE
Value:
55

IP Mobility, RFC 2004.


Definition at line 143 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_ICMPV6#

#define IPPROTO_ICMPV6
Value:
58

ICMP for IPv6.


Definition at line 144 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_NONE#

#define IPPROTO_NONE
Value:
59

No next header.


Definition at line 145 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_DSTOPTS#

#define IPPROTO_DSTOPTS
Value:
60

Destination options header.


Definition at line 146 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_EON#

#define IPPROTO_EON
Value:
80

ISO cnlp.


Definition at line 147 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_ETHERIP#

#define IPPROTO_ETHERIP
Value:
97

Ethernet in IPv4.


Definition at line 148 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_ENCAP#

#define IPPROTO_ENCAP
Value:
98

Encapsulation header.


Definition at line 149 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_PIM#

#define IPPROTO_PIM
Value:
103

Protocol indep. multicast.


Definition at line 150 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_IPCOMP#

#define IPPROTO_IPCOMP
Value:
108

IP Payload comp. Protocol.


Definition at line 151 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_CARP#

#define IPPROTO_CARP
Value:
112

CARP.


Definition at line 152 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_SCTP#

#define IPPROTO_SCTP
Value:
132

SCTP, RFC 4960.


Definition at line 153 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_UDPLITE#

#define IPPROTO_UDPLITE
Value:
136

UDP-Lite, RFC 3828.


Definition at line 154 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_MPLS#

#define IPPROTO_MPLS
Value:
137

Unicast MPLS packet.


Definition at line 155 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_PFSYNC#

#define IPPROTO_PFSYNC
Value:
240

PFSYNC.


Definition at line 156 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_RAW#

#define IPPROTO_RAW
Value:
255

Raw IP packet.


Definition at line 157 of file components/service/bsd_socket/inc/netinet_in.h

IPPROTO_MAX#

#define IPPROTO_MAX
Value:
256

Maximum protocol value.


Definition at line 158 of file components/service/bsd_socket/inc/netinet_in.h