Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

msdhcpm

import "github.com/TheManticoreProject/Manticore/windows/protocols/ms-dhcpm"

Index

type DATE\_TIME

DATE_TIME ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DATE_TIME struct {
    DwLowDateTime  ndr.DWORD
    DwHighDateTime ndr.DWORD
}

type DHCPV4\_FAILOVER\_CLIENT\_INFO

DHCPV4_FAILOVER_CLIENT_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCPV4_FAILOVER_CLIENT_INFO struct {
    ClientIpAddress       ndr.DWORD
    SubnetMask            ndr.DWORD
    ClientHardwareAddress DHCP_CLIENT_UID
    ClientName            *ndr.WSTR `ndr:"unique"`
    ClientComment         *ndr.WSTR `ndr:"unique"`
    ClientLeaseExpires    DATE_TIME
    OwnerHost             DHCP_HOST_INFO
    BClientType           uint8
    AddressState          uint8
    Status                QuarantineStatus
    ProbationEnds         DATE_TIME
    QuarantineCapable     ndr.BOOL
    SentPotExpTime        ndr.DWORD
    AckPotExpTime         ndr.DWORD
    RecvPotExpTime        ndr.DWORD
    StartTime             ndr.DWORD
    CltLastTransTime      ndr.DWORD
    LastBndUpdTime        ndr.DWORD
    BndMsgStatus          ndr.DWORD
    PolicyName            *ndr.WSTR `ndr:"unique"`
    Flags                 uint8
}

type DHCPV6\_BIND\_ELEMENT

DHCPV6_BIND_ELEMENT ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCPV6_BIND_ELEMENT struct {
    Flags                 ndr.DWORD
    FBoundToDHCPServer    ndr.BOOL
    AdapterPrimaryAddress DHCP_IPV6_ADDRESS
    AdapterSubnetAddress  DHCP_IPV6_ADDRESS
    IfDescription         *ndr.WSTR `ndr:"unique"`
    IpV6IfIndex           ndr.DWORD
    IfIdSize              ndr.DWORD
    IfId                  []uint8 `ndr:"unique,size_is=IfIdSize"`
}

type DHCPV6\_BIND\_ELEMENT\_ARRAY

DHCPV6_BIND_ELEMENT_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCPV6_BIND_ELEMENT_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCPV6_BIND_ELEMENT `ndr:"unique,size_is=NumElements"`
}

type DHCPV6\_IP\_ARRAY

DHCPV6_IP_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCPV6_IP_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_IPV6_ADDRESS `ndr:"unique,size_is=NumElements"`
}

type DHCPV6\_STATELESS\_PARAMS

DHCPV6_STATELESS_PARAMS ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCPV6_STATELESS_PARAMS struct {
    Status        ndr.BOOL
    PurgeInterval ndr.DWORD
}

type DHCPV6\_STATELESS\_SCOPE\_STATS

DHCPV6_STATELESS_SCOPE_STATS ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCPV6_STATELESS_SCOPE_STATS struct {
    SubnetAddress              DHCP_IPV6_ADDRESS
    NumStatelessClientsAdded   uint64
    NumStatelessClientsRemoved uint64
}

type DHCPV6\_STATELESS\_STATS

DHCPV6_STATELESS_STATS ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCPV6_STATELESS_STATS struct {
    NumScopes  ndr.DWORD
    ScopeStats []DHCPV6_STATELESS_SCOPE_STATS `ndr:"unique,size_is=NumScopes"`
}

type DHCP\_ADDR\_PATTERN

DHCP_ADDR_PATTERN ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ADDR_PATTERN struct {
    MatchHWType ndr.BOOL
    HWType      uint8
    IsWildcard  ndr.BOOL
    Length      uint8
    Pattern     [255]uint8
}

type DHCP\_ALL\_OPTIONS

DHCP_ALL_OPTIONS ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ALL_OPTIONS struct {
    Flags            ndr.DWORD
    NonVendorOptions *DHCP_OPTION_ARRAY `ndr:"unique"`
    NumVendorOptions ndr.DWORD
    VendorOptions    []DHCP_ALL_OPTIONS_VendorOptions `ndr:"unique,size_is=NumVendorOptions"`
}

type DHCP\_ALL\_OPTIONS\_VendorOptions

DHCP_ALL_OPTIONS_VendorOptions ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ALL_OPTIONS_VendorOptions struct {
    Option     DHCP_OPTION
    VendorName *ndr.WSTR `ndr:"unique"`
    ClassName  *ndr.WSTR `ndr:"unique"`
}

type DHCP\_ALL\_OPTION\_VALUES

DHCP_ALL_OPTION_VALUES ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ALL_OPTION_VALUES struct {
    Flags       ndr.DWORD
    NumElements ndr.DWORD
    Options     []DHCP_ALL_OPTION_VALUES_Options `ndr:"unique,size_is=NumElements"`
}

type DHCP\_ALL\_OPTION\_VALUES\_Options

DHCP_ALL_OPTION_VALUES_Options ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ALL_OPTION_VALUES_Options struct {
    ClassName    *ndr.WSTR `ndr:"unique"`
    VendorName   *ndr.WSTR `ndr:"unique"`
    IsVendor     ndr.BOOL
    OptionsArray *DHCP_OPTION_VALUE_ARRAY `ndr:"unique"`
}

type DHCP\_ALL\_OPTION\_VALUES\_PB

DHCP_ALL_OPTION_VALUES_PB ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ALL_OPTION_VALUES_PB struct {
    Flags       ndr.DWORD
    NumElements ndr.DWORD
    Options     []DHCP_ALL_OPTION_VALUES_PB_Options `ndr:"unique,size_is=NumElements"`
}

type DHCP\_ALL\_OPTION\_VALUES\_PB\_Options

DHCP_ALL_OPTION_VALUES_PB_Options ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ALL_OPTION_VALUES_PB_Options struct {
    PolicyName   *ndr.WSTR `ndr:"unique"`
    VendorName   *ndr.WSTR `ndr:"unique"`
    IsVendor     ndr.BOOL
    OptionsArray *DHCP_OPTION_VALUE_ARRAY `ndr:"unique"`
}

type DHCP\_ATTRIB

DHCP_ATTRIB ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ATTRIB struct {
    DhcpAttribId   ndr.DWORD
    DhcpAttribType ndr.DWORD
    Field          DHCP_ATTRIB_Field
}

type DHCP\_ATTRIB\_ARRAY

DHCP_ATTRIB_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_ATTRIB_ARRAY struct {
    NumElements ndr.DWORD
    DhcpAttribs []DHCP_ATTRIB `ndr:"unique,size_is=NumElements"`
}

type DHCP\_ATTRIB\_Field

DHCP_ATTRIB_Field is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_ATTRIB_Field struct {
    Tag             ndr.DWORD `ndr:"switch"`
    DhcpAttribBool  ndr.BOOL  `ndr:"case=1"`
    DhcpAttribUlong ndr.DWORD `ndr:"case=2"`
}

type DHCP\_ATTRIB\_ID

DHCP_ATTRIB_ID is a scalar typedef ([MS-DHCPM]).

type DHCP_ATTRIB_ID ndr.DWORD

type DHCP\_BINARY\_DATA

DHCP_BINARY_DATA ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_BINARY_DATA struct {
    DataLength ndr.DWORD
    Data       []uint8 `ndr:"unique,size_is=DataLength"`
}

type DHCP\_BIND\_ELEMENT

DHCP_BIND_ELEMENT ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_BIND_ELEMENT struct {
    Flags                 ndr.DWORD
    FBoundToDHCPServer    ndr.BOOL
    AdapterPrimaryAddress ndr.DWORD
    AdapterSubnetAddress  ndr.DWORD
    IfDescription         *ndr.WSTR `ndr:"unique"`
    IfIdSize              ndr.DWORD
    IfId                  []uint8 `ndr:"unique,size_is=IfIdSize"`
}

type DHCP\_BIND\_ELEMENT\_ARRAY

DHCP_BIND_ELEMENT_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_BIND_ELEMENT_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_BIND_ELEMENT `ndr:"unique,size_is=NumElements"`
}

type DHCP\_BOOTP\_IP\_RANGE

