Lines Matching refs:ARP
41 # arp cache: Protocol to Hardware address resolution cache.
43 # Reply to broadcast ARP requests.
46 "arp.pln": 4, # Protocol Addres Length is 4 (IP v4).
47 "arp.op": dpkt.arp.ARP_OP_REQUEST,
48 "arp.tpa": self._bin_ip_addr}
51 # Reply to unicast ARP requests.
77 # Update the local ARP cache whenever we get a request.
78 self.add_arp(hw_addr=pkt.arp.sha, ip_addr=pkt.arp.spa)
80 arp_resp = dpkt.arp.ARP(
81 op = dpkt.arp.ARP_OP_REPLY,
83 tpa = pkt.arp.spa, # Target Protocol Address.
84 tha = pkt.arp.sha, # Target Hardware Address.
88 dst = pkt.arp.sha,
110 This method uses the information gathered from received ARP requests and