A tun/tap interface used to inject packets to dessert implemented daemons. More...
#include <dessert.h>
Data Fields | |
struct dessert_sysif * | next |
pointer to next interface | |
char | if_name [IFNAMSIZ] |
name of interface | |
unsigned int | if_index |
system ifindex | |
uint8_t | hwaddr [ETHER_ADDR_LEN] |
hardware address of the interface | |
pthread_mutex_t | cnt_mutex |
counter mutex | |
uint64_t | ipkts |
packet counter in | |
uint64_t | opkts |
packet counter out | |
uint64_t | ibytes |
packet counter in | |
uint64_t | obytes |
packet counter out | |
int | fd |
file descriptor to read/write from/to | |
uint8_t | flags |
if it is a tun or tap interface | |
pthread_t | worker |
pthread running the request loop |
A tun/tap interface used to inject packets to dessert implemented daemons.