DHCP_BOOTP_IP_RANGE ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_BOOTP_IP_RANGE struct {
    StartAddress    ndr.DWORD
    EndAddress      ndr.DWORD
    BootpAllocated  ndr.DWORD
    MaxBootpAllowed ndr.DWORD
}

type DHCP\_CLASS\_INFO

DHCP_CLASS_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLASS_INFO struct {
    ClassName       *ndr.WSTR `ndr:"unique"`
    ClassComment    *ndr.WSTR `ndr:"unique"`
    ClassDataLength ndr.DWORD
    IsVendor        ndr.BOOL
    Flags           ndr.DWORD
    ClassData       []uint8 `ndr:"unique,size_is=ClassDataLength"`
}

type DHCP\_CLASS\_INFO\_ARRAY

DHCP_CLASS_INFO_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLASS_INFO_ARRAY struct {
    NumElements ndr.DWORD
    Classes     []DHCP_CLASS_INFO `ndr:"unique,size_is=NumElements"`
}

type DHCP\_CLASS\_INFO\_ARRAY\_V6

DHCP_CLASS_INFO_ARRAY_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLASS_INFO_ARRAY_V6 struct {
    NumElements ndr.DWORD
    Classes     []DHCP_CLASS_INFO_V6 `ndr:"unique,size_is=NumElements"`
}

type DHCP\_CLASS\_INFO\_V6

DHCP_CLASS_INFO_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLASS_INFO_V6 struct {
    ClassName        *ndr.WSTR `ndr:"unique"`
    ClassComment     *ndr.WSTR `ndr:"unique"`
    ClassDataLength  ndr.DWORD
    IsVendor         ndr.BOOL
    EnterpriseNumber ndr.DWORD
    Flags            ndr.DWORD
    ClassData        []uint8 `ndr:"unique,size_is=ClassDataLength"`
}

type DHCP\_CLIENT\_FILTER\_STATUS\_INFO

DHCP_CLIENT_FILTER_STATUS_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_FILTER_STATUS_INFO struct {
    ClientIpAddress       ndr.DWORD
    SubnetMask            ndr.DWORD
    ClientHardwareAddress DHCP_CLIENT_UID
    ClientName            *ndr.WSTR `ndr:"unique"`
    ClientComment         *ndr.WSTR `ndr:"unique"`
    ClientLeaseExpires    DATE_TIME
    OwnerHost             DHCP_HOST_INFO
    BClientType           uint8
    AddressState          uint8
    Status                QuarantineStatus
    ProbationEnds         DATE_TIME
    QuarantineCapable     ndr.BOOL
    FilterStatus          ndr.DWORD
}

type DHCP\_CLIENT\_FILTER\_STATUS\_INFO\_ARRAY

DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_CLIENT_FILTER_STATUS_INFO `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_CLIENT\_INFO

DHCP_CLIENT_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO struct {
    ClientIpAddress       ndr.DWORD
    SubnetMask            ndr.DWORD
    ClientHardwareAddress DHCP_CLIENT_UID
    ClientName            *ndr.WSTR `ndr:"unique"`
    ClientComment         *ndr.WSTR `ndr:"unique"`
    ClientLeaseExpires    DATE_TIME
    OwnerHost             DHCP_HOST_INFO
}

type DHCP\_CLIENT\_INFO\_ARRAY

DHCP_CLIENT_INFO_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_ARRAY struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_CLIENT_INFO `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_CLIENT\_INFO\_ARRAY\_V4

DHCP_CLIENT_INFO_ARRAY_V4 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_ARRAY_V4 struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_CLIENT_INFO_V4 `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_CLIENT\_INFO\_ARRAY\_V5

DHCP_CLIENT_INFO_ARRAY_V5 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_ARRAY_V5 struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_CLIENT_INFO_V5 `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_CLIENT\_INFO\_ARRAY\_V6

DHCP_CLIENT_INFO_ARRAY_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_ARRAY_V6 struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_CLIENT_INFO_V6 `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_CLIENT\_INFO\_ARRAY\_VQ

DHCP_CLIENT_INFO_ARRAY_VQ ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_ARRAY_VQ struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_CLIENT_INFO_VQ `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_CLIENT\_INFO\_EX

DHCP_CLIENT_INFO_EX ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_EX struct {
    ClientIpAddress       ndr.DWORD
    SubnetMask            ndr.DWORD
    ClientHardwareAddress DHCP_CLIENT_UID
    ClientName            *ndr.WSTR `ndr:"unique"`
    ClientComment         *ndr.WSTR `ndr:"unique"`
    ClientLeaseExpires    DATE_TIME
    OwnerHost             DHCP_HOST_INFO
    BClientType           uint8
    AddressState          uint8
    Status                QuarantineStatus
    ProbationEnds         DATE_TIME
    QuarantineCapable     ndr.BOOL
    FilterStatus          ndr.DWORD
    PolicyName            *ndr.WSTR            `ndr:"unique"`
    Properties            *DHCP_PROPERTY_ARRAY `ndr:"unique"`
}

type DHCP\_CLIENT\_INFO\_EX\_ARRAY

DHCP_CLIENT_INFO_EX_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_EX_ARRAY struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_CLIENT_INFO_EX `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_CLIENT\_INFO\_PB

DHCP_CLIENT_INFO_PB ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_PB struct {
    ClientIpAddress       ndr.DWORD
    SubnetMask            ndr.DWORD
    ClientHardwareAddress DHCP_CLIENT_UID
    ClientName            *ndr.WSTR `ndr:"unique"`
    ClientComment         *ndr.WSTR `ndr:"unique"`
    ClientLeaseExpires    DATE_TIME
    OwnerHost             DHCP_HOST_INFO
    BClientType           uint8
    AddressState          uint8
    Status                QuarantineStatus
    ProbationEnds         DATE_TIME
    QuarantineCapable     ndr.BOOL
    FilterStatus          ndr.DWORD
    PolicyName            *ndr.WSTR `ndr:"unique"`
}

type DHCP\_CLIENT\_INFO\_PB\_ARRAY

DHCP_CLIENT_INFO_PB_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_PB_ARRAY struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_CLIENT_INFO_PB `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_CLIENT\_INFO\_V4

DHCP_CLIENT_INFO_V4 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_V4 struct {
    ClientIpAddress       ndr.DWORD
    SubnetMask            ndr.DWORD
    ClientHardwareAddress DHCP_CLIENT_UID
    ClientName            *ndr.WSTR `ndr:"unique"`
    ClientComment         *ndr.WSTR `ndr:"unique"`
    ClientLeaseExpires    DATE_TIME
    OwnerHost             DHCP_HOST_INFO
    BClientType           uint8
}

type DHCP\_CLIENT\_INFO\_V5

DHCP_CLIENT_INFO_V5 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_V5 struct {
    ClientIpAddress       ndr.DWORD
    SubnetMask            ndr.DWORD
    ClientHardwareAddress DHCP_CLIENT_UID
    ClientName            *ndr.WSTR `ndr:"unique"`
    ClientComment         *ndr.WSTR `ndr:"unique"`
    ClientLeaseExpires    DATE_TIME
    OwnerHost             DHCP_HOST_INFO
    BClientType           uint8
    AddressState          uint8
}

type DHCP\_CLIENT\_INFO\_V6

DHCP_CLIENT_INFO_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_V6 struct {
    ClientIpAddress         DHCP_IPV6_ADDRESS
    ClientDUID              DHCP_CLIENT_UID
    AddressType             ndr.DWORD
    IAID                    ndr.DWORD
    ClientName              *ndr.WSTR `ndr:"unique"`
    ClientComment           *ndr.WSTR `ndr:"unique"`
    ClientValidLeaseExpires DATE_TIME
    ClientPrefLeaseExpires  DATE_TIME
    OwnerHost               DHCP_HOST_INFO_V6
}

type DHCP\_CLIENT\_INFO\_VQ

DHCP_CLIENT_INFO_VQ ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_CLIENT_INFO_VQ struct {
    ClientIpAddress       ndr.DWORD
    SubnetMask            ndr.DWORD
    ClientHardwareAddress DHCP_CLIENT_UID
    ClientName            *ndr.WSTR `ndr:"unique"`
    ClientComment         *ndr.WSTR `ndr:"unique"`
    ClientLeaseExpires    DATE_TIME
    OwnerHost             DHCP_HOST_INFO
    BClientType           uint8
    AddressState          uint8
    Status                QuarantineStatus
    ProbationEnds         DATE_TIME
    QuarantineCapable     ndr.BOOL
}

