|
| | MirrorTable (DB *db, const std::string &name) |
| |
| virtual | ~MirrorTable () |
| |
| virtual std::unique_ptr< DBEntry > | AllocEntry (const DBRequestKey *k) const |
| |
| virtual size_t | Hash (const DBEntry *entry) const |
| |
| virtual size_t | Hash (const DBRequestKey *key) const |
| |
| virtual DBEntry * | Add (const DBRequest *req) |
| |
| virtual bool | OnChange (DBEntry *entry, const DBRequest *req) |
| |
| virtual bool | Delete (DBEntry *entry, const DBRequest *request) |
| |
| virtual bool | Resync (DBEntry *entry, const DBRequest *req) |
| |
| virtual AgentSandeshPtr | GetAgentSandesh (const AgentSandeshArguments *args, const std::string &context) |
| |
| VrfEntry * | FindVrfEntry (const std::string &vrf_name) const |
| |
| virtual void | OnZeroRefcount (AgentDBEntry *e) |
| |
| void | MirrorSockInit (void) |
| |
| void | ReadHandler (const boost::system::error_code &error, size_t bytes) |
| |
| void | AddUnresolved (MirrorEntry *entry) |
| |
| void | RemoveUnresolved (MirrorEntry *entry) |
| |
| void | AddResolvedVrfMirrorEntry (MirrorEntry *entry) |
| |
| void | DeleteResolvedVrfMirrorEntry (MirrorEntry *entry) |
| |
| void | ResyncMirrorEntry (VrfMirrorEntryList &list, const VrfEntry *vrf) |
| |
| void | ResyncResolvedMirrorEntry (const VrfEntry *vrf) |
| |
| void | ResyncUnresolvedMirrorEntry (const VrfEntry *vrf) |
| |
| void | Add (VrfMirrorEntryList &vrf_entry_map, MirrorEntry *entry) |
| |
| void | Delete (VrfMirrorEntryList &vrf_entry_map, MirrorEntry *entry) |
| |
| void | VrfListenerInit () |
| |
| void | VrfNotify (DBTablePartBase *root, DBEntryBase *entry) |
| |
| void | Shutdown () |
| |
| void | Initialize () |
| |
| bool | OnChange (MirrorEntry *mirror_entry) |
| |
| void | BridgeRouteTableNotify (DBTablePartBase *partition, DBEntryBase *e) |
| |
| void | UnRegisterBridgeRouteTableListener (const VrfEntry *entry, MirrorVrfState *state) |
| |
| bool | UnresolvedMirrorVrf (const VrfEntry *vrf, VrfMirrorEntryList &list) |
| |
| MirrorEntry * | GetMirrorEntry (VrfEntry *vrf, const MacAddress &mac, VrfMirrorEntryList &list) |
| |
| void | DeleteMirrorVrf (MirrorEntry *entry, bool del_from_vrf_list) |
| |
| bool | IsConfigured () |
| |
| | AgentDBTable (DB *db, const std::string &name) |
| |
| | AgentDBTable (DB *db, const std::string &name, bool del_on_zero_refcount) |
| |
| virtual | ~AgentDBTable () |
| |
| virtual int | PartitionCount () const |
| |
| virtual void | Input (DBTablePartition *root, DBClient *client, DBRequest *req) |
| |
| virtual DBEntry * | CfgAdd (DBRequest *req) |
| |
| virtual void | Clear () |
| |
| virtual bool | IFNodeToReq (IFMapNode *node, DBRequest &req, const boost::uuids::uuid &uuid) |
| |
| virtual bool | IFLinkToReq (IFMapLink *link, IFMapNode *node, const std::string &peer_name, IFMapNode *peer, DBRequest &req) |
| |
| virtual bool | IFNodeToUuid (IFMapNode *node, boost::uuids::uuid &id) |
| |
| virtual DBTablePartition * | AllocPartition (int index) |
| |
| virtual void | NotifyEntry (DBEntryBase *entry) |
| |
| void | Notify (DBTablePartBase *partition, DBEntryBase *entry) |
| |
| DBTableBase::ListenerId | GetRefListenerId () const |
| |
| AgentDBEntry * | FindActiveEntry (const DBEntry *key) |
| |
| AgentDBEntry * | FindActiveEntryNoLock (const DBEntry *key) |
| |
| AgentDBEntry * | FindActiveEntry (const DBRequestKey *key) |
| |
| AgentDBEntry * | FindActiveEntryNoLock (const DBRequestKey *key) |
| |
| AgentDBEntry * | Find (const DBEntry *key, bool ret_del) |
| |
| AgentDBEntry * | Find (const DBRequestKey *key, bool ret_del) |
| |
| virtual bool | CanNotify (IFMapNode *dbe) |
| |
| virtual void | Process (DBRequest &req) |
| |
| virtual bool | ProcessConfig (IFMapNode *node, DBRequest &req, const boost::uuids::uuid &u) |
| |
| void | set_agent (Agent *agent) |
| |
| Agent * | agent () const |
| |
| void | Flush () |
| |
| void | reset_flush_walk_ref () |
| |
| SandeshTraceBufferPtr | GetOperDBTraceBuf () const |
| |
| | DBTable (DB *db, const std::string &name) |
| |
| virtual | ~DBTable () |
| |
| void | Init () |
| |
| void | NotifyAllEntries () |
| |
| DBEntry * | Find (const DBEntry *entry) |
| |
| const DBEntry * | Find (const DBEntry *entry) const |
| |
| DBEntry * | Find (const DBRequestKey *key, int id=-1) |
| |
| const DBEntry * | Find (const DBRequestKey *key, int id=-1) const |
| |
| DBEntry * | FindNoLock (const DBEntry *entry) |
| |
| DBEntry * | FindNoLock (const DBRequestKey *key) |
| |
| virtual DBTablePartBase * | GetTablePartition (const DBRequestKey *key) |
| |
| virtual const DBTablePartBase * | GetTablePartition (const DBRequestKey *key) const |
| |
| virtual DBTablePartBase * | GetTablePartition (const DBEntryBase *entry) |
| |
| virtual const DBTablePartBase * | GetTablePartition (const DBEntryBase *entry) const |
| |
| virtual DBTablePartBase * | GetTablePartition (const int index) |
| |
| virtual const DBTablePartBase * | GetTablePartition (const int index) const |
| |
| virtual void | Change (DBEntryBase *entry) |
| |
| virtual size_t | Size () const |
| |
| DBTableWalkRef | AllocWalker (WalkFn walk_fn, WalkCompleteFn walk_complete) |
| |
| void | ReleaseWalker (DBTableWalkRef &walk) |
| |
| void | WalkTable (DBTableWalkRef walk) |
| |
| void | WalkAgain (DBTableWalkRef walk) |
| |
| void | SetWalkIterationToYield (int count) |
| |
| int | GetWalkIterationToYield () |
| |
| void | SetWalkTaskId (int task_id) |
| |
| int | GetWalkerTaskId () |
| |
| | DBTableBase (DB *db, const std::string &name) |
| |
| virtual | ~DBTableBase () |
| |
| bool | Enqueue (DBRequest *req) |
| |
| void | EnqueueRemove (DBEntryBase *db_entry) |
| |
| virtual void | AddRemoveCallback (const DBEntryBase *entry, bool add) const |
| |
| ListenerId | Register (ChangeCallback callback, const std::string &name="unspecified") |
| |
| void | Unregister (ListenerId listener) |
| |
| void | RunNotify (DBTablePartBase *tpart, DBEntryBase *entry) |
| |
| void | AddToDBStateCount (ListenerId listener, int count) |
| |
| uint64_t | GetDBStateCount (ListenerId listener) |
| |
| bool | empty () const |
| |
| virtual void | RetryDelete () |
| |
| virtual bool | MayDelete () const |
| |
| DB * | database () |
| |
| const DB * | database () const |
| |
| const std::string & | name () const |
| |
| bool | HasListeners () const |
| |
| size_t | GetListenerCount () const |
| |
| void | FillListeners (std::vector< ShowTableListener > *listeners) const |
| |
| uint64_t | enqueue_count () const |
| |
| void | incr_enqueue_count () |
| |
| void | reset_enqueue_count () |
| |
| uint64_t | input_count () const |
| |
| void | incr_input_count () |
| |
| void | reset_input_count () |
| |
| uint64_t | notify_count () const |
| |
| void | incr_notify_count () |
| |
| void | reset_notify_count () |
| |
| bool | HasWalkers () const |
| |
| uint64_t | walker_count () const |
| |
| void | incr_walker_count () |
| |
| uint64_t | decr_walker_count () |
| |
| uint64_t | walk_request_count () const |
| |
| uint64_t | walk_complete_count () const |
| |
| uint64_t | walk_cancel_count () const |
| |
| uint64_t | walk_again_count () const |
| |
| uint64_t | walk_count () const |
| |
| void | incr_walk_request_count () |
| |
| void | incr_walk_complete_count () |
| |
| void | incr_walk_cancel_count () |
| |
| void | incr_walk_again_count () |
| |
| void | incr_walk_count () |
| |
|
| static void | AddMirrorEntry (const std::string &analyzer_name, const std::string &vrf_name, const IpAddress &sip, uint16_t sport, const IpAddress &dip, uint16_t dport) |
| |
| static void | AddMirrorEntry (const std::string &analyzer_name, const std::string &vrf_name, const IpAddress &sip, uint16_t sport, const IpAddress &dip, uint16_t dport, uint32_t vni, uint8_t mirror_flag, const MacAddress &mac) |
| |
| static void | AddMirrorEntry (const std::string &analyzer_name, uint32_t nic_assisted_mirroring_vlan) |
| |
| static void | DelMirrorEntry (const std::string &analyzer_name) |
| |
| static DBTableBase * | CreateTable (DB *db, const std::string &name) |
| |
| static MirrorTable * | GetInstance () |
| |
| static MirrorEntryData::MirrorEntryFlags | DecodeMirrorFlag (const std::string &nh_mode, bool juniper_header) |
| |
| static void | DBStateClear (DBTable *table, ListenerId id) |
| |
Definition at line 116 of file mirror_table.h.