Common network interface API definitions. More...
Common network interface API definitions.
Definition in file netif.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 | CONFIG_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... | |
| int16_t | netif_get_id (const netif_t *netif) |
| Gets the numeric identifier of an interface. More... | |
| netif_t * | netif_get_by_name (const char *name) |
| Gets interface by name. More... | |
| netif_t * | netif_get_by_id (int16_t id) |
| Gets interface by a numeric identifier. 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... | |
| char * | netif_addr_to_str (const uint8_t *addr, size_t addr_len, char *out) |
| Converts a hardware address to a human readable string. More... | |
| size_t | netif_addr_from_str (const char *str, uint8_t *out) |
| Parses a string of colon-separated hexadecimals to a hardware address. More... | |