class IfMgrIfTree


Definition#include <ifmgr_atoms.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

typedef map<const string, IfMgrIfAtom> IfMap

IfMap

inline const IfMap&  interfaces ()

interfaces

[const]

Interface collection accessor.

inline IfMap&  interfaces ()

interfaces

Interface collection accessor.

inline void  clear ()

clear

Clear all interface state.

const IfMgrIfAtom*  find_if (const string& ifname)

find_if

[const]

Find interface.

Parameters:
ifnamename of interface to find.

Returns: pointer to interface structure on success, 0 otherwise.

IfMgrIfAtom*  find_if (const string& ifname)

find_if

Find interface.

Parameters:
ifnamename of interface to find.

Returns: pointer to interface structure on success, 0 otherwise.

const IfMgrVifAtom*  find_vif (const string& ifname, const string& vifname)

find_vif

[const]

Find virtual interface.

Parameters:
ifnamename of interface responsible for virtual interface.
vifnamename of virtual interface.

Returns: pointer to virtual interface structure on success, 0 otherwise.

IfMgrVifAtom*  find_vif (const string& ifname, const string& vifname)

find_vif

Find virtual interface.

Parameters:
ifnamename of interface responsible for virtual interface.
vifnamename of virtual interface.

Returns: pointer to virtual interface structure on success, 0 otherwise.

const IfMgrIPv4Atom*  find_addr (const string& ifname, const string& vifname, const IPv4 addr)

find_addr

[const]

Find IPv4 address structure.

Parameters:
ifnamename of interface responsible for address.
vifnamename of virtual interface responsible for address.
addrIPv4 address.

Returns: pointer to virtual interface structure on success, 0 otherwise.

IfMgrIPv4Atom*  find_addr (const string& ifname, const string& vifname, const IPv4 addr)

find_addr

Find IPv4 address structure.

Parameters:
ifnamename of interface responsible for address.
vifnamename of virtual interface responsible for address.
addrIPv4 address.

Returns: pointer to virtual interface structure on success, 0 otherwise.

const IfMgrIPv6Atom*  find_addr (const string& ifname, const string& vifname, const IPv6& addr)

find_addr

[const]

Find IPv6 address structure.

Parameters:
ifnamename of interface responsible for address.
vifnamename of virtual interface responsible for address.
addrIPv6 address.

Returns: pointer to virtual interface structure on success, 0 otherwise.

IfMgrIPv6Atom*  find_addr (const string& ifname, const string& vifname, const IPv6& addr)

find_addr

Find IPv6 address structure.

Parameters:
ifnamename of interface responsible for address.
vifnamename of virtual interface responsible for address.
addrIPv6 address.

Returns: pointer to virtual interface structure on success, 0 otherwise.

bool  operator== (const IfMgrIfTree& o)

operator==

[const]

Equality operator.

Parameters:
otree to compare against.

Returns: true if this instance and o are the same, false otherwise.

IfMap _ifs

_ifs

[protected]

inline void  clear ()

clear

[protected]


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:11 2003, using kdoc 2.0a54+XORP.