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


Public Member Functions | |
| CryptTunnelEntry (IpAddress remote_ip) | |
| virtual | ~CryptTunnelEntry () |
| virtual bool | IsLess (const DBEntry &rhs) const |
| virtual KeyPtr | GetDBRequestKey () const |
| virtual void | SetKey (const DBRequestKey *key) |
| virtual string | ToString () const |
| uint32_t | GetRefCount () const |
| bool | DBEntrySandesh (Sandesh *sresp, std::string &name) const |
| void | SendObjectLog (SandeshTraceBufferPtr ptr, AgentLogEvent::type event) const |
| bool | GetTunnelAvailable () const |
| bool | GetVRToVRCrypt () const |
| const IpAddress * | GetRemoteIp () const |
| const IpAddress * | GetSourceIp () const |
| void | SetTunnelAvailable (bool available) |
| void | SetVRToVRCrypt (bool crypt) |
| void | UpdateTunnelReference () |
| CryptTunnelTaskBase * | StartCryptTunnel () |
| void | StopCryptTunnel () |
| void | ResyncNH () |
| void | PostAdd () |
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) |
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 Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (CryptTunnelEntry) | |
Private Member Functions inherited from AgentRefCount< CryptTunnelEntry > | |
| uint32_t | GetRefCount () const |
| AgentRefCount () | |
| AgentRefCount (const AgentRefCount &) | |
| AgentRefCount & | operator= (const AgentRefCount &) |
| virtual | ~AgentRefCount () |
| void | swap (AgentRefCount &) |
Private Attributes | |
| IpAddress | remote_ip_ |
| IpAddress | source_ip_ |
| bool | tunnel_available_ |
| bool | vr_to_vr_crypt_ |
| CryptTunnelTask * | tunnel_task_ |
Private Attributes inherited from AgentRefCount< CryptTunnelEntry > | |
| tbb::mutex | back_ref_mutex_ |
| std::set< IntrusiveReferrer > | back_ref_set_ |
Friends | |
| class | CryptTunnelTable |
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_ |
Definition at line 50 of file crypt_tunnel.h.
|
inline |
Definition at line 52 of file crypt_tunnel.h.
|
inlinevirtual |
Definition at line 55 of file crypt_tunnel.h.
|
virtual |
Implements AgentDBEntry.
Definition at line 231 of file crypt_tunnel.cc.
|
private |
|
virtual |
Implements DBEntryBase.
Definition at line 42 of file crypt_tunnel.cc.
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 61 of file crypt_tunnel.h.

|
inline |
Definition at line 69 of file crypt_tunnel.h.
|
inline |
Definition at line 70 of file crypt_tunnel.h.
|
inline |
Definition at line 67 of file crypt_tunnel.h.
|
inline |
Definition at line 68 of file crypt_tunnel.h.
|
virtual |
Implements DBEntry.
Definition at line 33 of file crypt_tunnel.cc.
|
virtual |
Reimplemented from AgentDBEntry.
Definition at line 52 of file crypt_tunnel.cc.
| void CryptTunnelEntry::ResyncNH | ( | ) |
| void CryptTunnelEntry::SendObjectLog | ( | SandeshTraceBufferPtr | ptr, |
| AgentLogEvent::type | event | ||
| ) | const |
Definition at line 248 of file crypt_tunnel.cc.
|
virtual |
Implements DBEntry.
Definition at line 47 of file crypt_tunnel.cc.
|
inline |
Definition at line 71 of file crypt_tunnel.h.
|
inline |
Definition at line 72 of file crypt_tunnel.h.
| CryptTunnelTaskBase * CryptTunnelEntry::StartCryptTunnel | ( | ) |
Definition at line 478 of file crypt_tunnel.cc.
| void CryptTunnelEntry::StopCryptTunnel | ( | ) |
|
virtual |
Implements DBEntryBase.
Definition at line 38 of file crypt_tunnel.cc.
| void CryptTunnelEntry::UpdateTunnelReference | ( | ) |
|
friend |
Definition at line 79 of file crypt_tunnel.h.
|
private |
Definition at line 80 of file crypt_tunnel.h.
|
private |
Definition at line 81 of file crypt_tunnel.h.
|
private |
Definition at line 82 of file crypt_tunnel.h.
|
private |
Definition at line 84 of file crypt_tunnel.h.
|
private |
Definition at line 83 of file crypt_tunnel.h.