Add missing IPv6 address definitions.
Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13455 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -57,6 +57,11 @@
|
|||||||
inet_net_pton.c
|
inet_net_pton.c
|
||||||
inet_neta.c
|
inet_neta.c
|
||||||
inet_pton.c
|
inet_pton.c
|
||||||
|
Ip6Addr_Any.c
|
||||||
|
Ip6Addr_Loopback.c
|
||||||
|
Ip6Addr_NodeLocal_AllNodes.c
|
||||||
|
Ip6Addr_LinkLocal_AllNodes.c
|
||||||
|
Ip6Addr_LinkLocal_AllRouters.c
|
||||||
listen.c
|
listen.c
|
||||||
map_v4v6.c
|
map_v4v6.c
|
||||||
ns_addr.c
|
ns_addr.c
|
||||||
|
18
StdLib/BsdSocketLib/Ip6Addr_Any.c
Normal file
18
StdLib/BsdSocketLib/Ip6Addr_Any.c
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/** @file
|
||||||
|
IP6 address: any
|
||||||
|
|
||||||
|
Copyright (c) 2011, Intel Corporation
|
||||||
|
All rights reserved. This program and the accompanying materials
|
||||||
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
http://opensource.org/licenses/bsd-license.
|
||||||
|
|
||||||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
|
**/
|
||||||
|
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
|
||||||
|
|
18
StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllNodes.c
Normal file
18
StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllNodes.c
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/** @file
|
||||||
|
IP6 address: link local, all nodes
|
||||||
|
|
||||||
|
Copyright (c) 2011, Intel Corporation
|
||||||
|
All rights reserved. This program and the accompanying materials
|
||||||
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
http://opensource.org/licenses/bsd-license.
|
||||||
|
|
||||||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
|
**/
|
||||||
|
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
const struct in6_addr in6addr_linklocal_allnodes = IN6ADDR_LINKLOCAL_ALLNODES_INIT;
|
||||||
|
|
18
StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllRouters.c
Normal file
18
StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllRouters.c
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/** @file
|
||||||
|
IP6 address: link local, all routers
|
||||||
|
|
||||||
|
Copyright (c) 2011, Intel Corporation
|
||||||
|
All rights reserved. This program and the accompanying materials
|
||||||
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
http://opensource.org/licenses/bsd-license.
|
||||||
|
|
||||||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
|
**/
|
||||||
|
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
const struct in6_addr in6addr_linklocal_allrouters = IN6ADDR_LINKLOCAL_ALLROUTERS_INIT;
|
||||||
|
|
18
StdLib/BsdSocketLib/Ip6Addr_Loopback.c
Normal file
18
StdLib/BsdSocketLib/Ip6Addr_Loopback.c
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/** @file
|
||||||
|
IP6 address: loopback
|
||||||
|
|
||||||
|
Copyright (c) 2011, Intel Corporation
|
||||||
|
All rights reserved. This program and the accompanying materials
|
||||||
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
http://opensource.org/licenses/bsd-license.
|
||||||
|
|
||||||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
|
**/
|
||||||
|
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
|
||||||
|
|
18
StdLib/BsdSocketLib/Ip6Addr_NodeLocal_AllNodes.c
Normal file
18
StdLib/BsdSocketLib/Ip6Addr_NodeLocal_AllNodes.c
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/** @file
|
||||||
|
IP6 address: node local, all nodes
|
||||||
|
|
||||||
|
Copyright (c) 2011, Intel Corporation
|
||||||
|
All rights reserved. This program and the accompanying materials
|
||||||
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
http://opensource.org/licenses/bsd-license.
|
||||||
|
|
||||||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
|
**/
|
||||||
|
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
const struct in6_addr in6addr_nodelocal_allnodes = IN6ADDR_NODELOCAL_ALLNODES_INIT;
|
||||||
|
|
Reference in New Issue
Block a user