SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
+\r
#ifndef __EFI_IP6CONFIG_PROTOCOL_H__\r
#define __EFI_IP6CONFIG_PROTOCOL_H__\r
\r
///\r
/// The name of the interface. It is a NULL-terminated string.\r
///\r
- CHAR16 Name[32];\r
+ CHAR16 Name[32];\r
///\r
/// The interface type of the network interface.\r
///\r
- UINT8 IfType;\r
+ UINT8 IfType;\r
///\r
/// The size, in bytes, of the network interface's hardware address.\r
///\r
- UINT32 HwAddressSize;\r
+ UINT32 HwAddressSize;\r
///\r
/// The hardware address for the network interface.\r
///\r
- EFI_MAC_ADDRESS HwAddress;\r
+ EFI_MAC_ADDRESS HwAddress;\r
///\r
/// Number of EFI_IP6_ADDRESS_INFO structures pointed to by AddressInfo.\r
///\r
- UINT32 AddressInfoCount;\r
+ UINT32 AddressInfoCount;\r
///\r
/// Pointer to an array of EFI_IP6_ADDRESS_INFO instances\r
/// which contain the local IPv6 addresses and the corresponding\r
/// prefix length information. Set to NULL if AddressInfoCount\r
/// is zero.\r
///\r
- EFI_IP6_ADDRESS_INFO *AddressInfo;\r
+ EFI_IP6_ADDRESS_INFO *AddressInfo;\r
///\r
/// Number of route table entries in the following RouteTable.\r
///\r
- UINT32 RouteCount;\r
+ UINT32 RouteCount;\r
///\r
/// The route table of the IPv6 network stack runs on this interface.\r
/// Set to NULL if RouteCount is zero.\r
///\r
- EFI_IP6_ROUTE_TABLE *RouteTable;\r
+ EFI_IP6_ROUTE_TABLE *RouteTable;\r
} EFI_IP6_CONFIG_INTERFACE_INFO;\r
\r
///\r
/// describes the 64-bit interface ID.\r
///\r
typedef struct {\r
- UINT8 Id[8];\r
+ UINT8 Id[8];\r
} EFI_IP6_CONFIG_INTERFACE_ID;\r
\r
///\r
/// stack manually when the policy is Ip6ConfigPolicyManual.\r
///\r
typedef struct {\r
- EFI_IPv6_ADDRESS Address; ///< The IPv6 unicast address.\r
- BOOLEAN IsAnycast; ///< Set to TRUE if Address is anycast.\r
- UINT8 PrefixLength; ///< The length, in bits, of the prefix associated with this Address.\r
+ EFI_IPv6_ADDRESS Address; ///< The IPv6 unicast address.\r
+ BOOLEAN IsAnycast; ///< Set to TRUE if Address is anycast.\r
+ UINT8 PrefixLength; ///< The length, in bits, of the prefix associated with this Address.\r
} EFI_IP6_CONFIG_MANUAL_ADDRESS;\r
\r
-\r
/**\r
Set the configuration for the EFI IPv6 network stack running on the communication\r
device this EFI IPv6 Configuration Protocol instance manages.\r
/// types of configurations for the EFI IPv6 network stack.\r
///\r
struct _EFI_IP6_CONFIG_PROTOCOL {\r
- EFI_IP6_CONFIG_SET_DATA SetData;\r
- EFI_IP6_CONFIG_GET_DATA GetData;\r
- EFI_IP6_CONFIG_REGISTER_NOTIFY RegisterDataNotify;\r
- EFI_IP6_CONFIG_UNREGISTER_NOTIFY UnregisterDataNotify;\r
+ EFI_IP6_CONFIG_SET_DATA SetData;\r
+ EFI_IP6_CONFIG_GET_DATA GetData;\r
+ EFI_IP6_CONFIG_REGISTER_NOTIFY RegisterDataNotify;\r
+ EFI_IP6_CONFIG_UNREGISTER_NOTIFY UnregisterDataNotify;\r
};\r
\r
-extern EFI_GUID gEfiIp6ConfigProtocolGuid;\r
+extern EFI_GUID gEfiIp6ConfigProtocolGuid;\r
\r
#endif\r
-\r