|
OpenSDN source code
|
#include <mirror_table.h>


Public Member Functions | |
| MirrorEntry (std::string analyzer_name) | |
| virtual | ~MirrorEntry () |
| virtual bool | IsLess (const DBEntry &rhs) const |
| virtual bool | Change (const DBRequest *req) |
| virtual void | SetKey (const DBRequestKey *key) |
| virtual KeyPtr | GetDBRequestKey () const |
| virtual std::string | ToString () const |
| uint32_t | GetRefCount () const |
| bool | DBEntrySandesh (Sandesh *sresp, std::string &name) const |
| void | set_mirror_entrySandeshData (MirrorEntrySandeshData &data) const |
| uint32_t | vrf_id () const |
| const VrfEntry * | GetVrf () const |
| const std::string | GetAnalyzerName () const |
| const IpAddress * | GetSip () const |
| uint16_t | GetSPort () const |
| const IpAddress * | GetDip () const |
| uint16_t | GetDPort () const |
| const NextHop * | GetNH () const |
| const std::string | vrf_name () const |
| uint32_t | GetVni () const |
| uint8_t | GetMirrorFlag () const |
| const MacAddress * | GetMac () const |
| bool | GetCreatedVrf () const |
| uint16_t | nic_assisted_mirroring_vlan () const |
| bool | nic_assisted_mirroring () const |
| void | set_mirror_index (uint32_t index) |
| uint32_t | mirror_index () const |
Public Member Functions inherited from AgentDBEntry | |
| AgentDBEntry () | |
| virtual | ~AgentDBEntry () |
| void | SetRefState () const |
| void | ClearRefState () const |
| bool | IsActive () const |
| DBState * | GetAgentDBEntryState (int listener_id) |
| const DBState * | GetAgentDBEntryState (int listener_id) const |
| virtual void | AllocateResources (ResourceManager *resource_manager) |
| virtual void | FreeResources (ResourceManager *resource_manager) |
| virtual void | PostAdd () |
Public Member Functions inherited from DBEntry | |
| DBEntry () | |
| virtual | ~DBEntry () |
| bool | operator< (const DBEntry &rhs) const |
Public Member Functions inherited from DBEntryBase | |
| DBEntryBase () | |
| virtual | ~DBEntryBase () |
| virtual bool | IsMoreSpecific (const std::string &match) const |
| virtual bool | IsLessSpecific (const std::string &match) const |
| void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
| void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
| DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
| const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
| bool | is_state_empty (DBTablePartBase *tpart) |
| bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
| void | Delete () |
| void | MarkDelete () |
| void | ClearDelete () |
| bool | IsDeleted () const |
| void | set_onlist () |
| void | clear_onlist () |
| bool | is_onlist () |
| void | SetOnRemoveQ () |
| bool | IsOnRemoveQ () |
| void | ClearOnRemoveQ () |
| void | set_last_change_at (uint64_t time) |
| void | set_last_change_at_to_now () |
| const uint64_t | last_change_at () const |
| const std::string | last_change_at_str () const |
| void | set_last_update_at (uint64_t time) |
| void | set_last_update_at_to_now () |
| const uint64_t | last_update_at () const |
| DBTablePartBase * | get_table_partition () const |
| void | set_table_partition (DBTablePartBase *tpart) |
| DBTableBase * | get_table () const |
| void | Notify () |
Private Attributes | |
| std::string | analyzer_name_ |
| VrfEntryRef | vrf_ |
| IpAddress | sip_ |
| uint16_t | sport_ |
| IpAddress | dip_ |
| uint16_t | dport_ |
| NextHopRef | nh_ |
| std::string | vrf_name_ |
| uint8_t | mirror_flags_ |
| uint32_t | vni_ |
| MacAddress | mac_ |
| bool | createdvrf_ |
| bool | nic_assisted_mirroring_ |
| uint16_t | nic_assisted_mirroring_vlan_ |
| uint32_t | mirror_index_ |
Private Attributes inherited from AgentRefCount< MirrorEntry > | |
| tbb::mutex | back_ref_mutex_ |
| std::set< IntrusiveReferrer > | back_ref_set_ |
Friends | |
| class | MirrorTable |
Additional Inherited Members | |
Public Types inherited from AgentDBEntry | |
| typedef boost::intrusive_ptr< AgentDBEntry > | AgentDBEntyRef |
Public Types inherited from DBEntryBase | |
| typedef DBTableBase::ListenerId | ListenerId |
| typedef std::unique_ptr< DBRequestKey > | KeyPtr |
Public Attributes inherited from DBEntryBase | |
| boost::intrusive::list_member_hook | chg_list_ |
Private Member Functions inherited from AgentRefCount< MirrorEntry > | |
| uint32_t | GetRefCount () const |
| AgentRefCount () | |
| AgentRefCount (const AgentRefCount &) | |
| AgentRefCount & | operator= (const AgentRefCount &) |
| virtual | ~AgentRefCount () |
| void | swap (AgentRefCount &) |
Definition at line 56 of file mirror_table.h.
|
inline |
Definition at line 58 of file mirror_table.h.
|
inlinevirtual |
Definition at line 61 of file mirror_table.h.
|
inlinevirtual |
Definition at line 64 of file mirror_table.h.
|
virtual |
Implements AgentDBEntry.
Definition at line 647 of file mirror_table.cc.
|
inline |
Definition at line 77 of file mirror_table.h.
|
inline |
Definition at line 87 of file mirror_table.h.
|
virtual |
Implements DBEntryBase.
Definition at line 36 of file mirror_table.cc.
|
inline |
Definition at line 80 of file mirror_table.h.
|
inline |
Definition at line 81 of file mirror_table.h.
|
inline |
Definition at line 86 of file mirror_table.h.
|
inline |
Definition at line 85 of file mirror_table.h.
|
inline |
Definition at line 82 of file mirror_table.h.
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 70 of file mirror_table.h.

