5 #ifndef vnsw_agent_arp_handler_hpp
6 #define vnsw_agent_arp_handler_hpp
10 #define GRATUITOUS_ARP 0x0100 // keep this different from standard ARP commands
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);
48 #endif // vnsw_agent_arp_handler_hpp
void EntryDelete(ArpKey &key)
friend void intrusive_ptr_add_ref(const ArpHandler *p)
void SendArpRequestByPlen(const VmInterface *vm_interface, const MacAddress &smac, const ArpPathPreferenceState *data, const Ip4Address &tpa)
uint16_t ArpHdr(const MacAddress &smac, in_addr_t sip, const MacAddress &tmac, in_addr_t tip, uint16_t op)
uint32_t MaxArpProbeAddresses() const
tbb::atomic< uint32_t > refcount_
DISALLOW_COPY_AND_ASSIGN(ArpHandler)
static const uint16_t kMaxArpProbes
ArpHandler(Agent *agent, boost::shared_ptr< PktInfo > info, boost::asio::io_context &io)
boost::asio::ip::address_v4 Ip4Address
friend void intrusive_ptr_release(const ArpHandler *p)
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)