5 #ifndef vnsw_agent_arp_handler_hpp
6 #define vnsw_agent_arp_handler_hpp
10 #define GRATUITOUS_ARP 0x0100
20 boost::asio::io_context &
io);
26 in_addr_t tip, uint32_t itf, uint32_t vrf);
40 const MacAddress &tmac, in_addr_t tip, uint16_t op);
boost::asio::ip::address_v4 Ip4Address
void SendArpRequestByPlen(const VmInterface *vm_interface, const MacAddress &smac, const ArpPathPreferenceState *data, const Ip4Address &tpa)
ArpHandler(Agent *agent, boost::shared_ptr< PktInfo > info, boost::asio::io_context &io)
tbb::atomic< uint32_t > refcount_
uint32_t MaxArpProbeAddresses() const
void EntryDelete(ArpKey &key)
uint16_t ArpHdr(const MacAddress &smac, in_addr_t sip, const MacAddress &tmac, in_addr_t tip, uint16_t op)
static const uint16_t kMaxArpProbes
friend void intrusive_ptr_add_ref(const ArpHandler *p)
DISALLOW_COPY_AND_ASSIGN(ArpHandler)
void SendArp(uint16_t op, const MacAddress &smac, in_addr_t sip, const MacAddress &tmac, const MacAddress &dmac, in_addr_t tip, uint32_t itf, uint32_t vrf)
friend void intrusive_ptr_release(const ArpHandler *p)