OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MacBinding Struct Reference

#include <route_ksync.h>

Public Types

typedef std::map< const
MacAddress, PathPreference
MacPreferenceMap
 
typedef std::pair< const
MacAddress, PathPreference
MacPreferencePair
 

Public Member Functions

 MacBinding (const MacBinding &mac_binding)
 
 MacBinding (const MacAddress &mac, const PathPreference &pref)
 
const MacAddressget_mac () const
 
void reset_mac (const MacAddress &mac)
 
bool can_erase ()
 
void set_mac (const PathPreference &pref, const MacAddress &mac)
 
bool WaitForTraffic () const
 

Private Attributes

MacPreferenceMap mac_preference_map_
 

Detailed Description

Definition at line 129 of file route_ksync.h.

Member Typedef Documentation

Definition at line 131 of file route_ksync.h.

Definition at line 133 of file route_ksync.h.

Constructor & Destructor Documentation

MacBinding::MacBinding ( const MacBinding mac_binding)
inline

Definition at line 135 of file route_ksync.h.

MacBinding::MacBinding ( const MacAddress mac,
const PathPreference pref 
)
inline

Definition at line 138 of file route_ksync.h.

Member Function Documentation

bool MacBinding::can_erase ( )
inline

Definition at line 159 of file route_ksync.h.

const MacAddress& MacBinding::get_mac ( ) const
inline

Definition at line 142 of file route_ksync.h.

Here is the call graph for this function:

void MacBinding::reset_mac ( const MacAddress mac)
inline

Definition at line 155 of file route_ksync.h.

void MacBinding::set_mac ( const PathPreference pref,
const MacAddress mac 
)
inline

Definition at line 166 of file route_ksync.h.

bool MacBinding::WaitForTraffic ( ) const
inline

Definition at line 171 of file route_ksync.h.

Member Data Documentation

MacPreferenceMap MacBinding::mac_preference_map_
private

Definition at line 182 of file route_ksync.h.


The documentation for this struct was generated from the following file: