DES-SERT - A Simple and Extensible Routing Framework for Testbeds: dessert_sysif Struct Reference

# dessert_sysif Struct Reference
[G L O B A L # D E F I N E S and T Y P E D E F S / S T R U C T U R E S]

A tun/tap interface used to inject packets to dessert implemented daemons. More...

`#include <dessert.h>`

Collaboration diagram for dessert_sysif:
[legend]

## 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

## Detailed Description

A tun/tap interface used to inject packets to dessert implemented daemons.

Note:
  Please make sure first fields are equal to dessert_meshif to re-use _dessert_meshif_gethwaddr().

The documentation for this struct was generated from the following file:

- dessert.h