Mistake on this page?
Report an issue in GitHub or email us
Macros
Options

Macros

#define BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT   NO_SYS
 BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT==1: set port netif's 'input' function to call directly into bridgeif code and on top of that, directly call into the selected forwarding port's 'linkoutput' function. More...
 
#define BRIDGEIF_MAX_PORTS   7
 BRIDGEIF_MAX_PORTS: this is used to create a typedef used for forwarding bit-fields: the number of bits required is this + 1 (for the internal/cpu port) (63 is the maximum, resulting in an u64_t for the bit mask) ATTENTION: this controls the maximum number of the implementation only! The max. More...
 
#define BRIDGEIF_DEBUG   LWIP_DBG_OFF
 BRIDGEIF_DEBUG: Enable generic debugging in bridgeif.c. More...
 
#define BRIDGEIF_FDB_DEBUG   LWIP_DBG_OFF
 BRIDGEIF_DEBUG: Enable FDB debugging in bridgeif.c. More...
 
#define BRIDGEIF_FW_DEBUG   LWIP_DBG_OFF
 BRIDGEIF_DEBUG: Enable forwarding debugging in bridgeif.c. More...
 

Detailed Description

Macro Definition Documentation

#define BRIDGEIF_DEBUG   LWIP_DBG_OFF

BRIDGEIF_DEBUG: Enable generic debugging in bridgeif.c.

Definition at line 73 of file bridgeif_opts.h.

#define BRIDGEIF_FDB_DEBUG   LWIP_DBG_OFF

BRIDGEIF_DEBUG: Enable FDB debugging in bridgeif.c.

Definition at line 78 of file bridgeif_opts.h.

#define BRIDGEIF_FW_DEBUG   LWIP_DBG_OFF

BRIDGEIF_DEBUG: Enable forwarding debugging in bridgeif.c.

Definition at line 83 of file bridgeif_opts.h.

#define BRIDGEIF_MAX_PORTS   7

BRIDGEIF_MAX_PORTS: this is used to create a typedef used for forwarding bit-fields: the number of bits required is this + 1 (for the internal/cpu port) (63 is the maximum, resulting in an u64_t for the bit mask) ATTENTION: this controls the maximum number of the implementation only! The max.

number of ports per bridge must still be passed via netif_add parameter!

Definition at line 68 of file bridgeif_opts.h.

#define BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT   NO_SYS

BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT==1: set port netif's 'input' function to call directly into bridgeif code and on top of that, directly call into the selected forwarding port's 'linkoutput' function.

This means that the bridgeif input/output path is protected from concurrent access but as well, all bridge port netif's drivers must correctly handle concurrent access! == 0: get into tcpip_thread for every input packet (no multithreading) ATTENTION: as ==0 relies on tcpip.h, the default depends on NO_SYS setting

Definition at line 58 of file bridgeif_opts.h.

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.