Enable multi-cast routing support

This commit is contained in:
Sebastian Huber
2017-01-09 09:41:29 +01:00
parent 95a3ba8284
commit 46f0b8bd51
4 changed files with 24 additions and 0 deletions

View File

@@ -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;

View File

@@ -84,6 +84,12 @@
#define SYSINIT_NEED_NET_PF_UNIX \
SYSINIT_DOMAIN_REFERENCE(local)
#define SYSINIT_NEED_NET_IP_MROUTE \
SYSINIT_MODULE_REFERENCE(ip_mroute)
#define SYSINIT_NEED_NET_IP6_MROUTE \
SYSINIT_MODULE_REFERENCE(ip6_mroute)
#define SYSINIT_NEED_NET_IF_BFE \
SYSINIT_DRIVER_REFERENCE(bfe, pci)