netif.h File Reference

Common network interface API definitions. More...

Detailed Description

Common network interface API definitions.

Author
Martine Lenders m.len.nosp@m.ders.nosp@m.@fu-b.nosp@m.erli.nosp@m.n.de
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e
José Ignacio Alamos jose..nosp@m.alam.nosp@m.os@ha.nosp@m.w-ha.nosp@m.mburg.nosp@m..de

Definition in file netif.h.

#include <stdint.h>
#include "list.h"
#include "net/netopt.h"
+ Include dependency graph for netif.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  netif_t
 Network interface descriptor. More...
 

Macros

#define NETIF_NAMELENMAX   (8U)
 Maximum length for an interface name.
 

Functions

netif_tnetif_iter (netif_t *last)
 Iterator for the interfaces. More...
 
int netif_get_name (netif_t *netif, char *name)
 Gets name of an interface. More...
 
netif_tnetif_get_by_name (const char *name)
 Gets interface by name. More...
 
int netif_get_opt (netif_t *netif, netopt_t opt, uint16_t context, void *value, size_t max_len)
 Gets option from an interface. More...
 
int netif_set_opt (netif_t *netif, netopt_t opt, uint16_t context, void *value, size_t value_len)
 Sets option to an interface. More...
 
int netif_register (netif_t *netif)
 Registers a network interface in the global interface list. More...