net: ethernet: bridging support

This adds the ability to create Ethernet bridges for connecting
separate Ethernet segments together to appear as a single
Ethernet network.

This mimics the Linux functionality of the same name.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
Nicolas Pitre 2021-06-25 18:54:17 -04:00 committed by Christopher Friedt
commit 89482f0119
11 changed files with 519 additions and 3 deletions

View file

@ -5,7 +5,8 @@
#define NETWORK_RAM_SECTIONS \
Z_ITERABLE_SECTION_RAM(net_if, 4) \
Z_ITERABLE_SECTION_RAM(net_if_dev, 4) \
Z_ITERABLE_SECTION_RAM(net_l2, 4)
Z_ITERABLE_SECTION_RAM(net_l2, 4) \
Z_ITERABLE_SECTION_RAM(eth_bridge, 4)
#endif
#endif /* NETWORKING */