5 #ifndef SRC_VNSW_AGENT_MAC_LEARNING_MAC_LEARNING_PROTO_H_
6 #define SRC_VNSW_AGENT_MAC_LEARNING_MAC_LEARNING_PROTO_H_
29 boost::asio::io_context &io);
35 boost::asio::io_context &io);
virtual bool Validate(PktInfo *msg)
MacIpLearningTablePtr mac_ip_learning_tbl_
tbb::mutex::scoped_lock mutex_
MacLearningPartition * Find(uint32_t index)
virtual ProtoHandler * AllocProtoHandler(boost::shared_ptr< PktInfo > info, boost::asio::io_context &io)
void Delete(uint32_t index)
TokenPool * delete_tokens()
MacLearningPartitionList mac_learning_partition_list_
MacIpLearningTable * GetMacIpLearningTable()
TokenPtr GetToken(MacLearningEntryRequest::Event event)
virtual void TokenAvailable(TokenPool *pool)
bool Enqueue(PktInfoPtr msg)
std::vector< MacLearningPartitionPtr > MacLearningPartitionList
boost::shared_ptr< MacLearningPartition > MacLearningPartitionPtr
boost::shared_ptr< MacIpLearningTable > MacIpLearningTablePtr
virtual ~MacLearningProto()
boost::shared_ptr< Token > TokenPtr
uint32_t Hash(uint32_t vrf_id, const MacAddress &mac)
MacLearningProto(Agent *agent, boost::asio::io_context &io)
DISALLOW_COPY_AND_ASSIGN(MacLearningProto)
TokenPool * change_tokens()
boost::shared_ptr< MacAgingTable > MacAgingTablePtr
boost::shared_ptr< PktInfo > PktInfoPtr