Network interface structure. More...
#include <net/if_var.h>
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. |
Network interface structure.
Contains information about the network interface.
Interface type. Either IFT_ETHER or IFT_PPP.
Referenced by NutDhcpIfConfig(), NutIpOutput(), NutNetIfAddMcastAddr(), NutNetIfConfig2(), and NutNetIfDelMcastAddr().
Interface flags.
Hardware net address.
Referenced by cs8900Init(), CSNicInit(), EmacRxThread(), Lpc17xxEmacRxThread(), NicInit(), NicRx(), NicRxAsix(), NicRxLanc(), NutArpOutput(), NutDhcpClient(), NutDhcpIfConfig(), NutEtherOutput(), NutNetIfConfig2(), NutNetIfSetup(), and SSDPTask().
IP address.
Referenced by NutArpInput(), NutArpOutput(), NutDhcpClient(), NutDhcpIfConfig(), NutIpInput(), NutIpOutput(), NutNetIfSetup(), NutTcpConnect(), NutUdpOutput(), and SSDPTask().
Remote IP address for point to point.
IP network mask.
Referenced by NutDhcpIfConfig(), NutIpInput(), NutIpOutput(), and NutNetIfSetup().
Maximum size of a transmission unit.
Packet identifier.
Referenced by NutIpOutput().
Linked list of arp entries.
Linked list of multicast address entries.
Referenced by NutIpInput().
void(* ifnet::if_recv)(NUTDEVICE *, NETBUF *) |
Receive routine.
Referenced by AhdlcRx(), CSNICrx(), EmacRxThread(), Lpc17xxEmacRxThread(), NicRx(), NicRxAsix(), NicRxLanc(), and RxThread().
int(* ifnet::if_send)(NUTDEVICE *, NETBUF *) |
Send routine.
Referenced by AhdlcRx(), NutEtherOutput(), and NutPppOutput().
int(* ifnet::if_output)(NUTDEVICE *, uint16_t, uint8_t *, NETBUF *) |
Media output routine.
Referenced by NutArpOutput(), and NutIpOutput().
int(* ifnet::if_ioctl)(NUTDEVICE *, int, void *) |
Interface specific control function.