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

Definition in file netif.h.

#include "net/netopt.h"
#include "netif_types.h"
+ Include dependency graph for netif.h:

Go to the source code of this file.

Macros

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

Functions

netif_t netif_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_t netif_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...