Struct SYN_NETCFG¶
#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¶
Currently bound active gateway IP
variable assigned_ip¶
Currently bound active IPv4 address
variable assigned_netmask¶
Currently bound active subnet mask
variable autoip¶
Embedded AutoIP (Link-Local) context
variable dhcp¶
Embedded DHCP client context
variable is_bound¶
True if IP configuration is active and bound
variable link_cb¶
Optional application link state change callback
variable link_state¶
Physical link state (Down/Up)
variable mode¶
IP configuration mode (Static, DHCP, AutoIP, Hybrid)
variable static_gateway¶
Configured static default gateway IP
variable static_ip¶
Configured static IPv4 address
variable static_netmask¶
Configured static subnet mask
variable 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