#include <netif.h>
Public Attributes | |
| netif * | next |
| ip_addr_t | ip_addr |
| netif_input_fn | input |
| netif_output_fn | output |
| netif_linkoutput_fn | linkoutput |
| void * | state |
| u16_t | mtu |
| u8_t | hwaddr_len |
| u8_t | hwaddr [NETIF_MAX_HWADDR_LEN] |
| u8_t | flags |
| char | name [2] |
| u8_t | num |
|
|
flags (see NETIF_FLAG_ above) |
|
|
link level hardware address of this interface |
|
|
number of bytes used in hwaddr |
|
|
This function is called by the network device driver to pass a packet up the TCP/IP stack. |
|
|
IP address configuration in network byte order |
|
|
This function is called by the ARP module when it wants to send a packet on the interface. This function outputs the pbuf as-is on the link medium. |
|
|
maximum transfer unit (in bytes) |
|
|
descriptive abbreviation |
|
|
pointer to next in linked list |
|
|
number of this interface |
|
|
This function is called by the IP module when it wants to send a packet on the interface. This function typically first resolves the hardware address, then sends the packet. |
|
|
This field can be set by the device driver and could point to state information for the device. |
1.4.5