]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h
Use Mde library and definition instead of some native definitions in NetLib, to simpl...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / Ip4Impl.h
index 35ada7feff294179b11ca5c2e93eadb5a9ee4761..fa7eff97f9e8a86682e89f8e3781283403f91422 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2005 - 2006, Intel Corporation\r
+Copyright (c) 2005 - 2007, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -103,7 +103,7 @@ typedef struct {
 // fragments will be freed at last.\r
 //\r
 typedef struct {\r
-  NET_LIST_ENTRY            Link;\r
+  LIST_ENTRY                Link;\r
   IP4_PROTOCOL              *IpInstance;\r
   NET_BUF                   *Packet;\r
   EFI_IP4_RECEIVE_DATA      RxData;\r
@@ -117,15 +117,15 @@ struct _IP4_PROTOCOL {
   INTN                      State;\r
 \r
   IP4_SERVICE               *Service;\r
-  NET_LIST_ENTRY            Link; // Link to all the IP protocol from the service\r
+  LIST_ENTRY                Link; // Link to all the IP protocol from the service\r
 \r
   //\r
   // User's transmit/receive tokens, and received/deliverd packets\r
   //\r
   NET_MAP                   RxTokens;\r
   NET_MAP                   TxTokens;   // map between (User's Token, IP4_TXTOKE_WRAP)\r
-  NET_LIST_ENTRY            Received;   // Received but not delivered packet\r
-  NET_LIST_ENTRY            Delivered;  // Delivered and to be recycled packets\r
+  LIST_ENTRY                Received;   // Received but not delivered packet\r
+  LIST_ENTRY                Delivered;  // Delivered and to be recycled packets\r
   EFI_LOCK                  RecycleLock;\r
 \r
   //\r
@@ -134,7 +134,7 @@ struct _IP4_PROTOCOL {
   // is used to communicate the current route info to the upper layer.\r
   //\r
   IP4_INTERFACE             *Interface;\r
-  NET_LIST_ENTRY            AddrLink;   // Ip instances with the same IP address.\r
+  LIST_ENTRY                AddrLink;   // Ip instances with the same IP address.\r
   IP4_ROUTE_TABLE           *RouteTable;\r
 \r
   EFI_IP4_ROUTE_TABLE       *EfiRouteTable;\r
@@ -161,9 +161,9 @@ struct _IP4_SERVICE {
   // interface and route table and caches.\r
   //\r
   UINTN                           NumChildren;\r
-  NET_LIST_ENTRY                  Children;\r
+  LIST_ENTRY                      Children;\r
 \r
-  NET_LIST_ENTRY                  Interfaces;\r
+  LIST_ENTRY                      Interfaces;\r
 \r
   IP4_INTERFACE                   *DefaultInterface;\r
   IP4_ROUTE_TABLE                 *DefaultRouteTable;\r
@@ -194,6 +194,7 @@ struct _IP4_SERVICE {
   EFI_IP4_CONFIG_PROTOCOL         *Ip4Config;\r
   EFI_EVENT                       DoneEvent;\r
   EFI_EVENT                       ReconfigEvent;\r
+  EFI_EVENT                       ActiveEvent;\r
 \r
   //\r
   // The string representation of the current mac address of the\r