ARP Constant Enumerations

ARP Hardware Types *

class pcapkit.const.arp.hardware.Hardware(*args, **kwds)[source]

Bases: aenum.IntEnum

[Hardware] Hardware Types [RFC 826][RFC 5494]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

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

Backport support for original codes.

AEthernet = 257
ARCNET = 7
ARPSec = 30
Amateur_Radio_AX_25 = 3
Asynchronous_Transmission_Mode_16 = 16
Asynchronous_Transmission_Mode_19 = 19
Asynchronous_Transmission_Mode_21 = 21
Autonet_Short_Address = 10
Chaos = 5
EUI_64 = 27
Ethernet = 1
Experimental_Ethernet = 2
Fibre_Channel = 18
Frame_Relay = 15
HDLC = 17
HFI = 37
HIPARP = 28
HW_EXP1 = 36
HW_EXP2 = 256
Hyperchannel = 8
IEEE_1394_1995 = 24
IEEE_802_Networks = 6
IP_And_ARP_Over_ISO_7816_3 = 29
IPsec_Tunnel = 31
InfiniBand = 32
Lanstar = 9
LocalNet = 12
LocalTalk = 11
MAPOS = 25
MIL_STD_188_220 = 22
Metricom = 23
Proteon_ProNET_Token_Ring = 4
Pure_IP = 35
Reserved_0 = 0
Reserved_65535 = 65535
SMDS = 14
Serial_Line = 20
TIA_102_Project_25_Common_Air_Interface = 33
Twinaxial = 26
Wiegand_Interface = 34

Operation Codes

class pcapkit.const.arp.operation.Operation(*args, **kwds)[source]

Bases: aenum.IntEnum

[Operation] Operation Codes [RFC 826][RFC 5494]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

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

Backport support for original codes.

ARP_NAK = 10
DRARP_Error = 7
DRARP_Reply = 6
DRARP_Request = 5
InARP_Reply = 9
InARP_Request = 8
MAPOS_UNARP = 23
MARS_Grouplist_Reply = 21
MARS_Grouplist_Request = 20
MARS_Join = 14
MARS_Leave = 15
MARS_MServ = 13
MARS_Multi = 12
MARS_NAK = 16
MARS_Redirect_Map = 22
MARS_Request = 11
MARS_SJoin = 18
MARS_SLeave = 19
MARS_Unserv = 17
OP_EXP1 = 24
OP_EXP2 = 25
REPLY = 2
REQUEST = 1
Reply_Reverse = 4
Request_Reverse = 3
Reserved_0 = 0
Reserved_65535 = 65535

*

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

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