]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/IpIoLib.h
Updated the IpIoLiband and the change includes:
[mirror_edk2.git] / MdeModulePkg / Include / Library / IpIoLib.h
index e079fe1f795aef4e1c323c96dba2fd786b0db94b..000e8158098133ed1192a2f4adcc6df15ea60672 100644 (file)
@@ -160,6 +160,11 @@ typedef struct _EFI_NET_SESSION_DATA {
   EFI_IP_ADDRESS        Source;     ///< Source IP of the received packet\r
   EFI_IP_ADDRESS        Dest;       ///< Destination IP of the received packet\r
   IP_IO_IP_HEADER       IpHdr;      ///< IP header of the received packet\r
+  UINT32                IpHdrLen;   ///< IP header length of the received packet. \r
+                                    ///< For IPv6, it includes the IP6 header \r
+                                    ///< length and extension header length. For\r
+                                    ///< IPv4, it includes the IP4 header length\r
+                                    ///< and options length.\r
   UINT8                 IpVersion;  ///< The IP version of the received packet\r
 } EFI_NET_SESSION_DATA;\r
 \r