44#ifdef MODULE_NETSTATS_NEIGHBOR
61#ifndef CONFIG_NETIF_NAMELENMAX
62#define CONFIG_NETIF_NAMELENMAX (8U)
73#ifdef MODULE_NETSTATS_NEIGHBOR
174 void *value,
size_t max_len);
191 void *value,
size_t value_len);
223 return res /
sizeof(*dest);
Circular integer buffer interface.
int netif_get_name(const netif_t *netif, char *name)
Gets name of an interface.
netif_t * netif_get_by_id(int16_t id)
Gets interface by a numeric identifier.
void netifs_print_ipv6(const char *separator)
Print the IPv6 address(es) of all interface.
void netif_print_ipv6(netif_t *netif, const char *separator)
Print the IPv6 address(es) of the given interface.
static ssize_t netif_get_ipv6(netif_t *netif, ipv6_addr_t *dest, size_t numof)
Get IPv6 address(es) of the given interface.
static netif_t * netif_get_by_name(const char *name)
Gets interface by name.
int netif_register(netif_t *netif)
Registers a network interface in the global interface list.
ssize_t netifs_get_ipv6(ipv6_addr_t *dest, size_t numof)
Get IPv6 address(es) of all interfaces.
netif_t * netif_get_by_name_buffer(const char *name, size_t name_len)
Gets interface by name, from a buffer.
int netif_get_opt(const netif_t *netif, netopt_t opt, uint16_t context, void *value, size_t max_len)
Gets option from an interface.
netif_t * netif_iter(const netif_t *last)
Iterator for the interfaces.
int netif_set_opt(const netif_t *netif, netopt_t opt, uint16_t context, void *value, size_t value_len)
Sets option to an interface.
int16_t netif_get_id(const netif_t *netif)
Gets the numeric identifier of an interface.
netopt_t
Global list of configuration options available throughout the network stack, e.g.
@ NETOPT_IPV6_ADDR
(ipv6_addr_t[]) get IPv6 addresses of an interface as array of ipv6_addr_t or add an IPv6 address as ...
Definition of net statistics.
IPv6 include gathering header.
Definition of global configuration options.
Network interface descriptor.
list_node_t node
Pointer to the next interface.
Data type to represent an IPv6 address.