]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Igmp.h
[Change summary]:
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / Ip4Igmp.h
index b82d3cc3ea591e11adc7ee86e835f793dd4cae3f..549d4a2176719439b89bd3be15af92f084d742da 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2005 - 2006, Intel Corporation.<BR>\r
+Copyright (c) 2005 - 2009, Intel Corporation.<BR>\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
@@ -14,6 +14,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef __EFI_IP4_IGMP_H__\r
 #define __EFI_IP4_IGMP_H__\r
 \r
+//\r
+// IGMP message type\r
+//\r
+#define IGMP_MEMBERSHIP_QUERY      0x11\r
+#define IGMP_V1_MEMBERSHIP_REPORT  0x12\r
+#define IGMP_V2_MEMBERSHIP_REPORT  0x16\r
+#define IGMP_LEAVE_GROUP           0x17\r
+\r
+#define IGMP_V1ROUTER_PRESENT      400\r
+#define IGMP_UNSOLICIATED_REPORT   10\r
+\r
 #pragma pack(1)\r
 typedef struct {\r
   UINT8                   Type;\r
@@ -48,19 +59,6 @@ typedef struct {
   LIST_ENTRY              Groups;\r
 } IGMP_SERVICE_DATA;\r
 \r
-typedef enum {\r
-  //\r
-  // IGMP message type\r
-  //\r
-  IGMP_MEMBERSHIP_QUERY     = 0x11,\r
-  IGMP_V1_MEMBERSHIP_REPORT = 0x12,\r
-  IGMP_V2_MEMBERSHIP_REPORT = 0x16,\r
-  IGMP_LEAVE_GROUP          = 0x17,\r
-\r
-  IGMP_V1ROUTER_PRESENT     = 400,\r
-  IGMP_UNSOLICIATED_REPORT  = 10\r
-} IGMP_ENUM_TYPES;\r
-\r
 /**\r
   Init the IGMP control data of the IP4 service instance, configure\r
   MNP to receive ALL SYSTEM multicast.\r