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 possum.icir.org on Wed Apr 13 21:53:02 2005, using kdoc $.