Skip to content

Struct SYN_NETCFG

ClassList > SYN_NETCFG

More...

  • #include <syn_netcfg.h>

Public Attributes

Type Name
uint32_t assigned_gateway
uint32_t assigned_ip
uint32_t assigned_netmask
SYN_AUTOIP autoip
SYN_DHCP dhcp
bool is_bound
SYN_NETCFG_LinkCb link_cb
SYN_NETCFG_LinkState link_state
SYN_NETCFG_Mode mode
uint32_t static_gateway
uint32_t static_ip
uint32_t static_netmask
void * user_data

Detailed Description

Network IP Manager Context.

Public Attributes Documentation

variable assigned_gateway

uint32_t SYN_NETCFG::assigned_gateway;

Currently bound active gateway IP


variable assigned_ip

uint32_t SYN_NETCFG::assigned_ip;

Currently bound active IPv4 address


variable assigned_netmask

uint32_t SYN_NETCFG::assigned_netmask;

Currently bound active subnet mask


variable autoip

SYN_AUTOIP SYN_NETCFG::autoip;

Embedded AutoIP (Link-Local) context


variable dhcp

SYN_DHCP SYN_NETCFG::dhcp;

Embedded DHCP client context


variable is_bound

bool SYN_NETCFG::is_bound;

True if IP configuration is active and bound


SYN_NETCFG_LinkCb SYN_NETCFG::link_cb;

Optional application link state change callback


SYN_NETCFG_LinkState SYN_NETCFG::link_state;

Physical link state (Down/Up)


variable mode

SYN_NETCFG_Mode SYN_NETCFG::mode;

IP configuration mode (Static, DHCP, AutoIP, Hybrid)


variable static_gateway

uint32_t SYN_NETCFG::static_gateway;

Configured static default gateway IP


variable static_ip

uint32_t SYN_NETCFG::static_ip;

Configured static IPv4 address


variable static_netmask

uint32_t SYN_NETCFG::static_netmask;

Configured static subnet mask


variable user_data

void* SYN_NETCFG::user_data;

User context pointer passed to callback



The documentation for this class was generated from the following file src/syntropic/net/syn_netcfg.h