]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/NetLib.h
Vlv2TbltDevicePkg: Sync the branch changes to trunk.
[mirror_edk2.git] / MdeModulePkg / Include / Library / NetLib.h
index d85c259b867de57764020518caac313e4c9429ca..280c51a01df2e2c4cfff67451058bd6f2623f052 100644 (file)
@@ -530,13 +530,13 @@ NetPutUint32 (
   );\r
 \r
 /**\r
-  Initialize a random seed using current time.\r
+  Initialize a random seed using current time and monotonic count.\r
 \r
-  Get current time first. Then initialize a random seed based on some basic\r
-  mathematical operations on the hour, day, minute, second, nanosecond and year\r
-  of the current time.\r
+  Get current time and monotonic count first. Then initialize a random seed \r
+  based on some basic mathematics operation on the hour, day, minute, second,\r
+  nanosecond and year of the current time and the monotonic count value.\r
 \r
-  @return The random seed, initialized with current time.\r
+  @return The random seed initialized with current time.\r
 \r
 **/\r
 UINT32\r
@@ -677,7 +677,7 @@ EFI_STATUS
 (EFIAPI *NET_DESTROY_LINK_LIST_CALLBACK) (\r
   IN LIST_ENTRY         *Entry,\r
   IN VOID               *Context   OPTIONAL\r
-);\r
+  );\r
 \r
 /**\r
   Safe destroy nodes in a linked list, and return the length of the list after all possible operations finished.\r
@@ -708,7 +708,7 @@ NetDestroyLinkList (
   IN   NET_DESTROY_LINK_LIST_CALLBACK   CallBack,\r
   IN   VOID                             *Context,    OPTIONAL\r
   OUT  UINTN                            *ListLength  OPTIONAL\r
-);\r
+  );\r
 \r
 /**\r
   This function checks the input Handle to see if it's one of these handles in ChildHandleBuffer.\r
@@ -723,11 +723,12 @@ NetDestroyLinkList (
 \r
 **/\r
 BOOLEAN\r
+EFIAPI\r
 NetIsInHandleBuffer (\r
   IN  EFI_HANDLE          Handle,\r
   IN  UINTN               NumberOfChildren,\r
   IN  EFI_HANDLE          *ChildHandleBuffer OPTIONAL\r
-);\r
+  );\r
 \r
 //\r
 // Object container: EFI network stack spec defines various kinds of\r