type DHCP\_CLIENT\_SEARCH\_UNION

DHCP_CLIENT_SEARCH_UNION is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_CLIENT_SEARCH_UNION struct {
    Tag                   DHCP_SEARCH_INFO_TYPE `ndr:"switch"`
    ClientIpAddress       ndr.DWORD             `ndr:"case=0"`
    ClientHardwareAddress DHCP_CLIENT_UID       `ndr:"case=1"`
    ClientName            *ndr.WSTR             `ndr:"case=2,unique"`
}

type DHCP\_CLIENT\_SEARCH\_UNION\_V6

DHCP_CLIENT_SEARCH_UNION_V6 is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_CLIENT_SEARCH_UNION_V6 struct {
    Tag             DHCP_SEARCH_INFO_TYPE_V6 `ndr:"switch"`
    ClientIpAddress DHCP_IPV6_ADDRESS        `ndr:"case=0"`
    ClientDUID      DHCP_CLIENT_UID          `ndr:"case=1"`
    ClientName      *ndr.WSTR                `ndr:"case=2,unique"`
}

type DHCP\_CLIENT\_UID

DHCP_CLIENT_UID is an alias for DHCP_BINARY_DATA ([MS-DHCPM]).

type DHCP_CLIENT_UID = DHCP_BINARY_DATA

type DHCP\_FAILOVER\_MODE

DHCP_FAILOVER_MODE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_FAILOVER_MODE uint16
const (
    LoadBalance DHCP_FAILOVER_MODE = 0x00000000
    HotStandby  DHCP_FAILOVER_MODE = 0x00000001
)

type DHCP\_FAILOVER\_RELATIONSHIP

DHCP_FAILOVER_RELATIONSHIP ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_FAILOVER_RELATIONSHIP struct {
    PrimaryServer       ndr.DWORD
    SecondaryServer     ndr.DWORD
    Mode                DHCP_FAILOVER_MODE
    ServerType          DHCP_FAILOVER_SERVER
    State               FSM_STATE
    PrevState           FSM_STATE
    Mclt                ndr.DWORD
    SafePeriod          ndr.DWORD
    RelationshipName    *ndr.WSTR      `ndr:"unique"`
    PrimaryServerName   *ndr.WSTR      `ndr:"unique"`
    SecondaryServerName *ndr.WSTR      `ndr:"unique"`
    PScopes             *DHCP_IP_ARRAY `ndr:"unique"`
    Percentage          uint8
    PSharedSecret       *ndr.WSTR `ndr:"unique"`
}

type DHCP\_FAILOVER\_RELATIONSHIP\_ARRAY

DHCP_FAILOVER_RELATIONSHIP_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_FAILOVER_RELATIONSHIP_ARRAY struct {
    NumElements    ndr.DWORD
    PRelationships []DHCP_FAILOVER_RELATIONSHIP `ndr:"unique,size_is=NumElements"`
}

type DHCP\_FAILOVER\_SERVER

DHCP_FAILOVER_SERVER is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_FAILOVER_SERVER uint16
const (
    PrimaryServer   DHCP_FAILOVER_SERVER = 0x00000000
    SecondaryServer DHCP_FAILOVER_SERVER = 0x00000001
)

type DHCP\_FAILOVER\_STATISTICS

DHCP_FAILOVER_STATISTICS ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_FAILOVER_STATISTICS struct {
    NumAddr          ndr.DWORD
    AddrFree         ndr.DWORD
    AddrInUse        ndr.DWORD
    PartnerAddrFree  ndr.DWORD
    ThisAddrFree     ndr.DWORD
    PartnerAddrInUse ndr.DWORD
    ThisAddrInUse    ndr.DWORD
}

type DHCP\_FILTER\_ADD\_INFO

DHCP_FILTER_ADD_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_FILTER_ADD_INFO struct {
    AddrPatt DHCP_ADDR_PATTERN
    Comment  *ndr.WSTR `ndr:"unique"`
    ListType DHCP_FILTER_LIST_TYPE
}

type DHCP\_FILTER\_ENUM\_INFO

DHCP_FILTER_ENUM_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_FILTER_ENUM_INFO struct {
    NumElements  ndr.DWORD
    PEnumRecords []DHCP_FILTER_RECORD `ndr:"unique,size_is=NumElements"`
}

type DHCP\_FILTER\_GLOBAL\_INFO

DHCP_FILTER_GLOBAL_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_FILTER_GLOBAL_INFO struct {
    EnforceAllowList ndr.BOOL
    EnforceDenyList  ndr.BOOL
}

type DHCP\_FILTER\_LIST\_TYPE

DHCP_FILTER_LIST_TYPE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_FILTER_LIST_TYPE uint16
const (
    Deny  DHCP_FILTER_LIST_TYPE = 0
    Allow DHCP_FILTER_LIST_TYPE = 1
)

type DHCP\_FILTER\_RECORD

DHCP_FILTER_RECORD ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_FILTER_RECORD struct {
    AddrPatt DHCP_ADDR_PATTERN
    Comment  *ndr.WSTR `ndr:"unique"`
}

type DHCP\_FORCE\_FLAG

DHCP_FORCE_FLAG is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_FORCE_FLAG uint16
const (
    DhcpFullForce     DHCP_FORCE_FLAG = 0
    DhcpNoForce       DHCP_FORCE_FLAG = 1
    DhcpFailoverForce DHCP_FORCE_FLAG = 2
)

type DHCP\_HOST\_INFO

DHCP_HOST_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_HOST_INFO struct {
    IpAddress   ndr.DWORD
    NetBiosName *ndr.WSTR `ndr:"unique"`
    HostName    *ndr.WSTR `ndr:"unique"`
}

type DHCP\_HOST\_INFO\_V6

DHCP_HOST_INFO_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_HOST_INFO_V6 struct {
    IpAddress   DHCP_IPV6_ADDRESS
    NetBiosName *ndr.WSTR `ndr:"unique"`
    HostName    *ndr.WSTR `ndr:"unique"`
}

type DHCP\_IPV6\_ADDRESS

DHCP_IPV6_ADDRESS ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IPV6_ADDRESS struct {
    HighOrderBits uint64
    LowOrderBits  uint64
}

type DHCP\_IP\_ADDRESS

DHCP_IP_ADDRESS is a scalar typedef ([MS-DHCPM]).

type DHCP_IP_ADDRESS ndr.DWORD

type DHCP\_IP\_ARRAY

DHCP_IP_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []ndr.DWORD `ndr:"unique,size_is=NumElements"`
}

type DHCP\_IP\_CLUSTER

DHCP_IP_CLUSTER ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_CLUSTER struct {
    ClusterAddress ndr.DWORD
    ClusterMask    ndr.DWORD
}

type DHCP\_IP\_MASK

DHCP_IP_MASK is a scalar typedef ([MS-DHCPM]).

type DHCP_IP_MASK ndr.DWORD

type DHCP\_IP\_RANGE

DHCP_IP_RANGE ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_RANGE struct {
    StartAddress ndr.DWORD
    EndAddress   ndr.DWORD
}

type DHCP\_IP\_RANGE\_ARRAY

DHCP_IP_RANGE_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_RANGE_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_IP_RANGE `ndr:"unique,size_is=NumElements"`
}

type DHCP\_IP\_RANGE\_V6

DHCP_IP_RANGE_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_RANGE_V6 struct {
    StartAddress DHCP_IPV6_ADDRESS
    EndAddress   DHCP_IPV6_ADDRESS
}

type DHCP\_IP\_RESERVATION

DHCP_IP_RESERVATION ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_RESERVATION struct {
    ReservedIpAddress ndr.DWORD
    ReservedForClient *DHCP_CLIENT_UID `ndr:"unique"`
}

type DHCP\_IP\_RESERVATION\_INFO

DHCP_IP_RESERVATION_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_RESERVATION_INFO struct {
    ReservedIpAddress   ndr.DWORD
    ReservedForClient   DHCP_CLIENT_UID
    ReservedClientName  *ndr.WSTR `ndr:"unique"`
    ReservedClientDesc  *ndr.WSTR `ndr:"unique"`
    BAllowedClientTypes uint8
    FOptionsPresent     uint8
}

