TCP
Constant Enumerations¶
This module contains all constant enumerations of
TCP
implementations. Available
enumerations include:
TCP Checksum¶
This module contains the constant enumeration for TCP Checksum,
which is automatically generated from pcapkit.vendor.tcp.checksum.Checksum
.
- class pcapkit.const.tcp.checksum.Checksum(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[Checksum] TCP Checksum [RFC 1146]
- TCP_checksum = 0¶
- Checksum_8_bit_Fletcher_s_algorithm = 1¶
- Checksum_16_bit_Fletcher_s_algorithm = 2¶
- Redundant_Checksum_Avoidance = 3¶
Multipath TCP options¶
This module contains the constant enumeration for Multipath TCP options,
which is automatically generated from pcapkit.vendor.tcp.mp_tcp_option.MPTCPOption
.
- class pcapkit.const.tcp.mp_tcp_option.MPTCPOption(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[MPTCPOption] Multipath TCP options [RFC 6824]
- MP_CAPABLE = 0¶
Multipath Capable [RFC 8684#3.1]
- MP_JOIN = 1¶
Join Connection [RFC 8684#3.2]
- DSS = 2¶
Data Sequence Signal (Data ACK and Data Sequence Mapping) [RFC 8684#3.3]
- ADD_ADDR = 3¶
Add Address [RFC 8684#3.4.1]
- REMOVE_ADDR = 4¶
Remove Address [RFC 8684#3.4.2]
- MP_PRIO = 5¶
Change Subflow Priority [RFC 8684#3.3.8]
- MP_FAIL = 6¶
Fallback [RFC 8684#3.7]
- MP_FASTCLOSE = 7¶
Fast Close [RFC 8684#3.5]
- MP_TCPRST = 8¶
Subflow Reset [RFC 8684#3.6]
TCP Option Kind Numbers¶
This module contains the constant enumeration for TCP Option Kind Numbers,
which is automatically generated from pcapkit.vendor.tcp.option.Option
.
- class pcapkit.const.tcp.option.Option(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[Option] TCP Option Kind Numbers
- Partial_Order_Connection_Permitted = 9¶
Partial Order Connection Permitted (obsolete) [RFC 1693][RFC 6247]
- Skeeter = 16¶
Skeeter [Stev Knowles]
- Bubba = 17¶
Bubba [Stev Knowles]
- Trailer_Checksum_Option = 18¶
Trailer Checksum Option [Subbu Subramaniam][Monroe Bridges]
- SCPS_Capabilities = 20¶
SCPS Capabilities [Keith Scott]
- Selective_Negative_Acknowledgements = 21¶
Selective Negative Acknowledgements [Keith Scott]
- Record_Boundaries = 22¶
Record Boundaries [Keith Scott]
- Corruption_experienced = 23¶
Corruption experienced [Keith Scott]
- SNAP = 24¶
SNAP [Vladimir Sukonnik]
- Unassigned_25 = 25¶
Unassigned (released 2000-12-18)
- TCP_Compression_Filter = 26¶
TCP Compression Filter [Steve Bellovin]
- 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)
- Accurate_ECN_Order_0 = 172¶
Accurate ECN Order 0 (AccECN0) (TEMPORARY - registered 2022-08-03, extension registered 2024-07-11, expires 2025-08-03) [draft-ietf-tcpm-accurate-ecn-20]
- Reserved_173 = 173¶
Reserved
- Accurate_ECN_Order_1 = 174¶
Accurate ECN Order 1 (AccECN1) (TEMPORARY - registered 2022-08-03, extension registered 2024-07-11, expires 2025-08-03) [draft-ietf-tcpm-accurate-ecn-20]
- RFC3692_style_Experiment_1 = 253¶
RFC3692-style Experiment 1 (also improperly used for shipping products) [RFC 4727]
TCP Header Flags¶
This module contains the constant enumeration for TCP Header Flags,
which is automatically generated from pcapkit.vendor.tcp.flags.Flags
.
- class pcapkit.const.tcp.flags.Flags(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntFlag
[Flags] TCP Header Flags
Footnotes