Partager via


2.2.1.2.195 IP_NAT_GLOBAL_INFO

The IP_NAT_GLOBAL_INFO structure holds the global configuration information for NAT. This structure is used in the following methods:

LoggingLevel: Specifies the logging level. It MUST be one of the following values.

Value

Meaning

IPNATHLP_LOGGING_NONE

0x00000000

No logging is done.

IPNATHLP_LOGGING_ERROR

0x00000001

Only errors are logged.

IPNATHLP_LOGGING_WARN

0x00000002

Errors and warnings are logged.

IPNATHLP_LOGGING_INFO

0x00000003

Errors, warnings, and information is logged.

Flags: This MUST be set to 0.

Header: This MUST be RTR_INFO_BLOCK_HEADER (section 2.2.1.2.3). The InfoType field of header MUST be either 0x00000000 or 0xFFFF0001. If it is 0x0000000, there is no other information beyond the header and the rest of the fields MUST be zero. If the InfoType is 0xFFFF0001, the Offset MUST point to a structure of type IP_NAT_TIMEOUT (section 2.2.1.2.196)