type DHCP\_IP\_RESERVATION\_V4

DHCP_IP_RESERVATION_V4 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_RESERVATION_V4 struct {
    ReservedIpAddress   ndr.DWORD
    ReservedForClient   *DHCP_CLIENT_UID `ndr:"unique"`
    BAllowedClientTypes uint8
}

type DHCP\_IP\_RESERVATION\_V6

DHCP_IP_RESERVATION_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_IP_RESERVATION_V6 struct {
    ReservedIpAddress DHCP_IPV6_ADDRESS
    ReservedForClient *DHCP_CLIENT_UID `ndr:"unique"`
    InterfaceId       ndr.DWORD
}

type DHCP\_MCAST\_MIB\_INFO

DHCP_MCAST_MIB_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MCAST_MIB_INFO struct {
    Discovers       ndr.DWORD
    Offers          ndr.DWORD
    Requests        ndr.DWORD
    Renews          ndr.DWORD
    Acks            ndr.DWORD
    Naks            ndr.DWORD
    Releases        ndr.DWORD
    Informs         ndr.DWORD
    ServerStartTime DATE_TIME
    Scopes          ndr.DWORD
    ScopeInfo       []MSCOPE_MIB_INFO `ndr:"unique,size_is=Scopes"`
}

type DHCP\_MCLIENT\_INFO

DHCP_MCLIENT_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MCLIENT_INFO struct {
    ClientIpAddress   ndr.DWORD
    MScopeId          ndr.DWORD
    ClientId          DHCP_CLIENT_UID
    ClientName        *ndr.WSTR `ndr:"unique"`
    ClientLeaseStarts DATE_TIME
    ClientLeaseEnds   DATE_TIME
    OwnerHost         DHCP_HOST_INFO
    AddressFlags      ndr.DWORD
    AddressState      uint8
}

type DHCP\_MCLIENT\_INFO\_ARRAY

DHCP_MCLIENT_INFO_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MCLIENT_INFO_ARRAY struct {
    NumElements ndr.DWORD
    Clients     []*DHCP_MCLIENT_INFO `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_MIB\_INFO

DHCP_MIB_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MIB_INFO struct {
    Discovers       ndr.DWORD
    Offers          ndr.DWORD
    Requests        ndr.DWORD
    Acks            ndr.DWORD
    Naks            ndr.DWORD
    Declines        ndr.DWORD
    Releases        ndr.DWORD
    ServerStartTime DATE_TIME
    Scopes          ndr.DWORD
    ScopeInfo       []SCOPE_MIB_INFO `ndr:"unique,size_is=Scopes"`
}

type DHCP\_MIB\_INFO\_V5

DHCP_MIB_INFO_V5 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MIB_INFO_V5 struct {
    Discovers               ndr.DWORD
    Offers                  ndr.DWORD
    Requests                ndr.DWORD
    Acks                    ndr.DWORD
    Naks                    ndr.DWORD
    Declines                ndr.DWORD
    Releases                ndr.DWORD
    ServerStartTime         DATE_TIME
    QtnNumLeases            ndr.DWORD
    QtnPctQtnLeases         ndr.DWORD
    QtnProbationLeases      ndr.DWORD
    QtnNonQtnLeases         ndr.DWORD
    QtnExemptLeases         ndr.DWORD
    QtnCapableClients       ndr.DWORD
    QtnIASErrors            ndr.DWORD
    DelayedOffers           ndr.DWORD
    ScopesWithDelayedOffers ndr.DWORD
    Scopes                  ndr.DWORD
    ScopeInfo               []SCOPE_MIB_INFO_V5 `ndr:"unique,size_is=Scopes"`
}

type DHCP\_MIB\_INFO\_V6

DHCP_MIB_INFO_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MIB_INFO_V6 struct {
    Solicits        ndr.DWORD
    Advertises      ndr.DWORD
    Requests        ndr.DWORD
    Renews          ndr.DWORD
    Rebinds         ndr.DWORD
    Replies         ndr.DWORD
    Confirms        ndr.DWORD
    Declines        ndr.DWORD
    Releases        ndr.DWORD
    Informs         ndr.DWORD
    ServerStartTime DATE_TIME
    Scopes          ndr.DWORD
    ScopeInfo       []SCOPE_MIB_INFO_V6 `ndr:"unique,size_is=Scopes"`
}

type DHCP\_MIB\_INFO\_VQ

DHCP_MIB_INFO_VQ ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MIB_INFO_VQ struct {
    Discovers          ndr.DWORD
    Offers             ndr.DWORD
    Requests           ndr.DWORD
    Acks               ndr.DWORD
    Naks               ndr.DWORD
    Declines           ndr.DWORD
    Releases           ndr.DWORD
    ServerStartTime    DATE_TIME
    QtnNumLeases       ndr.DWORD
    QtnPctQtnLeases    ndr.DWORD
    QtnProbationLeases ndr.DWORD
    QtnNonQtnLeases    ndr.DWORD
    QtnExemptLeases    ndr.DWORD
    QtnCapableClients  ndr.DWORD
    QtnIASErrors       ndr.DWORD
    Scopes             ndr.DWORD
    ScopeInfo          []SCOPE_MIB_INFO_VQ `ndr:"unique,size_is=Scopes"`
}

type DHCP\_MSCOPE\_INFO

DHCP_MSCOPE_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MSCOPE_INFO struct {
    MScopeName          *ndr.WSTR `ndr:"unique"`
    MScopeComment       *ndr.WSTR `ndr:"unique"`
    MScopeId            ndr.DWORD
    MScopeAddressPolicy ndr.DWORD
    PrimaryHost         DHCP_HOST_INFO
    MScopeState         DHCP_SUBNET_STATE
    MScopeFlags         ndr.DWORD
    ExpiryTime          DATE_TIME
    LangTag             *ndr.WSTR `ndr:"unique"`
    TTL                 uint8
}

type DHCP\_MSCOPE\_TABLE

DHCP_MSCOPE_TABLE ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_MSCOPE_TABLE struct {
    NumElements  ndr.DWORD
    PMScopeNames []*ndr.WSTR `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_OPTION

DHCP_OPTION ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION struct {
    OptionID      ndr.DWORD
    OptionName    *ndr.WSTR `ndr:"unique"`
    OptionComment *ndr.WSTR `ndr:"unique"`
    DefaultValue  DHCP_OPTION_DATA
    OptionType    DHCP_OPTION_TYPE
}

type DHCP\_OPTION\_ARRAY

DHCP_OPTION_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION_ARRAY struct {
    NumElements ndr.DWORD
    Options     []DHCP_OPTION `ndr:"unique,size_is=NumElements"`
}

type DHCP\_OPTION\_DATA

DHCP_OPTION_DATA ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION_DATA struct {
    NumElements ndr.DWORD
    Elements    []DHCP_OPTION_DATA_ELEMENT `ndr:"unique,size_is=NumElements"`
}

type DHCP\_OPTION\_DATA\_ELEMENT

DHCP_OPTION_DATA_ELEMENT ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION_DATA_ELEMENT struct {
    OptionType DHCP_OPTION_DATA_TYPE
    Element    DHCP_OPTION_ELEMENT_UNION
}

type DHCP\_OPTION\_DATA\_TYPE

DHCP_OPTION_DATA_TYPE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_OPTION_DATA_TYPE uint16
const (
    DhcpByteOption             DHCP_OPTION_DATA_TYPE = 0
    DhcpWordOption             DHCP_OPTION_DATA_TYPE = 1
    DhcpDWordOption            DHCP_OPTION_DATA_TYPE = 2
    DhcpDWordDWordOption       DHCP_OPTION_DATA_TYPE = 3
    DhcpIpAddressOption        DHCP_OPTION_DATA_TYPE = 4
    DhcpStringDataOption       DHCP_OPTION_DATA_TYPE = 5
    DhcpBinaryDataOption       DHCP_OPTION_DATA_TYPE = 6
    DhcpEncapsulatedDataOption DHCP_OPTION_DATA_TYPE = 7
    DhcpIpv6AddressOption      DHCP_OPTION_DATA_TYPE = 8
)

type DHCP\_OPTION\_ELEMENT\_UNION

DHCP_OPTION_ELEMENT_UNION is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_OPTION_ELEMENT_UNION struct {
    Tag                    DHCP_OPTION_DATA_TYPE `ndr:"switch"`
    ByteOption             uint8                 `ndr:"case=0"`
    WordOption             uint16                `ndr:"case=1"`
    DWordOption            ndr.DWORD             `ndr:"case=2"`
    DWordDWordOption       DWORD_DWORD           `ndr:"case=3"`
    IpAddressOption        ndr.DWORD             `ndr:"case=4"`
    StringDataOption       *ndr.WSTR             `ndr:"case=5,unique"`
    BinaryDataOption       DHCP_BINARY_DATA      `ndr:"case=6"`
    EncapsulatedDataOption DHCP_BINARY_DATA      `ndr:"case=7"`
    Ipv6AddressDataOption  *ndr.WSTR             `ndr:"case=8,unique"`
}

type DHCP\_OPTION\_ID

DHCP_OPTION_ID is a scalar typedef ([MS-DHCPM]).

type DHCP_OPTION_ID ndr.DWORD

type DHCP\_OPTION\_LIST

DHCP_OPTION_LIST ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION_LIST struct {
    NumOptions ndr.DWORD
    Options    []DHCP_OPTION_VALUE `ndr:"unique,size_is=NumOptions"`
}

type DHCP\_OPTION\_SCOPE\_INFO

DHCP_OPTION_SCOPE_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION_SCOPE_INFO struct {
    ScopeType DHCP_OPTION_SCOPE_TYPE
    ScopeInfo DHCP_OPTION_SCOPE_UNION
}

type DHCP\_OPTION\_SCOPE\_INFO6

DHCP_OPTION_SCOPE_INFO6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION_SCOPE_INFO6 struct {
    ScopeType DHCP_OPTION_SCOPE_TYPE6
    ScopeInfo DHCP_OPTION_SCOPE_UNION6
}

type DHCP\_OPTION\_SCOPE\_TYPE

DHCP_OPTION_SCOPE_TYPE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_OPTION_SCOPE_TYPE uint16
const (
    DhcpDefaultOptions  DHCP_OPTION_SCOPE_TYPE = 0
    DhcpGlobalOptions   DHCP_OPTION_SCOPE_TYPE = 1
    DhcpSubnetOptions   DHCP_OPTION_SCOPE_TYPE = 2
    DhcpReservedOptions DHCP_OPTION_SCOPE_TYPE = 3
    DhcpMScopeOptions   DHCP_OPTION_SCOPE_TYPE = 4
)

type DHCP\_OPTION\_SCOPE\_TYPE6

DHCP_OPTION_SCOPE_TYPE6 is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_OPTION_SCOPE_TYPE6 uint16
const (
    DhcpDefaultOptions6  DHCP_OPTION_SCOPE_TYPE6 = 0
    DhcpScopeOptions6    DHCP_OPTION_SCOPE_TYPE6 = 1
    DhcpReservedOptions6 DHCP_OPTION_SCOPE_TYPE6 = 2
    DhcpGlobalOptions6   DHCP_OPTION_SCOPE_TYPE6 = 3
)

type DHCP\_OPTION\_SCOPE\_UNION

DHCP_OPTION_SCOPE_UNION is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_OPTION_SCOPE_UNION struct {
    Tag               DHCP_OPTION_SCOPE_TYPE `ndr:"switch"`
    SubnetScopeInfo   ndr.DWORD              `ndr:"case=2"`
    ReservedScopeInfo DHCP_RESERVED_SCOPE    `ndr:"case=3"`
    MScopeInfo        *ndr.WSTR              `ndr:"case=4,unique"`
}

type DHCP\_OPTION\_SCOPE\_UNION6

DHCP_OPTION_SCOPE_UNION6 is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_OPTION_SCOPE_UNION6 struct {
    Tag               DHCP_OPTION_SCOPE_TYPE `ndr:"switch"`
    SubnetScopeInfo   DHCP_IPV6_ADDRESS      `ndr:"case=1"`
    ReservedScopeInfo DHCP_RESERVED_SCOPE6   `ndr:"case=2"`
}

type DHCP\_OPTION\_TYPE

DHCP_OPTION_TYPE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_OPTION_TYPE uint16
const (
    DhcpUnaryElementTypeOption DHCP_OPTION_TYPE = 0
    DhcpArrayTypeOption        DHCP_OPTION_TYPE = 1
)

type DHCP\_OPTION\_VALUE

DHCP_OPTION_VALUE ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION_VALUE struct {
    OptionID ndr.DWORD
    Value    DHCP_OPTION_DATA
}

type DHCP\_OPTION\_VALUE\_ARRAY

DHCP_OPTION_VALUE_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_OPTION_VALUE_ARRAY struct {
    NumElements ndr.DWORD
    Values      []DHCP_OPTION_VALUE `ndr:"unique,size_is=NumElements"`
}

type DHCP\_POLICY

DHCP_POLICY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_POLICY struct {
    PolicyName      *ndr.WSTR `ndr:"unique"`
    IsGlobalPolicy  ndr.BOOL
    Subnet          ndr.DWORD
    ProcessingOrder ndr.DWORD
    Conditions      *DHCP_POL_COND_ARRAY `ndr:"unique"`
    Expressions     *DHCP_POL_EXPR_ARRAY `ndr:"unique"`
    Ranges          *DHCP_IP_RANGE_ARRAY `ndr:"unique"`
    Description     *ndr.WSTR            `ndr:"unique"`
    Enabled         ndr.BOOL
}

type DHCP\_POLICY\_ARRAY

DHCP_POLICY_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_POLICY_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_POLICY `ndr:"unique,size_is=NumElements"`
}

