Partager via


2.2.1.2.157 DHCPV6R_GLOBAL_CONFIG

The DHCPV6R_GLOBAL_CONFIG structure contains the global configuration of the DHCPV6 Relay Agent. This structure is used in the following methods:

This structure is variable length, after the base structure there will be an array of GC_ServerCount in6_addr structures, each of which contains an IPv6 address of a DHCP server to which packets will be sent. All IPv6 address fields MUST be in network order.

 typedef struct _DHCPV6R_GLOBAL_CONFIG {
   DWORD GC_LoggingLevel;
   DWORD GC_MaxRecvQueueSize;
   DWORD GC_ServerCount;
 } DHCPV6R_GLOBAL_CONFIG,
  *PDHCPV6R_GLOBAL_CONFIG;

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

Value

Meaning

DHCPV6R_LOGGING_NONE

0x00000000

No logging is done.

DHCPV6R_LOGGING_ERROR

0x00000001

Only errors are logged.

DHCPV6R_LOGGING_WARN

0x00000002

Errors and warnings are logged.

DHCPV6R_LOGGING_INFO

0x00000003

Errors, warnings, and information are logged.

GC_MaxRecvQueueSize: Specifies the maximum size in bytes of messages in the receive queue while processing

GC_ServerCount: The number of the IPv6 addresses of DHCP servers.