|
oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
|
Network interface configuration. More...
#include <net.h>

Data Fields | |
| int | use_dhcp |
| ove_sockaddr_t | static_ip |
| ove_sockaddr_t | gateway |
| ove_sockaddr_t | netmask |
| ove_sockaddr_t | dns |
Network interface configuration.
| int ove_netif_config_t::use_dhcp |
Non-zero to use DHCP; zero for static.
| ove_sockaddr_t ove_netif_config_t::static_ip |
Static IP (ignored if use_dhcp).
| ove_sockaddr_t ove_netif_config_t::gateway |
Default gateway (ignored if use_dhcp).
| ove_sockaddr_t ove_netif_config_t::netmask |
Subnet mask (ignored if use_dhcp).
| ove_sockaddr_t ove_netif_config_t::dns |
DNS server (0.0.0.0 to skip).