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