-\r
-/**\r
- Free all the nodes in the list for boot file.\r
-\r
- @param[in] Head The pointer to the head of list.\r
-\r
-**/\r
-VOID\r
-PxeBcFreeBootFileOption (\r
- IN LIST_ENTRY *Head\r
- )\r
-{\r
- LIST_ENTRY *Entry;\r
- LIST_ENTRY *NextEntry;\r
- PXEBC_DHCP6_OPTION_NODE *Node;\r
-\r
- NET_LIST_FOR_EACH_SAFE (Entry, NextEntry, Head) {\r
- Node = NET_LIST_USER_STRUCT (Entry, PXEBC_DHCP6_OPTION_NODE, Link);\r
- RemoveEntryList (Entry);\r
- FreePool (Node);\r
- }\r
-}\r
-\r