type DHCP\_POLICY\_EX

DHCP_POLICY_EX ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_POLICY_EX struct {
    PolicyName      *ndr.WSTR `ndr:"unique"`
    IsGlobalPolicy  ndr.BOOL
    Subnet          ndr.DWORD
    ProcessingOrder ndr.DWORD
    Conditions      *DHCP_POL_COND_ARRAY `ndr:"unique"`
    Expressions     *DHCP_POL_EXPR_ARRAY `ndr:"unique"`
    Ranges          *DHCP_IP_RANGE_ARRAY `ndr:"unique"`
    Description     *ndr.WSTR            `ndr:"unique"`
    Enabled         ndr.BOOL
    Properties      *DHCP_PROPERTY_ARRAY `ndr:"unique"`
}

type DHCP\_POLICY\_EX\_ARRAY

DHCP_POLICY_EX_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_POLICY_EX_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_POLICY_EX `ndr:"unique,size_is=NumElements"`
}

type DHCP\_POLICY\_FIELDS\_TO\_UPDATE

DHCP_POLICY_FIELDS_TO_UPDATE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_POLICY_FIELDS_TO_UPDATE uint16
const (
    DhcpUpdatePolicyName      DHCP_POLICY_FIELDS_TO_UPDATE = 0x00000001
    DhcpUpdatePolicyOrder     DHCP_POLICY_FIELDS_TO_UPDATE = 0x00000002
    DhcpUpdatePolicyExpr      DHCP_POLICY_FIELDS_TO_UPDATE = 0x00000004
    DhcpUpdatePolicyRanges    DHCP_POLICY_FIELDS_TO_UPDATE = 0x00000008
    DhcpUpdatePolicyDescr     DHCP_POLICY_FIELDS_TO_UPDATE = 0x00000010
    DhcpUpdatePolicyStatus    DHCP_POLICY_FIELDS_TO_UPDATE = 0x00000020
    DhcpUpdatePolicyDnsSuffix DHCP_POLICY_FIELDS_TO_UPDATE = 0x00000040
)

type DHCP\_POL\_ATTR\_TYPE

DHCP_POL_ATTR_TYPE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_POL_ATTR_TYPE uint16
const (
    DhcpAttrHWAddr          DHCP_POL_ATTR_TYPE = 0
    DhcpAttrOption          DHCP_POL_ATTR_TYPE = 1
    DhcpAttrSubOption       DHCP_POL_ATTR_TYPE = 2
    DhcpAttrFqdn            DHCP_POL_ATTR_TYPE = 3
    DhcpAttrFqdnSingleLabel DHCP_POL_ATTR_TYPE = 4
)

