MCPcopy Create free account
hub / github.com/FDio/vpp / create_arp_req

Method create_arp_req

test/vpp_pg_interface.py:563–570  ·  view source on GitHub ↗

Create ARP request applicable for this interface

(self)

Source from the content-addressed store, hash-verified

561 raise CaptureTimeoutError(f"Packet didn't arrive within timeout ({timeout})")
562
563 def create_arp_req(self):
564 """Create ARP request applicable for this interface"""
565 return Ether(dst="ff:ff:ff:ff:ff:ff", src=self.remote_mac) / ARP(
566 op=getattr(ARP, "who_has", 1),
567 pdst=self.local_ip4,
568 psrc=self.remote_ip4,
569 hwsrc=self.remote_mac,
570 )
571
572 def create_ndp_req(self, addr=None):
573 """Create NDP - NS applicable for this interface"""

Callers 1

resolve_arpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected