summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Udp6Dxe
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-06-27 21:12:32 +0800
committerLiming Gao <liming.gao@intel.com>2018-06-28 11:19:49 +0800
commitf75a7f568e6d0944327970b3f3f2dafd9bba76b1 (patch)
treecc64f0e24e92dab5713bf2099f7e1f4fc5152ff6 /NetworkPkg/Udp6Dxe
parent9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107 (diff)
downloadedk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.tar.gz
edk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.tar.bz2
edk2-f75a7f568e6d0944327970b3f3f2dafd9bba76b1.zip
NetworkPkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'NetworkPkg/Udp6Dxe')
-rw-r--r--NetworkPkg/Udp6Dxe/ComponentName.c6
-rw-r--r--NetworkPkg/Udp6Dxe/Udp6Driver.c6
-rw-r--r--NetworkPkg/Udp6Dxe/Udp6Dxe.inf6
-rw-r--r--NetworkPkg/Udp6Dxe/Udp6Dxe.uni4
-rw-r--r--NetworkPkg/Udp6Dxe/Udp6DxeExtra.uni6
-rw-r--r--NetworkPkg/Udp6Dxe/Udp6Impl.c10
-rw-r--r--NetworkPkg/Udp6Dxe/Udp6Impl.h6
-rw-r--r--NetworkPkg/Udp6Dxe/Udp6Main.c6
8 files changed, 25 insertions, 25 deletions
diff --git a/NetworkPkg/Udp6Dxe/ComponentName.c b/NetworkPkg/Udp6Dxe/ComponentName.c
index 93c2003f34..7330c50fb7 100644
--- a/NetworkPkg/Udp6Dxe/ComponentName.c
+++ b/NetworkPkg/Udp6Dxe/ComponentName.c
@@ -1,7 +1,7 @@
/** @file
UEFI Component Name(2) protocol implementation for UDP6 driver.
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -237,10 +237,10 @@ Udp6ComponentNameGetDriverName (
@param Udp6[in] A pointer to the EFI_UDP6_PROTOCOL.
-
+
@retval EFI_SUCCESS Update the ControllerNameTable of this instance successfully.
@retval EFI_INVALID_PARAMETER The input parameter is invalid.
-
+
**/
EFI_STATUS
UpdateName (
diff --git a/NetworkPkg/Udp6Dxe/Udp6Driver.c b/NetworkPkg/Udp6Dxe/Udp6Driver.c
index f9d528e68f..0647c0214f 100644
--- a/NetworkPkg/Udp6Dxe/Udp6Driver.c
+++ b/NetworkPkg/Udp6Dxe/Udp6Driver.c
@@ -177,7 +177,7 @@ EXIT:
/**
Callback function which provided by user to remove one node in NetDestroyLinkList process.
-
+
@param[in] Entry The entry to be removed.
@param[in] Context Pointer to the callback context corresponds to the Context in NetDestroyLinkList.
@@ -296,7 +296,7 @@ Udp6DriverBindingStop (
&Udp6Service->ServiceBinding,
NULL
);
-
+
Udp6CleanService (Udp6Service);
FreePool (Udp6Service);
}
@@ -405,7 +405,7 @@ Udp6ServiceBindingCreateChild (
if (EFI_ERROR (Status)) {
goto ON_ERROR;
}
-
+
OldTpl = gBS->RaiseTPL (TPL_CALLBACK);
//
diff --git a/NetworkPkg/Udp6Dxe/Udp6Dxe.inf b/NetworkPkg/Udp6Dxe/Udp6Dxe.inf
index 05dc5ef4fe..fe88c548c9 100644
--- a/NetworkPkg/Udp6Dxe/Udp6Dxe.inf
+++ b/NetworkPkg/Udp6Dxe/Udp6Dxe.inf
@@ -1,10 +1,10 @@
## @file Udp6Dxe.inf
# UDP packet service based on IPv6 stack.
-#
+#
# This module produces EFI UDPv6 Protocol which provides simple packet-oriented
# services to transmit and receive UDP packets.
-#
-# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
+#
+# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
diff --git a/NetworkPkg/Udp6Dxe/Udp6Dxe.uni b/NetworkPkg/Udp6Dxe/Udp6Dxe.uni
index 5f1f19bdba..88a93abf40 100644
--- a/NetworkPkg/Udp6Dxe/Udp6Dxe.uni
+++ b/NetworkPkg/Udp6Dxe/Udp6Dxe.uni
@@ -4,13 +4,13 @@
// This module produces EFI UDPv6 Protocol which provides simple packet-oriented
// services to transmit and receive UDP packets.
//
-// Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
+// Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
//
// 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.php.
-//
+//
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
diff --git a/NetworkPkg/Udp6Dxe/Udp6DxeExtra.uni b/NetworkPkg/Udp6Dxe/Udp6DxeExtra.uni
index 1185113f3c..3566e1f2f3 100644
--- a/NetworkPkg/Udp6Dxe/Udp6DxeExtra.uni
+++ b/NetworkPkg/Udp6Dxe/Udp6DxeExtra.uni
@@ -1,7 +1,7 @@
// /** @file
// Udp6Dxe Localized Strings and Content
//
-// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
+// Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
@@ -13,8 +13,8 @@
//
// **/
-#string STR_PROPERTIES_MODULE_NAME
-#language en-US
+#string STR_PROPERTIES_MODULE_NAME
+#language en-US
"UDP6 DXE"
diff --git a/NetworkPkg/Udp6Dxe/Udp6Impl.c b/NetworkPkg/Udp6Dxe/Udp6Impl.c
index d014e2dcbc..25336362b0 100644
--- a/NetworkPkg/Udp6Dxe/Udp6Impl.c
+++ b/NetworkPkg/Udp6Dxe/Udp6Impl.c
@@ -372,7 +372,7 @@ ON_ERROR:
IpIoDestroy (Udp6Service->IpIo);
Udp6Service->IpIo = NULL;
-
+
return Status;
}
@@ -398,7 +398,7 @@ Udp6CleanService (
//
IpIoDestroy (Udp6Service->IpIo);
Udp6Service->IpIo = NULL;
-
+
ZeroMem (Udp6Service, sizeof (UDP6_SERVICE_DATA));
}
@@ -1621,7 +1621,7 @@ Udp6Demultiplex (
NetbufFree (Packet);
return;
}
-
+
//
// Get the datagram header from the packet buffer.
//
@@ -1873,7 +1873,7 @@ Udp6IcmpHandler (
NetbufFree (Packet);
return;
}
-
+
Udp6Header = (EFI_UDP_HEADER *) NetbufGetByte (Packet, 0, NULL);
ASSERT (Udp6Header != NULL);
if (Udp6Header == NULL) {
@@ -1975,7 +1975,7 @@ Udp6NetVectorExtFree (
IN VOID *Context
)
{
-}
+}
/**
Find the key in the netmap.
diff --git a/NetworkPkg/Udp6Dxe/Udp6Impl.h b/NetworkPkg/Udp6Dxe/Udp6Impl.h
index 09f315f50b..ff59e80cd4 100644
--- a/NetworkPkg/Udp6Dxe/Udp6Impl.h
+++ b/NetworkPkg/Udp6Dxe/Udp6Impl.h
@@ -1,7 +1,7 @@
/** @file
Udp6 driver's whole implementation and internal data structures.
- Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -144,7 +144,7 @@ Udp6CreateService (
IN EFI_HANDLE ImageHandle,
IN EFI_HANDLE ControllerHandle
);
-
+
/**
This function cleans the udp instance.
@@ -155,7 +155,7 @@ VOID
Udp6CleanInstance (
IN OUT UDP6_INSTANCE_DATA *Instance
);
-
+
/**
This function intializes the new created udp instance.
diff --git a/NetworkPkg/Udp6Dxe/Udp6Main.c b/NetworkPkg/Udp6Dxe/Udp6Main.c
index e9d94dd00c..71684bc285 100644
--- a/NetworkPkg/Udp6Dxe/Udp6Main.c
+++ b/NetworkPkg/Udp6Dxe/Udp6Main.c
@@ -284,7 +284,7 @@ Udp6Configure (
ASSERT (IsListEmpty (&Instance->DeliveredDgramQue));
}
-
+
ON_EXIT:
gBS->RestoreTPL (OldTpl);
@@ -384,7 +384,7 @@ Udp6Groups (
Status = NetMapIterate (&Instance->McastIps, Udp6LeaveGroup, MulticastAddress);
if ((MulticastAddress != NULL) && (Status == EFI_ABORTED)) {
Status = EFI_SUCCESS;
- }
+ }
}
ON_EXIT:
@@ -535,7 +535,7 @@ Udp6Transmit (
Status = EFI_OUT_OF_RESOURCES;
goto ON_EXIT;
}
-
+
ConfigData = &Instance->ConfigData;
//