mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
212 B
C++
15 lines
212 B
C++
7 years ago
|
#ifndef LLARP_NET_HPP
|
||
|
#define LLARP_NET_HPP
|
||
|
#include <string>
|
||
|
#include <sys/socket.h>
|
||
|
|
||
|
namespace llarp
|
||
|
{
|
||
|
namespace net
|
||
|
{
|
||
|
bool GetIfAddr(const std::string & ifname, int af, sockaddr * addr);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|