fix file header issues
add . at the end of lines git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7259 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -963,7 +963,7 @@ IpIoStop (
|
|||||||
Destroy an IP_IO instance.
|
Destroy an IP_IO instance.
|
||||||
|
|
||||||
This function is paired with IpIoCreate(). The IP_IO will be closed first.
|
This function is paired with IpIoCreate(). The IP_IO will be closed first.
|
||||||
Resource will be freed afterwards. See IpIoClose().
|
Resource will be freed afterwards. See IpIoCloseProtocolDestroyIpChild().
|
||||||
|
|
||||||
@param[in, out] IpIo Pointer to the IP_IO instance that needs to be
|
@param[in, out] IpIo Pointer to the IP_IO instance that needs to be
|
||||||
destroyed.
|
destroyed.
|
||||||
@ -1006,8 +1006,8 @@ IpIoDestroy (
|
|||||||
packet.
|
packet.
|
||||||
@param[in, out] Pkt Pointer to the IP packet to be sent.
|
@param[in, out] Pkt Pointer to the IP packet to be sent.
|
||||||
@param[in] Sender The IP protocol instance used for sending.
|
@param[in] Sender The IP protocol instance used for sending.
|
||||||
@param[in] Context Optional context data
|
@param[in] Context Optional context data.
|
||||||
@param[in] NotifyData Optional notify data
|
@param[in] NotifyData Optional notify data.
|
||||||
@param[in] Dest The destination IP address to send this packet to.
|
@param[in] Dest The destination IP address to send this packet to.
|
||||||
@param[in] OverrideData The data to override some configuration of the IP
|
@param[in] OverrideData The data to override some configuration of the IP
|
||||||
instance used for sending.
|
instance used for sending.
|
||||||
@ -1357,9 +1357,9 @@ IpIoFindSender (
|
|||||||
The ErrorStatus will be returned. The IsHard and Notify are optional. If they
|
The ErrorStatus will be returned. The IsHard and Notify are optional. If they
|
||||||
are not NULL, this routine will fill them.
|
are not NULL, this routine will fill them.
|
||||||
|
|
||||||
@param[in] IcmpError IcmpError Type
|
@param[in] IcmpError IcmpError Type.
|
||||||
@param[out] IsHard Whether it is a hard error
|
@param[out] IsHard Whether it is a hard error.
|
||||||
@param[out] Notify Whether it need to notify SockError
|
@param[out] Notify Whether it need to notify SockError.
|
||||||
|
|
||||||
@return ICMP Error Status, such as EFI_NETWORK_UNREACHABLE.
|
@return ICMP Error Status, such as EFI_NETWORK_UNREACHABLE.
|
||||||
|
|
||||||
|
@ -1,19 +1,17 @@
|
|||||||
#/** @file
|
/** @file
|
||||||
# Component name for module DxeIpIoLib
|
Component name for module DxeIpIoLib.
|
||||||
#
|
|
||||||
# FIX ME!
|
Copyright (c) 2006, Intel Corporation.<BR>
|
||||||
# Copyright (c) 2006, Intel Corporation.
|
All rights reserved. This program and the accompanying materials
|
||||||
#
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
# All rights reserved. This program and the accompanying materials
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
http://opensource.org/licenses/bsd-license.php
|
||||||
# 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.
|
||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
**/
|
||||||
#
|
|
||||||
#
|
|
||||||
#**/
|
|
||||||
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
|
@ -420,7 +420,7 @@ NetListInsertBefore (
|
|||||||
Initializes the count of the <Key, Value> pairs in the netmap to zero.
|
Initializes the count of the <Key, Value> pairs in the netmap to zero.
|
||||||
|
|
||||||
If Map is NULL, then ASSERT().
|
If Map is NULL, then ASSERT().
|
||||||
If the address of Map->Used is NULl, then ASSERT().
|
If the address of Map->Used is NULL, then ASSERT().
|
||||||
If the address of Map->Recycled is NULl, then ASSERT().
|
If the address of Map->Recycled is NULl, then ASSERT().
|
||||||
|
|
||||||
@param[in, out] Map The netmap to initialize.
|
@param[in, out] Map The netmap to initialize.
|
||||||
@ -1049,7 +1049,7 @@ NetLibDefaultUnload (
|
|||||||
@param[in] Controller The controller which has the service installed.
|
@param[in] Controller The controller which has the service installed.
|
||||||
@param[in] Image The image handle used to open service.
|
@param[in] Image The image handle used to open service.
|
||||||
@param[in] ServiceBindingGuid The service's Guid.
|
@param[in] ServiceBindingGuid The service's Guid.
|
||||||
@param[in, out] ChildHandle The handle to receive the create child
|
@param[in, out] ChildHandle The handle to receive the create child.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The child is successfully created.
|
@retval EFI_SUCCESS The child is successfully created.
|
||||||
@retval Others Failed to create the child.
|
@retval Others Failed to create the child.
|
||||||
@ -1104,7 +1104,7 @@ NetLibCreateServiceChild (
|
|||||||
@param[in] Controller The controller which has the service installed.
|
@param[in] Controller The controller which has the service installed.
|
||||||
@param[in] Image The image handle used to open service.
|
@param[in] Image The image handle used to open service.
|
||||||
@param[in] ServiceBindingGuid The service's Guid.
|
@param[in] ServiceBindingGuid The service's Guid.
|
||||||
@param[in] ChildHandle The child to destory
|
@param[in] ChildHandle The child to destory.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The child is successfully destoried.
|
@retval EFI_SUCCESS The child is successfully destoried.
|
||||||
@retval Others Failed to destory the child.
|
@retval Others Failed to destory the child.
|
||||||
|
@ -1,19 +1,17 @@
|
|||||||
#/** @file
|
/** @file
|
||||||
# Component name for module DxeNetLib
|
Component name for module DxeNetLib.
|
||||||
#
|
|
||||||
# FIX ME!
|
Copyright (c) 2006, Intel Corporation.<BR>
|
||||||
# Copyright (c) 2006, Intel Corporation.
|
All rights reserved. This program and the accompanying materials
|
||||||
#
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
# All rights reserved. This program and the accompanying materials
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
http://opensource.org/licenses/bsd-license.php
|
||||||
# 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.
|
||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
**/
|
||||||
#
|
|
||||||
#
|
|
||||||
#**/
|
|
||||||
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
|
@ -26,7 +26,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
/**
|
/**
|
||||||
Free a UDP_TX_TOKEN. The TX event is closed.
|
Free a UDP_TX_TOKEN. The TX event is closed.
|
||||||
|
|
||||||
@param Token The UDP_TX_TOKEN to release.
|
@param[in] Token The UDP_TX_TOKEN to release.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -41,7 +41,7 @@ UdpIoFreeTxToken (
|
|||||||
/**
|
/**
|
||||||
Free a UDP_RX_TOKEN. The RX event is closed.
|
Free a UDP_RX_TOKEN. The RX event is closed.
|
||||||
|
|
||||||
@param Token The UDP_RX_TOKEN to release.
|
@param[in] Token The UDP_RX_TOKEN to release.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -59,7 +59,7 @@ UdpIoFreeRxToken (
|
|||||||
It will remove the packet from the local list then call
|
It will remove the packet from the local list then call
|
||||||
the packet owner's callback function set by UdpIoSendDatagram.
|
the packet owner's callback function set by UdpIoSendDatagram.
|
||||||
|
|
||||||
@param Context The UDP TX Token.
|
@param[in] Context The UDP TX Token.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -82,8 +82,8 @@ UdpIoOnDgramSentDpc (
|
|||||||
/**
|
/**
|
||||||
Request UdpIoOnDgramSentDpc as a DPC at TPL_CALLBACK.
|
Request UdpIoOnDgramSentDpc as a DPC at TPL_CALLBACK.
|
||||||
|
|
||||||
@param Event The event signaled.
|
@param[in] Event The event signaled.
|
||||||
@param Context The UDP TX Token.
|
@param[in] Context The UDP TX Token.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -102,7 +102,7 @@ UdpIoOnDgramSent (
|
|||||||
/**
|
/**
|
||||||
Recycle the received UDP data.
|
Recycle the received UDP data.
|
||||||
|
|
||||||
@param Context The UDP_RX_TOKEN
|
@param[in] Context The UDP_RX_TOKEN.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -123,7 +123,7 @@ UdpIoRecycleDgram (
|
|||||||
It will build a NET_BUF from the recieved UDP data, then deliver it
|
It will build a NET_BUF from the recieved UDP data, then deliver it
|
||||||
to the receiver.
|
to the receiver.
|
||||||
|
|
||||||
@param Context The UDP RX token.
|
@param[in] Context The UDP RX token.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -200,8 +200,8 @@ UdpIoOnDgramRcvdDpc (
|
|||||||
/**
|
/**
|
||||||
Request UdpIoOnDgramRcvdDpc() as a DPC at TPL_CALLBACK.
|
Request UdpIoOnDgramRcvdDpc() as a DPC at TPL_CALLBACK.
|
||||||
|
|
||||||
@param Event The UDP receive request event.
|
@param[in] Event The UDP receive request event.
|
||||||
@param Context The UDP RX token.
|
@param[in] Context The UDP RX token.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -220,10 +220,10 @@ UdpIoOnDgramRcvd (
|
|||||||
/**
|
/**
|
||||||
Create a UDP_RX_TOKEN to wrap the request.
|
Create a UDP_RX_TOKEN to wrap the request.
|
||||||
|
|
||||||
@param UdpIo The UdpIo to receive packets from
|
@param[in] UdpIo The UdpIo to receive packets from.
|
||||||
@param CallBack The function to call when receive finished.
|
@param[in] CallBack The function to call when receive finished.
|
||||||
@param Context The opaque parameter to the CallBack
|
@param[in] Context The opaque parameter to the CallBack.
|
||||||
@param HeadLen The head length to reserver for the packet.
|
@param[in] HeadLen The head length to reserver for the packet.
|
||||||
|
|
||||||
@return The Wrapped request or NULL if failed to allocate resources or some errors happened.
|
@return The Wrapped request or NULL if failed to allocate resources or some errors happened.
|
||||||
|
|
||||||
@ -273,12 +273,12 @@ UdpIoCreateRxToken (
|
|||||||
/**
|
/**
|
||||||
Wrap a transmit request into a UDP_TX_TOKEN.
|
Wrap a transmit request into a UDP_TX_TOKEN.
|
||||||
|
|
||||||
@param UdpIo The UdpIo port to send packet to
|
@param[in] UdpIo The UdpIo port to send packet to.
|
||||||
@param Packet The user's packet
|
@param[in] Packet The user's packet.
|
||||||
@param EndPoint The local and remote access point
|
@param[in] EndPoint The local and remote access point.
|
||||||
@param Gateway The overrided next hop
|
@param[in] Gateway The overrided next hop.
|
||||||
@param CallBack The function to call when transmission completed.
|
@param[in] CallBack The function to call when transmission completed.
|
||||||
@param Context The opaque parameter to the call back
|
@param[in] Context The opaque parameter to the call back.
|
||||||
|
|
||||||
@return The wrapped transmission request or NULL if failed to allocate resources
|
@return The wrapped transmission request or NULL if failed to allocate resources
|
||||||
or for some errors.
|
or for some errors.
|
||||||
@ -375,11 +375,11 @@ UdpIoWrapTx (
|
|||||||
in creating or configure the UDP child will lead to the failure of UDP_IO_PORT
|
in creating or configure the UDP child will lead to the failure of UDP_IO_PORT
|
||||||
creation.
|
creation.
|
||||||
|
|
||||||
@param Controller The controller that has the UDP service binding
|
@param[in] Controller The controller that has the UDP service binding.
|
||||||
protocol installed.
|
protocol installed.
|
||||||
@param Image The image handle for the driver.
|
@param[in] Image The image handle for the driver.
|
||||||
@param Configure The function to configure the created UDP child
|
@param[in] Configure The function to configure the created UDP child.
|
||||||
@param Context The opaque parameter for the Configure funtion.
|
@param[in] Context The opaque parameter for the Configure funtion.
|
||||||
|
|
||||||
@return Newly-created UDP_IO_PORT or NULL if failed.
|
@return Newly-created UDP_IO_PORT or NULL if failed.
|
||||||
|
|
||||||
@ -474,11 +474,11 @@ FREE_MEM:
|
|||||||
Cancel all the sent datagram that pass the selection criteria of ToCancel.
|
Cancel all the sent datagram that pass the selection criteria of ToCancel.
|
||||||
If ToCancel is NULL, all the datagrams are cancelled.
|
If ToCancel is NULL, all the datagrams are cancelled.
|
||||||
|
|
||||||
@param UdpIo The UDP_IO_PORT to cancel packet
|
@param[in] UdpIo The UDP_IO_PORT to cancel packet.
|
||||||
@param IoStatus The IoStatus to return to the packet owners.
|
@param[in] IoStatus The IoStatus to return to the packet owners.
|
||||||
@param ToCancel The select funtion to test whether to cancel this
|
@param[in] ToCancel The select funtion to test whether to cancel this
|
||||||
packet or not.
|
packet or not.
|
||||||
@param Context The opaque parameter to the ToCancel.
|
@param[in] Context The opaque parameter to the ToCancel.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -507,7 +507,7 @@ UdpIoCancelDgrams (
|
|||||||
|
|
||||||
The function will cancel all sent datagram and receive request.
|
The function will cancel all sent datagram and receive request.
|
||||||
|
|
||||||
@param UdpIo The UDP_IO_PORT to free.
|
@param[in] UdpIo The UDP_IO_PORT to free.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The UDP_IO_PORT is freed.
|
@retval EFI_SUCCESS The UDP_IO_PORT is freed.
|
||||||
|
|
||||||
@ -567,7 +567,7 @@ UdpIoFreePort (
|
|||||||
It will release all the transmitted datagrams and receive request. It will
|
It will release all the transmitted datagrams and receive request. It will
|
||||||
also configure NULL for the UDP instance.
|
also configure NULL for the UDP instance.
|
||||||
|
|
||||||
@param UdpIo The UDP_IO_PORT to clean up.
|
@param[in] UdpIo The UDP_IO_PORT to clean up.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -597,16 +597,16 @@ UdpIoCleanPort (
|
|||||||
when the packet is sent. The optional parameter EndPoint overrides the default
|
when the packet is sent. The optional parameter EndPoint overrides the default
|
||||||
address pair if specified.
|
address pair if specified.
|
||||||
|
|
||||||
@param UdpIo The UDP_IO_PORT to send the packet through
|
@param[in] UdpIo The UDP_IO_PORT to send the packet through.
|
||||||
@param Packet The packet to send
|
@param[in] Packet The packet to send.
|
||||||
@param EndPoint The local and remote access point. Override the
|
@param[in] EndPoint The local and remote access point. Override the
|
||||||
default address pair set during configuration.
|
default address pair set during configuration.
|
||||||
@param Gateway The gateway to use
|
@param[in] Gateway The gateway to use.
|
||||||
@param CallBack The function being called when packet is
|
@param[in] CallBack The function being called when packet is
|
||||||
transmitted or failed.
|
transmitted or failed.
|
||||||
@param Context The opaque parameter passed to CallBack
|
@param[in] Context The opaque parameter passed to CallBack.
|
||||||
|
|
||||||
@retval EFI_OUT_OF_RESOURCES Failed to allocate resource for the packet
|
@retval EFI_OUT_OF_RESOURCES Failed to allocate resource for the packet.
|
||||||
@retval EFI_SUCCESS The packet is successfully delivered to UDP for
|
@retval EFI_SUCCESS The packet is successfully delivered to UDP for
|
||||||
transmission.
|
transmission.
|
||||||
|
|
||||||
@ -650,8 +650,8 @@ UdpIoSendDatagram (
|
|||||||
/**
|
/**
|
||||||
The select function to cancel a single sent datagram.
|
The select function to cancel a single sent datagram.
|
||||||
|
|
||||||
@param Token The UDP_TX_TOKEN to test against
|
@param[in] Token The UDP_TX_TOKEN to test against
|
||||||
@param Context The NET_BUF of the sent datagram
|
@param[in] Context The NET_BUF of the sent datagram
|
||||||
|
|
||||||
@retval TRUE The packet is to be cancelled.
|
@retval TRUE The packet is to be cancelled.
|
||||||
@retval FALSE The packet is not to be cancelled.
|
@retval FALSE The packet is not to be cancelled.
|
||||||
@ -676,8 +676,8 @@ UdpIoCancelSingleDgram (
|
|||||||
/**
|
/**
|
||||||
Cancel a single sent datagram.
|
Cancel a single sent datagram.
|
||||||
|
|
||||||
@param UdpIo The UDP_IO_PORT to cancel the packet from
|
@param[in] UdpIo The UDP_IO_PORT to cancel the packet from
|
||||||
@param Packet The packet to cancel
|
@param[in] Packet The packet to cancel
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -698,11 +698,11 @@ UdpIoCancelSentDatagram (
|
|||||||
to invoke this function inside its Callback function when the former packet
|
to invoke this function inside its Callback function when the former packet
|
||||||
is processed.
|
is processed.
|
||||||
|
|
||||||
@param UdpIo The UDP_IO_PORT to receive the packet from.
|
@param[in] UdpIo The UDP_IO_PORT to receive the packet from.
|
||||||
@param CallBack The call back function to execute when the packet
|
@param[in] CallBack The call back function to execute when the packet
|
||||||
is received.
|
is received.
|
||||||
@param Context The opaque context passed to Callback
|
@param[in] Context The opaque context passed to Callback.
|
||||||
@param HeadLen The length of the upper-layer's protocol header
|
@param[in] HeadLen The length of the upper-layer's protocol header.
|
||||||
|
|
||||||
@retval EFI_ALREADY_STARTED There is already a pending receive request. Only
|
@retval EFI_ALREADY_STARTED There is already a pending receive request. Only
|
||||||
one receive request is supported at a time.
|
one receive request is supported at a time.
|
||||||
|
@ -1,21 +1,20 @@
|
|||||||
#/** @file
|
/** @file
|
||||||
# Instance of UdpIoLib
|
Instance of UdpIoLib.
|
||||||
#
|
|
||||||
# This module provides UDP services by consuming EFI UDP4 Service Binding Protocol and
|
This module provides UDP services by consuming EFI UDP4 Service Binding Protocol and
|
||||||
# EFI UDP4 Protocol.
|
EFI UDP4 Protocol.
|
||||||
#
|
|
||||||
# Copyright (c) 2008, Intel Corporation.
|
Copyright (c) 2008, Intel Corporation.<BR>
|
||||||
#
|
All rights reserved. This program and the accompanying materials
|
||||||
# All rights reserved. This program and the accompanying materials
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
# 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
|
||||||
# which accompanies this distribution. The full text of the license may be found at
|
http://opensource.org/licenses/bsd-license.php
|
||||||
# http://opensource.org/licenses/bsd-license.php
|
|
||||||
#
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
||||||
#
|
**/
|
||||||
#
|
|
||||||
#**/
|
|
||||||
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
|
Reference in New Issue
Block a user