TCP Constant Enumerations

TCP Checksum *

class pcapkit.const.tcp.checksum.Checksum(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Checksum] TCP Checksum [RFC 1146]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

Checksum_16_bit_Fletcher_s_algorithm = 2
Checksum_8_bit_Fletcher_s_algorithm = 1
Redundant_Checksum_Avoidance = 3
TCP_checksum = 0

TCP Option Kind Numbers

class pcapkit.const.tcp.option.Option(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Option] TCP Option Kind Numbers

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

AO = 29

TCP Authentication Option (TCP-AO) [RFC 5925]

Bubba = 17

Bubba [Stev Knowles]

CC = 11

CC (obsolete) [RFC 1644][RFC 6247]

CCECHO = 13

CC.ECHO (obsolete) [RFC 1644][RFC 6247]

CCNEW = 12

CC.NEW (obsolete) [RFC 1644][RFC 6247]

CHKREQ = 14

TCP Alternate Checksum Request (obsolete) [RFC 1146][RFC 6247]

CHKSUM = 15

TCP Alternate Checksum Data (obsolete) [RFC 1146][RFC 6247]

Corruption_experienced = 23

Corruption experienced [Keith Scott]

ECHO = 6

Echo (obsoleted by option 8) [RFC 1072][RFC 6247]

ECHORE = 7

Echo Reply (obsoleted by option 8) [RFC 1072][RFC 6247]

EOOL = 0

End of Option List [RFC 793]

Encryption_Negotiation = 69

Encryption Negotiation (TCP-ENO) [RFC 8547]

FASTOPEN = 34

TCP Fast Open Cookie [RFC 7413]

MP = 30

Multipath TCP (MPTCP) [RFC 8684]

MSS = 2

Maximum Segment Size [RFC 793]

NOP = 1

No-Operation [RFC 793]

POC = 9

Partial Order Connection Permitted (obsolete) [RFC 1693][RFC 6247]

POCSP = 10

Partial Order Service Profile (obsolete) [RFC 1693][RFC 6247]

QS = 27

Quick-Start Response [RFC 4782]

RFC3692_style_Experiment_1 = 253

RFC3692-style Experiment 1 (also improperly used for shipping products) [*] [RFC 4727]

RFC3692_style_Experiment_2 = 254

RFC3692-style Experiment 2 (also improperly used for shipping products) [*] [RFC 4727]

Record_Boundaries = 22

Record Boundaries [Keith Scott]

Reserved_31 = 31

Reserved (known unauthorized use without proper IANA assignment) [**]

Reserved_32 = 32

Reserved (known unauthorized use without proper IANA assignment) [**]

Reserved_33 = 33

Reserved (known unauthorized use without proper IANA assignment) [**]

Reserved_70 = 70

Reserved (known unauthorized use without proper IANA assignment) [**]

Reserved_76 = 76

Reserved (known unauthorized use without proper IANA assignment) [**]

Reserved_77 = 77

Reserved (known unauthorized use without proper IANA assignment) [**]

Reserved_78 = 78

Reserved (known unauthorized use without proper IANA assignment) [**]

SACK = 5

SACK [RFC 2018]

SACKPMT = 4

SACK Permitted [RFC 2018]

SCPS_Capabilities = 20

SCPS Capabilities [Keith Scott]

SIG = 19

MD5 Signature Option (obsoleted by option 29) [RFC 2385]

SNAP = 24

SNAP [Vladimir Sukonnik]

Selective_Negative_Acknowledgements = 21

Selective Negative Acknowledgements [Keith Scott]

Skeeter = 16

Skeeter [Stev Knowles]

TCP_Compression_Filter = 26

TCP Compression Filter [Steve Bellovin]

TIMEOUT = 28

User Timeout Option (also, other known unauthorized use) [***][1] [RFC 5482]

TS = 8

Timestamps [RFC 7323]

Trailer_Checksum_Option = 18

Trailer Checksum Option [Subbu Subramaniam][Monroe Bridges]

Unassigned(released 2000-12-18) = 25

Unassigned (released 2000-12-18)

WS = 3

Window Scale [RFC 7323]


*

https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xhtml#tcp-parameters-2

https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xhtml#tcp-parameters-1