|
inline |
Definition at line 78 of file mirror_table.h.
|
inline |
Definition at line 79 of file mirror_table.h.
|
inline |
Definition at line 84 of file mirror_table.h.
| const VrfEntry * MirrorEntry::GetVrf | ( | ) | const |
Definition at line 630 of file mirror_table.cc.
|
virtual |
Implements DBEntry.
Definition at line 31 of file mirror_table.cc.

|
inline |
Definition at line 94 of file mirror_table.h.
|
inline |
Definition at line 90 of file mirror_table.h.
|
inline |
Definition at line 88 of file mirror_table.h.
| void MirrorEntry::set_mirror_entrySandeshData | ( | MirrorEntrySandeshData & | data | ) | const |
Definition at line 634 of file mirror_table.cc.
|
inline |
Definition at line 93 of file mirror_table.h.
|
virtual |
Implements DBEntry.
Definition at line 41 of file mirror_table.cc.
|
inlinevirtual |
Implements DBEntryBase.
Definition at line 68 of file mirror_table.h.
| uint32_t MirrorEntry::vrf_id | ( | ) | const |
Definition at line 626 of file mirror_table.cc.
|
inline |
Definition at line 83 of file mirror_table.h.
|
friend |
Definition at line 113 of file mirror_table.h.
|
private |
Definition at line 96 of file mirror_table.h.
|
private |
Definition at line 109 of file mirror_table.h.
|
private |
Definition at line 100 of file mirror_table.h.
|
private |
Definition at line 101 of file mirror_table.h.
|
private |
Definition at line 106 of file mirror_table.h.
|
private |
Definition at line 104 of file mirror_table.h.
|
private |
Definition at line 112 of file mirror_table.h.
|
private |
Definition at line 102 of file mirror_table.h.
|
private |
Definition at line 110 of file mirror_table.h.
|
private |
Definition at line 111 of file mirror_table.h.
|
private |
Definition at line 98 of file mirror_table.h.
|
private |
Definition at line 99 of file mirror_table.h.
|
private |
Definition at line 105 of file mirror_table.h.
|
private |
Definition at line 97 of file mirror_table.h.
|
private |
Definition at line 103 of file mirror_table.h.