mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-26 09:35:23 +00:00
bridgeif: fix compiling with NO_SYS==1 by changing default value of BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT
This commit is contained in:
parent
b9a40a5163
commit
e71dbec587
@ -51,10 +51,11 @@
|
|||||||
* the selected forwarding port's 'linkoutput' function.
|
* the selected forwarding port's 'linkoutput' function.
|
||||||
* This means that the bridgeif input/output path is protected from concurrent access
|
* This means that the bridgeif input/output path is protected from concurrent access
|
||||||
* but as well, the port netif's drivers must correctly handle concurrent access!
|
* but as well, the port netif's drivers must correctly handle concurrent access!
|
||||||
* == 0 (default): get into tcpip_thread for every input packet (no multithreading)
|
* == 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
|
||||||
*/
|
*/
|
||||||
#ifndef BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT
|
#ifndef BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT
|
||||||
#define BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT 0
|
#define BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT NO_SYS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** BRIDGEIF_EXTERNAL_FDB==1: use an external implementation for the forwarding
|
/** BRIDGEIF_EXTERNAL_FDB==1: use an external implementation for the forwarding
|
||||||
|
Loading…
x
Reference in New Issue
Block a user