Changeset 46f0b8b in rtems-libbsd


Ignore:
Timestamp:
Jan 9, 2017, 8:41:29 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
e392c989
Parents:
95a3ba8
git-author:
Sebastian Huber <sebastian.huber@…> (01/09/17 08:41:29)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/10/17 08:53:33)
Message:

Enable multi-cast routing support

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • freebsd/usr.bin/netstat/mroute.c

    r95a3ba8 r46f0b8b  
    421421        mstaddr = nl[N_MRTSTAT].n_value;
    422422
     423#ifndef __rtems__
    423424        if (mstaddr == 0) {
    424425                fprintf(stderr, "No IPv4 MROUTING kernel support.\n");
    425426                return;
    426427        }
     428#endif /* __rtems__ */
    427429
    428430        if (fetch_stats("net.inet.ip.mrtstat", mstaddr, &mrtstat,
  • rtemsbsd/include/machine/rtems-bsd-config.h

    r95a3ba8 r46f0b8b  
    9999#endif /* RTEMS_BSD_CONFIG_NET_PF_UNIX */
    100100
     101#if defined(RTEMS_BSD_CONFIG_NET_IP_MROUTE)
     102  #define RTEMS_BSD_CFGDECL_NET_IP_MROUTE SYSINIT_NEED_NET_IP_MROUTE
     103#else
     104  #define RTEMS_BSD_CFGDECL_NET_IP_MROUTE
     105#endif /* RTEMS_BSD_CONFIG_NET_IP_MROUTE */
     106
     107#if defined(RTEMS_BSD_CONFIG_NET_IP6_MROUTE)
     108  #define RTEMS_BSD_CFGDECL_NET_IP6_MROUTE SYSINIT_NEED_NET_IP6_MROUTE
     109#else
     110  #define RTEMS_BSD_CFGDECL_NET_IP6_MROUTE
     111#endif /* RTEMS_BSD_CONFIG_NET_IP6_MROUTE */
     112
    101113/*
    102114 * Bridging.
     
    199211   */
    200212  RTEMS_BSD_CFGDECL_NET_PF_UNIX;
     213  RTEMS_BSD_CFGDECL_NET_IP_MROUTE;
     214  RTEMS_BSD_CFGDECL_NET_IP6_MROUTE;
    201215  RTEMS_BSD_CFGDECL_NET_IF_BRIDGE;
    202216  RTEMS_BSD_CFGDECL_NET_IF_LAGG;
  • rtemsbsd/include/machine/rtems-bsd-sysinit.h

    r95a3ba8 r46f0b8b  
    8585        SYSINIT_DOMAIN_REFERENCE(local)
    8686
     87#define SYSINIT_NEED_NET_IP_MROUTE \
     88        SYSINIT_MODULE_REFERENCE(ip_mroute)
     89
     90#define SYSINIT_NEED_NET_IP6_MROUTE \
     91        SYSINIT_MODULE_REFERENCE(ip6_mroute)
     92
    8793#define SYSINIT_NEED_NET_IF_BFE \
    8894        SYSINIT_DRIVER_REFERENCE(bfe, pci)
  • testsuite/include/rtems/bsd/test/default-network-init.h

    r95a3ba8 r46f0b8b  
    307307
    308308#define RTEMS_BSD_CONFIG_NET_PF_UNIX
     309#define RTEMS_BSD_CONFIG_NET_IP_MROUTE
     310#define RTEMS_BSD_CONFIG_NET_IP6_MROUTE
    309311#define RTEMS_BSD_CONFIG_NET_IF_LAGG
    310312#define RTEMS_BSD_CONFIG_NET_IF_VLAN
Note: See TracChangeset for help on using the changeset viewer.