Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

ifnet Struct Reference
[IPIP]

#include <net/if_var.h>

Collaboration diagram for ifnet:

Collaboration graph
[legend]

Detailed Description

Network interface structure.

Contains information about the network interface.


Data Fields

u_char if_type
 Interface type.
u_char if_mac [6]
 Hardware net address.
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_short if_mtu
 Maximum size of a transmission unit.
u_short if_pkt_id
 Packet identifier.
ARPENTRYarpTable
 Linked list of arp entries.
void(* if_recv )(NUTDEVICE *, NETBUF *)
 Receive routine.
int(* if_send )(NUTDEVICE *, NETBUF *)
 Send routine.
int(* if_output )(NUTDEVICE *, u_short, u_char *, NETBUF *)
 Media output routine.


Field Documentation

u_char ifnet::if_type
 

Interface type.

Either IFT_ETHER or IFT_PPP.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/