summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-15 09:43:23 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-15 09:53:07 +0100
commit546b38d6846526a8e2571004fd360ac70a7e5816 (patch)
tree4cc19114eae7a809fd3f0a57b6db043afb792c86 /rtemsbsd/include/machine/rtems-bsd-config.h
parentpfctl: Update due to linker set API changes (diff)
downloadrtems-libbsd-546b38d6846526a8e2571004fd360ac70a7e5816.tar.bz2
Add BRIDGE(4) support to configuration
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-config.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-config.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-config.h b/rtemsbsd/include/machine/rtems-bsd-config.h
index ed2a97ee..02977318 100644
--- a/rtemsbsd/include/machine/rtems-bsd-config.h
+++ b/rtemsbsd/include/machine/rtems-bsd-config.h
@@ -99,13 +99,23 @@ extern "C" {
#endif /* RTEMS_BSD_CONFIG_NET_PF_UNIX */
/*
+ * Bridging.
+ * https://www.freebsd.org/doc/handbook/network-bridging.html
+ */
+#if defined(RTEMS_BSD_CONFIG_NET_IF_BRIDGE)
+ #define RTEMS_BSD_CFGDECL_NET_IF_BRIDGE SYSINIT_NEED_NET_IF_BRIDGE
+#else
+ #define RTEMS_BSD_CFGDECL_NET_IF_BRIDGE
+#endif /* RTEMS_BSD_CONFIG_NET_IF_BRIDGE */
+
+/*
* Link Aggregation and Failover.
* https://www.freebsd.org/doc/handbook/network-aggregation.html
*/
#if defined(RTEMS_BSD_CONFIG_NET_IF_LAGG)
- #define RTEMS_BSD_CFGDECL_IF_LAGG SYSINIT_NEED_NET_IF_LAGG
+ #define RTEMS_BSD_CFGDECL_NET_IF_LAGG SYSINIT_NEED_NET_IF_LAGG
#else
- #define RTEMS_BSD_CFGDECL_IF_LAGG
+ #define RTEMS_BSD_CFGDECL_NET_IF_LAGG
#endif /* RTEMS_BSD_CONFIG_NET_IF_LAGG */
/*
@@ -188,7 +198,8 @@ extern "C" {
* Create the networking modules and interfaces.
*/
RTEMS_BSD_CFGDECL_NET_PF_UNIX;
- RTEMS_BSD_CFGDECL_IF_LAGG;
+ RTEMS_BSD_CFGDECL_NET_IF_BRIDGE;
+ RTEMS_BSD_CFGDECL_NET_IF_LAGG;
RTEMS_BSD_CFGDECL_NET_IF_VLAN;
/*