ifnet Struct Reference
[IPIP]

#include <net/if_var.h>


Detailed Description

Network interface structure.

Contains information about the network interface.


Data Fields

ARPENTRYarpTable
 Linked list of arp entries.
u_long if_local_ip
 IP address.
u_char if_mac [6]
 Hardware net address.
u_long if_mask
 IP network mask.
u_short if_mtu
 Maximum size of a transmission unit.
int(* if_output )(NUTDEVICE *, u_short, u_char *, NETBUF *)
 Media output routine.
u_short if_pkt_id
 Packet identifier.
void(* if_recv )(NUTDEVICE *, NETBUF *)
 Receive routine.
u_long if_remote_ip
 Remote IP address for point to point.
int(* if_send )(NUTDEVICE *, NETBUF *)
 Send routine.
u_char if_type
 Interface type. Either IFT_ETHER or IFT_PPP.


Generated on Tue Jan 23 21:12:31 2007 for BTnut System Software by doxygen 1.4.7