type DHCP\_POL\_COMPARATOR

DHCP_POL_COMPARATOR is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_POL_COMPARATOR uint16
const (
    DhcpCompEqual        DHCP_POL_COMPARATOR = 0
    DhcpCompNotEqual     DHCP_POL_COMPARATOR = 1
    DhcpCompBeginsWith   DHCP_POL_COMPARATOR = 2
    DhcpCompNotBeginWith DHCP_POL_COMPARATOR = 3
    DhcpCompEndsWith     DHCP_POL_COMPARATOR = 4
    DhcpCompNotEndWith   DHCP_POL_COMPARATOR = 5
)

type DHCP\_POL\_COND

DHCP_POL_COND ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_POL_COND struct {
    ParentExpr  ndr.DWORD
    Type        DHCP_POL_ATTR_TYPE
    OptionID    ndr.DWORD
    SubOptionID ndr.DWORD
    VendorName  *ndr.WSTR `ndr:"unique"`
    Operator    DHCP_POL_COMPARATOR
    Value       []uint8 `ndr:"unique,size_is=ValueLength"`
    ValueLength ndr.DWORD
}

type DHCP\_POL\_COND\_ARRAY

DHCP_POL_COND_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_POL_COND_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_POL_COND `ndr:"unique,size_is=NumElements"`
}

type DHCP\_POL\_EXPR

DHCP_POL_EXPR ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_POL_EXPR struct {
    ParentExpr ndr.DWORD
    Operator   DHCP_POL_LOGIC_OPER
}

type DHCP\_POL\_EXPR\_ARRAY

DHCP_POL_EXPR_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_POL_EXPR_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_POL_EXPR `ndr:"unique,size_is=NumElements"`
}

type DHCP\_POL\_LOGIC\_OPER

DHCP_POL_LOGIC_OPER is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_POL_LOGIC_OPER uint16
const (
    DhcpLogicalOr  DHCP_POL_LOGIC_OPER = 0
    DhcpLogicalAnd DHCP_POL_LOGIC_OPER = 1
)

type DHCP\_PROPERTY

DHCP_PROPERTY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_PROPERTY struct {
    ID    DHCP_PROPERTY_ID
    Type  DHCP_PROPERTY_TYPE
    Value DHCP_PROPERTY_VALUE_UNION
}

type DHCP\_PROPERTY\_ARRAY

DHCP_PROPERTY_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_PROPERTY_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_PROPERTY `ndr:"unique,size_is=NumElements"`
}

type DHCP\_PROPERTY\_ID

DHCP_PROPERTY_ID is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_PROPERTY_ID uint16
const (
    DhcpPropIdPolicyDnsSuffix      DHCP_PROPERTY_ID = 0
    DhcpPropIdClientAddressStateEx DHCP_PROPERTY_ID = 1
)

type DHCP\_PROPERTY\_TYPE

DHCP_PROPERTY_TYPE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_PROPERTY_TYPE uint16
const (
    DhcpPropTypeByte   DHCP_PROPERTY_TYPE = 0
    DhcpPropTypeWord   DHCP_PROPERTY_TYPE = 1
    DhcpPropTypeDword  DHCP_PROPERTY_TYPE = 2
    DhcpPropTypeString DHCP_PROPERTY_TYPE = 3
    DhcpPropTypeBinary DHCP_PROPERTY_TYPE = 4
)

type DHCP\_PROPERTY\_VALUE\_UNION

DHCP_PROPERTY_VALUE_UNION is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_PROPERTY_VALUE_UNION struct {
    Tag         DHCP_PROPERTY_TYPE `ndr:"switch"`
    ByteValue   uint8              `ndr:"case=0"`
    WordValue   uint16             `ndr:"case=1"`
    DWordValue  ndr.DWORD          `ndr:"case=2"`
    StringValue *ndr.WSTR          `ndr:"case=3,unique"`
    BinaryValue DHCP_BINARY_DATA   `ndr:"case=4"`
}

type DHCP\_RESERVATION\_INFO\_ARRAY

DHCP_RESERVATION_INFO_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_RESERVATION_INFO_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []*DHCP_IP_RESERVATION_INFO `ndr:"elem=unique,unique,size_is=NumElements"`
}

type DHCP\_RESERVED\_SCOPE

DHCP_RESERVED_SCOPE ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_RESERVED_SCOPE struct {
    ReservedIpAddress       ndr.DWORD
    ReservedIpSubnetAddress ndr.DWORD
}

type DHCP\_RESERVED\_SCOPE6

DHCP_RESERVED_SCOPE6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_RESERVED_SCOPE6 struct {
    ReservedIpAddress       DHCP_IPV6_ADDRESS
    ReservedIpSubnetAddress DHCP_IPV6_ADDRESS
}

type DHCP\_RESUME\_HANDLE

DHCP_RESUME_HANDLE is a scalar typedef ([MS-DHCPM]).

type DHCP_RESUME_HANDLE ndr.DWORD

type DHCP\_RESUME\_IPV6\_HANDLE

DHCP_RESUME_IPV6_HANDLE is an alias for DHCP_IPV6_ADDRESS ([MS-DHCPM]).

type DHCP_RESUME_IPV6_HANDLE = DHCP_IPV6_ADDRESS

type DHCP\_SCAN\_FLAG

DHCP_SCAN_FLAG is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_SCAN_FLAG uint16
const (
    DhcpRegistryFix DHCP_SCAN_FLAG = 0
    DhcpDatabaseFix DHCP_SCAN_FLAG = 1
)

type DHCP\_SCAN\_ITEM

DHCP_SCAN_ITEM ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SCAN_ITEM struct {
    IpAddress ndr.DWORD
    ScanFlag  DHCP_SCAN_FLAG
}

type DHCP\_SCAN\_LIST

DHCP_SCAN_LIST ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SCAN_LIST struct {
    NumScanItems ndr.DWORD
    ScanItems    []DHCP_SCAN_ITEM `ndr:"unique,size_is=NumScanItems"`
}

type DHCP\_SEARCH\_INFO

DHCP_SEARCH_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SEARCH_INFO struct {
    SearchType DHCP_SEARCH_INFO_TYPE
    SearchInfo DHCP_CLIENT_SEARCH_UNION
}

type DHCP\_SEARCH\_INFO\_TYPE

DHCP_SEARCH_INFO_TYPE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_SEARCH_INFO_TYPE uint16
const (
    DhcpClientIpAddress       DHCP_SEARCH_INFO_TYPE = 0
    DhcpClientHardwareAddress DHCP_SEARCH_INFO_TYPE = 1
    DhcpClientName            DHCP_SEARCH_INFO_TYPE = 2
)

type DHCP\_SEARCH\_INFO\_TYPE\_V6

DHCP_SEARCH_INFO_TYPE_V6 is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_SEARCH_INFO_TYPE_V6 uint16
const (
    Dhcpv6ClientIpAddress DHCP_SEARCH_INFO_TYPE_V6 = 0
    Dhcpv6ClientDUID      DHCP_SEARCH_INFO_TYPE_V6 = 1
    Dhcpv6ClientName      DHCP_SEARCH_INFO_TYPE_V6 = 2
)

type DHCP\_SEARCH\_INFO\_V6

DHCP_SEARCH_INFO_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SEARCH_INFO_V6 struct {
    SearchType DHCP_SEARCH_INFO_TYPE_V6
    SearchInfo DHCP_CLIENT_SEARCH_UNION_V6
}

type DHCP\_SERVER\_CONFIG\_INFO

DHCP_SERVER_CONFIG_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SERVER_CONFIG_INFO struct {
    APIProtocolSupport      ndr.DWORD
    DatabaseName            *ndr.WSTR `ndr:"unique"`
    DatabasePath            *ndr.WSTR `ndr:"unique"`
    BackupPath              *ndr.WSTR `ndr:"unique"`
    BackupInterval          ndr.DWORD
    DatabaseLoggingFlag     ndr.DWORD
    RestoreFlag             ndr.DWORD
    DatabaseCleanupInterval ndr.DWORD
    DebugFlag               ndr.DWORD
}

type DHCP\_SERVER\_CONFIG\_INFO\_V4

