STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Data Fields
netif Struct Reference

#include <netif.h>

Data Fields

struct netifnext
 
netif_input_fn input
 
netif_linkoutput_fn linkoutput
 
void * state
 
u16_t mtu
 
u8_t hwaddr_len
 
u8_t hwaddr [NETIF_MAX_HWADDR_LEN]
 
u8_t flags
 
char name [2]
 
u8_t num
 

Detailed Description

Generic data structure used for all lwIP network interfaces. The following fields should be filled in by the initialization function for the device driver: hwaddr_len, hwaddr[], mtu, flags

Definition at line 182 of file netif.h.

Field Documentation

u8_t flags

flags (see NETIF_FLAG_ above)

Definition at line 269 of file netif.h.

link level hardware address of this interface

Definition at line 267 of file netif.h.

u8_t hwaddr_len

number of bytes used in hwaddr

Definition at line 265 of file netif.h.

This function is called by the network device driver to pass a packet up the TCP/IP stack.

Definition at line 201 of file netif.h.

netif_linkoutput_fn linkoutput

This function is called by the ARP module when it wants to send a packet on the interface. This function outputs the pbuf as-is on the link medium.

Definition at line 211 of file netif.h.

u16_t mtu

maximum transfer unit (in bytes)

Definition at line 263 of file netif.h.

char name[2]

descriptive abbreviation

Definition at line 271 of file netif.h.

struct netif* next

pointer to next in linked list

Definition at line 184 of file netif.h.

u8_t num

number of this interface

Definition at line 273 of file netif.h.

void* state

This field can be set by the device driver and could point to state information for the device.

Definition at line 234 of file netif.h.


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