netdev_tap.h File Reference

Low-level ethernet driver for native tap interfaces. More...

Detailed Description

Definitions for netdev ethernet driver for host system's TAP interfaces

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e

Definition in file netdev_tap.h.

#include <stdint.h>
#include "net/netdev.h"
#include "net/ethernet/hdr.h"
#include "net/if.h"
+ Include dependency graph for netdev_tap.h:

Go to the source code of this file.

Data Structures

struct  netdev_tap
 tap interface state More...
 
struct  netdev_tap_params_t
 tap interface initialization parameters More...
 
typedef struct netdev_tap netdev_tap_t
 tap interface state
 
void netdev_tap_setup (netdev_tap_t *dev, const netdev_tap_params_t *params)
 Setup netdev_tap_t structure. More...
 

Function Documentation

◆ netdev_tap_setup()

void netdev_tap_setup ( netdev_tap_t dev,
const netdev_tap_params_t params 
)
Parameters
devthe preallocated netdev_tap device handle to setup
paramsinitialization parameters