DCCP Constant Enumerations

This module contains all constant enumerations of DCCP implementations. Available enumerations include:

DCCP_PacketType

DCCP Packet Types [*]

DCCP_ResetCode

DCCP Reset Codes [†]

DCCP_Option

DCCP Option Types [‡]

DCCP_Feature

DCCP Feature Numbers [§]

DCCP_AckVectorState

DCCP Ack Vector States []

DCCP_DropCode

DCCP Drop Codes [#]

DCCP Packet Types

This module contains the constant enumeration for DCCP Packet Types, which is automatically generated from pcapkit.vendor.dccp.packet_type.PacketType.

class pcapkit.const.dccp.packet_type.PacketType(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[PacketType] DCCP Packet Types

DCCP_Request = 0

DCCP-Request [RFC 4340]

DCCP_Response = 1

DCCP-Response [RFC 4340]

DCCP_Data = 2

DCCP-Data [RFC 4340]

DCCP_Ack = 3

DCCP-Ack [RFC 4340]

DCCP_DataAck = 4

DCCP-DataAck [RFC 4340]

DCCP_CloseReq = 5

DCCP-CloseReq [RFC 4340]

DCCP_Close = 6

DCCP-Close [RFC 4340]

DCCP_Reset = 7

DCCP-Reset [RFC 4340]

DCCP_Sync = 8

DCCP-Sync [RFC 4340]

DCCP_SyncAck = 9

DCCP-SyncAck [RFC 4340]

DCCP_Listen = 10

DCCP-Listen [RFC 5596]

Reserved_for_experimental_and_testing_use = 14

Reserved for experimental and testing use [RFC 4340]

Unassigned_15 = 15

Unassigned [RFC 4340]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

PacketType

DCCP Reset Codes

This module contains the constant enumeration for DCCP Reset Codes, which is automatically generated from pcapkit.vendor.dccp.reset_code.ResetCode.

class pcapkit.const.dccp.reset_code.ResetCode(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[ResetCode] DCCP Reset Codes

Unspecified = 0

Unspecified [RFC 4340]

Closed = 1

Closed [RFC 4340]

Aborted = 2

Aborted [RFC 4340]

No_Connection = 3

No Connection [RFC 4340]

Packet_Error = 4

Packet Error [RFC 4340]

Option_Error = 5

Option Error [RFC 4340]

Mandatory_Error = 6

Mandatory Error [RFC 4340]

Connection_Refused = 7

Connection Refused [RFC 4340]

Bad_Service_Code = 8

Bad Service Code [RFC 4340]

Too_Busy = 9

Too Busy [RFC 4340]

Bad Init Cookie [RFC 4340]

Aggression_Penalty = 11

Aggression Penalty [RFC 4340]

Encapsulated_Port_Reuse = 12

Encapsulated Port Reuse [RFC 6773]

Abrupt_MP_termination = 13

Abrupt MP termination [RFC 9897]

Unassigned_127 = 127

Unassigned [RFC 4340]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

ResetCode

DCCP Option Types

This module contains the constant enumeration for DCCP Option Types, which is automatically generated from pcapkit.vendor.dccp.option.Option.

class pcapkit.const.dccp.option.Option(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[Option] DCCP Option Types

Padding = 0

Padding [RFC 4340]

Mandatory = 1

Mandatory [RFC 4340]

Slow_Receiver = 2

Slow Receiver [RFC 4340]

Reserved_for_experimental_and_testing_use = 31

Reserved for experimental and testing use [RFC 4340]

Change_L = 32

Change L [RFC 4340]

Confirm_L = 33

Confirm L [RFC 4340]

Change_R = 34

Change R [RFC 4340]

Confirm_R = 35

Confirm R [RFC 4340]

Init Cookie [RFC 4340]

NDP_Count = 37

NDP Count [RFC 4340]

Ack_Vector_Nonce_0 = 38

Ack Vector [Nonce 0] [RFC 4340]

Ack_Vector_Nonce_1 = 39

Ack Vector [Nonce 1] [RFC 4340]

Data_Dropped = 40

Data Dropped [RFC 4340]

Timestamp = 41

Timestamp [RFC 4340]

Timestamp_Echo = 42

Timestamp Echo [RFC 4340]

Elapsed_Time = 43

Elapsed Time [RFC 4340]

Data_Checksum = 44

Data Checksum [RFC 4340]

Quick_Start_Response = 45

Quick-Start Response [RFC 5634]

Multipath = 46

Multipath [RFC 9897]

Unassigned_127 = 127

Unassigned [RFC 4340]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Option

DCCP Feature Numbers

This module contains the constant enumeration for DCCP Feature Numbers, which is automatically generated from pcapkit.vendor.dccp.feature.Feature.

class pcapkit.const.dccp.feature.Feature(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[Feature] DCCP Feature Numbers

Reserved_0 = 0

Reserved [RFC 4340]

Congestion_Control_ID = 1

Congestion Control ID (CCID) [RFC 4340]

Allow_Short_Seqnos = 2

Allow Short Seqnos [RFC 4340]

Sequence_Window = 3

Sequence Window [RFC 4340]

ECN_Incapable = 4

ECN Incapable [RFC 4340]

Ack_Ratio = 5

Ack Ratio [RFC 4340]

Send_Ack_Vector = 6

Send Ack Vector [RFC 4340]

Send_NDP_Count = 7

Send NDP Count [RFC 4340]

Minimum_Checksum_Coverage = 8

Minimum Checksum Coverage [RFC 4340]

Check_Data_Checksum = 9

Check Data Checksum [RFC 4340]

Multipath_Capable = 10

Multipath Capable [RFC 9897]

Unassigned_127 = 127

Unassigned [RFC 4340]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Feature

DCCP Ack Vector States

This module contains the constant enumeration for DCCP Ack Vector States, which is automatically generated from pcapkit.vendor.dccp.ack_vector_state.AckVectorState.

class pcapkit.const.dccp.ack_vector_state.AckVectorState(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[AckVectorState] DCCP Ack Vector States

Received = 0

Received [RFC 4340]

Received_ECN_Marked = 1

Received ECN Marked [RFC 4340]

Unassigned_2 = 2

Unassigned [RFC 4340]

Not_Yet_Received = 3

Not Yet Received [RFC 4340]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

AckVectorState

DCCP Drop Codes

This module contains the constant enumeration for DCCP Drop Codes, which is automatically generated from pcapkit.vendor.dccp.drop_code.DropCode.

class pcapkit.const.dccp.drop_code.DropCode(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[DropCode] DCCP Drop Codes

Protocol_Constraints = 0

Protocol Constraints [RFC 4340]

Application_Not_Listening = 1

Application Not Listening [RFC 4340]

Receive_Buffer = 2

Receive Buffer [RFC 4340]

Corrupt = 3

Corrupt [RFC 4340]

Delivered_Corrupt = 7

Delivered Corrupt [RFC 4340]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

DropCode

Footnotes