interface.h 325 B

1234567891011121314151617
  1. #pragma once
  2. #include "address.h"
  3. #include <util/generic/vector.h>
  4. namespace NAddr {
  5. struct TNetworkInterface {
  6. TString Name;
  7. IRemoteAddrRef Address;
  8. IRemoteAddrRef Mask;
  9. };
  10. using TNetworkInterfaceList = TVector<TNetworkInterface>;
  11. TNetworkInterfaceList GetNetworkInterfaces();
  12. }