struct IfMgrIP
|
Class specialized to provide a way to find IfMgrIPv{4,6}Atom given
IPv{4,6} type. More... |
|
|
Public Types
- typedef IfMgrIPv4Atom Atom
- typedef IfMgrIPv6Atom Atom
Class specialized to provide a way to find IfMgrIPv{4,6}Atom given
IPv{4,6} type. This is useful for code that is solely interested
in common attributes and methods of IfMgrIPv4Atom and IfMgrIPv6Atom.
Example usage:
template <typename A>
bool addr_exists_and_enabled(IfMgrVifAtom& vif, const A& a)
{
const typename IfMgrIP<A>::Atom* a = vif.find_addr(a);
return a != 0 && a->enabled();
}
Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:54 2009, using kdoc 2.0a54+XORP.