Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs
bridgeif.h File Reference

lwIP netif implementing an IEEE 802.1D MAC Bridge More...

#include "netif/bridgeif_opts.h"
#include "lwip/err.h"
#include "lwip/prot/ethernet.h"
#include "lwip/tcpip.h"

Go to the source code of this file.

Data Structures

struct  bridgeif_initdata_s
 Initialisation data for bridgeif_init. More...
 

Macros

#define BRIDGEIF_INITDATA1(max_ports, max_fdb_dynamic_entries, max_fdb_static_entries, ethaddr)   {ethaddr, max_ports, max_fdb_dynamic_entries, max_fdb_static_entries}
 Use this for constant initialization of a bridgeif_initdat_t (ethaddr must be passed as ETH_ADDR()) More...
 
#define BRIDGEIF_INITDATA2(max_ports, max_fdb_dynamic_entries, max_fdb_static_entries, e0, e1, e2, e3, e4, e5)   {{e0, e1, e2, e3, e4, e5}, max_ports, max_fdb_dynamic_entries, max_fdb_static_entries}
 Use this for constant initialization of a bridgeif_initdat_t (each byte of ethaddr must be passed) More...
 

Typedefs

typedef struct bridgeif_initdata_s bridgeif_initdata_t
 Initialisation data for bridgeif_init. More...
 

Detailed Description

lwIP netif implementing an IEEE 802.1D MAC Bridge

Definition in file bridgeif.h.

Macro Definition Documentation

#define BRIDGEIF_INITDATA1 (   max_ports,
  max_fdb_dynamic_entries,
  max_fdb_static_entries,
  ethaddr 
)    {ethaddr, max_ports, max_fdb_dynamic_entries, max_fdb_static_entries}

Use this for constant initialization of a bridgeif_initdat_t (ethaddr must be passed as ETH_ADDR())

Definition at line 87 of file bridgeif.h.

#define BRIDGEIF_INITDATA2 (   max_ports,
  max_fdb_dynamic_entries,
  max_fdb_static_entries,
  e0,
  e1,
  e2,
  e3,
  e4,
  e5 
)    {{e0, e1, e2, e3, e4, e5}, max_ports, max_fdb_dynamic_entries, max_fdb_static_entries}

Use this for constant initialization of a bridgeif_initdat_t (each byte of ethaddr must be passed)

Definition at line 92 of file bridgeif.h.

Typedef Documentation

Initialisation data for bridgeif_init.

An instance of this type must be passed as parameter 'state' to netif_add when the bridge is added.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.