OpenSDN source code
|
#include <nexthop_entry.h>
Public Types | |
enum | NexthopDBEntryState { NEXTHOP_STATE_CLEAN, NEXTHOP_STATE_MARKED, NEXTHOP_STATE_DELETED } |
typedef boost::shared_ptr < NexthopDBEntry > | NexthopPtr |
Public Member Functions | |
NexthopDBEntry (const std::string &nh) | |
~NexthopDBEntry () | |
int | EncodedLength () |
void | set_state (NexthopDBEntryState state) |
NexthopDBEntryState | state () |
std::string & | nexthop_string () |
bool | operator== (NexthopDBEntry &other) |
Private Attributes | |
std::string | nexthop_string_ |
NexthopDBEntryState | state_ |
Static Private Attributes | |
static const int | kNexthopEntryOverhead = 32 |
Definition at line 19 of file nexthop_entry.h.
typedef boost::shared_ptr<NexthopDBEntry> NexthopDBEntry::NexthopPtr |
Definition at line 25 of file nexthop_entry.h.
Enumerator | |
---|---|
NEXTHOP_STATE_CLEAN | |
NEXTHOP_STATE_MARKED | |
NEXTHOP_STATE_DELETED |
Definition at line 27 of file nexthop_entry.h.
|
inline |
Definition at line 33 of file nexthop_entry.h.
|
inline |
Definition at line 36 of file nexthop_entry.h.
|
inline |
Definition at line 39 of file nexthop_entry.h.
|
inline |
Definition at line 51 of file nexthop_entry.h.
|
inline |
|
inline |
|
inline |
Definition at line 47 of file nexthop_entry.h.
|
staticprivate |
Definition at line 21 of file nexthop_entry.h.
|
private |
Definition at line 61 of file nexthop_entry.h.
|
private |
Definition at line 62 of file nexthop_entry.h.