diff options
Diffstat (limited to 'StdLib')
-rw-r--r-- | StdLib/BsdSocketLib/BsdSocketLib.inf | 5 | ||||
-rw-r--r-- | StdLib/BsdSocketLib/Ip6Addr_Any.c | 18 | ||||
-rw-r--r-- | StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllNodes.c | 18 | ||||
-rw-r--r-- | StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllRouters.c | 18 | ||||
-rw-r--r-- | StdLib/BsdSocketLib/Ip6Addr_Loopback.c | 18 | ||||
-rw-r--r-- | StdLib/BsdSocketLib/Ip6Addr_NodeLocal_AllNodes.c | 18 |
6 files changed, 95 insertions, 0 deletions
diff --git a/StdLib/BsdSocketLib/BsdSocketLib.inf b/StdLib/BsdSocketLib/BsdSocketLib.inf index d095e5337d..df699b19db 100644 --- a/StdLib/BsdSocketLib/BsdSocketLib.inf +++ b/StdLib/BsdSocketLib/BsdSocketLib.inf @@ -57,6 +57,11 @@ inet_net_pton.c
inet_neta.c
inet_pton.c
+ Ip6Addr_Any.c
+ Ip6Addr_Loopback.c
+ Ip6Addr_NodeLocal_AllNodes.c
+ Ip6Addr_LinkLocal_AllNodes.c
+ Ip6Addr_LinkLocal_AllRouters.c
listen.c
map_v4v6.c
ns_addr.c
diff --git a/StdLib/BsdSocketLib/Ip6Addr_Any.c b/StdLib/BsdSocketLib/Ip6Addr_Any.c new file mode 100644 index 0000000000..b1bbe26100 --- /dev/null +++ b/StdLib/BsdSocketLib/Ip6Addr_Any.c @@ -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;
+
diff --git a/StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllNodes.c b/StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllNodes.c new file mode 100644 index 0000000000..358055de4d --- /dev/null +++ b/StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllNodes.c @@ -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;
+
diff --git a/StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllRouters.c b/StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllRouters.c new file mode 100644 index 0000000000..ca8b847ee7 --- /dev/null +++ b/StdLib/BsdSocketLib/Ip6Addr_LinkLocal_AllRouters.c @@ -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;
+
diff --git a/StdLib/BsdSocketLib/Ip6Addr_Loopback.c b/StdLib/BsdSocketLib/Ip6Addr_Loopback.c new file mode 100644 index 0000000000..cc073f2e63 --- /dev/null +++ b/StdLib/BsdSocketLib/Ip6Addr_Loopback.c @@ -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;
+
diff --git a/StdLib/BsdSocketLib/Ip6Addr_NodeLocal_AllNodes.c b/StdLib/BsdSocketLib/Ip6Addr_NodeLocal_AllNodes.c new file mode 100644 index 0000000000..b597e11f3c --- /dev/null +++ b/StdLib/BsdSocketLib/Ip6Addr_NodeLocal_AllNodes.c @@ -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;
+
|