LLC Constant Enumerations

LLC_LSAP

LLC Address (LSAP) Values [*]

LLC_SupervisoryFunction

LLC Supervisory Functions

LLC_ModifierFunction

LLC Modifier Functions

Added in version 1.9.0.

LLC Address (LSAP) Values

Generated from pcapkit.vendor.llc.lsap.LSAP.

class pcapkit.const.llc.lsap.LSAP(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[LSAP] LLC Address (LSAP) Values [IEEE Registration Authority, LLC Public Listing]

Null = 0

Null address [ISO/IEC 8802-2]

LLC_Sublayer_Management = 2

LLC Sublayer Management [IEEE 802.1B]

Internet_Protocol = 6

Internet Protocol [RFC 791]

Secure_Data_Exchange = 10

Secure Data Exchange Protocol of Interoperable LAN Security [IEEE 802.10B]

PROWAY_Network_Management = 14

Network Management, Maintenance and Initialization of PROWAY C [IEC 955]

Bridge_Spanning_Tree_Protocol = 66

Bridge Spanning Tree Protocol [ISO/IEC 10038]

Manufacturing_Message_Service = 78

Manufacturing Message Service [ISO 9506]

X_25_Packet_Layer_Protocol = 126

X.25 packet layer protocol as the network layer protocol [ISO/IEC 8208]

BACnet = 130

BACnet [ANSI/ASHRAE 135-1995]

PROWAY_Active_Station_List_Maintenance = 142

Active station list maintenance of PROWAY C [IEC 955]

Route_Determination_Entity = 166

Source Routing Route Determination Entity [ISO/IEC 8802-2]

SNAP = 170

Subnetwork Access Protocol [IEEE 802]

Service_User_Layer_Entity = 230

Service user layer entity of meter data exchange over HDLC [IEC 62056-46]

Network_Layer_Protocol_Identification = 254

Protocol identification in the network layer [ISO/IEC TR 9577]

Global = 255

Global DSAP address [ISO/IEC 8802-2]

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:

LSAP

LLC Supervisory Functions

Generated from pcapkit.vendor.llc.supervisory_function.SupervisoryFunction.

class pcapkit.const.llc.supervisory_function.SupervisoryFunction(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[SupervisoryFunction] LLC Supervisory Functions [IEEE Std 802.2]

RR = 0

Receive Ready

RNR = 4

Receive Not Ready

REJ = 8

Reject

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:

SupervisoryFunction

LLC Modifier Functions

Generated from pcapkit.vendor.llc.modifier_function.ModifierFunction.

class pcapkit.const.llc.modifier_function.ModifierFunction(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[ModifierFunction] LLC Modifier Functions [IEEE Std 802.2]

UI = 0

Unnumbered Information (command)

DM = 12

Disconnected Mode (response)

DISC = 64

Disconnect (command)

UA = 96

Unnumbered Acknowledgment (response)

AC0 = 100

Acknowledged Connectionless Information, sequence 0 (command and response)

SABME = 108

Set Asynchronous Balanced Mode Extended (command)

FRMR = 132

Frame Reject (response)

XID = 172

Exchange Identification (command and response)

TEST = 224

Test (command and response)

AC1 = 228

Acknowledged Connectionless Information, sequence 1 (command and response)

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:

ModifierFunction

Footnotes