mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +08:00
freebsd: Use constant ipv6 addresses from vars.c.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include <machine/rtems-bsd-user-space.h>
|
||||
|
||||
/* $KAME: vars.c,v 1.2 2001/08/20 02:32:41 itojun Exp $ */
|
||||
|
||||
/*
|
||||
|
@@ -113,12 +113,14 @@ VNET_DECLARE(int, icmp6_nodeinfo_oldmcprefix);
|
||||
/*
|
||||
* Definitions of some costant IP6 addresses.
|
||||
*/
|
||||
#ifndef __rtems__
|
||||
const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
|
||||
const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
|
||||
const struct in6_addr in6addr_nodelocal_allnodes =
|
||||
IN6ADDR_NODELOCAL_ALLNODES_INIT;
|
||||
const struct in6_addr in6addr_linklocal_allnodes =
|
||||
IN6ADDR_LINKLOCAL_ALLNODES_INIT;
|
||||
#endif /* __rtems__ */
|
||||
const struct in6_addr in6addr_linklocal_allrouters =
|
||||
IN6ADDR_LINKLOCAL_ALLROUTERS_INIT;
|
||||
const struct in6_addr in6addr_linklocal_allv2routers =
|
||||
|
@@ -1978,6 +1978,7 @@ def user_space(mm):
|
||||
'lib/libc/net/recv.c',
|
||||
'lib/libc/net/rthdr.c',
|
||||
'lib/libc/net/send.c',
|
||||
'lib/libc/net/vars.c',
|
||||
'lib/libc/posix1e/mac.c',
|
||||
'lib/libc/resolv/h_errno.c',
|
||||
'lib/libc/resolv/herror.c',
|
||||
|
Reference in New Issue
Block a user