Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_config.h File Reference

Routines for network subsystem initialization. More...

#include <zephyr/types.h>
#include <device.h>
#include <net/net_if.h>

Go to the source code of this file.

Macros

#define NET_CONFIG_NEED_ROUTER   0x00000001
 Application needs routers to be set so that connectivity to remote network is possible. For IPv6 networks, this means that the device should receive IPv6 router advertisement message before continuing. More...
 
#define NET_CONFIG_NEED_IPV6   0x00000002
 Application needs IPv6 subsystem configured and initialized. Typically this means that the device has IPv6 address set. More...
 
#define NET_CONFIG_NEED_IPV4   0x00000004
 Application needs IPv4 subsystem configured and initialized. Typically this means that the device has IPv4 address set. More...
 

Functions

int net_config_init (const char *app_info, uint32_t flags, int32_t timeout)
 Initialize this network application. More...
 
int net_config_init_by_iface (struct net_if *iface, const char *app_info, uint32_t flags, int32_t timeout)
 Initialize this network application using a specific network interface. More...
 
int net_config_init_app (const struct device *dev, const char *app_info)
 Initialize this network application. More...
 

Detailed Description

Routines for network subsystem initialization.