2.2.1.2.89 DHCP_ADDR_PATTERN

The DHCP_ADDR_PATTERN structure contains the information regarding the link-layer address/pattern.

 typedef struct _DHCP_ADDR_PATTERN {
     BOOL MatchHWType;
     BYTE HWType;
     BOOL IsWildcard;
     BYTE Length;
     BYTE Pattern[MAX_PATTERN_LENGTH];
 } DHCP_ADDR_PATTERN, *LPDHCP_ADDR_PATTERN;

MatchHWType: This is of type BOOL. Setting the field to FALSE will cause the filtering to disregard the hardware type field and a TRUE value will match the hardware type field.

HWType: This is of type BYTE and specifies the hardware type of the address, specified in the pattern. For the list of valid options, see [RFC1700].

IsWildcard: This is of type BOOL and specifies whether the current pattern represents a wildcard pattern.

BOOL

MEANING

TRUE

1

The pattern is a wildcard pattern.

FALSE

0

The pattern is a hardware address.

Length: This is of type BYTE and specifies the length of the pattern.

Pattern: This is a pointer to a type BYTE and contains the address/pattern.