class IfMgrIfAtom

Interface configuration atom. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

Represents a physical interface in XORP's model of forwarding h/w. The configuration state includes attributes of the interface and a collection of IfMgrVifAtom objects representing the virtual interfaces associated with the physical interface.

typedef map<const string, IfMgrVifAtom> VifMap

VifMap

inline  IfMgrIfAtom (const string& name)

IfMgrIfAtom

inline const string&  name ()

name

[const]

inline bool  enabled ()

enabled

[const]

inline void  set_enabled (bool en)

set_enabled

inline bool  discard ()

discard

[const]

inline void  set_discard (bool discard)

set_discard

inline uint32_t  mtu_bytes ()

mtu_bytes

[const]

inline void  set_mtu_bytes (uint32_t mtu)

set_mtu_bytes

inline const Mac&  mac ()

mac

[const]

inline void  set_mac (const Mac& mac)

set_mac

inline uint32_t  pif_index ()

pif_index

[const]

inline void  set_pif_index (uint32_t pif)

set_pif_index

inline bool  no_carrier ()

no_carrier

[const]

inline void  set_no_carrier (bool no_carrier)

set_no_carrier

inline const VifMap&  vifs ()

vifs

[const]

inline VifMap&  vifs ()

vifs

const IfMgrVifAtom*  find_vif (const string& vifname)

find_vif

[const]

IfMgrVifAtom*  find_vif (const string& vifname)

find_vif

bool  operator== (const IfMgrIfAtom& o)

operator==

[const]

string _name

_name

[protected]

bool _en

_en

[protected]

bool _discard

_discard

[protected]

uint32_t _mtu

_mtu

[protected]

Mac _mac

_mac

[protected]

uint32_t _pif

_pif

[protected]

bool _no_carrier

_no_carrier

[protected]

VifMap _vifs

_vifs

[protected]

inline  IfMgrIfAtom (const string& name)

IfMgrIfAtom

[protected]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:15 2006, using kdoc $.