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

 IfMgrIfAtom (const string& name)

IfMgrIfAtom

const string&  name ()

name

[const]

bool  enabled ()

enabled

[const]

void  set_enabled (bool v)

set_enabled

bool  discard ()

discard

[const]

void  set_discard (bool v)

set_discard

bool  unreachable ()

unreachable

[const]

void  set_unreachable (bool v)

set_unreachable

bool  management ()

management

[const]

void  set_management (bool v)

set_management

uint32_t  mtu ()

mtu

[const]

void  set_mtu (uint32_t v)

set_mtu

const Mac&  mac ()

mac

[const]

void  set_mac (const Mac& v)

set_mac

uint32_t  pif_index ()

pif_index

[const]

void  set_pif_index (uint32_t v)

set_pif_index

bool  no_carrier ()

no_carrier

[const]

void  set_no_carrier (bool v)

set_no_carrier

uint64_t  baudrate ()

baudrate

[const]

void  set_baudrate (uint64_t v)

set_baudrate

const VifMap&  vifs ()

vifs

[const]

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 _enabled

_enabled

[protected]

bool _discard

_discard

[protected]

bool _unreachable

_unreachable

[protected]

bool _management

_management

[protected]

uint32_t _mtu

_mtu

[protected]

Mac _mac

_mac

[protected]

uint32_t _pif_index

_pif_index

[protected]

bool _no_carrier

_no_carrier

[protected]

uint64_t _baudrate

_baudrate

[protected]

VifMap _vifs

_vifs

[protected]

inline  IfMgrIfAtom (const string& name)

IfMgrIfAtom

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:54 2009, using kdoc 2.0a54+XORP.