/** @file\r
Implementation of EFI_IP6_PROTOCOL protocol interfaces and type definitions.\r
\r
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
+ (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
\r
#include <Uefi.h>\r
\r
+#include <IndustryStandard/Dhcp.h>\r
+\r
#include <Protocol/ServiceBinding.h>\r
#include <Protocol/ManagedNetwork.h>\r
#include <Protocol/IpSec.h>\r
//\r
#define IP6_STATE_UNCONFIGED 0\r
#define IP6_STATE_CONFIGED 1\r
-#define IP6_STATE_DESTROY 2\r
\r
//\r
// The state of IP6 service. It starts from UNSTARTED. It transits\r
\r
#define IP6_NO_MAPPING(IpInstance) (!(IpInstance)->Interface->Configured)\r
\r
-extern EFI_IPSEC_PROTOCOL *mIpSec;\r
+extern EFI_IPSEC2_PROTOCOL *mIpSec;\r
+extern BOOLEAN mIpSec2Installed;\r
\r
//\r
// IP6_TXTOKEN_WRAP wraps the upper layer's transmit token.\r
UINT32 GroupCount;\r
\r
EFI_IP6_CONFIG_DATA ConfigData;\r
+ BOOLEAN InDestroy;\r
};\r
\r
struct _IP6_SERVICE {\r
UINT32 Signature;\r
EFI_SERVICE_BINDING_PROTOCOL ServiceBinding;\r
INTN State;\r
- BOOLEAN InDestroy;\r
\r
//\r
// List of all the IP instances and interfaces, and default\r