IPv4
Constant Enumerations¶
This module contains all constant enumerations of
IPv4
implementations. Available
enumerations include:
Classification Level Encodings |
|
Option Classes |
|
IP Option Numbers [*] |
|
Protection Authority Bit Assignments |
|
QS Functions |
|
IPv4 Router Alert Option Values [†] |
|
ToS (DS Field) Delay |
|
ToS ECN Field |
|
|
ToS (DS Field) Precedence |
|
ToS (DS Field) Reliability |
|
ToS (DS Field) Throughput |
TS Flag |
Classification Level Encodings¶
This module contains the constant enumeration for Classification Level Encodings,
which is automatically generated from pcapkit.vendor.ipv4.classification_level.ClassificationLevel
.
- class pcapkit.const.ipv4.classification_level.ClassificationLevel(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[ClassificationLevel] Classification Level Encodings
- Reserved_4 = 1¶
- Top_Secret = 61¶
- Secret = 90¶
- Confidential = 150¶
- Reserved_3 = 102¶
- Reserved_2 = 204¶
- Unclassified = 171¶
- Reserved_1 = 241¶
Option Classes¶
This module contains the constant enumeration for Option Classes,
which is automatically generated from pcapkit.vendor.ipv4.option_class.OptionClass
.
- class pcapkit.const.ipv4.option_class.OptionClass(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[OptionClass] Option Classes
- control = 0¶
- reserved_for_future_use_1 = 1¶
- debugging_and_measurement = 2¶
- reserved_for_future_use_3 = 3¶
IP Option Numbers¶
This module contains the constant enumeration for IP Option Numbers,
which is automatically generated from pcapkit.vendor.ipv4.option_number.OptionNumber
.
- class pcapkit.const.ipv4.option_number.OptionNumber(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[OptionNumber] IP Option Numbers
- CIPSO = 134¶
CIPSO
, Commercial Security [draft-ietf-cipso-ipsecurity-01]
- ZSU = 10¶
ZSU
, Experimental Measurement [ZSu]
- FINN = 205¶
FINN
, Experimental Flow Control [Greg Finn]
- IMITD = 144¶
IMITD
, IMI Traffic Descriptor [Lee]
- Unassigned_150 = 150¶
Unassigned (Released 18 October 2005)
QS Functions¶
This module contains the constant enumeration for QS Functions,
which is automatically generated from pcapkit.vendor.ipv4.qs_function.QSFunction
.
- class pcapkit.const.ipv4.qs_function.QSFunction(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[QSFunction] QS Functions
- Quick_Start_Request = 0¶
- Report_of_Approved_Rate = 8¶
IPv4 Router Alert Option Values¶
This module contains the constant enumeration for IPv4 Router Alert Option Values,
which is automatically generated from pcapkit.vendor.ipv4.router_alert.RouterAlert
.
- class pcapkit.const.ipv4.router_alert.RouterAlert(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[RouterAlert] IPv4 Router Alert Option Values
ToS (DS Field) Delay¶
This module contains the constant enumeration for ToS (DS Field) Delay,
which is automatically generated from pcapkit.vendor.ipv4.tos_del.ToSDelay
.
ToS ECN Field¶
This module contains the constant enumeration for ToS ECN Field,
which is automatically generated from pcapkit.vendor.ipv4.tos_ecn.ToSECN
.
ToS (DS Field) Precedence¶
This module contains the constant enumeration for ToS (DS Field) Precedence,
which is automatically generated from pcapkit.vendor.ipv4.tos_pre.ToSPrecedence
.
- class pcapkit.const.ipv4.tos_pre.ToSPrecedence(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[ToSPrecedence] ToS (DS Field) Precedence
- Network_Control = 7¶
- Internetwork_Control = 6¶
- CRITIC_ECP = 5¶
- Flash_Override = 4¶
- Flash = 3¶
- Immediate = 2¶
- Priority = 1¶
- Routine = 0¶
ToS (DS Field) Reliability¶
This module contains the constant enumeration for ToS (DS Field) Reliability,
which is automatically generated from pcapkit.vendor.ipv4.tos_rel.ToSReliability
.
- class pcapkit.const.ipv4.tos_rel.ToSReliability(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[ToSReliability] ToS (DS Field) Reliability
- NORMAL = 0¶
- HIGH = 1¶
ToS (DS Field) Throughput¶
This module contains the constant enumeration for ToS (DS Field) Throughput,
which is automatically generated from pcapkit.vendor.ipv4.tos_thr.ToSThroughput
.
- class pcapkit.const.ipv4.tos_thr.ToSThroughput(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[ToSThroughput] ToS (DS Field) Throughput
- NORMAL = 0¶
- HIGH = 1¶
TS Flag¶
This module contains the constant enumeration for TS Flag,
which is automatically generated from pcapkit.vendor.ipv4.ts_flag.TSFlag
.
- class pcapkit.const.ipv4.ts_flag.TSFlag(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
[TSFlag] TS Flag
- Timestamp_Only = 0¶
- IP_with_Timestamp = 1¶
- Prespecified_IP_with_Timestamp = 3¶
Footnotes