Partager via


2.2.1.2.182 IP_NAT_MIB_QUERY

The IP_NAT_MIB_QUERY structure is used to retrieve Network Address Translator (NAT) information and is passed to the following methods:

Oid: This is an index of the NAT MIB. It MUST be one of the following values.

Value

Meaning

IP_NAT_INTERFACE_STATISTICS_OID

0x00000000

NAT interface statistics information is retrieved.

When RMIBEntryGet, RMIBEntryGetFirst, and RMIBEntryGetNext return pMibOutEntry or pInfoStruct it MUST be typecast to IP_NAT_INTERFACE_STATISTICS (section 2.2.1.2.185).

IP_NAT_INTERFACE_MAPPING_TABLE_OID

0x00000001

NAT interface mapping table information.

When RMIBEntryGet, RMIBEntryGetFirst, and RMIBEntryGetNext return pMibOutEntry or pInfoStruct it MUST be typecast to IP_NAT_ENUMERATE_SESSION_MAPPINGS (section 2.2.1.2.183).

IP_NAT_MAPPING_TABLE_OID

0x00000002

NAT mapping table information.

Retrieves the session mappings of an interface.

When RMIBEntryGet, RMIBEntryGetFirst, and RMIBEntryGetNext return pMibOutEntry or pInfoStruct it MUST be typecast to IP_NAT_ENUMERATE_SESSION_MAPPINGS.

Index: This MUST be the index of the interface when Oid is 0x00000000.

Data: This MUST be IP_NAT_ENUMERATE_SESSION_MAPPINGS if Oid is not 0x00000000.