5 #ifndef hbf_agent_oper_hpp
6 #define hbf_agent_oper_hpp
8 #include <netinet/in.h>
9 #include <net/ethernet.h>
17 #define HBFTRACE(obj, ...) \
19 HBF##obj::TraceMsg(HBFTraceBuf, __FILE__, __LINE__, __VA_ARGS__); \
61 LOG(ERROR,
"HBF, walk done, releasing the walker");
void Start(uint32_t hbf_intf_, bool hbf_lintf_, std::string projname)
const Agent * agent() const
AgentRouteWalkerPtr vrf_walker_
SandeshTraceBufferPtr HBFTraceBuf
DISALLOW_COPY_AND_ASSIGN(HBFHandler)
boost::shared_ptr< TraceBuffer< SandeshTrace > > SandeshTraceBufferPtr
bool IsHBFLInterface(VmInterface *vm_itf)
AgentRouteWalkerManager * mgr()
bool IsHBFRInterface(VmInterface *vm_itf)
HBFIntfDBState(bool lintf, std::string projname)
boost::intrusive_ptr< AgentRouteWalker > AgentRouteWalkerPtr
DBTable::ListenerId interface_listener_id_
void ReleaseWalker(AgentRouteWalker *walker)
static void WalkDone(HBFVrfWalker *walker)
void ModifyVmInterface(DBTablePartBase *partition, DBEntryBase *e)
#define LOG(_Level, _Msg)
virtual bool VrfWalkNotify(DBTablePartBase *partition, DBEntryBase *e)
DISALLOW_COPY_AND_ASSIGN(HBFVrfWalker)
HBFVrfWalker(const std::string &name, Agent *agent)