strace/xlat/inet_protocols.in
Eugene Syromyatnikov e1d94ea918 xlat: update IPPROTO_* constants
* xlat/inet_protocols.in (IPPROTO_GGP, IPPROTO_HELLO, IPPROTO_ND):
Remove, not defined in Linux.
(IPPROTO_BEETPH): New constant, introduced by Linux commit
v2.6.19-rc1~33^2.
(IPPROTO_L2TP): New constant, introduced by Linux commit
v2.6.35-rc1~473^2~594.
(IPPROTO_MH): New constant, introduced by Linux commit
v2.6.19-rc1~1272^2~157.
Add default values to constants, sort the file.
2018-05-25 09:15:03 +00:00

35 lines
580 B
Plaintext

/* sort -k2,2n */
IPPROTO_IP 0
IPPROTO_ICMP 1
IPPROTO_IGMP 2
IPPROTO_IPIP 4
IPPROTO_TCP 6
IPPROTO_EGP 8
IPPROTO_PUP 12
IPPROTO_UDP 17
IPPROTO_IDP 22
IPPROTO_TP 29
IPPROTO_DCCP 33
IPPROTO_IPV6 41
IPPROTO_ROUTING 43
IPPROTO_FRAGMENT 44
IPPROTO_RSVP 46
IPPROTO_GRE 47
IPPROTO_ESP 50
IPPROTO_AH 51
IPPROTO_ICMPV6 58
IPPROTO_NONE 59
IPPROTO_DSTOPTS 60
IPPROTO_MTP 92
IPPROTO_BEETPH 94
IPPROTO_ENCAP 98
IPPROTO_PIM 103
IPPROTO_COMP 108
IPPROTO_L2TP 115
IPPROTO_SCTP 132
IPPROTO_MH 135
IPPROTO_UDPLITE 136
IPPROTO_MPLS 137
IPPROTO_RAW 255
IPPROTO_MAX 256