ReactOS 0.4.16-dev-527-gdad3a09
|
#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 initialization function for the device driver: hwaddr_len, hwaddr[], mtu, flags
u8_t netif::flags |
flags (
Definition at line 354 of file netif.h.
Referenced by default_netif_init(), netif_add(), netif_init(), netif_input(), netif_issue_reports(), netif_remove(), netif_set_down(), netif_set_link_down(), netif_set_link_up(), netif_set_up(), TCPInterfaceInit(), test_mqtt_init_netif(), test_netif_init(), test_tcp_init_netif(), and testif_init().
u8_t netif::hwaddr[NETIF_MAX_HWADDR_LEN] |
link level hardware address of this interface
Definition at line 350 of file netif.h.
Referenced by lwip_tx_func(), netif_init(), TCPInterfaceInit(), and testif_init().
u8_t netif::hwaddr_len |
number of bytes used in hwaddr
Definition at line 352 of file netif.h.
Referenced by default_netif_init(), netif_init(), TCPInterfaceInit(), test_netif_init(), and testif_init().
netif_input_fn netif::input |
This function is called by the network device driver to pass a packet up the TCP/IP stack.
Definition at line 297 of file netif.h.
Referenced by eth_rx_irq(), input_pkt(), main(), netif_add(), send_pkt(), 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.
Definition at line 308 of file netif.h.
Referenced by arpless_output(), default_netif_init(), netif_init(), test_netif_init(), and testif_init().
u16_t netif::mtu |
maximum transfer unit (in bytes)
Definition at line 344 of file netif.h.
Referenced by default_netif_init(), netif_add(), netif_init(), netif_set_link_down(), slipif_init(), TCPInterfaceInit(), test_netif_init(), and testif_init().
char netif::name[2] |
descriptive abbreviation
Definition at line 356 of file netif.h.
Referenced by main(), netif_add(), netif_find(), netif_index_to_name(), netif_set_default(), slipif_init(), TCPInterfaceInit(), and testif_init().
pointer to next in linked list
Definition at line 272 of file netif.h.
Referenced by netif_add(), netif_remove(), test_mqtt_init_netif(), and test_tcp_init_netif().
u8_t netif::num |
number of this interface. Used for Interface Identification API and NETIF related, as well as for IPv6 zones
Definition at line 359 of file netif.h.
Referenced by netif_add(), netif_find(), and START_TEST().
void* netif::state |
This field can be set by the device driver and could point to state information for the device.
Definition at line 332 of file netif.h.
Referenced by netif_add(), slipif_init(), slipif_output(), slipif_poll(), slipif_rxbyte(), TCPInterfaceInit(), test_tcp_init_netif(), and test_tcp_netif_output().