class IfTreeInterface

Fea class for holding physical interface state. More...

Definition#include <iftree.hh>
InheritsIfTreeItem [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Members


Detailed Description

Fea class for holding physical interface state.

typedef map<const string, IfTreeVif> VifMap

VifMap

 IfTreeInterface (const string& ifname)

IfTreeInterface

inline const string&  name ()

name

[const]

inline const string&  ifname ()

ifname

[const]

inline void  set_enabled (bool en)

set_enabled

inline bool  enabled ()

enabled

[const]

inline void  set_mtu (uint32_t mtu)

set_mtu

inline uint32_t  mtu ()

mtu

[const]

inline void  set_mac (const Mac& mac)

set_mac

inline const Mac&  mac ()

mac

[const]

inline const VifMap&  vifs ()

vifs

[const]

inline VifMap&  vifs ()

vifs

bool  add_vif (const string& vifname)

add_vif

bool  remove_vif (const string& vifname)

remove_vif

inline VifMap::iterator  get_vif (const string& vifname)

get_vif

inline VifMap::const_iterator  get_vif (const string& vifname)

get_vif

[const]

inline void  copy_state (const IfTreeInterface& o)

copy_state

Copy state of internal variables from another IfTreeInterface.

void  finalize_state ()

finalize_state

Reimplemented from IfTreeItem.

string  str ()

str

[const]

Reimplemented from IfTreeItem.

const string _ifname

_ifname

[protected]

bool _en

_en

[protected]

uint32_t _mtu

_mtu

[protected]

Mac _mac

_mac

[protected]

VifMap _vifs

_vifs

[protected]


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:57 2003, using kdoc 2.0a54+XORP.