summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-09 09:41:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-10 09:53:33 +0100
commit46f0b8bd51857affb52a70a48f01569247e5cf4b (patch)
treea2df0132a9bd2f8841b4f729d9fed40d39157b6d /rtemsbsd/include/machine/rtems-bsd-config.h
parentNETSTAT(1): Fix name list initialization (diff)
downloadrtems-libbsd-46f0b8bd51857affb52a70a48f01569247e5cf4b.tar.bz2
Enable multi-cast routing support
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-config.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-config.h b/rtemsbsd/include/machine/rtems-bsd-config.h
index 02977318..ccc65d70 100644
--- a/rtemsbsd/include/machine/rtems-bsd-config.h
+++ b/rtemsbsd/include/machine/rtems-bsd-config.h
@@ -98,6 +98,18 @@ extern "C" {
#define RTEMS_BSD_CFGDECL_NET_PF_UNIX
#endif /* RTEMS_BSD_CONFIG_NET_PF_UNIX */
+#if defined(RTEMS_BSD_CONFIG_NET_IP_MROUTE)
+ #define RTEMS_BSD_CFGDECL_NET_IP_MROUTE SYSINIT_NEED_NET_IP_MROUTE
+#else
+ #define RTEMS_BSD_CFGDECL_NET_IP_MROUTE
+#endif /* RTEMS_BSD_CONFIG_NET_IP_MROUTE */
+
+#if defined(RTEMS_BSD_CONFIG_NET_IP6_MROUTE)
+ #define RTEMS_BSD_CFGDECL_NET_IP6_MROUTE SYSINIT_NEED_NET_IP6_MROUTE
+#else
+ #define RTEMS_BSD_CFGDECL_NET_IP6_MROUTE
+#endif /* RTEMS_BSD_CONFIG_NET_IP6_MROUTE */
+
/*
* Bridging.
* https://www.freebsd.org/doc/handbook/network-bridging.html
@@ -198,6 +210,8 @@ extern "C" {
* Create the networking modules and interfaces.
*/
RTEMS_BSD_CFGDECL_NET_PF_UNIX;
+ RTEMS_BSD_CFGDECL_NET_IP_MROUTE;
+ RTEMS_BSD_CFGDECL_NET_IP6_MROUTE;
RTEMS_BSD_CFGDECL_NET_IF_BRIDGE;
RTEMS_BSD_CFGDECL_NET_IF_LAGG;
RTEMS_BSD_CFGDECL_NET_IF_VLAN;