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 Thu Jul 8 23:48:24 2004, using kdoc $.