IFNET Struct Reference
[IP]

Network interface structure. More...

Data Fields

uint8_t if_type
 Interface type. Either IFT_ETHER or IFT_PPP.
uint32_t if_flags
 Interface flags.
uint8_t if_mac [6]
 Hardware net address.
uint32_t if_local_ip
 IP address.
uint32_t if_remote_ip
 Remote IP address for point to point.
uint32_t if_mask
 IP network mask.
uint16_t if_mtu
 Maximum size of a transmission unit.
uint16_t if_pkt_id
 Packet identifier.
ARPENTRY * arpTable
 Linked list of arp entries.
MCASTENTRY * if_mcast
 Linked list of multicast address entries.
void(* if_recv )(NUTDEVICE *, NETBUF *)
 Receive routine.
int(* if_send )(NUTDEVICE *, NETBUF *)
 Send routine.
int(* if_output )(NUTDEVICE *, uint16_t, uint8_t *, NETBUF *)
 Media output routine.
int(* if_ioctl )(NUTDEVICE *, int, void *)
 Interface specific control function.

Detailed Description

Network interface structure.

Network interface type.

Contains information about the network interface.

Definition at line 190 of file if_var.h.


Field Documentation

uint8_t IFNET::if_type

Interface type. Either IFT_ETHER or IFT_PPP.

Definition at line 191 of file if_var.h.

uint32_t IFNET::if_flags

Interface flags.

Definition at line 194 of file if_var.h.

uint8_t IFNET::if_mac[6]

Hardware net address.

Definition at line 195 of file if_var.h.

uint32_t IFNET::if_local_ip

IP address.

Definition at line 196 of file if_var.h.

uint32_t IFNET::if_remote_ip

Remote IP address for point to point.

Definition at line 197 of file if_var.h.

uint32_t IFNET::if_mask

IP network mask.

Definition at line 198 of file if_var.h.

uint16_t IFNET::if_mtu

Maximum size of a transmission unit.

Definition at line 199 of file if_var.h.

uint16_t IFNET::if_pkt_id

Packet identifier.

Definition at line 200 of file if_var.h.

ARPENTRY* IFNET::arpTable

Linked list of arp entries.

Definition at line 201 of file if_var.h.

MCASTENTRY* IFNET::if_mcast

Linked list of multicast address entries.

Definition at line 202 of file if_var.h.

void(* IFNET::if_recv)(NUTDEVICE *, NETBUF *)

Receive routine.

Definition at line 203 of file if_var.h.

int(* IFNET::if_send)(NUTDEVICE *, NETBUF *)

Send routine.

Definition at line 204 of file if_var.h.

int(* IFNET::if_output)(NUTDEVICE *, uint16_t, uint8_t *, NETBUF *)

Media output routine.

Definition at line 205 of file if_var.h.

int(* IFNET::if_ioctl)(NUTDEVICE *, int, void *)

Interface specific control function.

Definition at line 206 of file if_var.h.


The documentation for this struct was generated from the following file:

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