InARP - Inverse Address Resolution Protocol

pcapkit.protocols.link.inarp.protocol contains InARP only, which implements an extractor for Inverse Address Resolution Protocol (InARP) [*], whose frame is the one pcapkit.protocols.link.arp.protocol describes.

Nothing dispatches to InARP: under EtherType 0x0806, an InARP operation parses as ARP with alias InARP.

Added in version 1.6.0: Moved here from pcapkit.protocols.link.arp.protocol, which keeps ARP alone, since a module holds one protocol class, named after it (#2529).

class pcapkit.protocols.link.inarp.protocol.InARP(file, length=None, /, *, layer=None, protocol=None, context=None)[source]

Bases: ARP

This class implements Inverse Address Resolution Protocol.

Changed in version 1.5.0: Parses with the ARP schema rather than falling back to the raw one (#1204).

classmethod id()[source]

Index ID of the protocol.

Return type:

tuple[Literal['InARP']]

Footnotes