Generic data structure used for all lwIP network interfaces. More...
#include <netif.h>
Data Fields | |
void * | service_ptr |
Pointer to PPP Service. More... | |
void * | memory_manager |
Pointer to memory manager. More... | |
void * | stream |
Pointer to memory stream. More... | |
netif_input_fn | input |
This function is called by the PPP service to pass a packet up the TCP/IP stack. More... | |
void * | state |
This field can be set by the PPP protocol and could point to state information for the protocol. More... | |
u16_t | mtu |
maximum transfer unit (in bytes) More... | |
struct netif * | next |
pointer to next in linked list More... | |
netif_linkoutput_fn | linkoutput |
This function is called by ethernet_output() when it wants to send a packet on the interface. More... | |
u8_t | hwaddr [6U] |
link level hardware address of this interface More... | |
u8_t | hwaddr_len |
number of bytes used in hwaddr More... | |
u8_t | flags |
flags ( More... | |
char | name [2] |
descriptive abbreviation More... | |
u8_t | num |
number of this interface. More... | |
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
Definition at line 157 of file ppp_service_if.h.
u8_t hwaddr[6U] |
netif_input_fn input |
This function is called by the PPP service to pass a packet up the TCP/IP stack.
This function is called by the network device driver to pass a packet up the TCP/IP stack.
Definition at line 166 of file ppp_service_if.h.
netif_linkoutput_fn linkoutput |
void* memory_manager |
Pointer to memory manager.
Definition at line 161 of file ppp_service_if.h.
u16_t mtu |
maximum transfer unit (in bytes)
Definition at line 188 of file ppp_service_if.h.
u8_t num |
void* service_ptr |
Pointer to PPP Service.
Definition at line 159 of file ppp_service_if.h.
void * state |
This field can be set by the PPP protocol and could point to state information for the protocol.
This field can be set by the device driver and could point to state information for the device.
Definition at line 186 of file ppp_service_if.h.
void* stream |
Pointer to memory stream.
Definition at line 163 of file ppp_service_if.h.