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>
This commit is contained in:
@@ -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 (
|
||||
|
@@ -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);
|
||||
|
||||
//
|
||||
|
@@ -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
|
||||
|
@@ -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.
|
||||
//
|
||||
|
@@ -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"
|
||||
|
||||
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user