29 #include <ddk/ntddndis.h>
53 : _name(name), _friendlyName(friendlyName)
64 if (_name.length() == 0)
return "<any>";
69 const std::wstring& vinterface::getFriendlyName()
const
82 return (_name ==
ANY);
89 GetAdapterIndex(LPWSTR(_name.c_str()), index);
90 return (uint32_t)index;
92 return if_nametoindex(_name.c_str());
108 return (_name < obj._name);
113 return (obj._name == _name);
118 return (obj._name != _name);
123 return (_name.length() == 0);