DHCP_SERVER_CONFIG_INFO_V4 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SERVER_CONFIG_INFO_V4 struct {
    APIProtocolSupport      ndr.DWORD
    DatabaseName            *ndr.WSTR `ndr:"unique"`
    DatabasePath            *ndr.WSTR `ndr:"unique"`
    BackupPath              *ndr.WSTR `ndr:"unique"`
    BackupInterval          ndr.DWORD
    DatabaseLoggingFlag     ndr.DWORD
    RestoreFlag             ndr.DWORD
    DatabaseCleanupInterval ndr.DWORD
    DebugFlag               ndr.DWORD
    DwPingRetries           ndr.DWORD
    CbBootTableString       ndr.DWORD
    WszBootTableString      []uint16 `ndr:"unique,size_is=CbBootTableString"`
    FAuditLog               ndr.BOOL
}

type DHCP\_SERVER\_CONFIG\_INFO\_V6

DHCP_SERVER_CONFIG_INFO_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SERVER_CONFIG_INFO_V6 struct {
    UnicastFlag           ndr.BOOL
    RapidCommitFlag       ndr.BOOL
    PreferredLifetime     ndr.DWORD
    ValidLifetime         ndr.DWORD
    T1                    ndr.DWORD
    T2                    ndr.DWORD
    PreferredLifetimeIATA ndr.DWORD
    ValidLifetimeIATA     ndr.DWORD
    FAuditLog             ndr.BOOL
}

type DHCP\_SERVER\_CONFIG\_INFO\_VQ

DHCP_SERVER_CONFIG_INFO_VQ ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SERVER_CONFIG_INFO_VQ struct {
    APIProtocolSupport      ndr.DWORD
    DatabaseName            *ndr.WSTR `ndr:"unique"`
    DatabasePath            *ndr.WSTR `ndr:"unique"`
    BackupPath              *ndr.WSTR `ndr:"unique"`
    BackupInterval          ndr.DWORD
    DatabaseLoggingFlag     ndr.DWORD
    RestoreFlag             ndr.DWORD
    DatabaseCleanupInterval ndr.DWORD
    DebugFlag               ndr.DWORD
    DwPingRetries           ndr.DWORD
    CbBootTableString       ndr.DWORD
    WszBootTableString      []uint16 `ndr:"unique,size_is=CbBootTableString"`
    FAuditLog               ndr.BOOL
    QuarantineOn            ndr.BOOL
    QuarDefFail             ndr.DWORD
    QuarRuntimeStatus       ndr.BOOL
}

type DHCP\_SERVER\_SPECIFIC\_STRINGS

DHCP_SERVER_SPECIFIC_STRINGS ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SERVER_SPECIFIC_STRINGS struct {
    DefaultVendorClassName *ndr.WSTR `ndr:"unique"`
    DefaultUserClassName   *ndr.WSTR `ndr:"unique"`
}

type DHCP\_SUBNET\_ELEMENT\_DATA

DHCP_SUBNET_ELEMENT_DATA ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_ELEMENT_DATA struct {
    ElementType DHCP_SUBNET_ELEMENT_TYPE
    Element     DHCP_SUBNET_ELEMENT_UNION
}

type DHCP\_SUBNET\_ELEMENT\_DATA\_V4

DHCP_SUBNET_ELEMENT_DATA_V4 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_ELEMENT_DATA_V4 struct {
    ElementType DHCP_SUBNET_ELEMENT_TYPE
    Element     DHCP_SUBNET_ELEMENT_UNION_V4
}

type DHCP\_SUBNET\_ELEMENT\_DATA\_V5

DHCP_SUBNET_ELEMENT_DATA_V5 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_ELEMENT_DATA_V5 struct {
    ElementType DHCP_SUBNET_ELEMENT_TYPE
    Element     DHCP_SUBNET_ELEMENT_UNION_V5
}

type DHCP\_SUBNET\_ELEMENT\_DATA\_V6

DHCP_SUBNET_ELEMENT_DATA_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_ELEMENT_DATA_V6 struct {
    ElementType DHCP_SUBNET_ELEMENT_TYPE_V6
    Element     DHCP_SUBNET_ELEMENT_UNION_V6
}

type DHCP\_SUBNET\_ELEMENT\_INFO\_ARRAY

DHCP_SUBNET_ELEMENT_INFO_ARRAY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_ELEMENT_INFO_ARRAY struct {
    NumElements ndr.DWORD
    Elements    []DHCP_SUBNET_ELEMENT_DATA `ndr:"unique,size_is=NumElements"`
}

type DHCP\_SUBNET\_ELEMENT\_INFO\_ARRAY\_V4

DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 struct {
    NumElements ndr.DWORD
    Elements    []DHCP_SUBNET_ELEMENT_DATA_V4 `ndr:"unique,size_is=NumElements"`
}

type DHCP\_SUBNET\_ELEMENT\_INFO\_ARRAY\_V5

DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 struct {
    NumElements ndr.DWORD
    Elements    []DHCP_SUBNET_ELEMENT_DATA_V5 `ndr:"unique,size_is=NumElements"`
}

type DHCP\_SUBNET\_ELEMENT\_INFO\_ARRAY\_V6

DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 struct {
    NumElements ndr.DWORD
    Elements    []DHCP_SUBNET_ELEMENT_DATA_V6 `ndr:"unique,size_is=NumElements"`
}

type DHCP\_SUBNET\_ELEMENT\_TYPE

DHCP_SUBNET_ELEMENT_TYPE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_SUBNET_ELEMENT_TYPE uint16
const (
    DhcpIpRanges          DHCP_SUBNET_ELEMENT_TYPE = 0
    DhcpSecondaryHosts    DHCP_SUBNET_ELEMENT_TYPE = 1
    DhcpReservedIps       DHCP_SUBNET_ELEMENT_TYPE = 2
    DhcpExcludedIpRanges  DHCP_SUBNET_ELEMENT_TYPE = 3
    DhcpIpUsedClusters    DHCP_SUBNET_ELEMENT_TYPE = 4
    DhcpIpRangesDhcpOnly  DHCP_SUBNET_ELEMENT_TYPE = 5
    DhcpIpRangesDhcpBootp DHCP_SUBNET_ELEMENT_TYPE = 6
    DhcpIpRangesBootpOnly DHCP_SUBNET_ELEMENT_TYPE = 7
)

type DHCP\_SUBNET\_ELEMENT\_TYPE\_V6

DHCP_SUBNET_ELEMENT_TYPE_V6 is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_SUBNET_ELEMENT_TYPE_V6 uint16
const (
    Dhcpv6IpRanges         DHCP_SUBNET_ELEMENT_TYPE_V6 = 0
    Dhcpv6ReservedIps      DHCP_SUBNET_ELEMENT_TYPE_V6 = 1
    Dhcpv6ExcludedIpRanges DHCP_SUBNET_ELEMENT_TYPE_V6 = 2
)

type DHCP\_SUBNET\_ELEMENT\_UNION

DHCP_SUBNET_ELEMENT_UNION is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_SUBNET_ELEMENT_UNION struct {
    Tag            DHCP_SUBNET_ELEMENT_TYPE `ndr:"switch"`
    IpRange        *DHCP_IP_RANGE           `ndr:"case=0,unique"`
    SecondaryHost  *DHCP_HOST_INFO          `ndr:"case=1,unique"`
    ReservedIp     *DHCP_IP_RESERVATION     `ndr:"case=2,unique"`
    ExcludeIpRange *DHCP_IP_RANGE           `ndr:"case=3,unique"`
    IpUsedCluster  *DHCP_IP_CLUSTER         `ndr:"case=4,unique"`
}

type DHCP\_SUBNET\_ELEMENT\_UNION\_V4

DHCP_SUBNET_ELEMENT_UNION_V4 is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_SUBNET_ELEMENT_UNION_V4 struct {
    Tag            DHCP_SUBNET_ELEMENT_TYPE `ndr:"switch"`
    IpRange        *DHCP_IP_RANGE           `ndr:"case=0,unique"`
    SecondaryHost  *DHCP_HOST_INFO          `ndr:"case=1,unique"`
    ReservedIp     *DHCP_IP_RESERVATION_V4  `ndr:"case=2,unique"`
    ExcludeIpRange *DHCP_IP_RANGE           `ndr:"case=3,unique"`
    IpUsedCluster  *DHCP_IP_CLUSTER         `ndr:"case=4,unique"`
}

