lokinet/llarp/net.hpp

13 lines
220 B
C++
Raw Normal View History

2018-02-01 17:06:49 +00:00
#ifndef LLARP_NET_HPP
#define LLARP_NET_HPP
#include <sys/socket.h>
2018-02-01 17:07:01 +00:00
#include <string>
2018-02-01 17:06:49 +00:00
2018-02-01 17:07:01 +00:00
namespace llarp {
namespace net {
bool GetIfAddr(const std::string& ifname, int af, sockaddr* addr);
2018-02-01 17:06:49 +00:00
}
2018-02-01 17:07:01 +00:00
} // namespace llarp
2018-02-01 17:06:49 +00:00
#endif