RARP/DRARP - (Dynamic) Reverse Address Resolution Protocol¶
pcapkit.protocols.link.rarp contains
RARP only,
which implements extractor for (Dynamic) Reverse
Address Resolution Protocol (RARP/DRARP) *,
whose structure is described as below:
Octets |
Bits |
Name |
Description |
|---|---|---|---|
0 |
0 |
|
Hardware Type |
2 |
16 |
|
Protocol Type |
4 |
32 |
|
Hardware Address Length |
5 |
40 |
|
Protocol Address Length |
6 |
48 |
|
Operation |
8 |
64 |
|
Sender Hardware Address |
14 |
112 |
|
Sender Protocol Address |
18 |
144 |
|
Target Hardware Address |
24 |
192 |
|
Target Protocol Address |
-
class
pcapkit.protocols.link.rarp.RARP(file=None, length=None, **kwargs)[source]¶ Bases:
pcapkit.protocols.link.arp.ARPThis class implements Reverse Address Resolution Protocol.
-
classmethod
__index__()[source]¶ Numeral registry index of the protocol.
- Returns
Numeral registry index of the protocol in IANA.
- Return type
-
classmethod
id()[source]¶ Index ID of the protocol.
- Returns
Index ID of the protocol.
- Return type
Tuple[Literal[‘RARP’], Literal[‘DRARP’]]
-
_acnm= 'RARP'¶ Acronym of corresponding protocol.
-
_name= 'Reverse Address Resolution Protocol'¶ Name of corresponding protocol.
-
classmethod