2.2.1.2.53 MIB_OPAQUE_QUERY
The MIB_OPAQUE_QUERY structure contains the MIB ID and the corresponding index of the MIB object. This structure is used in the following methods:
The same structure is also used as a blob for querying MIB if dwPid is PID_IPX, or if dwPid is PID_IP and dwRoutingPid is not IPRTRMGR_PID (0x00002710) in the parameter of the methods using this structure.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dwVarId |
|||||||||||||||||||||||||||||||
rgdwVarIndex (variable) |
|||||||||||||||||||||||||||||||
... |
dwVarId (4 bytes): The identifier of the MIB object while querying IPv4 or IPv6 MIB variables. The value MUST be the same as dwId for MIB_OPAQUE_INFO (section 2.2.1.2.52) structure.
rgdwVarIndex (variable): Place holder for data of the blob as previously mentioned. If dwRoutingPid is IPRTRMGR_PID (0x00002710), then this MUST indicate the index of the MIB object to query as shown in the following table.
-
dwVarId
rgdwVarIndex
Structure that needs to be retrieved
Meaning of rgdwVarIndex
IF_NUMBER
0x00000000
Not used.
Not used.
IF_TABLE
0x00000001
Not used.
Not used.
IF_ROW
0x00000002
Index of the interface.
The instance of the structure whose interface index matches with the value specified in rgdwVarIndex.
IP_STATS
0x00000003
Not used.
Not used.
0x00000004
IP_ADDRTABLE
Not used.
Not used.
IP_ADDRROW
0x00000005
IP address.
The instance of the structure whose dwAddr matches the value specified in rgdwVarIndex.
IP_FORWARDNUMBER
0x00000006
Not used.
Not used.
IP_FORWARDTABLE
0x00000007
Not used.
Not used.
IP_FORWARDROW
0x00000008
This MUST be of 4 DWORDS size (rgdwVarIndex[4]) for IPV4.
For IPV6 this MUST be index.
MIB_IPFORWARDROW (section 2.2.1.2.35) for IPv4, INTERFACE_ROUTE_ENTRY (section 2.2.1.2.181) for IPv6
For IPv4, the instance of the structure whose dwForwardDest matches rgdwVarIndex[0], dwForwardProto matches rgdwVarIndex[1], dwForwardPolicy matches rgdwVarIndex[2], and dwForwardNextHop matches rgdwVarIndex[3].
For IPv6, the instance of the structure whose dwIndex matches rgdwVarIndex.
IP_NETTABLE
0x00000009
MUST be of size one DWORD (rgdwVarIndex[1]) or two DWORDS (rgdwVarIndex[2]).
If one DWORD is passed, an instance of the structure whose dwIndex matches the value specified in rgdwVarIndex[0] is returned.
If two DWORDs are passed, an instance of the structure whose dwIndex matches the value specified in rgdwVarIndex[0] and whose dwAddr matches rgdwVarIndex[1] is returned.
IP_NETROW
0x0000000A
This MUST be of size one DWORD (rgdwVarIndex[1]) or two DWORDS (rgdwVarIndex[2]).
If one DWORD is passed, an instance of the structure whose dwIndex matches the value specified in rgdwVarIndex[0] is returned.
If two DWORDs are passed, an instance of the structure whose dwIndex matches the value specified in rgdwVarIndex[0] and whose dwAddr matches rgdwVarIndex[1] is returned.
ICMP_STATS
0x0000000B
Not used.
Not used.
TCP_STATS
0x0000000C
Not used.
MIB_TCPSTATS (section 2.2.1.2.56)
Not used.
TCP_ROW
0x0000000E
This MUST be of 4 DWORDS size (rgdwVarIndex[4]) for IPV4.
MIB_TCPROW (section 2.2.1.2.55)
The instance of the structure whose dwLocalAddr matches rgdwVarIndex[0], dwLocalPort matches rgdwVarIndex[1], dwRemoteAddr matches rgdwVarIndex[2], and dwRemotePort matches rgdwVarIndex[3].
UDP_STATS
0x0000000F
Not used.
MIB_UDPSTATS (section 2.2.1.2.59)
Not used.
UDP_TABLE
0x00000010
Not used.
MIB_UDPTABLE (section 2.2.1.2.60)
Not used.
UDP_ROW
0x00000011
This MUST be of size one DWORD (rgdwVarIndex[1]) or two DWORDS (rgdwVarIndex[2]).
MIB_UDPROW (section 2.2.1.2.58)
If one DWORD is passed, an instance of the structure whose dwLocalAddr matches the value specified in rgdwVarIndex[0] is returned.
If two DWORDs are passed, an instance of the structure whose dwLocalAddr matches the value specified in rgdwVarIndex[0] and whose dwLocalPort matches the value specified in rgdwVarIndex[1].
Both dwLocalAddr and dwLocalPort MUST be specified for RMIBEntryGet.
MCAST_MFE
0x00000012
This MUST be of 3 DWORDS size (rgdwVarIndex[3]).
MIB_MFE_TABLE (section 2.2.1.2.51)
The instance of the structure whose dwGroup matches rgdwVarIndex[0], dwSource matches rgdwVarIndex[1], dwSrcMask matches rgdwVarIndex[2] is returned, and rgdwVarIndex[2] MUST be 0xFFFFFFFF.
MCAST_MFE_STATS
0x00000013
This MUST be of 3 DWORDS size (rgdwVarIndex[3]).
The instance of the structure whose dwGroup matches rgdwVarIndex[0], dwSource matches rgdwVarIndex[1], dwSrcMask matches rgdwVarIndex[2] is returned, and rgdwVarIndex[2] MUST be 0xFFFFFFFF.
BEST_IF
0x00000014
MUST be of 1 DWORDS size (rgdwVarIndex[1]).
The interface having the best route for the destination specified in rgdwVarIndex[0] is returned.
BEST_ROUTE
0x00000015
MUST be of 2 DWORDS size (rgdwVarIndex[2])
The best route information for the destination specified in rgdwVarIndex[0] is returned;
rgdwVarIndex[1] MUST be set to 0.
MCAST_IF_ENTRY
0x00000017
MUST be of 1 DWORDS size (rgdwVarIndex[1]).
The instance of the structure whose interface index matches with the value specified in rgdwVarIndex.
MCAST_GLOBAL
0x00000018
Not used.
Not used.
IF_STATUS
0x00000019
MUST be of 1 DWORDS size (rgdwVarIndex[1]).
The instance of the structure whose interface index matches with the value specified in rgdwVarIndex.
MCAST_BOUNDARY
0x0000001A
MUST be of 3 DWORDS size (rgdwVarIndex[3]).
The instance with dwIfIndex equal to rgdwVarIndex[0], dwGroupAddress equal to rgdwVarIndex[1], and dwGroupMask equal to rgdwVarIndex[2] is returned.
MCAST_SCOPE
0x0000001B
MUST be of size one DWORD (rgdwVarIndex[1]) or two DWORDS (rgdwVarIndex[2]).
If one DWORD is passed, an instance of the structure whose dwGroupAddress matches the value specified in rgdwVarIndex[0] is returned.
If two DWORDs are passed, an instance of the structure whose dwGroupAddress matches the value specified in rgdwVarIndex[0] and whose dwGroupMask matches rgdwVarIndex[1] is returned.
Both dwGroupAddress and dwGroupMask MUST be specified for RMIBEntryGet.
DEST_MATCHING
0x0000001C
MUST be of 4 DWORDS size (rgdwVarIndex[4]).
The instance of the structure whose ForwardRow fields of dwForwardDest matches rgdwVarIndex[0], dwForwardMask matches rgdwVarIndex[1], dwForwardViewSet matches rgdwVarIndex[2], and whose dwForwardProto matches rgdwVarIndex[3].
DEST_LONGER
0x0000001D
MUST be of 4 DWORDS size (rgdwVarIndex[4]).
MIB_IPDESTTABLE (section 2.2.1.2.21)
The instance of the structure whose ForwardRow fields of dwForwardDest matches rgdwVarIndex[0], dwForwardMask matches rgdwVarIndex[1], dwForwardViewSet matches rgdwVarIndex[2], and whose dwForwardProto matches rgdwVarIndex[3].
DEST_SHORTER
0x0000001E
MUST be of 4 DWORDS size (rgdwVarIndex[4]).
MIB_IPDESTTABLE (section 2.2.1.2.21)
The instance of the structure whose ForwardRow fields of dwForwardDest matches rgdwVarIndex[0], dwForwardMask matches rgdwVarIndex[1], dwForwardViewSet matches rgdwVarIndex[2], and whose dwForwardProto matches rgdwVarIndex[3].
ROUTE_MATCHING
0x0000001F
This MUST be of 4 DWORDS size (rgdwVarIndex[4]).
MIB_IPDESTTABLE (section 2.2.1.2.21)
The instance of the structure whose ForwardRow fields of dwForwardDest matches rgdwVarIndex[0], dwForwardMask matches rgdwVarIndex[1], dwForwardViewSet matches rgdwVarIndex[2], and whose dwForwardProto matches rgdwVarIndex[3].
ROUTE_LONGER
0x00000020
MUST be of 4 DWORDS size (rgdwVarIndex[4]).
MIB_IPDESTTABLE (section 2.2.1.2.21)
The instance of the structure whose ForwardRow fields of dwForwardDest matches rgdwVarIndex[0], dwForwardMask matches rgdwVarIndex[1], dwForwardViewSet matches rgdwVarIndex[2], and whose dwForwardProto matches rgdwVarIndex[3].
ROUTE_SHORTER
0x00000021
MUST be of 4 DWORDS size (rgdwVarIndex[4]).
MIB_IPDESTTABLE (section 2.2.1.2.21)
The instance of the structure whose ForwardRow fields of dwForwardDest matches rgdwVarIndex[0], dwForwardMask matches rgdwVarIndex[1], dwForwardViewSet matches rgdwVarIndex[2], and whose dwForwardProto matches rgdwVarIndex[3].
ROUTE_STATE
0x00000022
Not used.
Not used.
MCAST_MFE_STATS_EX
0x00000023
MUST be of 3 DWORDS size (rgdwVarIndex[3]).
MIB_MFE_STATS_TABLE (section 2.2.1.2.50)
The instance of the structure whose dwGroup field matches rgdwVarIndex[0], dwSource matches rgdwVarIndex[1], and rgdwVarIndex[2] is not used.