Print this page
%B


 142 #endif
 143 
 144 /*
 145  * Protocols
 146  *
 147  * Some of these constant names are copied for the DTrace IP provider in
 148  * usr/src/lib/libdtrace/common/{ip.d.in, ip.sed.in}, which should be kept
 149  * in sync.
 150  */
 151 #define IPPROTO_IP              0               /* dummy for IP */
 152 #define IPPROTO_HOPOPTS         0               /* Hop by hop header for IPv6 */
 153 #define IPPROTO_ICMP            1               /* control message protocol */
 154 #define IPPROTO_IGMP            2               /* group control protocol */
 155 #define IPPROTO_GGP             3               /* gateway^2 (deprecated) */
 156 #define IPPROTO_ENCAP           4               /* IP in IP encapsulation */
 157 #define IPPROTO_TCP             6               /* tcp */
 158 #define IPPROTO_EGP             8               /* exterior gateway protocol */
 159 #define IPPROTO_PUP             12              /* pup */
 160 #define IPPROTO_UDP             17              /* user datagram protocol */
 161 #define IPPROTO_IDP             22              /* xns idp */

 162 #define IPPROTO_IPV6            41              /* IPv6 encapsulated in IP */
 163 #define IPPROTO_ROUTING         43              /* Routing header for IPv6 */
 164 #define IPPROTO_FRAGMENT        44              /* Fragment header for IPv6 */
 165 #define IPPROTO_RSVP            46              /* rsvp */
 166 #define IPPROTO_ESP             50              /* IPsec Encap. Sec. Payload */
 167 #define IPPROTO_AH              51              /* IPsec Authentication Hdr. */
 168 #define IPPROTO_ICMPV6          58              /* ICMP for IPv6 */
 169 #define IPPROTO_NONE            59              /* No next header for IPv6 */
 170 #define IPPROTO_DSTOPTS         60              /* Destination options */
 171 #define IPPROTO_HELLO           63              /* "hello" routing protocol */
 172 #define IPPROTO_ND              77              /* UNOFFICIAL net disk proto */
 173 #define IPPROTO_EON             80              /* ISO clnp */
 174 #define IPPROTO_OSPF            89              /* OSPF */
 175 #define IPPROTO_PIM             103             /* PIM routing protocol */
 176 #define IPPROTO_SCTP            132             /* Stream Control */
 177                                                 /* Transmission Protocol */
 178 
 179 #define IPPROTO_RAW             255             /* raw IP packet */
 180 #define IPPROTO_MAX             256
 181 




 142 #endif
 143 
 144 /*
 145  * Protocols
 146  *
 147  * Some of these constant names are copied for the DTrace IP provider in
 148  * usr/src/lib/libdtrace/common/{ip.d.in, ip.sed.in}, which should be kept
 149  * in sync.
 150  */
 151 #define IPPROTO_IP              0               /* dummy for IP */
 152 #define IPPROTO_HOPOPTS         0               /* Hop by hop header for IPv6 */
 153 #define IPPROTO_ICMP            1               /* control message protocol */
 154 #define IPPROTO_IGMP            2               /* group control protocol */
 155 #define IPPROTO_GGP             3               /* gateway^2 (deprecated) */
 156 #define IPPROTO_ENCAP           4               /* IP in IP encapsulation */
 157 #define IPPROTO_TCP             6               /* tcp */
 158 #define IPPROTO_EGP             8               /* exterior gateway protocol */
 159 #define IPPROTO_PUP             12              /* pup */
 160 #define IPPROTO_UDP             17              /* user datagram protocol */
 161 #define IPPROTO_IDP             22              /* xns idp */
 162 #define IPPROTO_DCCP            33              /* DCCP */
 163 #define IPPROTO_IPV6            41              /* IPv6 encapsulated in IP */
 164 #define IPPROTO_ROUTING         43              /* Routing header for IPv6 */
 165 #define IPPROTO_FRAGMENT        44              /* Fragment header for IPv6 */
 166 #define IPPROTO_RSVP            46              /* rsvp */
 167 #define IPPROTO_ESP             50              /* IPsec Encap. Sec. Payload */
 168 #define IPPROTO_AH              51              /* IPsec Authentication Hdr. */
 169 #define IPPROTO_ICMPV6          58              /* ICMP for IPv6 */
 170 #define IPPROTO_NONE            59              /* No next header for IPv6 */
 171 #define IPPROTO_DSTOPTS         60              /* Destination options */
 172 #define IPPROTO_HELLO           63              /* "hello" routing protocol */
 173 #define IPPROTO_ND              77              /* UNOFFICIAL net disk proto */
 174 #define IPPROTO_EON             80              /* ISO clnp */
 175 #define IPPROTO_OSPF            89              /* OSPF */
 176 #define IPPROTO_PIM             103             /* PIM routing protocol */
 177 #define IPPROTO_SCTP            132             /* Stream Control */
 178                                                 /* Transmission Protocol */
 179 
 180 #define IPPROTO_RAW             255             /* raw IP packet */
 181 #define IPPROTO_MAX             256
 182