/** @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
#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
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