]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/UdpIoLib.h
Code scrube for MdeModule Definitions.
[mirror_edk2.git] / MdeModulePkg / Include / Library / UdpIoLib.h
index 05c1217a539d64e52dfbadc564f44afdefbe5e94..ef64e943dc939549c3383f8ea0c252e79ef3c339 100644 (file)
@@ -25,11 +25,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 
 typedef struct _UDP_IO_PORT UDP_IO_PORT;
 
-enum {
+typedef enum {
   UDP_IO_RX_SIGNATURE = EFI_SIGNATURE_32 ('U', 'D', 'P', 'R'),
   UDP_IO_TX_SIGNATURE = EFI_SIGNATURE_32 ('U', 'D', 'P', 'T'),
   UDP_IO_SIGNATURE    = EFI_SIGNATURE_32 ('U', 'D', 'P', 'I')
-};
+} UDP_IO_SIGNATURE_TYPE;
 
 typedef struct {
   IP4_ADDR                  LocalAddr;
@@ -130,7 +130,7 @@ BOOLEAN
 
   @param  Controller            The controller that has the UDP service binding
                                 protocol installed.
-  @param  Image                 The image handle for the driver.
+  @param  ImageHandle           The image handle for the driver.
   @param  Configure             The function to configure the created UDP child
   @param  Context               The opaque parameter for the Configure funtion.
 
@@ -204,14 +204,14 @@ UdpIoSendDatagram (
   IN  VOID                  *Context
   );
 
-/**
-  The selection function to cancel a single sent datagram.
-
-  @param  Token                 The UDP TX token to test againist.
-  @param  Context               The context
-
-  @return TRUE if the packet is to be cancelled, otherwise FALSE.
-
+/**\r
+  Cancel a single sent datagram.\r
+\r
+  @param  UdpIo                 The UDP IO port to cancel the packet from\r
+  @param  Packet                The packet to cancel\r
+\r
+  @return None\r
+\r
 **/
 VOID
 EFIAPI