3.1.1.35 DHCPv4Policy

The DHCPv4Policy ADM element stores the policy configured for a specific DHCPv4Scope (section 3.1.1.2) or for the server. The DHCPv4Policy ADM element is stored in memory and in persistent storage.

The DHCPv4Policy.Policy field holds the policy definition and is represented by the DHCP_POLICY structure defined in section 2.2.1.2.110. The DHCP_POLICY structure is initialized when a new policy is created.

The DHCPv4Policy.ClassName field is a pointer to a Unicode string containing the name of a predefined user class configured on the DHCPv4 server that the policy matches. If the DHCPv4Policy.Policy element contains only one condition with the Operator member set to DhcpCompEqual, and a DHCPv4ClassDef ADM object exists in the global DHCPv4ClassDefList ADM element such that DHCPv4ClassDef.ClassData is the same as the Value member of that condition, then this field will contain the DHCPv4ClassDef.ClassName of the matching user class.

The DHCPv4Policy.DNSSuffix field is a pointer to a Unicode string containing the DNS suffix that the DHCPv4 server MUST use to override the domain name of the client that the policy matches, while performing DNS registration on behalf of the client.