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... | |
lwIP netif implementing an IEEE 802.1D MAC Bridge
Definition in file bridgeif.h.
#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 struct bridgeif_initdata_s bridgeif_initdata_t |
Initialisation data for bridgeif_init.
An instance of this type must be passed as parameter 'state' to netif_add when the bridge is added.