Module: FFI::Packets::Constants
- Defined in:
- lib/ffi/packets/constants.rb
Constant Summary collapse
- ARP_HDR_LEN =
base ARP header length
8
- ARP_ETHIP_LEN =
base ARP message length
20
- ARP_HRD_ETH =
ethernet hardware
0x0001
- ARP_HRD_IEEE802 =
IEEE 802 hardware
0x0006
- ARP_PRO_IP =
IP protocol
0x0800
- ARP_OP_REQUEST =
request to resolve ha given pa
1
- ARP_OP_REPLY =
response giving hardware address
2
- ARP_OP_REVREQUEST =
request to resolve pa given ha
3
- ARP_OP_REVREPLY =
response giving protocol address
4
- ETH_ADDR_LEN =
6
- ETH_ADDR_BITS =
48
- ETH_TYPE_LEN =
2
- ETH_CRC_LEN =
4
- ETH_HDR_LEN =
14
- ETH_LEN_MIN =
minimum frame length with CRC
64
- ETH_LEN_MAX =
maximum frame length with CRC
1518
- ETH_TYPE_PUP =
PUP protocol
0x0200
- ETH_TYPE_IP =
IP protocol
0x0800
- ETH_TYPE_ARP =
address resolution protocol
0x0806
- ETH_TYPE_REVARP =
reverse addr resolution protocol
0x8035
- ETH_TYPE_8021Q =
IEEE 802.1Q VLAN tagging
0x8100
- ETH_TYPE_IPV6 =
IPv6 protocol
0x86DD
- ETH_TYPE_MPLS =
MPLS
0x8847
- ETH_TYPE_MPLS_MCAST =
MPLS Multicast
0x8848
- ETH_TYPE_PPPOEDISC =
PPP Over Ethernet Discovery Stage
0x8863
- ETH_TYPE_PPPOE =
PPP Over Ethernet Session Stage
0x8864
- ETH_TYPE_LOOPBACK =
used to test interfaces
0x9000
- ETH_ADDR_BROADCAST =
"\xff\xff\xff\xff\xff\xff"
- ICMP_HDR_LEN =
base ICMP header length
4
- ICMP_LEN_MIN =
minimum ICMP message size, with header
8
- ICMP_TYPE_ECHOREPLY =
ICMP Types (ICMP::Hdr->icmp_type) www.iana.org/assignments/icmp-parameters
0
- ICMP_TYPE_UNREACH =
echo reply
3
- ICMP_TYPE_SRCQUENCH =
dest unreachable, codes:
4
- ICMP_TYPE_REDIRECT =
packet lost, slow down
5
- ICMP_TYPE_ALTHOSTADDR =
shorter route, codes:
6
- ICMP_TYPE_ECHO =
alternate host address
8
- ICMP_TYPE_RTRADVERT =
echo service
9
- ICMP_TYPE_RTRSOLICIT =
router advertise, codes:
10
- ICMP_TYPE_TIMEXCEED =
router solicitation
11
- ICMP_TYPE_PARAMPROB =
time exceeded, code:
12
- ICMP_TYPE_TSTAMP =
ip header bad
13
- ICMP_TYPE_TSTAMPREPLY =
timestamp request
14
- ICMP_TYPE_INFO =
timestamp reply
15
- ICMP_TYPE_INFOREPLY =
information request
16
- ICMP_TYPE_MASK =
information reply
17
- ICMP_TYPE_MASKREPLY =
address mask request
18
- ICMP_TYPE_TRACEROUTE =
address mask reply
30
- ICMP_TYPE_DATACONVERR =
traceroute
31
- ICMP_TYPE_MOBILE_REDIRECT =
data conversion error
32
- ICMP_TYPE_IPV6_WHEREAREYOU =
mobile host redirect
33
- ICMP_TYPE_IPV6_IAMHERE =
IPv6 where-are-you
34
- ICMP_TYPE_MOBILE_REG =
IPv6 i-am-here
35
- ICMP_TYPE_MOBILE_REGREPLY =
mobile registration req
36
- ICMP_TYPE_DNS =
mobile registration reply
37
- ICMP_TYPE_DNSREPLY =
domain name request
38
- ICMP_TYPE_SKIP =
domain name reply
39
- ICMP_TYPE_PHOTURIS =
SKIP
40
- ICMP_UNREACH_NET =
ICMP Sub-codes (ICMP::Hdr->icmp_code) www.iana.org/assignments/icmp-parameters
0
- ICMP_UNREACH_HOST =
bad net
1
- ICMP_UNREACH_PROTO =
bad host
2
- ICMP_UNREACH_PORT =
bad protocol
3
- ICMP_UNREACH_NEEDFRAG =
bad port
4
- ICMP_UNREACH_SRCFAIL =
IP_DF caused drop
5
- ICMP_UNREACH_NET_UNKNOWN =
src route failed
6
- ICMP_UNREACH_HOST_UNKNOWN =
unknown net
7
- ICMP_UNREACH_ISOLATED =
unknown host
8
- ICMP_UNREACH_NET_PROHIB =
src host isolated
9
- ICMP_UNREACH_HOST_PROHIB =
for crypto devs
10
- ICMP_UNREACH_TOSNET =
ditto
11
- ICMP_UNREACH_TOSHOST =
bad tos for net
12
- ICMP_UNREACH_FILTER_PROHIB =
bad tos for host
13
- ICMP_UNREACH_HOST_PRECEDENCE =
prohibited access
14
- ICMP_UNREACH_PRECEDENCE_CUTOFF =
precedence error
15
- ICMP_REDIRECT_NET =
precedence cutoff
0
- ICMP_REDIRECT_HOST =
for network
1
- ICMP_REDIRECT_TOSNET =
for host
2
- ICMP_REDIRECT_TOSHOST =
for tos and net
3
- ICMP_RTRADVERT_NORMAL =
for tos and host
0
- ICMP_RTRADVERT_NOROUTE_COMMON =
normal
16
- ICMP_TIMEXCEED_INTRANS =
selective routing
0
- ICMP_TIMEXCEED_REASS =
ttl==0 in transit
1
- ICMP_PARAMPROB_ERRATPTR =
ttl==0 in reass
0
- ICMP_PARAMPROB_OPTABSENT =
req. opt. absent
1
- ICMP_PARAMPROB_LENGTH =
req. opt. absent
2
- ICMP_PHOTURIS_UNKNOWN_INDEX =
bad length
0
- ICMP_PHOTURIS_AUTH_FAILED =
unknown sec index
1
- ICMP_PHOTURIS_DECOMPRESS_FAILED =
auth failed
2
- ICMP_PHOTURIS_DECRYPT_FAILED =
decompress failed
3
- ICMP_PHOTURIS_NEED_AUTHN =
decrypt failed
4
- ICMP_PHOTURIS_NEED_AUTHZ =
no authentication
5
- ICMP_RTR_PREF_NODEFAULT =
do not use as default gw
0x80000000
- IP_ADDR_LEN =
IP address length
4
- IP_ADDR_BITS =
IP address bits
32
- IP_HDR_LEN =
base IP header length
20
- IP_OPT_LEN =
base IP option length
2
- IP_OPT_LEN_MAX =
40
- IP_HDR_LEN_MAX =
(IP_HDR_LEN + IP_OPT_LEN_MAX)
- IP_LEN_MAX =
65535
- IP_LEN_MIN =
IP_HDR_LEN
- IP_TOS_DEFAULT =
default
0x00
- IP_TOS_LOWDELAY =
low delay
0x10
- IP_TOS_THROUGHPUT =
high throughput
0x08
- IP_TOS_RELIABILITY =
high reliability
0x04
- IP_TOS_LOWCOST =
low monetary cost - XXX
0x02
- IP_TOS_ECT =
ECN-capable transport
0x02
- IP_TOS_CE =
congestion experienced
0x01
- IP_TOS__PREC_ROUTINE =
0x00
- IP_TOS__PREC_PRIORITY =
0x20
- IP_TOS__PREC_IMMEDIATE =
0x40
- IP_TOS__PREC_FLASH =
0x60
- IP_TOS__PREC_FLASHOVERRIDE =
0x80
- IP_TOS__PREC_CRITIC_ECP =
0xa0
- IP_TOS__PREC_INTERNETCONTROL =
0xc0
- IP_TOS__PREC_NETCONTROL =
0xe0
- IP_RF =
reserved
0x8000
- IP_DF =
don’t fragment
0x4000
- IP_MF =
more fragments (not last frag)
0x2000
- IP_OFFMASK =
mask for fragment offset
0x1fff
- IP_TTL_DEFAULT =
default ttl, RFC 1122, RFC 1340
64
- IP_TTL_MAX =
maximum ttl
255
- IP_PROTO_IP =
Protocols (proto) - www.iana.org/assignments/protocol-numbers
0
- IP_PROTO_ICMP =
dummy for IP
1
- IP_PROTO_IGMP =
ICMP
2
- IP_PROTO_GGP =
IGMP
3
- IP_PROTO_IPIP =
gateway-gateway protocol
4
- IP_PROTO_ST =
IP in IP
5
- IP_PROTO_TCP =
ST datagram mode
6
- IP_PROTO_CBT =
TCP
7
- IP_PROTO_EGP =
CBT
8
- IP_PROTO_IGP =
exterior gateway protocol
9
- IP_PROTO_BBNRCC =
interior gateway protocol
10
- IP_PROTO_NVP =
BBN RCC monitoring
11
- IP_PROTO_PUP =
Network Voice Protocol
12
- IP_PROTO_ARGUS =
PARC universal packet
13
- IP_PROTO_EMCON =
ARGUS
14
- IP_PROTO_XNET =
EMCON
15
- IP_PROTO_CHAOS =
Cross Net Debugger
16
- IP_PROTO_UDP =
Chaos
17
- IP_PROTO_MUX =
UDP
18
- IP_PROTO_DCNMEAS =
multiplexing
19
- IP_PROTO_HMP =
DCN measurement
20
- IP_PROTO_PRM =
Host Monitoring Protocol
21
- IP_PROTO_IDP =
Packet Radio Measurement
22
- IP_PROTO_TRUNK1 =
Xerox NS IDP
23
- IP_PROTO_TRUNK2 =
Trunk-1
24
- IP_PROTO_LEAF1 =
Trunk-2
25
- IP_PROTO_LEAF2 =
Leaf-1
26
- IP_PROTO_RDP =
Leaf-2
27
- IP_PROTO_IRTP =
“Reliable Datagram” proto
28
- IP_PROTO_TP =
Inet Reliable Transaction
29
- IP_PROTO_NETBLT =
ISO TP class 4
30
- IP_PROTO_MFPNSP =
Bulk Data Transfer
31
- IP_PROTO_MERITINP =
MFE Network Services
32
- IP_PROTO_SEP =
Merit Internodal Protocol
33
- IP_PROTO_THIRDPC =
Sequential Exchange proto
34
- IP_PROTO_IDPR =
Third Party Connect proto
35
- IP_PROTO_XTP =
Interdomain Policy Route
36
- IP_PROTO_DDP =
Xpress Transfer Protocol
37
- IP_PROTO_CMTP =
Datagram Delivery Proto
38
- IP_PROTO_TPPP =
IDPR Ctrl Message Trans
39
- IP_PROTO_IL =
TP++ Transport Protocol
40
- IP_PROTO_IPV6 =
IL Transport Protocol
41
- IP_PROTO_SDRP =
IPv6
42
- IP_PROTO_ROUTING =
Source Demand Routing
43
- IP_PROTO_FRAGMENT =
IPv6 routing header
44
- IP_PROTO_RSVP =
IPv6 fragmentation header
46
- IP_PROTO_GRE =
Reservation protocol
47
- IP_PROTO_MHRP =
General Routing Encap
48
- IP_PROTO_ENA =
Mobile Host Routing
49
- IP_PROTO_ESP =
ENA
50
- IP_PROTO_AH =
Encap Security Payload
51
- IP_PROTO_INLSP =
Authentication Header
52
- IP_PROTO_SWIPE =
Integated Net Layer Sec
53
- IP_PROTO_NARP =
SWIPE
54
- IP_PROTO_MOBILE =
NBMA Address Resolution
55
- IP_PROTO_TLSP =
Mobile IP, RFC 2004
56
- IP_PROTO_SKIP =
Transport Layer Security
57
- IP_PROTO_ICMPV6 =
SKIP
58
- IP_PROTO_NONE =
ICMP for IPv6
59
- IP_PROTO_DSTOPTS =
IPv6 no next header
60
- IP_PROTO_ANYHOST =
IPv6 destination options
61
- IP_PROTO_CFTP =
any host internal proto
62
- IP_PROTO_ANYNET =
CFTP
63
- IP_PROTO_EXPAK =
any local network
64
- IP_PROTO_KRYPTOLAN =
SATNET and Backroom EXPAK
65
- IP_PROTO_RVD =
Kryptolan
66
- IP_PROTO_IPPC =
MIT Remote Virtual Disk
67
- IP_PROTO_DISTFS =
Inet Pluribus Packet Core
68
- IP_PROTO_SATMON =
any distributed fs
69
- IP_PROTO_VISA =
SATNET Monitoring
70
- IP_PROTO_IPCV =
VISA Protocol
71
- IP_PROTO_CPNX =
Inet Packet Core Utility
72
- IP_PROTO_CPHB =
Comp Proto Net Executive
73
- IP_PROTO_WSN =
Comp Protocol Heart Beat
74
- IP_PROTO_PVP =
Wang Span Network
75
- IP_PROTO_BRSATMON =
Packet Video Protocol
76
- IP_PROTO_SUNND =
Backroom SATNET Monitor
77
- IP_PROTO_WBMON =
SUN ND Protocol
78
- IP_PROTO_WBEXPAK =
WIDEBAND Monitoring
79
- IP_PROTO_EON =
WIDEBAND EXPAK
80
- IP_PROTO_VMTP =
ISO CNLP
81
- IP_PROTO_SVMTP =
Versatile Msg Transport
82
- IP_PROTO_VINES =
Secure VMTP
83
- IP_PROTO_TTP =
VINES
84
- IP_PROTO_NSFIGP =
TTP
85
- IP_PROTO_DGP =
NSFNET-IGP
86
- IP_PROTO_TCF =
Dissimilar Gateway Proto
87
- IP_PROTO_EIGRP =
TCF
88
- IP_PROTO_OSPF =
EIGRP
89
- IP_PROTO_SPRITERPC =
Open Shortest Path First
90
- IP_PROTO_LARP =
Sprite RPC Protocol
91
- IP_PROTO_MTP =
Locus Address Resolution
92
- IP_PROTO_AX25 =
Multicast Transport Proto
93
- IP_PROTO_IPIPENCAP =
AX.25 Frames
94
- IP_PROTO_MICP =
yet-another IP encap
95
- IP_PROTO_SCCSP =
Mobile Internet Ctrl
96
- IP_PROTO_ETHERIP =
Semaphore Comm Sec Proto
97
- IP_PROTO_ENCAP =
Ethernet in IPv4
98
- IP_PROTO_ANYENC =
encapsulation header
99
- IP_PROTO_GMTP =
private encryption scheme
100
- IP_PROTO_IFMP =
GMTP
101
- IP_PROTO_PNNI =
Ipsilon Flow Mgmt Proto
102
- IP_PROTO_PIM =
PNNI over IP
103
- IP_PROTO_ARIS =
Protocol Indep Multicast
104
- IP_PROTO_SCPS =
ARIS
105
- IP_PROTO_QNX =
SCPS
106
- IP_PROTO_AN =
QNX
107
- IP_PROTO_IPCOMP =
Active Networks
108
- IP_PROTO_SNP =
IP Payload Compression
109
- IP_PROTO_COMPAQPEER =
Sitara Networks Protocol
110
- IP_PROTO_IPXIP =
Compaq Peer Protocol
111
- IP_PROTO_VRRP =
IPX in IP
112
- IP_PROTO_PGM =
Virtual Router Redundancy
113
- IP_PROTO_ANY0HOP =
PGM Reliable Transport
114
- IP_PROTO_L2TP =
0-hop protocol
115
- IP_PROTO_DDX =
Layer 2 Tunneling Proto
116
- IP_PROTO_IATP =
D-II Data Exchange (DDX)
117
- IP_PROTO_STP =
Interactive Agent Xfer
118
- IP_PROTO_SRP =
Schedule Transfer Proto
119
- IP_PROTO_UTI =
SpectraLink Radio Proto
120
- IP_PROTO_SMP =
UTI
121
- IP_PROTO_SM =
Simple Message Protocol
122
- IP_PROTO_PTP =
SM
123
- IP_PROTO_ISIS =
Performance Transparency
124
- IP_PROTO_FIRE =
ISIS over IPv4
125
- IP_PROTO_CRTP =
FIRE
126
- IP_PROTO_CRUDP =
Combat Radio Transport
127
- IP_PROTO_SSCOPMCE =
Combat Radio UDP
128
- IP_PROTO_IPLT =
SSCOPMCE
129
- IP_PROTO_SPS =
IPLT
130
- IP_PROTO_PIPE =
Secure Packet Shield
131
- IP_PROTO_SCTP =
Private IP Encap in IP
132
- IP_PROTO_FC =
Stream Ctrl Transmission
133
- IP_PROTO_RSVPIGN =
Fibre Channel
134
- IP_PROTO_RAW =
RSVP-E2E-IGNORE
255
- IP_PROTO__RESERVED =
Raw IP packets
IP_PROTO_RAW
- IP_PROTO__HOPOPTS =
Reserved
IP_PROTO_IP
- IP_PROTO_3PC =
IPv6 hop-by-hop options
IP_PROTO_THIRDPC
- IP_OPT_CONTROL =
Opt bits
0x00
- IP_OPT_DEBMEAS =
control
0x40
- IP_OPT_COPY =
debugging & measurement
0x80
- IP_OPT_RESERVED1 =
copy into all fragments
0x20
- IP_OPT_RESERVED2 =
0x60
- IP_OTYPE_EOL =
Option types (otype) - www.iana.org/assignments/ip-parameters
values renamed IP_OPT_* to IP_OTYPE_*
0
- IP_OTYPE_NOP =
terminates option list
1
- IP_OTYPE_SEC =
no operation
(2|IP_OPT_COPY)
- IP_OTYPE_LSRR =
loose source route
(3|IP_OPT_COPY)
- IP_OTYPE_TS =
timestamp
(4|IP_OPT_DEBMEAS)
- IP_OTYPE_ESEC =
DoD extended security
(5|IP_OPT_COPY)
- IP_OTYPE_CIPSO =
commercial security
(6|IP_OPT_COPY)
- IP_OTYPE_RR =
record route
7
- IP_OTYPE_SATID =
stream ID (obsolete)
(8|IP_OPT_COPY)
- IP_OTYPE_SSRR =
strict source route
(9|IP_OPT_COPY)
- IP_OTYPE_ZSU =
experimental measurement
10
- IP_OTYPE_MTUP =
MTU probe
11
- IP_OTYPE_MTUR =
MTU reply
12
- IP_OTYPE_FINN =
exp flow control
(13|IP_OPT_COPY|IP_OPT_DEBMEAS)
- IP_OTYPE_VISA =
exp access control
(14|IP_OPT_COPY)
- IP_OTYPE_ENCODE =
???
15
- IP_OTYPE_IMITD =
IMI traffic descriptor
(16|IP_OPT_COPY)
- IP_OTYPE_EIP =
extended IP, RFC 1385
(17|IP_OPT_COPY)
- IP_OTYPE_TR =
traceroute
(18|IP_OPT_DEBMEAS)
- IP_OTYPE_ADDEXT =
IPv7 ext addr, RFC 1475
(19|IP_OPT_COPY)
- IP_OTYPE_RTRALT =
router alert, RFC 2113
(20|IP_OPT_COPY)
- IP_OTYPE_SDB =
directed bcast, RFC 1770
(21|IP_OPT_COPY)
- IP_OTYPE_NSAPA =
NSAP addresses
(22|IP_OPT_COPY)
- IP_OTYPE_DPS =
dynamic packet state
(23|IP_OPT_COPY)
- IP_OTYPE_UMP =
upstream multicast
(24|IP_OPT_COPY)
- IP_OTYPE_MAX =
25
- IP_OPT_SEC_UNCLASS =
Security option data - RFC 791, 3.1
0x0000
- IP_OPT_SEC_CONFID =
unclassified
0xf135
- IP_OPT_SEC_EFTO =
confidential
0x789a
- IP_OPT_SEC_MMMM =
EFTO
0xbc4d
- IP_OPT_SEC_PROG =
MMMM
0x5e26
- IP_OPT_SEC_RESTR =
PROG
0xaf13
- IP_OPT_SEC_SECRET =
restricted
0xd788
- IP_OPT_SEC_TOPSECRET =
secret
0x6bc5
- IP_OPT_TS_TSONLY =
Timestamp option data - RFC 791, 3.1
0
- IP_OPT_TS_TSADDR =
timestamps only
1
- IP_OPT_TS_PRESPEC =
IP address / timestamp pairs
3
- IP6_ADDR_LEN =
16
- IP6_ADDR_BITS =
128
- IP6_HDR_LEN =
IPv6 header length
40
- IP6_LEN_MIN =
IP6_HDR_LEN
- IP6_LEN_MAX =
non-jumbo payload
65535
- IP6_MTU_MIN =
minimum MTU (1024 + 256)
1280
- IP6_VERSION =
0x60
- IP6_VERSION_MASK =
ip6_vfc version
0xf0
- IP6_HLIM_DEFAULT =
Hop limit (ip6_hlim)
64
- IP6_HLIM_MAX =
255
- IP6_OFF_MASK =
Fragmentation offset, reserved, and flags (offlg)
0xfff8
- IP6_RESERVED_MASK =
mask out offset from offlg
0x0006
- IP6_MORE_FRAG =
reserved bits in offlg
0x0001
- IP6_OPT_PAD1 =
XXX implement? IP6_OPT_TYPE(o) define IP6_OPT_TYPE(o) ((o) & 0xC0) /* high 2 bits of opt_type */
0x00
- IP6_OPT_PADN =
00 0 00000
0x01
- IP6_OPT_JUMBO =
00 0 00001
0xC2
- IP6_OPT_JUMBO_LEN =
11 0 00010 = 194
6
- IP6_OPT_RTALERT =
00 0 00101
0x05
- IP6_OPT_RTALERT_LEN =
4
- IP6_OPT_RTALERT_MLD =
Datagram contains an MLD message
0
- IP6_OPT_RTALERT_RSVP =
Datagram contains an RSVP message
1
- IP6_OPT_RTALERT_ACTNET =
contains an Active Networks msg
2
- IP6_OPT_LEN_MIN =
2
- IP6_OPT_TYPE_SKIP =
continue processing on failure
0x00
- IP6_OPT_TYPE_DISCARD =
discard packet on failure
0x40
- IP6_OPT_TYPE_FORCEICMP =
discard and send ICMP on failure
0x80
- IP6_OPT_TYPE_ICMP =
…only if non-multicast dst
0xC0
- IP6_OPT_MUTABLE =
option data may change en route
0x20
- TCP_HDR_LEN =
base TCP header length
20
- TCP_OPT_LEN =
base TCP option length
2
- TCP_OPT_LEN_MAX =
40
- TCP_HDR_LEN_MAX =
(TCP_HDR_LEN + TCP_OPT_LEN_MAX)
- TCP_PORT_MAX =
maximum port
65535
- TCP_WIN_MAX =
maximum (unscaled) window
65535
- TH_FIN =
terminates data
0x01
- TH_SYN =
synchronize sequence numbers
0x02
- TH_RST =
reset connection
0x04
- TH_PUSH =
push
0x08
- TH_ACK =
acknowledgment number set
0x10
- TH_URG =
urgent pointer set
0x20
- TH_ECE =
ECN echo, RFC 3168
0x40
- TH_CWR =
congestion window reduced
0x80
- TCP_STATE_CLOSED =
TCP FSM states
0
- TCP_STATE_LISTEN =
closed
1
- TCP_STATE_SYN_SENT =
listening from connection
2
- TCP_STATE_SYN_RECEIVED =
active, have sent SYN
3
- TCP_STATE_ESTABLISHED =
have sent and received SYN
4
- TCP_STATE_CLOSE_WAIT =
established
5
- TCP_STATE_FIN_WAIT_1 =
rcvd FIN, waiting for close
6
- TCP_STATE_CLOSING =
have closed, sent FIN
7
- TCP_STATE_LAST_ACK =
closed xchd FIN, await FIN-ACK
8
- TCP_STATE_FIN_WAIT_2 =
had FIN and close, await FIN-ACK
9
- TCP_STATE_TIME_WAIT =
have closed, FIN is acked
10
- TCP_STATE_MAX =
in 2*MSL quiet wait after close
11
- TCP_OTYPE_EOL =
Options (opt_type) - www.iana.org/assignments/tcp-parameters
renamed TCP_OPT_* to TCP_OTYPE_*
0
- TCP_OTYPE_NOP =
end of option list
1
- TCP_OTYPE_MSS =
no operation
2
- TCP_OTYPE_WSCALE =
maximum segment size
3
- TCP_OTYPE_SACKOK =
window scale factor, RFC 1072
4
- TCP_OTYPE_SACK =
SACK permitted, RFC 2018
5
- TCP_OTYPE_ECHO =
SACK, RFC 2018
6
- TCP_OTYPE_ECHOREPLY =
echo (obsolete), RFC 1072
7
- TCP_OTYPE_TIMESTAMP =
echo reply (obsolete), RFC 1072
8
- TCP_OTYPE_POCONN =
timestamp, RFC 1323
9
- TCP_OTYPE_POSVC =
partial order conn, RFC 1693
10
- TCP_OTYPE_CC =
partial order service, RFC 1693
11
- TCP_OTYPE_CCNEW =
connection count, RFC 1644
12
- TCP_OTYPE_CCECHO =
CC.NEW, RFC 1644
13
- TCP_OTYPE_ALTSUM =
CC.ECHO, RFC 1644
14
- TCP_OTYPE_ALTSUMDATA =
alt checksum request, RFC 1146
15
- TCP_OTYPE_SKEETER =
alt checksum data, RFC 1146
16
- TCP_OTYPE_BUBBA =
Skeeter
17
- TCP_OTYPE_TRAILSUM =
Bubba
18
- TCP_OTYPE_MD5 =
trailer checksum
19
- TCP_OTYPE_SCPS =
MD5 signature, RFC 2385
20
- TCP_OTYPE_SNACK =
SCPS capabilities
21
- TCP_OTYPE_REC =
selective negative acks
22
- TCP_OTYPE_CORRUPT =
record boundaries
23
- TCP_OTYPE_SNAP =
corruption experienced
24
- TCP_OTYPE_TCPCOMP =
SNAP
26
- TCP_OTYPE_MAX =
TCP compression filter
27
- UDP_HDR_LEN =
8
- UDP_PORT_MAX =
65535