#include <net/if_var.h>
Data Fields | |
u_char | if_type |
Interface type. | |
u_char | if_mac [6] |
Hardware net address. | |
NUTDEVICE * | if_host_dev |
Host device for PPP interfaces. | |
u_long | if_local_ip |
IP address. | |
u_long | if_remote_ip |
Remote IP address for point to point. | |
u_long | if_mask |
IP network mask. | |
u_long | if_pdns |
IP Primary DNS. | |
u_long | if_sdns |
IP Secondary DNS. | |
u_short | if_mtu |
Maximum size of a transmission unit. | |
u_short | if_pkt_id |
Packet identifier. | |
ARPENTRY * | arpTable |
Linked list of arp entries. | |
void(* | if_recv )(NUTDEVICE *, NETBUF *) |
Receive routine. | |
int(* | if_send )(NUTDEVICE *, NETBUF *) |
Send routine. |
Contains information about the network interface.
|
Interface type. Nut/Net supports IFT_ETHER only. Nut/Net - CDCS supports IFT_ETHER and IFT_PPP. |