);\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
(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
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
\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