Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_config.h File Reference

Routines for network subsystem initialization. More...

#include <zephyr/types.h>
#include <zephyr/device.h>
#include <zephyr/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.
 
#define NET_CONFIG_NEED_IPV6   0x00000002
 Application needs IPv6 subsystem configured and initialized.
 
#define NET_CONFIG_NEED_IPV4   0x00000004
 Application needs IPv4 subsystem configured and initialized.
 

Functions

int net_config_init (const char *app_info, uint32_t flags, int32_t timeout)
 Initialize this network application.
 
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.
 
int net_config_init_app (const struct device *dev, const char *app_info)
 Initialize this network application.
 

Detailed Description

Routines for network subsystem initialization.