35 #ifndef TUNTAP_HEADER_ 36 #define TUNTAP_HEADER_ 45 #include <linux/if_tun.h> 51 #define NETWORK_DEVICE_PATH "/dev/net/tun" 84 int set_flags(
int,
int);
100 int open(
const char *,
const char *);
143 int readv(
struct iovec*,
size_t);
153 int writev(
const struct iovec*,
size_t);
184 int set_ethaddr(
NEMId);
204 #endif // TUNTAP_HEADER_
struct sockaddr_in_t __attribute__((__may_alias__))
Definition of the ethernet frame address as an array of 6 bytes or set of 3 words.