Changeset 2fb3a36 in rtems-libbsd


Ignore:
Timestamp:
Aug 4, 2016, 12:12:17 PM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
9907ae4
Parents:
7aaa9a1
git-author:
Christian Mauderer <Christian.Mauderer@…> (08/04/16 12:12:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/04/16 13:44:06)
Message:

freebsd: Add constant ipv6 addresses from vars.c.

This is necessary for a configuration without IPv6.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • create-kernel-namespace.sh

    r7aaa9a1 r2fb3a36  
    6161        | sed '/^ifqmaxlen$/d' \
    6262        | sed '/^in6addr_any$/d' \
     63        | sed '/^in6addr_loopback$/d' \
     64        | sed '/^in6addr_nodelocal_allnodes$/d' \
     65        | sed '/^in6addr_linklocal_allnodes$/d' \
    6366        | sed '/^kevent$/d' \
    6467        | sed '/^kqueue$/d' \
  • freebsd/lib/libc/net/vars.c

    r7aaa9a1 r2fb3a36  
     1#include <machine/rtems-bsd-user-space.h>
     2
    13/*      $KAME: vars.c,v 1.2 2001/08/20 02:32:41 itojun Exp $    */
    24
  • freebsd/sys/netinet6/in6.c

    r7aaa9a1 r2fb3a36  
    114114 * Definitions of some costant IP6 addresses.
    115115 */
     116#ifndef __rtems__
    116117const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
    117118const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
     
    120121const struct in6_addr in6addr_linklocal_allnodes =
    121122        IN6ADDR_LINKLOCAL_ALLNODES_INIT;
     123#endif /* __rtems__ */
    122124const struct in6_addr in6addr_linklocal_allrouters =
    123125        IN6ADDR_LINKLOCAL_ALLROUTERS_INIT;
  • libbsd.py

    r7aaa9a1 r2fb3a36  
    19871987            'lib/libc/net/rthdr.c',
    19881988            'lib/libc/net/send.c',
     1989            'lib/libc/net/vars.c',
    19891990            'lib/libc/posix1e/mac.c',
    19901991            'lib/libc/resolv/h_errno.c',
  • libbsd_waf.py

    r7aaa9a1 r2fb3a36  
    296296                     'freebsd/lib/libc/net/rthdr.c',
    297297                     'freebsd/lib/libc/net/send.c',
     298                     'freebsd/lib/libc/net/vars.c',
    298299                     'freebsd/lib/libc/posix1e/mac.c',
    299300                     'freebsd/lib/libc/resolv/h_errno.c',
  • rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h

    r7aaa9a1 r2fb3a36  
    13271327#define imo_multi_filter _bsd_imo_multi_filter
    13281328#define in4_cksum _bsd_in4_cksum
    1329 #define in6addr_linklocal_allnodes _bsd_in6addr_linklocal_allnodes
    13301329#define in6addr_linklocal_allrouters _bsd_in6addr_linklocal_allrouters
    13311330#define in6addr_linklocal_allv2routers _bsd_in6addr_linklocal_allv2routers
    1332 #define in6addr_loopback _bsd_in6addr_loopback
    1333 #define in6addr_nodelocal_allnodes _bsd_in6addr_nodelocal_allnodes
    13341331#define in6_addrscope _bsd_in6_addrscope
    13351332#define in6_are_prefix_equal _bsd_in6_are_prefix_equal
Note: See TracChangeset for help on using the changeset viewer.