Interface context structure to store the hardware and network interface structures.
Data Fields | |
| cy_network_hw_interface_type_t | iface_type |
| Interface type. | |
| uint8_t | iface_idx |
| Ethernet interface index. | |
| void * | hw_interface |
| HW interface handle. | |
| void * | nw_interface |
| Network interface. | |
| bool | is_initialized |
| Indicates whether the network interface is initialized. | |
| uint8_t | mac_address [CY_MAC_ADDR_LEN] |
| MAC address of the device to be configured to the lwIP stack. | |
| void* cy_network_interface_context::hw_interface |
HW interface handle.
Caller should map it to the HW interface-specific structure
| void* cy_network_interface_context::nw_interface |
Network interface.
Caller should map it to the network stack-specific interface structure