/* Inserts a new node entry donated by NewEntry after the node entry donated by PrevEntry of the doubly linked list. */
VOID EFIAPI NetListInsertAfter(IN OUT LIST_ENTRY *PrevEntry, IN OUT LIST_ENTRY *NewEntry)
/* Inserts a new node entry donated by NewEntry after the node entry donated by PrevEntry of the doubly linked list. */
VOID EFIAPI NetListInsertAfter(IN OUT LIST_ENTRY *PrevEntry, IN OUT LIST_ENTRY *NewEntry)
{
  ASSERT (PrevEntry != NULL && NewEntry != NULL);
  NewEntry->BackLink               = PrevEntry;
  NewEntry->ForwardLink            = PrevEntry->ForwardLink;
  PrevEntry->ForwardLink->BackLink = NewEntry;
  PrevEntry->ForwardLink           = NewEntry;
}