mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 04:59:59 +08:00
freebsd: Add constant ipv6 addresses from vars.c.
This is necessary for a configuration without IPv6.
This commit is contained in:

committed by
Sebastian Huber

parent
7aaa9a19d1
commit
2fb3a360e7
@@ -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 =
|
||||
|
Reference in New Issue
Block a user