ConOpSys V2970
P004.07
ANVILEX control operating system
|
#include <netif.h>
Public Attributes | |
struct netif * | next |
netif_input_fn | input |
netif_linkoutput_fn | linkoutput |
void * | state |
u16_t | mtu |
u8_t | hwaddr [NETIF_MAX_HWADDR_LEN] |
u8_t | hwaddr_len |
u8_t | flags |
char | name [2] |
u8_t | num |
Generic data structure used for all lwIP network interfaces. The following fields should be filled in by the initialisation function for the device driver: hwaddr_len, hwaddr[], mtu, flags
u8_t netif::flags |
flags (
Referenced by low_level_init(), netif_add(), netif_input(), netif_issue_reports(), netif_remove(), netif_set_down(), netif_set_link_down(), netif_set_link_up(), and netif_set_up().
u8_t netif::hwaddr[NETIF_MAX_HWADDR_LEN] |
link level hardware address of this interface
Referenced by low_level_init().
u8_t netif::hwaddr_len |
number of bytes used in hwaddr
Referenced by low_level_init().
netif_input_fn netif::input |
This function is called by the network device driver to pass a packet up the TCP/IP stack.
Referenced by ethernetif_input(), netif_add(), netif_add_noaddr(), slipif_init(), and slipif_rxbyte_input().
netif_linkoutput_fn netif::linkoutput |
This function is called by ethernet_output() when it wants to send a packet on the interface. This function outputs the pbuf as-is on the link medium.
Referenced by ethernetif_init().
u16_t netif::mtu |
maximum transfer unit (in bytes)
Referenced by low_level_init(), netif_add(), and slipif_init().
char netif::name[2] |
descriptive abbreviation
Referenced by ethernetif_init(), netif_add(), netif_find(), netif_index_to_name(), netif_name_to_index(), netif_set_default(), and slipif_init().
struct netif* netif::next |
pointer to next in linked list
Referenced by netif_add(), and netif_remove().
u8_t netif::num |
number of this interface. Used for Interface Identification API and NETIF related, as well as for IPv6 zones
Referenced by netif_add(), and netif_find().
void* netif::state |
This field can be set by the device driver and could point to state information for the device.
Referenced by netif_add(), netif_add_noaddr(), slipif_init(), slipif_output(), slipif_poll(), and slipif_rxbyte().