#include <netif.h>
Collaboration diagram for netif:
Data Fields | |
netif * | next |
ip_addr | ip_addr |
ip_addr | netmask |
ip_addr | gw |
err_t(* | input )(struct pbuf *p, struct netif *inp) |
err_t(* | output )(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) |
err_t(* | linkoutput )(struct netif *netif, struct pbuf *p) |
void * | state |
unsigned char | hwaddr_len |
unsigned char | hwaddr [NETIF_MAX_HWADDR_LEN] |
u16_t | mtu |
char | name [2] |
u8_t | num |
u8_t | flags |
Definition at line 61 of file netif.h.
|
NETIF_FLAG_* Definition at line 102 of file netif.h. Referenced by dhcp_start(). |
|
Definition at line 70 of file netif.h. Referenced by etharp_output(), and netif_set_gw(). |
|
link level hardware address of this interface Definition at line 94 of file netif.h. Referenced by dhcp_create_request(), dhcp_recv(), etharp_output(), etharp_query(), rt_3c905cif_init(), and rt_rtl8139if_init(). |
|
number of bytes used in hwaddr Definition at line 92 of file netif.h. Referenced by dhcp_create_request(), dhcp_recv(), etharp_arp_input(), etharp_output(), etharp_query(), rt_3c905cif_init(), rt_rtl8139if_init(), and update_arp_entry(). |
|
This function is called by the network device driver to pass a packet up the TCP/IP stack. Referenced by loopif_output(), netif_add(), rt_3c905cif_input(), and rt_rtl8139if_input(). |
|
IP address configuration in network byte order Definition at line 68 of file netif.h. Referenced by arp_arp_input(), arp_ip_input(), arp_query(), dhcp_create_request(), etharp_arp_input(), etharp_ip_input(), etharp_output(), etharp_query(), ip_output_if(), netif_set_ipaddr(), rt_3com905cif_low_level_init(), and rt_rtl8139if_low_level_init(). |
|
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. Referenced by etharp_arp_input(), etharp_query(), rt_3c905cif_init(), rt_rtl8139if_init(), and update_arp_entry(). |
|
maximum transfer unit (in bytes) Definition at line 96 of file netif.h. Referenced by ip_frag(), ip_output_if(), and slipif_init(). |
|
descriptive abbreviation Definition at line 98 of file netif.h. Referenced by dhcp_start(), ip_output_if(), loopif_init(), netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), rt_3c905cif_init(), rt_rtl8139if_init(), and slipif_init(). |
|
Definition at line 69 of file netif.h. Referenced by arp_ip_input(), etharp_ip_input(), etharp_output(), icmp_input(), ip_input(), and netif_set_netmask(). |
|
pointer to next in linked list Definition at line 63 of file netif.h. Referenced by netif_add(), and netif_remove(). |
|
number of this interface Definition at line 100 of file netif.h. Referenced by dhcp_start(), ip_output_if(), netif_add(), netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), and slipif_init(). |
|
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. Referenced by ip_frag(), ip_output_if(), loopif_init(), rt_3c905cif_init(), rt_rtl8139if_init(), and slipif_init(). |
|
This field can be set by the device driver and could point to state information for the device. Definition at line 86 of file netif.h. Referenced by netif_add(), rt_3c905cif_init(), rt_3c905cif_input(), rt_3com905cif_low_level_init(), rt_rtl8139if_init(), rt_rtl8139if_input(), rt_rtl8139if_low_level_init(), slipif_init(), slipif_input(), and slipif_output(). |