summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Include/Protocol/Ip6.h22
-rw-r--r--MdePkg/Include/Protocol/Ip6Config.h12
-rw-r--r--MdePkg/Include/Protocol/Tcp6.h23
3 files changed, 28 insertions, 29 deletions
diff --git a/MdePkg/Include/Protocol/Ip6.h b/MdePkg/Include/Protocol/Ip6.h
index 0857fca..5acedfb 100644
--- a/MdePkg/Include/Protocol/Ip6.h
+++ b/MdePkg/Include/Protocol/Ip6.h
@@ -531,7 +531,7 @@ typedef struct {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_GET_MODE_DATA) (
+(EFIAPI *EFI_IP6_GET_MODE_DATA)(
IN EFI_IP6_PROTOCOL *This,
OUT EFI_IP6_MODE_DATA *Ip6ModeData OPTIONAL,
OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL,
@@ -586,7 +586,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_CONFIGURE) (
+(EFIAPI *EFI_IP6_CONFIGURE)(
IN EFI_IP6_PROTOCOL *This,
IN EFI_IP6_CONFIG_DATA *Ip6ConfigData OPTIONAL
);
@@ -623,7 +623,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_GROUPS) (
+(EFIAPI *EFI_IP6_GROUPS)(
IN EFI_IP6_PROTOCOL *This,
IN BOOLEAN JoinFlag,
IN EFI_IPv6_ADDRESS *GroupAddress OPTIONAL
@@ -672,10 +672,10 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_ROUTES) (
+(EFIAPI *EFI_IP6_ROUTES)(
IN EFI_IP6_PROTOCOL *This,
IN BOOLEAN DeleteRoute,
- IN EFI_IPv6_ADDRESS *Destination, OPTIONAL
+ IN EFI_IPv6_ADDRESS *Destination OPTIONAL,
IN UINT8 PrefixLength,
IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL
);
@@ -728,7 +728,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_NEIGHBORS) (
+(EFIAPI *EFI_IP6_NEIGHBORS)(
IN EFI_IP6_PROTOCOL *This,
IN BOOLEAN DeleteFlag,
IN EFI_IPv6_ADDRESS *TargetIp6Address,
@@ -781,7 +781,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_TRANSMIT) (
+(EFIAPI *EFI_IP6_TRANSMIT)(
IN EFI_IP6_PROTOCOL *This,
IN EFI_IP6_COMPLETION_TOKEN *Token
);
@@ -819,7 +819,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_RECEIVE) (
+(EFIAPI *EFI_IP6_RECEIVE)(
IN EFI_IP6_PROTOCOL *This,
IN EFI_IP6_COMPLETION_TOKEN *Token
);
@@ -886,7 +886,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_POLL) (
+(EFIAPI *EFI_IP6_POLL)(
IN EFI_IP6_PROTOCOL *This
);
@@ -894,7 +894,7 @@ EFI_STATUS
/// The EFI IPv6 Protocol implements a simple packet-oriented interface that can be
/// used by drivers, daemons, and applications to transmit and receive network packets.
///
-typedef struct _EFI_IP6_PROTOCOL {
+struct _EFI_IP6_PROTOCOL {
EFI_IP6_GET_MODE_DATA GetModeData;
EFI_IP6_CONFIGURE Configure;
EFI_IP6_GROUPS Groups;
@@ -904,7 +904,7 @@ typedef struct _EFI_IP6_PROTOCOL {
EFI_IP6_RECEIVE Receive;
EFI_IP6_CANCEL Cancel;
EFI_IP6_POLL Poll;
-} EFI_IP6_PROTOCOL;
+};
extern EFI_GUID gEfiIp6ServiceBindingProtocolGuid;
extern EFI_GUID gEfiIp6ProtocolGuid;
diff --git a/MdePkg/Include/Protocol/Ip6Config.h b/MdePkg/Include/Protocol/Ip6Config.h
index 2182e4b..3d73708 100644
--- a/MdePkg/Include/Protocol/Ip6Config.h
+++ b/MdePkg/Include/Protocol/Ip6Config.h
@@ -246,7 +246,7 @@ typedef struct {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_CONFIG_SET_DATA) (
+(EFIAPI *EFI_IP6_CONFIG_SET_DATA)(
IN EFI_IP6_CONFIG_PROTOCOL *This,
IN EFI_IP6_CONFIG_DATA_TYPE DataType,
IN UINTN DataSize,
@@ -292,7 +292,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_CONFIG_GET_DATA) (
+(EFIAPI *EFI_IP6_CONFIG_GET_DATA)(
IN EFI_IP6_CONFIG_PROTOCOL *This,
IN EFI_IP6_CONFIG_DATA_TYPE DataType,
IN OUT UINTN *DataSize,
@@ -323,7 +323,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_CONFIG_REGISTER_NOTIFY) (
+(EFIAPI *EFI_IP6_CONFIG_REGISTER_NOTIFY)(
IN EFI_IP6_CONFIG_PROTOCOL *This,
IN EFI_IP6_CONFIG_DATA_TYPE DataType,
IN EFI_EVENT Event
@@ -346,7 +346,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_IP6_CONFIG_UNREGISTER_NOTIFY) (
+(EFIAPI *EFI_IP6_CONFIG_UNREGISTER_NOTIFY)(
IN EFI_IP6_CONFIG_PROTOCOL *This,
IN EFI_IP6_CONFIG_DATA_TYPE DataType,
IN EFI_EVENT Event
@@ -356,12 +356,12 @@ EFI_STATUS
/// The EFI_IP6_CONFIG_PROTOCOL provides the mechanism to set and get various
/// types of configurations for the EFI IPv6 network stack.
///
-typedef struct _EFI_IP6_CONFIG_PROTOCOL {
+struct _EFI_IP6_CONFIG_PROTOCOL {
EFI_IP6_CONFIG_SET_DATA SetData;
EFI_IP6_CONFIG_GET_DATA GetData;
EFI_IP6_CONFIG_REGISTER_NOTIFY RegisterDataNotify;
EFI_IP6_CONFIG_UNREGISTER_NOTIFY UnregisterDataNotify;
-} EFI_IP6_CONFIG_PROTOCOL;
+};
extern EFI_GUID gEfiIp6ConfigProtocolGuid;
diff --git a/MdePkg/Include/Protocol/Tcp6.h b/MdePkg/Include/Protocol/Tcp6.h
index d3f5382..2cc80fd 100644
--- a/MdePkg/Include/Protocol/Tcp6.h
+++ b/MdePkg/Include/Protocol/Tcp6.h
@@ -35,7 +35,6 @@
typedef struct _EFI_TCP6_PROTOCOL EFI_TCP6_PROTOCOL;
-
///
/// EFI_TCP6_SERVICE_POINT
///
@@ -489,7 +488,7 @@ typedef struct {
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_GET_MODE_DATA) (
+(EFIAPI *EFI_TCP6_GET_MODE_DATA)(
IN EFI_TCP6_PROTOCOL *This,
OUT EFI_TCP6_CONNECTION_STATE *Tcp6State OPTIONAL,
OUT EFI_TCP6_CONFIG_DATA *Tcp6ConfigData OPTIONAL,
@@ -547,7 +546,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_CONFIGURE) (
+(EFIAPI *EFI_TCP6_CONFIGURE)(
IN EFI_TCP6_PROTOCOL *This,
IN EFI_TCP6_CONFIG_DATA *Tcp6ConfigData OPTIONAL
);
@@ -584,7 +583,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_CONNECT) (
+(EFIAPI *EFI_TCP6_CONNECT)(
IN EFI_TCP6_PROTOCOL *This,
IN EFI_TCP6_CONNECTION_TOKEN *ConnectionToken
);
@@ -626,7 +625,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_ACCEPT) (
+(EFIAPI *EFI_TCP6_ACCEPT)(
IN EFI_TCP6_PROTOCOL *This,
IN EFI_TCP6_LISTEN_TOKEN *ListenToken
);
@@ -670,7 +669,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_TRANSMIT) (
+(EFIAPI *EFI_TCP6_TRANSMIT)(
IN EFI_TCP6_PROTOCOL *This,
IN EFI_TCP6_IO_TOKEN *Token
);
@@ -723,7 +722,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_RECEIVE) (
+(EFIAPI *EFI_TCP6_RECEIVE)(
IN EFI_TCP6_PROTOCOL *This,
IN EFI_TCP6_IO_TOKEN *Token
);
@@ -757,7 +756,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_CLOSE) (
+(EFIAPI *EFI_TCP6_CLOSE)(
IN EFI_TCP6_PROTOCOL *This,
IN EFI_TCP6_CLOSE_TOKEN *CloseToken
);
@@ -799,7 +798,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_CANCEL) (
+(EFIAPI *EFI_TCP6_CANCEL)(
IN EFI_TCP6_PROTOCOL *This,
IN EFI_TCP6_COMPLETION_TOKEN *Token OPTIONAL
);
@@ -823,7 +822,7 @@ EFI_STATUS
**/
typedef
EFI_STATUS
-(EFIAPI *EFI_TCP6_POLL) (
+(EFIAPI *EFI_TCP6_POLL)(
IN EFI_TCP6_PROTOCOL *This
);
@@ -834,7 +833,7 @@ EFI_STATUS
/// specified port as a service or actively connect to remote peer as a client.
/// Each instance has its own independent settings.
///
-typedef struct _EFI_TCP6_PROTOCOL {
+struct _EFI_TCP6_PROTOCOL {
EFI_TCP6_GET_MODE_DATA GetModeData;
EFI_TCP6_CONFIGURE Configure;
EFI_TCP6_CONNECT Connect;
@@ -844,7 +843,7 @@ typedef struct _EFI_TCP6_PROTOCOL {
EFI_TCP6_CLOSE Close;
EFI_TCP6_CANCEL Cancel;
EFI_TCP6_POLL Poll;
-} EFI_TCP6_PROTOCOL;
+};
extern EFI_GUID gEfiTcp6ServiceBindingProtocolGuid;
extern EFI_GUID gEfiTcp6ProtocolGuid;