次の方法で共有


2.2.1.2.175 IGMP_MIB_IF_GROUPS_LIST

The IGMP_MIB_IF_GROUPS_LIST structure is an MIB entry that stores the list of multicast groups that are members of that interface. This structure has variable length. The structure is followed by NumGroups number of IGMP_MIB_GROUP_INFO (section 2.2.1.2.176) structures. 

 typedef struct _IGMP_MIB_IF_GROUPS_LIST {
   DWORD IfIndex;
   DWORD IpAddr;
   DWORD IfType;
   DWORD NumGroups;
   BYTE Buffer[1];
 } IGMP_MIB_IF_GROUPS_LIST,
  *PIGMP_MIB_IF_GROUPS_LIST;

IfIndex: Index of the interface

IpAddr: IP address of the interface

IfType: Type of the interface, MUST be one of the following values.

Value

Meaning

IGMP_IF_NOT_RAS

0x00000001

The interface is connected to a LAN

IGMP_IF_RAS_ROUTER

0x00000002

The interface is connected to another router over RAS

IGMP_IF_RAS_SERVER

0x00000003

The entry corresponds to a RAS server if it contains stats, then it represents summarized stats

IGMP_IF_RAS_CLIENT

0x00000004

The entry corresponds to a RAS client

IGMP_IF_PROXY

0x00000008

then one of the 1st 4 flags still will be set to enable switch from proxy to IGMP router

NumGroups: Number of IGMP_MIB_GROUP_INFO structures

Buffer: MUST point to IGMP_MIB_GROUP_INFO.