type DHCP\_SUBNET\_ELEMENT\_UNION\_V5

DHCP_SUBNET_ELEMENT_UNION_V5 is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_SUBNET_ELEMENT_UNION_V5 struct {
    Tag            DHCP_SUBNET_ELEMENT_TYPE `ndr:"switch"`
    IpRange        *DHCP_BOOTP_IP_RANGE     `ndr:"case=0,unique"`
    SecondaryHost  *DHCP_HOST_INFO          `ndr:"case=1,unique"`
    ReservedIp     *DHCP_IP_RESERVATION_V4  `ndr:"case=2,unique"`
    ExcludeIpRange *DHCP_IP_RANGE           `ndr:"case=3,unique"`
    IpUsedCluster  *DHCP_IP_CLUSTER         `ndr:"case=4,unique"`
}

type DHCP\_SUBNET\_ELEMENT\_UNION\_V6

DHCP_SUBNET_ELEMENT_UNION_V6 is a discriminated union ([MS-DHCPM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DHCP_SUBNET_ELEMENT_UNION_V6 struct {
    Tag            DHCP_SUBNET_ELEMENT_TYPE_V6 `ndr:"switch"`
    IpRange        *DHCP_IP_RANGE_V6           `ndr:"case=0,unique"`
    ReservedIp     *DHCP_IP_RESERVATION_V6     `ndr:"case=1,unique"`
    ExcludeIpRange *DHCP_IP_RANGE_V6           `ndr:"case=2,unique"`
}

type DHCP\_SUBNET\_INFO

DHCP_SUBNET_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_INFO struct {
    SubnetAddress ndr.DWORD
    SubnetMask    ndr.DWORD
    SubnetName    *ndr.WSTR `ndr:"unique"`
    SubnetComment *ndr.WSTR `ndr:"unique"`
    PrimaryHost   DHCP_HOST_INFO
    SubnetState   DHCP_SUBNET_STATE
}

type DHCP\_SUBNET\_INFO\_V6

DHCP_SUBNET_INFO_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_INFO_V6 struct {
    SubnetAddress DHCP_IPV6_ADDRESS
    Prefix        ndr.DWORD
    Preference    uint16
    SubnetName    *ndr.WSTR `ndr:"unique"`
    SubnetComment *ndr.WSTR `ndr:"unique"`
    State         ndr.DWORD
    ScopeId       ndr.DWORD
}

type DHCP\_SUBNET\_INFO\_VQ

DHCP_SUBNET_INFO_VQ ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUBNET_INFO_VQ struct {
    SubnetAddress ndr.DWORD
    SubnetMask    ndr.DWORD
    SubnetName    *ndr.WSTR `ndr:"unique"`
    SubnetComment *ndr.WSTR `ndr:"unique"`
    PrimaryHost   DHCP_HOST_INFO
    SubnetState   DHCP_SUBNET_STATE
    QuarantineOn  ndr.DWORD
    Reserved1     ndr.DWORD
    Reserved2     ndr.DWORD
    Reserved3     INT64
    Reserved4     INT64
}

type DHCP\_SUBNET\_STATE

DHCP_SUBNET_STATE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type DHCP_SUBNET_STATE uint16
const (
    DhcpSubnetEnabled          DHCP_SUBNET_STATE = 0
    DhcpSubnetDisabled         DHCP_SUBNET_STATE = 1
    DhcpSubnetEnabledSwitched  DHCP_SUBNET_STATE = 2
    DhcpSubnetDisabledSwitched DHCP_SUBNET_STATE = 3
    DhcpSubnetInvalidState     DHCP_SUBNET_STATE = 4
)

type DHCP\_SUPER\_SCOPE\_TABLE

DHCP_SUPER_SCOPE_TABLE ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUPER_SCOPE_TABLE struct {
    CEntries ndr.DWORD
    PEntries []DHCP_SUPER_SCOPE_TABLE_ENTRY `ndr:"unique,size_is=CEntries"`
}

type DHCP\_SUPER\_SCOPE\_TABLE\_ENTRY

DHCP_SUPER_SCOPE_TABLE_ENTRY ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DHCP_SUPER_SCOPE_TABLE_ENTRY struct {
    SubnetAddress    ndr.DWORD
    SuperScopeNumber ndr.DWORD
    NextInSuperScope ndr.DWORD
    SuperScopeName   *ndr.WSTR `ndr:"unique"`
}

type DWORD\_DWORD

DWORD_DWORD ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type DWORD_DWORD struct {
    DWord1 ndr.DWORD
    DWord2 ndr.DWORD
}

type FSM\_STATE

FSM_STATE is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type FSM_STATE uint16
const (
    NO_STATE           FSM_STATE = 0x00000000
    INIT               FSM_STATE = 1
    STARTUP            FSM_STATE = 2
    NORMAL             FSM_STATE = 3
    COMMUNICATION_INT  FSM_STATE = 4
    PARTNER_DOWN       FSM_STATE = 5
    POTENTIAL_CONFLICT FSM_STATE = 6
    CONFLICT_DONE      FSM_STATE = 7
    RESOLUTION_INT     FSM_STATE = 8
    RECOVER            FSM_STATE = 9
    RECOVER_WAIT       FSM_STATE = 10
    RECOVER_DONE       FSM_STATE = 11
)

type INT64

INT64 is a 64-bit signed integer. The MS-DHCPM IDL uses the bare MIDL base type INT64 (e.g. the reserved fields of DHCP_SUBNET_INFO_VQ) without a typedef, so it is modeled here as a named 8-byte signed integer.

type INT64 int64

type MSCOPE\_MIB\_INFO

MSCOPE_MIB_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type MSCOPE_MIB_INFO struct {
    MScopeId          ndr.DWORD
    MScopeName        *ndr.WSTR `ndr:"unique"`
    NumAddressesInuse ndr.DWORD
    NumAddressesFree  ndr.DWORD
    NumPendingOffers  ndr.DWORD
}

type QuarantineStatus

QuarantineStatus is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DHCPM]).

type QuarantineStatus uint16
const (
    NOQUARANTINE       QuarantineStatus = 0
    RESTRICTEDACCESS   QuarantineStatus = 1
    DROPPACKET         QuarantineStatus = 2
    PROBATION          QuarantineStatus = 3
    EXEMPT             QuarantineStatus = 4
    DEFAULTQUARSETTING QuarantineStatus = 5
    NOQUARINFO         QuarantineStatus = 6
)

type SCOPE\_MIB\_INFO

SCOPE_MIB_INFO ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type SCOPE_MIB_INFO struct {
    Subnet            ndr.DWORD
    NumAddressesInuse ndr.DWORD
    NumAddressesFree  ndr.DWORD
    NumPendingOffers  ndr.DWORD
}

type SCOPE\_MIB\_INFO\_V5

SCOPE_MIB_INFO_V5 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type SCOPE_MIB_INFO_V5 struct {
    Subnet            ndr.DWORD
    NumAddressesInuse ndr.DWORD
    NumAddressesFree  ndr.DWORD
    NumPendingOffers  ndr.DWORD
}

type SCOPE\_MIB\_INFO\_V6

SCOPE_MIB_INFO_V6 ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type SCOPE_MIB_INFO_V6 struct {
    Subnet               DHCP_IPV6_ADDRESS
    NumAddressesInuse    uint64
    NumAddressesFree     uint64
    NumPendingAdvertises uint64
}

type SCOPE\_MIB\_INFO\_VQ

SCOPE_MIB_INFO_VQ ([MS-DHCPM]). Generated by tools/idlgen; verify pointer/array tags.

type SCOPE_MIB_INFO_VQ struct {
    Subnet             ndr.DWORD
    NumAddressesInuse  ndr.DWORD
    NumAddressesFree   ndr.DWORD
    NumPendingOffers   ndr.DWORD
    QtnNumLeases       ndr.DWORD
    QtnPctQtnLeases    ndr.DWORD
    QtnProbationLeases ndr.DWORD
    QtnNonQtnLeases    ndr.DWORD
    QtnExemptLeases    ndr.DWORD
    QtnCapableClients  ndr.DWORD
}