5 #ifndef linux_vnsw_agent_router_id_h
6 #define linux_vnsw_agent_router_id_h
9 #include <boost/bind.hpp>
10 #include <boost/function.hpp>
11 #include <boost/asio.hpp>
14 namespace local = boost::asio::local;
28 void ReadHandler(
const boost::system::error_code &, std::size_t length);
33 int NlMsgDecode(
struct nlmsghdr *nl, std::size_t len, uint32_t seq_no);
36 int AddAttr(uint8_t *,
int ,
void *,
int );
int NlMsgDecode(struct nlmsghdr *nl, std::size_t len, uint32_t seq_no)
Event * HandleNetlinkAddrMsg(struct nlmsghdr *)
bool ProcessEvent(Event *re)
DISALLOW_COPY_AND_ASSIGN(VnswInterfaceListenerLinux)
int AddAttr(uint8_t *, int, void *, int)
void ReadHandler(const boost::system::error_code &, std::size_t length)
void InitNetlinkScan(uint32_t type, uint32_t seqno)
Event * HandleNetlinkIntfMsg(struct nlmsghdr *)
VnswInterfaceListenerLinux(Agent *agent)
virtual ~VnswInterfaceListenerLinux()
void UpdateLinkLocalRoute(const Ip4Address &addr, uint8_t plen, bool del_rt)
VnswInterfaceListenerLinux VnswInterfaceListener
boost::asio::ip::address_v4 Ip4Address
string NetlinkTypeToString(uint32_t)
virtual void SyncCurrentState()
virtual void RegisterAsyncReadHandler()
Event * HandleNetlinkRouteMsg(struct nlmsghdr *)