.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2. .TH ARP 3 "21 March 2023" "NFStest 3.2" "arp 1.0" .SH NAME packet.internet.arp - ARP module .SH DESCRIPTION Decode ARP and RARP layers. RFC 826 An Ethernet Address Resolution Protocol RFC 903 A Reverse Address Resolution Protocol .SH CLASSES .SS class ARP(baseobj.BaseObj) .nf ARP object Usage: from packet.internet.arp import ARP x = ARP(pktt) Object definition: ARP( htype = int, # Hardware type ptype = int, # Protocol type hlen = int, # Byte length for each hardware address plen = int, # Byte length for each protocol address oper = int, # Opcode sha = string, # Hardware address of sender of this packet spa = string, # Protocol address of sender of this packet tha = string, # Hardware address of target of this packet tpa = string, # Protocol address of target of this packet ) .P .B Methods defined here: --------------------- .P .B __init__(self, pktt) Constructor Initialize object's private data. .RS .TP .B pktt: Packet trace object (packet.pktt.Pktt) so this layer has access to the parent layers. .RE .fi .SS class RARP(ARP) .nf ARP object Usage: from packet.internet.arp import ARP x = ARP(pktt) Object definition: ARP( htype = int, # Hardware type ptype = int, # Protocol type hlen = int, # Byte length for each hardware address plen = int, # Byte length for each protocol address oper = int, # Opcode sha = string, # Hardware address of sender of this packet spa = string, # Protocol address of sender of this packet tha = string, # Hardware address of target of this packet tpa = string, # Protocol address of target of this packet ) .fi .SS class arp_oper(packet.utils.Enum) .nf enum arp_oper .fi .SH SEE ALSO .BR baseobj(3), .BR packet.internet.arp_const(3), .BR packet.internet.ipv6addr(3), .BR packet.link.macaddr(3), .BR packet.utils(3) .SH BUGS No known bugs. .SH AUTHOR Jorge Mora (mora@netapp.com)