blob: d37ee4bd01a6866ac6f2051b436464eae77f6cb6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "address.h"
#include <util/generic/vector.h>
namespace NAddr {
struct TNetworkInterface {
TString Name;
IRemoteAddrRef Address;
IRemoteAddrRef Mask;
};
using TNetworkInterfaceList = TVector<TNetworkInterface>;
TNetworkInterfaceList GetNetworkInterfaces();
} // namespace NAddr
|