Documentation ¶
Index ¶
- Variables
- func Dhcpsrv2ServerHandle(ctx context.Context, o Dhcpsrv2Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewDhcpsrv2ServerHandle(o Dhcpsrv2Server) dcerpc.ServerHandle
- func RegisterDhcpsrv2Server(conn dcerpc.Conn, o Dhcpsrv2Server, opts ...dcerpc.Option)
- type AddFilterV4Request
- type AddFilterV4Response
- type AddMScopeElementRequest
- type AddMScopeElementResponse
- type AddPolicyRangeV4Request
- type AddPolicyRangeV4Response
- type AddSubnetElementV5Request
- type AddSubnetElementV5Response
- type AddSubnetElementV6Request
- type AddSubnetElementV6Response
- type AuditLogGetParamsRequest
- type AuditLogGetParamsResponse
- type AuditLogSetParamsRequest
- type AuditLogSetParamsResponse
- type BackupDatabaseRequest
- type BackupDatabaseResponse
- type CreateClassRequest
- type CreateClassResponse
- type CreateClassV6Request
- type CreateClassV6Response
- type CreateClientInfoExV4Request
- type CreateClientInfoExV4Response
- type CreateClientInfoV4Request
- type CreateClientInfoV4Response
- type CreateClientInfoV6Request
- type CreateClientInfoV6Response
- type CreateMClientInfoRequest
- type CreateMClientInfoResponse
- type CreateOptionV5Request
- type CreateOptionV5Response
- type CreateOptionV6Request
- type CreateOptionV6Response
- type CreatePolicyExV4Request
- type CreatePolicyExV4Response
- type CreatePolicyV4Request
- type CreatePolicyV4Response
- type CreateSubnetV6Request
- type CreateSubnetV6Response
- type DeleteClassRequest
- type DeleteClassResponse
- type DeleteClassV6Request
- type DeleteClassV6Response
- type DeleteClientInfoV6Request
- type DeleteClientInfoV6Response
- type DeleteFilterV4Request
- type DeleteFilterV4Response
- type DeleteMClientInfoRequest
- type DeleteMClientInfoResponse
- type DeleteMScopeRequest
- type DeleteMScopeResponse
- type DeletePolicyV4Request
- type DeletePolicyV4Response
- type DeleteSubnetV6Request
- type DeleteSubnetV6Response
- type Dhcpsrv2Client
- type Dhcpsrv2Server
- type EnumClassesRequest
- type EnumClassesResponse
- type EnumClassesV6Request
- type EnumClassesV6Response
- type EnumFilterV4Request
- type EnumFilterV4Response
- type EnumMScopeClientsRequest
- type EnumMScopeClientsResponse
- type EnumMScopeElementsRequest
- type EnumMScopeElementsResponse
- type EnumMScopesRequest
- type EnumMScopesResponse
- type EnumOptionValuesV5Request
- type EnumOptionValuesV5Response
- type EnumOptionValuesV6Request
- type EnumOptionValuesV6Response
- type EnumOptionsV5Request
- type EnumOptionsV5Response
- type EnumOptionsV6Request
- type EnumOptionsV6Response
- type EnumPoliciesExV4Request
- type EnumPoliciesExV4Response
- type EnumPoliciesV4Request
- type EnumPoliciesV4Response
- type EnumSubnetClientsExV4Request
- type EnumSubnetClientsExV4Response
- type EnumSubnetClientsFilterStatusInfoRequest
- type EnumSubnetClientsFilterStatusInfoResponse
- type EnumSubnetClientsV4Request
- type EnumSubnetClientsV4Response
- type EnumSubnetClientsV5Request
- type EnumSubnetClientsV5Response
- type EnumSubnetClientsV6Request
- type EnumSubnetClientsV6Response
- type EnumSubnetElementsV5Request
- type EnumSubnetElementsV5Response
- type EnumSubnetElementsV6Request
- type EnumSubnetElementsV6Response
- type EnumSubnetReservationsV4Request
- type EnumSubnetReservationsV4Response
- type EnumSubnetsV6Request
- type EnumSubnetsV6Response
- type FailoverAddScopeToRelationshipV4Request
- type FailoverAddScopeToRelationshipV4Response
- type FailoverCreateRelationshipV4Request
- type FailoverCreateRelationshipV4Response
- type FailoverDeleteRelationshipV4Request
- type FailoverDeleteRelationshipV4Response
- type FailoverDeleteScopeFromRelationshipV4Request
- type FailoverDeleteScopeFromRelationshipV4Response
- type FailoverEnumRelationshipV4Request
- type FailoverEnumRelationshipV4Response
- type FailoverGetAddressStatusV4Request
- type FailoverGetAddressStatusV4Response
- type FailoverGetClientInfoV4Request
- type FailoverGetClientInfoV4Response
- type FailoverGetRelationshipV4Request
- type FailoverGetRelationshipV4Response
- type FailoverGetScopeRelationshipV4Request
- type FailoverGetScopeRelationshipV4Response
- type FailoverGetScopeStatisticsV4Request
- type FailoverGetScopeStatisticsV4Response
- type FailoverGetSystemTimeV4Request
- type FailoverGetSystemTimeV4Response
- type FailoverSetRelationshipV4Request
- type FailoverSetRelationshipV4Response
- type FailoverTriggerAddrAllocationV4Request
- type FailoverTriggerAddrAllocationV4Response
- type GetAllOptionValuesRequest
- type GetAllOptionValuesResponse
- type GetAllOptionValuesV4Request
- type GetAllOptionValuesV4Response
- type GetAllOptionValuesV6Request
- type GetAllOptionValuesV6Response
- type GetAllOptionsRequest
- type GetAllOptionsResponse
- type GetAllOptionsV6Request
- type GetAllOptionsV6Response
- type GetClassInfoRequest
- type GetClassInfoResponse
- type GetClientInfoExV4Request
- type GetClientInfoExV4Response
- type GetClientInfoV4Request
- type GetClientInfoV4Response
- type GetClientInfoV6Request
- type GetClientInfoV6Response
- type GetFilterV4Request
- type GetFilterV4Response
- type GetFreeIPAddressV4Request
- type GetFreeIPAddressV4Response
- type GetFreeIPAddressV6Request
- type GetFreeIPAddressV6Response
- type GetMCastMIBInfoRequest
- type GetMCastMIBInfoResponse
- type GetMClientInfoRequest
- type GetMClientInfoResponse
- type GetMIBInfoV5Request
- type GetMIBInfoV5Response
- type GetMIBInfoV6Request
- type GetMIBInfoV6Response
- type GetMScopeInfoRequest
- type GetMScopeInfoResponse
- type GetOptionInfoV5Request
- type GetOptionInfoV5Response
- type GetOptionInfoV6Request
- type GetOptionInfoV6Response
- type GetOptionValueV4Request
- type GetOptionValueV4Response
- type GetOptionValueV5Request
- type GetOptionValueV5Response
- type GetOptionValueV6Request
- type GetOptionValueV6Response
- type GetPolicyExV4Request
- type GetPolicyExV4Response
- type GetPolicyV4Request
- type GetPolicyV4Response
- type GetServerBindingInfoRequest
- type GetServerBindingInfoResponse
- type GetServerBindingInfoV6Request
- type GetServerBindingInfoV6Response
- type GetServerSpecificStringsRequest
- type GetServerSpecificStringsResponse
- type GetStatelessStatisticsV6Request
- type GetStatelessStatisticsV6Response
- type GetStatelessStoreParamsV6Request
- type GetStatelessStoreParamsV6Response
- type GetSubnetDelayOfferRequest
- type GetSubnetDelayOfferResponse
- type GetSubnetInfoV6Request
- type GetSubnetInfoV6Response
- type ModifyClassRequest
- type ModifyClassResponse
- type ModifyClassV6Request
- type ModifyClassV6Response
- type QueryDNSRegCredentialsRequest
- type QueryDNSRegCredentialsResponse
- type QueryPolicyEnforcementV4Request
- type QueryPolicyEnforcementV4Response
- type RemoveMScopeElementRequest
- type RemoveMScopeElementResponse
- type RemoveOptionV5Request
- type RemoveOptionV5Response
- type RemoveOptionV6Request
- type RemoveOptionV6Response
- type RemoveOptionValueV4Request
- type RemoveOptionValueV4Response
- type RemoveOptionValueV5Request
- type RemoveOptionValueV5Response
- type RemoveOptionValueV6Request
- type RemoveOptionValueV6Response
- type RemovePolicyRangeV4Request
- type RemovePolicyRangeV4Response
- type RemoveSubnetElementV5Request
- type RemoveSubnetElementV5Response
- type RemoveSubnetElementV6Request
- type RemoveSubnetElementV6Response
- type RestoreDatabaseRequest
- type RestoreDatabaseResponse
- type ScanMDatabaseRequest
- type ScanMDatabaseResponse
- type ServerGetConfigV6Request
- type ServerGetConfigV6Response
- type ServerQueryAttributeRequest
- type ServerQueryAttributeResponse
- type ServerQueryAttributesRequest
- type ServerQueryAttributesResponse
- type ServerRedoAuthorizationRequest
- type ServerRedoAuthorizationResponse
- type ServerSetConfigV6Request
- type ServerSetConfigV6Response
- type SetClientInfoV6Request
- type SetClientInfoV6Response
- type SetDNSRegCredentialsRequest
- type SetDNSRegCredentialsResponse
- type SetDNSRegCredentialsV5Request
- type SetDNSRegCredentialsV5Response
- type SetFilterV4Request
- type SetFilterV4Response
- type SetMClientInfoRequest
- type SetMClientInfoResponse
- type SetMScopeInfoRequest
- type SetMScopeInfoResponse
- type SetOptionInfoV5Request
- type SetOptionInfoV5Response
- type SetOptionInfoV6Request
- type SetOptionInfoV6Response
- type SetOptionValueV4Request
- type SetOptionValueV4Response
- type SetOptionValueV5Request
- type SetOptionValueV5Response
- type SetOptionValueV6Request
- type SetOptionValueV6Response
- type SetOptionValuesV4Request
- type SetOptionValuesV4Response
- type SetOptionValuesV5Request
- type SetOptionValuesV5Response
- type SetPolicyEnforcementV4Request
- type SetPolicyEnforcementV4Response
- type SetPolicyExV4Request
- type SetPolicyExV4Response
- type SetPolicyV4Request
- type SetPolicyV4Response
- type SetServerBindingInfoRequest
- type SetServerBindingInfoResponse
- type SetServerBindingInfoV6Request
- type SetServerBindingInfoV6Response
- type SetStatelessStoreParamsV6Request
- type SetStatelessStoreParamsV6Response
- type SetSubnetDelayOfferRequest
- type SetSubnetDelayOfferResponse
- type SetSubnetInfoV6Request
- type SetSubnetInfoV6Response
Constants ¶
This section is empty.
Variables ¶
var ( // Syntax UUID Dhcpsrv2SyntaxUUID = &uuid.UUID{TimeLow: 0x5b821720, TimeMid: 0xf63b, TimeHiAndVersion: 0x11d0, ClockSeqHiAndReserved: 0xaa, ClockSeqLow: 0xd2, Node: [6]uint8{0x0, 0xc0, 0x4f, 0xc3, 0x24, 0xdb}} // Syntax ID Dhcpsrv2SyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: Dhcpsrv2SyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dhcpm"
)
Functions ¶
func Dhcpsrv2ServerHandle ¶
func NewDhcpsrv2ServerHandle ¶
func NewDhcpsrv2ServerHandle(o Dhcpsrv2Server) dcerpc.ServerHandle
func RegisterDhcpsrv2Server ¶
func RegisterDhcpsrv2Server(conn dcerpc.Conn, o Dhcpsrv2Server, opts ...dcerpc.Option)
Types ¶
type AddFilterV4Request ¶
type AddFilterV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // AddFilterInfo: This is a pointer to a DHCP_FILTER_ADD_INFO (section 2.2.1.2.90) that // contains link-layer address/pattern , hardware type information, or both to be added // to the database. AddFilterInfo *dhcpm.FilterAddInfo `idl:"name:AddFilterInfo" json:"add_filter_info"` // ForceFlag: This is of type BOOL that defines the behavior of this method. If the // flag is set to TRUE and the filter exists, then it will be overwritten, else if the // flag is FALSE and the filter already exists, then it will remain the same and will // return error ERROR_DHCP_LINKLAYER_ADDDRESS_EXISTS. ForceFlag bool `idl:"name:ForceFlag" json:"force_flag"` }
AddFilterV4Request structure represents the R_DhcpAddFilterV4 operation request
func (*AddFilterV4Request) MarshalNDR ¶
func (*AddFilterV4Request) UnmarshalNDR ¶
type AddFilterV4Response ¶
type AddFilterV4Response struct { // Return: The R_DhcpAddFilterV4 return value. Return uint32 `idl:"name:Return" json:"return"` }
AddFilterV4Response structure represents the R_DhcpAddFilterV4 operation response
func (*AddFilterV4Response) MarshalNDR ¶
func (*AddFilterV4Response) UnmarshalNDR ¶
type AddMScopeElementRequest ¶
type AddMScopeElementRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the IPv4 // multicast subnet in which the element is added. There is no restriction on the length // of this parameter. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` // AddElementInfo: This is a pointer to a DHCP_SUBNET_ELEMENT_DATA_V4 (section 2.2.1.2.35) // structure that contains the IPv4 multicast subnet element that needs to be added // to the IPv4 multicast subnet. AddElementInfo *dhcpm.SubnetElementDataV4 `idl:"name:AddElementInfo;pointer:ref" json:"add_element_info"` }
AddMScopeElementRequest structure represents the R_DhcpAddMScopeElement operation request
func (*AddMScopeElementRequest) MarshalNDR ¶
func (*AddMScopeElementRequest) UnmarshalNDR ¶
type AddMScopeElementResponse ¶
type AddMScopeElementResponse struct { // Return: The R_DhcpAddMScopeElement return value. Return uint32 `idl:"name:Return" json:"return"` }
AddMScopeElementResponse structure represents the R_DhcpAddMScopeElement operation response
func (*AddMScopeElementResponse) MarshalNDR ¶
func (*AddMScopeElementResponse) UnmarshalNDR ¶
type AddPolicyRangeV4Request ¶
type AddPolicyRangeV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS structure (section 2.2.1.2.1) that // contains the IPv4 subnet ID for which the policy is being set. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy inside the subnet identified by the SubnetAddress parameter for which // the IP address range is being set. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` // Range: This is a pointer to a type DHCP_IP_RANGE structure (section 2.2.1.2.31) that // specifies the IP address range to be added to the policy. Range *dhcpm.IPRange `idl:"name:Range" json:"range"` }
AddPolicyRangeV4Request structure represents the R_DhcpV4AddPolicyRange operation request
func (*AddPolicyRangeV4Request) MarshalNDR ¶
func (*AddPolicyRangeV4Request) UnmarshalNDR ¶
type AddPolicyRangeV4Response ¶
type AddPolicyRangeV4Response struct { // Return: The R_DhcpV4AddPolicyRange return value. Return uint32 `idl:"name:Return" json:"return"` }
AddPolicyRangeV4Response structure represents the R_DhcpV4AddPolicyRange operation response
func (*AddPolicyRangeV4Response) MarshalNDR ¶
func (*AddPolicyRangeV4Response) UnmarshalNDR ¶
type AddSubnetElementV5Request ¶
type AddSubnetElementV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains // the IPv4 subnet ID to which the IPv4 subnet element is added. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // AddElementInfo: This is a pointer to structure DHCP_SUBNET_ELEMENT_DATA_V5 (section // 2.2.1.2.38) that contains the IPv4 subnet element which needs to be added to the // IPv4 subnet. // // For this call with ElementType of DhcpSecondaryHosts (section 2.2.1.1.7), ERROR_CALL_NOT_IMPLEMENTED // is returned. // // For this call with ElementType of DhcpIpUsedClusters, ERROR_INVALID_PARAMETER is // returned. AddElementInfo *dhcpm.SubnetElementDataV5 `idl:"name:AddElementInfo;pointer:ref" json:"add_element_info"` }
AddSubnetElementV5Request structure represents the R_DhcpAddSubnetElementV5 operation request
func (*AddSubnetElementV5Request) MarshalNDR ¶
func (*AddSubnetElementV5Request) UnmarshalNDR ¶
type AddSubnetElementV5Response ¶
type AddSubnetElementV5Response struct { // Return: The R_DhcpAddSubnetElementV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
AddSubnetElementV5Response structure represents the R_DhcpAddSubnetElementV5 operation response
func (*AddSubnetElementV5Response) MarshalNDR ¶
func (*AddSubnetElementV5Response) UnmarshalNDR ¶
type AddSubnetElementV6Request ¶
type AddSubnetElementV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28) that contains // the IPv6 address of the subnet for which the IPv6 prefix element is added. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` // AddElementInfo: This is a pointer to structure DHCP_SUBNET_ELEMENT_DATA_V6 (section // 2.2.1.2.60) that contains the IPv6 prefix element that needs to be added to the IPv6 // prefix. AddElementInfo *dhcpm.SubnetElementDataV6 `idl:"name:AddElementInfo;pointer:ref" json:"add_element_info"` }
AddSubnetElementV6Request structure represents the R_DhcpAddSubnetElementV6 operation request
func (*AddSubnetElementV6Request) MarshalNDR ¶
func (*AddSubnetElementV6Request) UnmarshalNDR ¶
type AddSubnetElementV6Response ¶
type AddSubnetElementV6Response struct { // Return: The R_DhcpAddSubnetElementV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
AddSubnetElementV6Response structure represents the R_DhcpAddSubnetElementV6 operation response
func (*AddSubnetElementV6Response) MarshalNDR ¶
func (*AddSubnetElementV6Response) UnmarshalNDR ¶
type AuditLogGetParamsRequest ¶
type AuditLogGetParamsRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This flag is not used and MUST be set to 0. Flags uint32 `idl:"name:Flags" json:"flags"` }
AuditLogGetParamsRequest structure represents the R_DhcpAuditLogGetParams operation request
func (*AuditLogGetParamsRequest) MarshalNDR ¶
func (*AuditLogGetParamsRequest) UnmarshalNDR ¶
type AuditLogGetParamsResponse ¶
type AuditLogGetParamsResponse struct { // AuditLogDir: A pointer to a null-terminated Unicode string in which the path where // the audit logs are placed is returned. AuditLogDir string `idl:"name:AuditLogDir" json:"audit_log_dir"` // DiskCheckInterval: This is of type DWORD and will contain the number of times the // DHCP server writes audit log events to the log file before checking for available // disk space on the DHCP server. The caller must allocate memory for this parameter // equal to the size of data type DWORD. DiskCheckInterval uint32 `idl:"name:DiskCheckInterval" json:"disk_check_interval"` // MaxLogFilesSize: This is of type DWORD and will contain the maximum size restriction // (in megabytes) for the total amount of disk space available for all audit log files // created and stored by the DHCP server. The caller must allocate memory for this parameter // equal to the size of data type DWORD. MaxLogFilesSize uint32 `idl:"name:MaxLogFilesSize" json:"max_log_files_size"` // MinSpaceOnDisk: This is of type DWORD and will contain the minimum size requirement // (in megabytes) for server disk space that is used during disk checking to determine // if sufficient space exists for the server to continue audit logging. The caller must // allocate memory for this parameter equal to the size of data type DWORD. MinSpaceOnDisk uint32 `idl:"name:MinSpaceOnDisk" json:"min_space_on_disk"` // Return: The R_DhcpAuditLogGetParams return value. Return uint32 `idl:"name:Return" json:"return"` }
AuditLogGetParamsResponse structure represents the R_DhcpAuditLogGetParams operation response
func (*AuditLogGetParamsResponse) MarshalNDR ¶
func (*AuditLogGetParamsResponse) UnmarshalNDR ¶
type AuditLogSetParamsRequest ¶
type AuditLogSetParamsRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This flag is not used and MUST be set to 0. Flags uint32 `idl:"name:Flags" json:"flags"` // AuditLogDir: A pointer to a null-terminated Unicode string that contains the path // where the audit logs are placed. AuditLogDir string `idl:"name:AuditLogDir;string" json:"audit_log_dir"` // DiskCheckInterval: This is of type DWORD and contains an interval for disk checking // that is used to determine how many times the DHCP server writes audit log events // to the log file before checking for available disk space on the DHCP server. DiskCheckInterval uint32 `idl:"name:DiskCheckInterval" json:"disk_check_interval"` // MaxLogFilesSize: This is of type DWORD and contains the maximum size restriction // (in megabytes) for the total amount of disk space available for all the audit log // files created and stored by the DHCP server. MaxLogFilesSize uint32 `idl:"name:MaxLogFilesSize" json:"max_log_files_size"` // MinSpaceOnDisk: This is of type DWORD and contains the minimum size requirement (in // megabytes) for server disk space that is used during disk checking to determine whether // sufficient space exists for the server to continue audit logging. MinSpaceOnDisk uint32 `idl:"name:MinSpaceOnDisk" json:"min_space_on_disk"` }
AuditLogSetParamsRequest structure represents the R_DhcpAuditLogSetParams operation request
func (*AuditLogSetParamsRequest) MarshalNDR ¶
func (*AuditLogSetParamsRequest) UnmarshalNDR ¶
type AuditLogSetParamsResponse ¶
type AuditLogSetParamsResponse struct { // Return: The R_DhcpAuditLogSetParams return value. Return uint32 `idl:"name:Return" json:"return"` }
AuditLogSetParamsResponse structure represents the R_DhcpAuditLogSetParams operation response
func (*AuditLogSetParamsResponse) MarshalNDR ¶
func (*AuditLogSetParamsResponse) UnmarshalNDR ¶
type BackupDatabaseRequest ¶
type BackupDatabaseRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Path: A pointer to a null-terminated Unicode string that contains the path name where // the backup for the configurations, settings, and DHCP client lease record is taken. Path string `idl:"name:Path;string" json:"path"` }
BackupDatabaseRequest structure represents the R_DhcpBackupDatabase operation request
func (*BackupDatabaseRequest) MarshalNDR ¶
func (*BackupDatabaseRequest) UnmarshalNDR ¶
type BackupDatabaseResponse ¶
type BackupDatabaseResponse struct { // Return: The R_DhcpBackupDatabase return value. Return uint32 `idl:"name:Return" json:"return"` }
BackupDatabaseResponse structure represents the R_DhcpBackupDatabase operation response
func (*BackupDatabaseResponse) MarshalNDR ¶
func (*BackupDatabaseResponse) UnmarshalNDR ¶
type CreateClassRequest ¶
type CreateClassRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClassInfo: This is of type DHCP_CLASS_INFO (section 2.2.1.2.75) structure, containing // the information about the class. ClassInfo *dhcpm.ClassInfo `idl:"name:ClassInfo" json:"class_info"` }
CreateClassRequest structure represents the R_DhcpCreateClass operation request
func (*CreateClassRequest) MarshalNDR ¶
func (*CreateClassRequest) UnmarshalNDR ¶
type CreateClassResponse ¶
type CreateClassResponse struct { // Return: The R_DhcpCreateClass return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateClassResponse structure represents the R_DhcpCreateClass operation response
func (*CreateClassResponse) MarshalNDR ¶
func (*CreateClassResponse) UnmarshalNDR ¶
type CreateClassV6Request ¶
type CreateClassV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClassInfo: This is of type DHCP_CLASS_INFO_V6 (section 2.2.1.2.70), containing information // regarding a class. ClassInfo *dhcpm.ClassInfoV6 `idl:"name:ClassInfo" json:"class_info"` }
CreateClassV6Request structure represents the R_DhcpCreateClassV6 operation request
func (*CreateClassV6Request) MarshalNDR ¶
func (*CreateClassV6Request) UnmarshalNDR ¶
type CreateClassV6Response ¶
type CreateClassV6Response struct { // Return: The R_DhcpCreateClassV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateClassV6Response structure represents the R_DhcpCreateClassV6 operation response
func (*CreateClassV6Response) MarshalNDR ¶
func (*CreateClassV6Response) UnmarshalNDR ¶
type CreateClientInfoExV4Request ¶
type CreateClientInfoExV4Request struct { // ServerIpAddress: As specified in R_DhcpV4CreateClientInfo (Opnum 122). ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClientInfo: A pointer to a DHCP_CLIENT_INFO_EX structure that contains the DHCPv4 // client lease record information to be set on the DHCPv4 server. The caller MUST pass // the ClientIPAddress and ClientHardwareAddress members when adding a DHCPv4 client // lease record to the DHCPv4 server. The ClientHardwareAddress member represents a // DHCPv4 client-identifier as specified in section 2.2.1.2.5.1. The ClientName, ClientComment, // ClientLeaseExpires, bClientType, AddressState, Status, ProbationEnds, QuarantineCapable, // PolicyName, and OwnerHost members are modified on the DHCPv4 client lease record // identified by the ClientIpAddress member. <89> // // The DHCP_PROPERTY elements that are supported are as follows: // // The opnum field value for this method is 131. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4CreateClientInfo // method. ClientInfo *dhcpm.ClientInfoEx `idl:"name:ClientInfo;pointer:ref" json:"client_info"` }
CreateClientInfoExV4Request structure represents the R_DhcpV4CreateClientInfoEx operation request
func (*CreateClientInfoExV4Request) MarshalNDR ¶
func (*CreateClientInfoExV4Request) UnmarshalNDR ¶
type CreateClientInfoExV4Response ¶
type CreateClientInfoExV4Response struct { // Return: The R_DhcpV4CreateClientInfoEx return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateClientInfoExV4Response structure represents the R_DhcpV4CreateClientInfoEx operation response
func (*CreateClientInfoExV4Response) MarshalNDR ¶
func (*CreateClientInfoExV4Response) UnmarshalNDR ¶
type CreateClientInfoV4Request ¶
type CreateClientInfoV4Request struct { // ServerIpAddress: The IP address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClientInfo: A pointer to a DHCP_CLIENT_INFO_PB (section 2.2.1.2.115) structure that // contains the DHCPv4 client lease record information to be set on the DHCPv4 server. // The caller MUST pass the ClientIPAddress and ClientHardwareAddress members when adding // a DHCPv4 client lease record to the DHCPv4 server. The ClientHardwareAddress member // represents a DHCPv4 client-identifier as specified in section 2.2.1.2.5.1. The ClientName, // ClientComment, ClientLeaseExpires, bClientType, AddressState, Status, ProbationEnds, // QuarantineCapable, PolicyName, and OwnerHost members are modified on the DHCPv4 client // lease record identified by the ClientIpAddress member. ClientInfo *dhcpm.ClientInfoPB `idl:"name:ClientInfo;pointer:ref" json:"client_info"` }
CreateClientInfoV4Request structure represents the R_DhcpV4CreateClientInfo operation request
func (*CreateClientInfoV4Request) MarshalNDR ¶
func (*CreateClientInfoV4Request) UnmarshalNDR ¶
type CreateClientInfoV4Response ¶
type CreateClientInfoV4Response struct { // Return: The R_DhcpV4CreateClientInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateClientInfoV4Response structure represents the R_DhcpV4CreateClientInfo operation response
func (*CreateClientInfoV4Response) MarshalNDR ¶
func (*CreateClientInfoV4Response) UnmarshalNDR ¶
type CreateClientInfoV6Request ¶
type CreateClientInfoV6Request struct { // ServerIpAddress: The IP address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClientInfo: A pointer to a DHCP_CLIENT_INFO_V6 (section 2.2.1.2.64) structure that // contains the DHCPv6 client lease record information to be set on the DHCPv6 server. // The caller MUST pass the ClientIPAddress, ClientDUID, and IAID members when adding // a DHCPv6 client lease record to the DHCPv6 server. The ClientDUID member represents // a DHCPv6 Client-Identifier as specified in section 2.2.1.2.5.3. The ClientName, ClientComment, // ClientLeaseValidLeaseExpires, and OwnerHost members can optionally be passed by the // caller and will be set on the DHCPv6 client lease record. ClientInfo *dhcpm.ClientInfoV6 `idl:"name:ClientInfo;pointer:ref" json:"client_info"` }
CreateClientInfoV6Request structure represents the R_DhcpV6CreateClientInfo operation request
func (*CreateClientInfoV6Request) MarshalNDR ¶
func (*CreateClientInfoV6Request) UnmarshalNDR ¶
type CreateClientInfoV6Response ¶
type CreateClientInfoV6Response struct { // Return: The R_DhcpV6CreateClientInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateClientInfoV6Response structure represents the R_DhcpV6CreateClientInfo operation response
func (*CreateClientInfoV6Response) MarshalNDR ¶
func (*CreateClientInfoV6Response) UnmarshalNDR ¶
type CreateMClientInfoRequest ¶
type CreateMClientInfoRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the multicast // subnet MADCAP client that needs to be created. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` // ClientInfo: This is a pointer of type LPDHCP_MCLIENT_INFO (section 2.2.1.2.21), containing // the complete information of the MADCAP client. ClientInfo *dhcpm.MADCAPClientInfo `idl:"name:ClientInfo;pointer:ref" json:"client_info"` }
CreateMClientInfoRequest structure represents the R_DhcpCreateMClientInfo operation request
func (*CreateMClientInfoRequest) MarshalNDR ¶
func (*CreateMClientInfoRequest) UnmarshalNDR ¶
type CreateMClientInfoResponse ¶
type CreateMClientInfoResponse struct { // Return: The R_DhcpCreateMClientInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateMClientInfoResponse structure represents the R_DhcpCreateMClientInfo operation response
func (*CreateMClientInfoResponse) MarshalNDR ¶
func (*CreateMClientInfoResponse) UnmarshalNDR ¶
type CreateOptionV5Request ¶
type CreateOptionV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option definition is created // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is created for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is created for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionId: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option being created. OptionID uint32 `idl:"name:OptionId" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option definition is created. This parameter is optional. // If the ClassName parameter is not specified, the option definition is created for // the default user class. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option definition is created. This parameter is // optional, and if the vendor class name is not specified, the option definition is // created for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // OptionInfo: This is a pointer to a DHCP_OPTION (section 2.2.1.2.25) structure that // contains the information about the option definition. OptionInfo *dhcpm.Option `idl:"name:OptionInfo" json:"option_info"` }
CreateOptionV5Request structure represents the R_DhcpCreateOptionV5 operation request
func (*CreateOptionV5Request) MarshalNDR ¶
func (*CreateOptionV5Request) UnmarshalNDR ¶
type CreateOptionV5Response ¶
type CreateOptionV5Response struct { // Return: The R_DhcpCreateOptionV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateOptionV5Response structure represents the R_DhcpCreateOptionV5 operation response
func (*CreateOptionV5Response) MarshalNDR ¶
func (*CreateOptionV5Response) UnmarshalNDR ¶
type CreateOptionV6Request ¶
type CreateOptionV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD, specifying that the option definition is created for // a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is created for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is created for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionId: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option being created. OptionID uint32 `idl:"name:OptionId" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option definition is created. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option definition is created. This parameter is // optional. If vendor class name is not specified, then the option definition is created // for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // OptionInfo: This is a pointer to a DHCP_OPTION (section 2.2.1.2.25) structure that // contains the information about the option definition. OptionInfo *dhcpm.Option `idl:"name:OptionInfo" json:"option_info"` }
CreateOptionV6Request structure represents the R_DhcpCreateOptionV6 operation request
func (*CreateOptionV6Request) MarshalNDR ¶
func (*CreateOptionV6Request) UnmarshalNDR ¶
type CreateOptionV6Response ¶
type CreateOptionV6Response struct { // Return: The R_DhcpCreateOptionV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateOptionV6Response structure represents the R_DhcpCreateOptionV6 operation response
func (*CreateOptionV6Response) MarshalNDR ¶
func (*CreateOptionV6Response) UnmarshalNDR ¶
type CreatePolicyExV4Request ¶
type CreatePolicyExV4Request struct { // ServerIpAddress: As specified in R_DhcpV4CreatePolicy (Opnum 108). ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // pPolicy: A DHCP_POLICY_EX (section 2.2.1.2.121) structure that specifies a list of // DHCP_PROPERTY (section 2.2.1.2.117) elements that can be associated with the given // policy when creating the policy. Policy *dhcpm.PolicyEx `idl:"name:pPolicy" json:"policy"` }
CreatePolicyExV4Request structure represents the R_DhcpV4CreatePolicyEx operation request
func (*CreatePolicyExV4Request) MarshalNDR ¶
func (*CreatePolicyExV4Request) UnmarshalNDR ¶
type CreatePolicyExV4Response ¶
type CreatePolicyExV4Response struct { // Return: The R_DhcpV4CreatePolicyEx return value. Return uint32 `idl:"name:Return" json:"return"` }
CreatePolicyExV4Response structure represents the R_DhcpV4CreatePolicyEx operation response
func (*CreatePolicyExV4Response) MarshalNDR ¶
func (*CreatePolicyExV4Response) UnmarshalNDR ¶
type CreatePolicyV4Request ¶
type CreatePolicyV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // pPolicy: This is a pointer to a type DHCP_POLICY (section 2.2.1.2.110) and contains // the members of the policy to be created. Policy *dhcpm.Policy `idl:"name:pPolicy" json:"policy"` }
CreatePolicyV4Request structure represents the R_DhcpV4CreatePolicy operation request
func (*CreatePolicyV4Request) MarshalNDR ¶
func (*CreatePolicyV4Request) UnmarshalNDR ¶
type CreatePolicyV4Response ¶
type CreatePolicyV4Response struct { // Return: The R_DhcpV4CreatePolicy return value. Return uint32 `idl:"name:Return" json:"return"` }
CreatePolicyV4Response structure represents the R_DhcpV4CreatePolicy operation response
func (*CreatePolicyV4Response) MarshalNDR ¶
func (*CreatePolicyV4Response) UnmarshalNDR ¶
type CreateSubnetV6Request ¶
type CreateSubnetV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: A pointer of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28) that contains // the IPv6 address of the subnet. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` // SubnetInfo: A pointer to a structure of type DHCP_SUBNET_INFO_V6 (section 2.2.1.2.56) // that contains information about the IPv6 prefix to be added to the DHCPv6 server. // The Prefix field is not stored in the database; any value specified for this field // does not alter the behavior of this method. SubnetInfo *dhcpm.SubnetInfoV6 `idl:"name:SubnetInfo;pointer:ref" json:"subnet_info"` }
CreateSubnetV6Request structure represents the R_DhcpCreateSubnetV6 operation request
func (*CreateSubnetV6Request) MarshalNDR ¶
func (*CreateSubnetV6Request) UnmarshalNDR ¶
type CreateSubnetV6Response ¶
type CreateSubnetV6Response struct { // Return: The R_DhcpCreateSubnetV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
CreateSubnetV6Response structure represents the R_DhcpCreateSubnetV6 operation response
func (*CreateSubnetV6Response) MarshalNDR ¶
func (*CreateSubnetV6Response) UnmarshalNDR ¶
type DeleteClassRequest ¶
type DeleteClassRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClassName: This is a pointer to WCHAR that contains the name of the class that needs // to be deleted. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` }
DeleteClassRequest structure represents the R_DhcpDeleteClass operation request
func (*DeleteClassRequest) MarshalNDR ¶
func (*DeleteClassRequest) UnmarshalNDR ¶
type DeleteClassResponse ¶
type DeleteClassResponse struct { // Return: The R_DhcpDeleteClass return value. Return uint32 `idl:"name:Return" json:"return"` }
DeleteClassResponse structure represents the R_DhcpDeleteClass operation response
func (*DeleteClassResponse) MarshalNDR ¶
func (*DeleteClassResponse) UnmarshalNDR ¶
type DeleteClassV6Request ¶
type DeleteClassV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClassName: This is a pointer to WCHAR that contains the name of the class that needs // to be deleted. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` }
DeleteClassV6Request structure represents the R_DhcpDeleteClassV6 operation request
func (*DeleteClassV6Request) MarshalNDR ¶
func (*DeleteClassV6Request) UnmarshalNDR ¶
type DeleteClassV6Response ¶
type DeleteClassV6Response struct { // Return: The R_DhcpDeleteClassV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
DeleteClassV6Response structure represents the R_DhcpDeleteClassV6 operation response
func (*DeleteClassV6Response) MarshalNDR ¶
func (*DeleteClassV6Response) UnmarshalNDR ¶
type DeleteClientInfoV6Request ¶
type DeleteClientInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClientInfo: This is a pointer to a structure DHCP_SEARCH_INFO_V6 (section 2.2.1.2.69) // that defines the key to be used to search the DHCPv6 client lease record that needs // to be deleted on the DHCPv6 server. ClientInfo *dhcpm.SearchInfoV6 `idl:"name:ClientInfo;pointer:ref" json:"client_info"` }
DeleteClientInfoV6Request structure represents the R_DhcpDeleteClientInfoV6 operation request
func (*DeleteClientInfoV6Request) MarshalNDR ¶
func (*DeleteClientInfoV6Request) UnmarshalNDR ¶
type DeleteClientInfoV6Response ¶
type DeleteClientInfoV6Response struct { // Return: The R_DhcpDeleteClientInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
DeleteClientInfoV6Response structure represents the R_DhcpDeleteClientInfoV6 operation response
func (*DeleteClientInfoV6Response) MarshalNDR ¶
func (*DeleteClientInfoV6Response) UnmarshalNDR ¶
type DeleteFilterV4Request ¶
type DeleteFilterV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // DeleteFilterInfo: This is a pointer to a DHCP_ADDR_PATTERN (section 2.2.1.2.89) that // contains link-layer address/pattern information to be deleted from the database, // from the allow or deny lists. It can also contain hardware type information to be // deleted from the database, from the allow list. DeleteFilterInfo *dhcpm.AddrPattern `idl:"name:DeleteFilterInfo" json:"delete_filter_info"` }
DeleteFilterV4Request structure represents the R_DhcpDeleteFilterV4 operation request
func (*DeleteFilterV4Request) MarshalNDR ¶
func (*DeleteFilterV4Request) UnmarshalNDR ¶
type DeleteFilterV4Response ¶
type DeleteFilterV4Response struct { // Return: The R_DhcpDeleteFilterV4 return value. Return uint32 `idl:"name:Return" json:"return"` }
DeleteFilterV4Response structure represents the R_DhcpDeleteFilterV4 operation response
func (*DeleteFilterV4Response) MarshalNDR ¶
func (*DeleteFilterV4Response) UnmarshalNDR ¶
type DeleteMClientInfoRequest ¶
type DeleteMClientInfoRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClientInfo: This is a pointer of type DHCP_SEARCH_INFO (section 2.2.1.2.18), defining // the key to be used to search the MADCAP client lease record that needs to be deleted // from the MADCAP server. ClientInfo *dhcpm.SearchInfo `idl:"name:ClientInfo;pointer:ref" json:"client_info"` }
DeleteMClientInfoRequest structure represents the R_DhcpDeleteMClientInfo operation request
func (*DeleteMClientInfoRequest) MarshalNDR ¶
func (*DeleteMClientInfoRequest) UnmarshalNDR ¶
type DeleteMClientInfoResponse ¶
type DeleteMClientInfoResponse struct { // Return: The R_DhcpDeleteMClientInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
DeleteMClientInfoResponse structure represents the R_DhcpDeleteMClientInfo operation response
func (*DeleteMClientInfoResponse) MarshalNDR ¶
func (*DeleteMClientInfoResponse) UnmarshalNDR ¶
type DeleteMScopeRequest ¶
type DeleteMScopeRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the multicast // subnet that needs to be removed. There is no restriction on the length of this field. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` // ForceFlag: This is of type DHCP_FORCE_FLAG (section 2.2.1.1.9) that defines the behavior // of this method. If the flag is set to DhcpNoForce and this subnet has served the // IPv4 address to some MADCAP clients, the IPv4 multicast subnet is not deleted. If // the flag is set to DhcpFullForce, the IPv4 multicast subnet is deleted along with // the MADCAP client's record on the MADCAP server. ForceFlag dhcpm.ForceFlag `idl:"name:ForceFlag" json:"force_flag"` }
DeleteMScopeRequest structure represents the R_DhcpDeleteMScope operation request
func (*DeleteMScopeRequest) MarshalNDR ¶
func (*DeleteMScopeRequest) UnmarshalNDR ¶
type DeleteMScopeResponse ¶
type DeleteMScopeResponse struct { // Return: The R_DhcpDeleteMScope return value. Return uint32 `idl:"name:Return" json:"return"` }
DeleteMScopeResponse structure represents the R_DhcpDeleteMScope operation response
func (*DeleteMScopeResponse) MarshalNDR ¶
func (*DeleteMScopeResponse) UnmarshalNDR ¶
type DeletePolicyV4Request ¶
type DeletePolicyV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ServerPolicy: This is of type BOOL and indicates whether the server level policy // or scope level policy is being deleted. ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: This is of type DHCP_IP_ADDRESS data type (section 2.2.1.2.1) that // identifies the IPv4 subnet from which the policy is being deleted. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy deleted. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` }
DeletePolicyV4Request structure represents the R_DhcpV4DeletePolicy operation request
func (*DeletePolicyV4Request) MarshalNDR ¶
func (*DeletePolicyV4Request) UnmarshalNDR ¶
type DeletePolicyV4Response ¶
type DeletePolicyV4Response struct { // Return: The R_DhcpV4DeletePolicy return value. Return uint32 `idl:"name:Return" json:"return"` }
DeletePolicyV4Response structure represents the R_DhcpV4DeletePolicy operation response
func (*DeletePolicyV4Response) MarshalNDR ¶
func (*DeletePolicyV4Response) UnmarshalNDR ¶
type DeleteSubnetV6Request ¶
type DeleteSubnetV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28) that contains // the IPv6 address of the subnet that needs to be removed from the DHCPv6 server. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` // ForceFlag: This is of type DHCP_FORCE_FLAG (section 2.2.1.1.9) enumeration. ForceFlag dhcpm.ForceFlag `idl:"name:ForceFlag" json:"force_flag"` }
DeleteSubnetV6Request structure represents the R_DhcpDeleteSubnetV6 operation request
func (*DeleteSubnetV6Request) MarshalNDR ¶
func (*DeleteSubnetV6Request) UnmarshalNDR ¶
type DeleteSubnetV6Response ¶
type DeleteSubnetV6Response struct { // Return: The R_DhcpDeleteSubnetV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
DeleteSubnetV6Response structure represents the R_DhcpDeleteSubnetV6 operation response
func (*DeleteSubnetV6Response) MarshalNDR ¶
func (*DeleteSubnetV6Response) UnmarshalNDR ¶
type Dhcpsrv2Client ¶
type Dhcpsrv2Client interface { // The R_DhcpEnumSubnetClientsV5 method is used to retrieve all DHCPv4 clients serviced // from the specified IPv4 subnet. This method returns DHCPv4 clients from all IPv4 // subnets if the subnet address specified zero. The caller of this function can free // the memory pointed to by the ClientInfo parameter and its Clients member by calling // the function midl_user_free (see section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 0. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. EnumSubnetClientsV5(context.Context, *EnumSubnetClientsV5Request, ...dcerpc.CallOption) (*EnumSubnetClientsV5Response, error) // The R_DhcpSetMScopeInfo method creates/modifies an IPv4 multicast subnet on the MADCAP // server. The behavior of this method is dependent on parameter NewScope. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4E ERROR_DHCP_SCOPE_NAME_TOO_LONG | The specified scope name is too long. The name is limited to a maximum of 256 | // | | characters. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E24 ERROR_DHCP_SUBNET_EXISTS | The specified IPv4 multicast subnet already exists. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E55 ERROR_DHCP_MSCOPE_EXISTS | The multicast scope parameters are incorrect. Either the scope already exists or | // | | its properties are inconsistent with the properties of another existing scope. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 1. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetMScopeInfo(context.Context, *SetMScopeInfoRequest, ...dcerpc.CallOption) (*SetMScopeInfoResponse, error) // The R_DhcpGetMScopeInfo method retrieves the information of the IPv4 multicast subnet // managed by the MADCAP server. The caller of this function can free the memory pointed // by MScopeInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 2. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. GetMScopeInfo(context.Context, *GetMScopeInfoRequest, ...dcerpc.CallOption) (*GetMScopeInfoResponse, error) // The R_DhcpEnumMScopes method enumerates IPv4 multicast subnet names configured on // the MADCAP server. The caller of this function can free the memory pointed to by // the MScopeTable parameter by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-----------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-----------------------------------------------+ // +--------------------------------+-----------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-----------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-----------------------------------------------+ // // The opnum field value for this method is 3. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. EnumMScopes(context.Context, *EnumMScopesRequest, ...dcerpc.CallOption) (*EnumMScopesResponse, error) // The R_DhcpAddMScopeElement method adds an IPv4 multicast subnet element (IPv4 range // or IPv4 exclusion range) to the IPv4 multicast subnet in the MADCAP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E37 ERROR_DHCP_INVALID_RANGE | The specified multicast range either overlaps an existing range or is not valid. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E56 ERROR_MSCOPE_RANGE_TOO_SMALL | The multicast scope range MUST have at least 256 IPv4 addresses. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E35 ERROR_DHCP_IPRANGE_EXITS | The specified multicast range already exists. | // +------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 4. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. AddMScopeElement(context.Context, *AddMScopeElementRequest, ...dcerpc.CallOption) (*AddMScopeElementResponse, error) // The R_DhcpEnumMScopeElements method enumerates the list of specific types of IPv4 // multicast subnet elements (IPv4 range of IPv4 exclusion) from a specific IPv4 multicast // subnet. The caller of this function can free the memory pointed to by EnumElementInfo // and its member Elements by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------------+ // +------------------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +------------------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +------------------------------------------+-------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 5. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumMScopeElements(context.Context, *EnumMScopeElementsRequest, ...dcerpc.CallOption) (*EnumMScopeElementsResponse, error) // The R_DhcpRemoveMScopeElement method removes an IPv4 multicast subnet element (IPv4 // multicast range or IPv4 exclusion range) from the IPv4 multicast subnet defined on // the MADCAP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE | The specified IPv4 multicast subnet element cannot be removed because at least | // | | one multicast IPv4 address has been leased out to a MADCAP client. The starting | // | | address of the specified Multicast exclusion range is not part of any multicast | // | | exclusion range configured on the server. There is an error in deleting the | // | | exclusion range from the database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E37 ERROR_DHCP_INVALID_RANGE | The specified IPv4 range either overlaps an existing IPv4 range or is not valid. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 6. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveMScopeElement(context.Context, *RemoveMScopeElementRequest, ...dcerpc.CallOption) (*RemoveMScopeElementResponse, error) // The R_DhcpDeleteMScope method deletes the multicast subnet from the MADCAP server. // The ForceFlag defines the behavior of the operation when the subnet has served a // MADCAP client. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE | The specified IPv4 multicast scope cannot be removed because at least one | // | | multicast IPv4 address has been leased out to some MADCAP client. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 7. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. DeleteMScope(context.Context, *DeleteMScopeRequest, ...dcerpc.CallOption) (*DeleteMScopeResponse, error) // The R_DhcpScanMDatabase method can be used by DHCP servers to enumerate and/or fix // inconsistencies between the MADCAP lease records and the bitmask representation in // memory (section 3.1.1.4). The caller of this function can free the memory pointed // to by ScanList and its member ScanItems by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+---------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+---------------------------------------------------------------+ // +------------------------------------------+---------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +------------------------------------------+---------------------------------------------------------------+ // // The opnum field value for this method is 8. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ScanMDatabase(context.Context, *ScanMDatabaseRequest, ...dcerpc.CallOption) (*ScanMDatabaseResponse, error) // The R_DhcpCreateMClientInfo method creates a multicast client record on the MADCAP // server's database. This also marks the specified client IP address as unavailable // (or distributed). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+---------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+---------------------------------------------------------------------+ // +---------------------------------------+---------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | This call was successful. | // +---------------------------------------+---------------------------------------------------------------------+ // | 0x00000078 ERROR_CALL_NOT_IMPLEMENTED | The method is not implemented by this version of the MADCAP server. | // +---------------------------------------+---------------------------------------------------------------------+ // // The opnum field value for this method is 9. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateMClientInfo(context.Context, *CreateMClientInfoRequest, ...dcerpc.CallOption) (*CreateMClientInfoResponse, error) // The R_DhcpSetMClientInfo method sets/modifies the specific MADCAP client lease record // on the MADCAP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+---------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+---------------------------------------------------------------------+ // +---------------------------------------+---------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | This call was successful. | // +---------------------------------------+---------------------------------------------------------------------+ // | 0x00000078 ERROR_CALL_NOT_IMPLEMENTED | The method is not implemented by this version of the MADCAP server. | // +---------------------------------------+---------------------------------------------------------------------+ // // The opnum field value for this method is 10. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. SetMClientInfo(context.Context, *SetMClientInfoRequest, ...dcerpc.CallOption) (*SetMClientInfoResponse, error) // The R_DhcpGetMClientInfo method retrieves the specified MADCAP client lease record // information from the MADCAP server. The caller of this function can free the memory // pointed to by ClientInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+---------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+---------------------------------------------------------------+ // +---------------------------------+---------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+---------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +---------------------------------+---------------------------------------------------------------+ // // The opnum field value for this method is 11. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. GetMClientInfo(context.Context, *GetMClientInfoRequest, ...dcerpc.CallOption) (*GetMClientInfoResponse, error) // The R_DhcpDeleteMClientInfo method deletes the specified MADCAP client lease record // from the MADCAP server. It also frees up the MADCAP client IPv4 address for redistribution. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+---------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+---------------------------------------------------------------+ // +---------------------------------+---------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+---------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +---------------------------------+---------------------------------------------------------------+ // // The opnum field value for this method is 12. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. DeleteMClientInfo(context.Context, *DeleteMClientInfoRequest, ...dcerpc.CallOption) (*DeleteMClientInfoResponse, error) // The R_DhcpEnumMScopeClients method enumerates all MADCAP clients serviced from the // specified IPv4 multicast subnet. The caller of this function can free the memory // pointed to by the ClientInfo parameter and other client parameters by calling the // function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+---------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+---------------------------------------------------------------+ // +------------------------------------------+---------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +------------------------------------------+---------------------------------------------------------------+ // // The opnum field value for this method is 13. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. EnumMScopeClients(context.Context, *EnumMScopeClientsRequest, ...dcerpc.CallOption) (*EnumMScopeClientsResponse, error) // The R_DhcpCreateOptionV5 method creates an option definition of a specific option // for a specific user class and vendor class at the default option level. The OptionId // specifies the identifier of the option. If the user class or vendor class is not // defined, the option definition is created for the default user class and vendor class. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+-------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+-------------------------------------------------------------------------+ // +---------------------------------------+-------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E29 ERROR_DHCP_OPTION_EXITS | The specified option definition already exists on DHCP server database. | // +---------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +---------------------------------------+-------------------------------------------------------------------------+ // // The opnum field value for this method is 14. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateOptionV5(context.Context, *CreateOptionV5Request, ...dcerpc.CallOption) (*CreateOptionV5Response, error) // The R_DhcpSetOptionInfoV5 method modifies the option definition of a specific option // for a specific user class and vendor class at the default level. If the user class // or vendor class is not defined, the option definition is set or modified for the // default user class or vendor class. This is an extension of R_DhcpSetOptionInfo (section // 3.1.4.10), which sets the option definition for a default user and vendor class. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-----------------------------------------------------------------------------+ // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 15. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionInfoV5(context.Context, *SetOptionInfoV5Request, ...dcerpc.CallOption) (*SetOptionInfoV5Response, error) // The R_DhcpGetOptionInfoV5 method retrieves the option definition of a specific option // for a specific user class and vendor class at the default option level. If the user // class or vendor class is not defined, the option definition is retrieved for the // default user class or vendor class. This is an extension method of R_DhcpGetOptionInfo // (section 3.1.4.11), which retrieves the option definition of a specific option for // the default user and vendor class. The caller of this function can free the memory // pointed to by OptionInfo by calling the function midl_user_free (see section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------------------------------------+ // +------------------------------------------+-------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on DHCP server database. | // +------------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+-------------------------------------------------------------------------+ // // The opnum field value for this method is 16. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionInfoV5(context.Context, *GetOptionInfoV5Request, ...dcerpc.CallOption) (*GetOptionInfoV5Response, error) // The R_DhcpEnumOptionsV5 method enumerates the option definitions for a specific user // class and vendor class for the default option level. If the user class or the vendor // class is not defined, the option definitions are enumerated for the default user // class or vendor class. This method is an extension of the method in R_DhcpEnumOptions // (section 3.1.4.24), which enumerates the option definition for a default user and // vendor class. The caller of this function can free the memory pointed to by the Options // parameter by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------+ // +---------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+----------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------------+----------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------------+----------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +---------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 17. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. EnumOptionsV5(context.Context, *EnumOptionsV5Request, ...dcerpc.CallOption) (*EnumOptionsV5Response, error) // The R_DhcpRemoveOptionV5 method removes the option definition of a specific option // for a specific user class and vendor class at the default option level. If the user // class or the vendor class is not specified, the option definition is removed from // the default user class or vendor class. The OptionID specifies the identifier of // the option definition. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-----------------------------------------------------------------------------+ // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 18. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveOptionV5(context.Context, *RemoveOptionV5Request, ...dcerpc.CallOption) (*RemoveOptionV5Response, error) // The R_DhcpSetOptionValueV5 method creates the option value, when called for the first // time. Otherwise, it modifies the option value of a specific option on the DHCPv4 // server for a specific user class and vendor class. ScopeInfo defines the scope on // which this option value is set. If the user class or vendor class is not provided, // a default user class or vendor class is taken. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+-----------------------------------------------------------------------------+ // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 19. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionValueV5(context.Context, *SetOptionValueV5Request, ...dcerpc.CallOption) (*SetOptionValueV5Response, error) // The R_DhcpSetOptionValuesV5 method creates the option value when called for the first // time, else it modifies it. It creates or modifies one or more options for a specific // user class and vendor class. If the user class or the vendor class is not specified, // the option values are set or modified for the default user class or vendor class. // ScopeInfo defines the scope on which this option value is modified. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+-----------------------------------------------------------------------------+ // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 20. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. SetOptionValuesV5(context.Context, *SetOptionValuesV5Request, ...dcerpc.CallOption) (*SetOptionValuesV5Response, error) // The R_DhcpGetOptionValueV5 method retrieves the option value for a specific option // on the DHCPv4 server for a specific user class and vendor class. If the user class // or the vendor class is not specified, the option value is retrieved from the default // user class or vendor class. ScopeInfo defines the scope from which the option value // needs to be retrieved. The caller of this function can free the memory pointed to // by OptionValue by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+-----------------------------------------------------------------------------+ // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 21. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionValueV5(context.Context, *GetOptionValueV5Request, ...dcerpc.CallOption) (*GetOptionValueV5Response, error) // The R_DhcpEnumOptionValuesV5 method enumerates all the option values for the specific // user class and vendor class at a specified scope defined by ScopeInfo. If the user // class or the vendor class is not specified, the option values are retrieved from // the default user class or vendor class. The caller of this function can free the // memory pointed to by OptionValues and the Values member of OptionValues by calling // the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+--------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+--------------------------------------------------------------+ // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------+--------------------------------------------------------------+ // // The opnum field value for this method is 22. EnumOptionValuesV5(context.Context, *EnumOptionValuesV5Request, ...dcerpc.CallOption) (*EnumOptionValuesV5Response, error) // The R_DhcpRemoveOptionValueV5 method removes the option value for a specific option // on the DHCPv4 server for a specific user class and vendor class. If the user class // or the vendor class is not specified, the option value is removed from the default // user class or vendor class. ScopeInfo defines the scope on which this option value // is removed. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+-----------------------------------------------------------------------------+ // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 23. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveOptionValueV5(context.Context, *RemoveOptionValueV5Request, ...dcerpc.CallOption) (*RemoveOptionValueV5Response, error) // The R_DhcpCreateClass method creates a user class or a vendor class definition on // the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------+------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------+------------------------------------------------------------------------------+ // +--------------------------------------------+------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------+------------------------------------------------------------------------------+ // | 0x00004E4D ERROR_DHCP_CLASS_ALREADY_EXISTS | The class name is already in use or the class information is already in use. | // +--------------------------------------------+------------------------------------------------------------------------------+ // // The opnum field value for this method is 24. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateClass(context.Context, *CreateClassRequest, ...dcerpc.CallOption) (*CreateClassResponse, error) // The R_DhcpModifyClass method modifies the user class or vendor class definition for // the DHCP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------+ // +---------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+----------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +---------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 25. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. ModifyClass(context.Context, *ModifyClassRequest, ...dcerpc.CallOption) (*ModifyClassResponse, error) // The R_DhcpDeleteClass method deletes the user class or vendor class definition from // the DHCP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------+----------------------------------------------------+ // +--------------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------+----------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +--------------------------------------------+----------------------------------------------------+ // | 0x00004E79 ERROR_DHCP_DELETE_BUILTIN_CLASS | This class cannot be deleted. | // +--------------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 26. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. DeleteClass(context.Context, *DeleteClassRequest, ...dcerpc.CallOption) (*DeleteClassResponse, error) // The R_DhcpGetClassInfo method retrieves the user class or vendor class information // configured for the DHCP server. The caller of this function can free the memory pointed // to by FilledClassInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------+ // +---------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+----------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +---------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 27. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetClassInfo(context.Context, *GetClassInfoRequest, ...dcerpc.CallOption) (*GetClassInfoResponse, error) // The R_DhcpEnumClasses method enumerates user classes or vendor classes configured // for the DHCP server. The caller of this function can free the memory pointed to by // ClassInfoArray and Classes by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 28. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumClasses(context.Context, *EnumClassesRequest, ...dcerpc.CallOption) (*EnumClassesResponse, error) // The R_DhcpGetAllOptions method retrieves all default option definitions, as well // as specific user class and vendor class option definitions. The caller of this function // can free the memory pointed to by OptionStruct, NonVendorOptions and other Options // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 29. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptions(context.Context, *GetAllOptionsRequest, ...dcerpc.CallOption) (*GetAllOptionsResponse, error) // The R_DhcpGetAllOptionValues method retrieves the option values for all the options // configured at the DHCPv4 server from the specific scope for all user classes and // vendor classes. ScopeInfo defines the scope from which this option values are retrieved. // The caller of this method can free the memory pointed to by Values, its Options member, // and the members of each element in the Options array, by calling the function midl_user_free // (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+--------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+--------------------------------------------------------------+ // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+--------------------------------------------------------------+ // // The opnum field value for this method is 30. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptionValues(context.Context, *GetAllOptionValuesRequest, ...dcerpc.CallOption) (*GetAllOptionValuesResponse, error) // The R_DhcpGetMCastMibInfo method retrieves the multicast counter values of the MADCAP // server. The caller of this function can free the memory pointed to by MibInfo by // calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 31. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetMCastMIBInfo(context.Context, *GetMCastMIBInfoRequest, ...dcerpc.CallOption) (*GetMCastMIBInfoResponse, error) // The R_DhcpAuditLogSetParams method sets/modifies the DHCP server setting related // to the audit log. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 32. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AuditLogSetParams(context.Context, *AuditLogSetParamsRequest, ...dcerpc.CallOption) (*AuditLogSetParamsResponse, error) // The R_DhcpAuditLogGetParams method retrieves all audit log–related settings from // the DHCP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 33. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AuditLogGetParams(context.Context, *AuditLogGetParamsRequest, ...dcerpc.CallOption) (*AuditLogGetParamsResponse, error) // The R_DhcpServerQueryAttribute method retrieves attribute information from the DHCP // server. The caller of this function can free the memory pointed to by pDhcpAttrib // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 34. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerQueryAttribute(context.Context, *ServerQueryAttributeRequest, ...dcerpc.CallOption) (*ServerQueryAttributeResponse, error) // The R_DhcpServerQueryAttributes method retrieves one or more attributes information // from the DHCP server. The caller of this function can free the memory pointed to // by pDhcpAttribArr and pDhcpAttribs by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 35. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerQueryAttributes(context.Context, *ServerQueryAttributesRequest, ...dcerpc.CallOption) (*ServerQueryAttributesResponse, error) // The R_DhcpServerRedoAuthorization method attempts to determine whether the DHCP server // is authorized and restores the leasing operation if the server is not authorized. // The rogue detection mechanism is outlined in [MS-DHCPE] (section 3.3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 36. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerRedoAuthorization(context.Context, *ServerRedoAuthorizationRequest, ...dcerpc.CallOption) (*ServerRedoAuthorizationResponse, error) // The R_DhcpAddSubnetElementV5 method adds an IPv4 subnet element to the specified // IPv4 subnet defined on the DHCPv4 server. The subnet elements can be IPv4 reservation // for DHCPv4 or BOOTP clients, IPv4 range, or the IPv4 exclusion range for DHCPv4 or // BOOTP clients. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not an IPv4-reserved client. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E36 ERROR_DHCP_RESERVEDIP_EXITS | The specified IPv4 address or hardware address is being used by another DHCP | // | | client. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E37 ERROR_DHCP_INVALID_RANGE | The specified IPv4 range either overlaps an existing range or is not valid. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E51 ERROR_DHCP_IPRANGE_CONV_ILLEGAL | Conversion of a scope to a DHCP-only scope or to a BOOTP-only scope is not | // | | allowed when DHCP and BOOTP clients both exist in the scope. Manually delete | // | | either the DHCP or the BOOTP clients from the scope, as appropriate for the type | // | | of scope being created. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | There is an IP range configured for a policy in this scope. This operation on | // | | the scope IP address range cannot be performed until the policy IP address range | // | | is suitably modified. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA1 ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL | Conversion of a failover scope to a scope of type BOOTP or BOTH could not be | // | | performed. Failover is supported only for DHCP scopes. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 37. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AddSubnetElementV5(context.Context, *AddSubnetElementV5Request, ...dcerpc.CallOption) (*AddSubnetElementV5Response, error) // The R_DhcpEnumSubnetElementsV5 method enumerates the list of a specific type of IPv4 // subnet element from the specified IPv4 subnet. The caller of this function can free // the memory pointed to by EnumElementInfo and the Elements field of EnumElementInfo // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+--------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+--------------------------------------------------------------+ // +------------------------------------------+--------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+--------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +------------------------------------------+--------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +------------------------------------------+--------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +------------------------------------------+--------------------------------------------------------------+ // // The opnum field value for this method is 38. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetElementsV5(context.Context, *EnumSubnetElementsV5Request, ...dcerpc.CallOption) (*EnumSubnetElementsV5Response, error) // The R_DhcpRemoveSubnetElementV5 method removes an IPv4 subnet element from the specified // IPv4 subnet defined on the DHCPv4 server. The subnet elements can be IPv4 reservation // for DHCPv4 or BOOTP clients, IPv4 range, or IPv4 exclusion range for DHCPv4 or BOOTP // clients. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE | This error can occur for any of the following reasons: The specified IPv4 subnet | // | | element cannot be removed because at least one IPv4 address has been leased out | // | | to a client in the subnet. The starting address of the specified IPv4 exclusion | // | | range is not part of any exclusion range configured on the server. There is an | // | | error in deleting the exclusion range from the database. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E37 ERROR_DHCP_INVALID_RANGE | The specified IPv4 range does not match an existing IPv4 range. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | There is an IP address range configured for a policy in this scope. This | // | | operation on the scope IP address range cannot be performed until the policy IP | // | | address range is suitably modified. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 39. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveSubnetElementV5(context.Context, *RemoveSubnetElementV5Request, ...dcerpc.CallOption) (*RemoveSubnetElementV5Response, error) // The R_DhcpGetServerBindingInfo method retrieves the array of IPv4 interface binding // information for the DHCPv4 server. The caller of this function can free the memory // pointed by BindElementsInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 40. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetServerBindingInfo(context.Context, *GetServerBindingInfoRequest, ...dcerpc.CallOption) (*GetServerBindingInfoResponse, error) // The R_DhcpSetServerBindingInfo method sets/modifies the IPv4 interface bindings for // the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +----------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E52 ERROR_DHCP_NETWORK_CHANGED | The network has changed. Retry this operation after checking for the network | // | | changes. Network changes can be caused by interfaces that are new or no longer | // | | valid, or by IPv4 addresses that are new or no longer valid. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E53 ERROR_DHCP_CANNOT_MODIFY_BINDINGS | The bindings to internal IPv4 addresses cannot be modified. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 41. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetServerBindingInfo(context.Context, *SetServerBindingInfoRequest, ...dcerpc.CallOption) (*SetServerBindingInfoResponse, error) // The R_DhcpQueryDnsRegCredentials method retrieves the currently set Domain Name System // (DNS) credentials, which are the user name and domain. These credentials are used // by the DHCP server for DNS dynamic registration for DHCP clients. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 42. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. QueryDNSRegCredentials(context.Context, *QueryDNSRegCredentialsRequest, ...dcerpc.CallOption) (*QueryDNSRegCredentialsResponse, error) // The R_DhcpSetDnsRegCredentials method sets the DNS user name and credentials in the // DHCP server which is used for DNS registrations for the DHCP client lease record. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 43. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetDNSRegCredentials(context.Context, *SetDNSRegCredentialsRequest, ...dcerpc.CallOption) (*SetDNSRegCredentialsResponse, error) // The R_DhcpBackupDatabase method takes backup of the configurations, settings, and // DHCP client lease record in the specified path. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 44. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. BackupDatabase(context.Context, *BackupDatabaseRequest, ...dcerpc.CallOption) (*BackupDatabaseResponse, error) // The R_DhcpRestoreDatabase method sets/modifies the restore path. The DHCP server // uses this path to restore the configuration, settings, and DHCP client lease record // the next time it is restarted. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+----------------------------------------------------+ // +---------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+----------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server. | // +---------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 45. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RestoreDatabase(context.Context, *RestoreDatabaseRequest, ...dcerpc.CallOption) (*RestoreDatabaseResponse, error) // The R_DhcpGetServerSpecificStrings method retrieves the names of the default vendor // class and user class. The caller of this function can free the memory pointed to // by ServerSpecificStrings, DefaultVendorClassName and DefaultUserClassName by calling // the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 46. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetServerSpecificStrings(context.Context, *GetServerSpecificStringsRequest, ...dcerpc.CallOption) (*GetServerSpecificStringsResponse, error) // The R_DhcpCreateOptionV6 method creates an option definition for a specified user // class or vendor class at the default option level. The option ID specifies the identifier // of the option. If the user class or vendor class is not specified, the option definition // is created for the default user class or vendor class. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E29 ERROR_DHCP_OPTION_EXITS | The specified option definition already exists in the DHCP server database. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E59 ERROR_DHCP_INVALID_PARAMETER_OPTION32 | The information refresh time option value is invalid, as it is less than the | // | | minimum option value. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 47. CreateOptionV6(context.Context, *CreateOptionV6Request, ...dcerpc.CallOption) (*CreateOptionV6Response, error) // The R_DhcpSetOptionInfoV6 method modifies the option definition for the specific // user class and vendor class at the default level. If the user class or vendor class // is not specified, the default user class or vendor class will be used. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The option to be modified does not exist. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E59 ERROR_DHCP_INVALID_PARAMETER_OPTION32 | The information refresh time option value is invalid, as it is less than the | // | | minimum option value. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 48. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionInfoV6(context.Context, *SetOptionInfoV6Request, ...dcerpc.CallOption) (*SetOptionInfoV6Response, error) // The R_DhcpGetOptionInfoV6 method retrieves the option definition of a specific option // for a specific user class and vendor class at the default option level. If the user // class or vendor class is not specified, the default vendor class or user class will // be taken. The caller of this function can free the memory pointed to by OptionInfo // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The option to be modified does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 49. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionInfoV6(context.Context, *GetOptionInfoV6Request, ...dcerpc.CallOption) (*GetOptionInfoV6Response, error) // The R_DhcpEnumOptionsV6 method enumerates the option definitions for a specific user // class and vendor class at the default option level. If the user class or vendor class // is not specified, the default user class or vendor class will be used. The caller // of this function can free the memory pointed to by Options by calling the function // midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 50. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumOptionsV6(context.Context, *EnumOptionsV6Request, ...dcerpc.CallOption) (*EnumOptionsV6Response, error) // The R_DhcpRemoveOptionV6 method removes the option definition of a specific option // for a specific user class or the vendor class at the default option level. If the // user class or the vendor class is not specified, the default user class or vendor // class will be used. The option id specifies the identifier of the option definition. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The option to be modified does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 51. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveOptionV6(context.Context, *RemoveOptionV6Request, ...dcerpc.CallOption) (*RemoveOptionV6Response, error) // The R_DhcpSetOptionValueV6 method creates option value when called for the first // time, else it modifies the option value of a specific option on the DHCPv6 server // for a specific user class and vendor class. ScopeInfo defines the scope on which // this option value is set. If the user class and vendor class is not provided, the // default user class and vendor class is taken. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The option to be modified does not exist. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E59 ERROR_DHCP_INVALID_PARAMETER_OPTION32 | The information refresh time option value is invalid, as it is less than the | // | | minimum option value. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 52. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionValueV6(context.Context, *SetOptionValueV6Request, ...dcerpc.CallOption) (*SetOptionValueV6Response, error) // The R_DhcpEnumOptionValuesV6 method enumerates all the option values for the specific // user class or vendor class at a specified scope defined by ScopeInfo. If the user // class or vendor class is not specified, the default user class or vendor class will // be used. The caller of this function can free the memory pointed to by OptionValues // and the Values member of OptionValues by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 53. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumOptionValuesV6(context.Context, *EnumOptionValuesV6Request, ...dcerpc.CallOption) (*EnumOptionValuesV6Response, error) // The R_DhcpRemoveOptionValueV6 method deletes the option value of a specific option // on the DHCPv6 server for a specific user and vendor class. ScopeInfo defines the // scope from which this option value is removed. If the user class or vendor class // is not provided, the default user or vendor class is taken. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+--------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+--------------------------------------+ // +------------------------------------------+--------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+--------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option does not exist. | // +------------------------------------------+--------------------------------------+ // // The opnum field value for this method is 54. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveOptionValueV6(context.Context, *RemoveOptionValueV6Request, ...dcerpc.CallOption) (*RemoveOptionValueV6Response, error) // The R_DhcpGetAllOptionsV6 method retrieves all default option definitions, as well // as specific user class and vendor class option definitions. The caller of this function // can free the memory pointed to by OptionStruct, NonVendorOptions and VendorOptions // and by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 55. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptionsV6(context.Context, *GetAllOptionsV6Request, ...dcerpc.CallOption) (*GetAllOptionsV6Response, error) // The R_DhcpGetAllOptionValuesV6 method returns all option values for all user classes // and vendor classes configured at the server, scope, or IPv6 reservation level on // the DHCPv6 server. The caller of this function can free the memory pointed to by // option Values by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 56. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptionValuesV6(context.Context, *GetAllOptionValuesV6Request, ...dcerpc.CallOption) (*GetAllOptionValuesV6Response, error) // The R_DhcpCreateSubnetV6 method creates a new IPv6 prefix on the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------------+-------------------------------------------------------------+ // +---------------------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------------------+-------------------------------------------------------------+ // | 0x00004E7B ERROR_DHCP_INVALID_SUBNET_PREFIX | The subnet prefix is invalid. | // +---------------------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 57. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. CreateSubnetV6(context.Context, *CreateSubnetV6Request, ...dcerpc.CallOption) (*CreateSubnetV6Response, error) // The R_DhcpEnumSubnetsV6 method enumerates all IPv6 prefixes configured on the DHCPv6 // server. The caller of this function can free the memory pointed to by EnumInfo by // calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-----------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-----------------------------------------------+ // +--------------------------------+-----------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-----------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-----------------------------------------------+ // // The opnum field value for this method is 58. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetsV6(context.Context, *EnumSubnetsV6Request, ...dcerpc.CallOption) (*EnumSubnetsV6Response, error) // The R_DhcpAddSubnetElementV6 method adds an IPv6 prefix element (such as IPv6 reservation // or IPv6 exclusion range) to the IPv6 prefix in the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An invalid parameter is specified in the AddElementInfo parameter. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x000007DE ERROR_DUPLICATE_TAG | The specified exclusion range conflicts with existing exclusion ranges. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E36 ERROR_DHCP_RESERVEDIP_EXITS | An IPv6 reservation exists for one or both of the following: the specified | // | | IPv6 address the DHCPv6 client-identifier (section 2.2.1.2.5.3) and interface | // | | identifier pair specified in reservation information | // +----------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 59. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AddSubnetElementV6(context.Context, *AddSubnetElementV6Request, ...dcerpc.CallOption) (*AddSubnetElementV6Response, error) // The R_DhcpEnumSubnetElementsV6 method returns an enumerated list of a specific type // of IPv6 prefix element for a specific DHCPv6 IPv6 prefix. The caller of this function // can free the memory pointed to by EnumElementInfo and other Elements by calling the // function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 60. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetElementsV6(context.Context, *EnumSubnetElementsV6Request, ...dcerpc.CallOption) (*EnumSubnetElementsV6Response, error) // The R_DhcpRemoveSubnetElementV6 method removes an IPv6 prefix element (such as IPv6 // reservation or IPv6 exclusion range) from an IPv6 prefix defined on the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 61. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveSubnetElementV6(context.Context, *RemoveSubnetElementV6Request, ...dcerpc.CallOption) (*RemoveSubnetElementV6Response, error) // The R_DhcpDeleteSubnetV6 method deletes an IPv6 prefix from the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE | The specified subnet cannot be deleted because at least one IPv6 address has | // | | been leased out to some client from the subnet. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 62. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeleteSubnetV6(context.Context, *DeleteSubnetV6Request, ...dcerpc.CallOption) (*DeleteSubnetV6Response, error) // The R_DhcpGetSubnetInfoV6 method retrieves the information about a specific IPv6 // prefix defined on the DHCPv6 server. The caller of this function can free the memory // pointed to by SubnetInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv6 prefix does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 63. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetSubnetInfoV6(context.Context, *GetSubnetInfoV6Request, ...dcerpc.CallOption) (*GetSubnetInfoV6Response, error) // The R_DhcpEnumSubnetClientsV6 method is used to retrieve all DHCPv6 clients serviced // from the specified IPv6 prefix. The caller of this function can free the memory pointed // to by ClientInfo and other Elements by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 64. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetClientsV6(context.Context, *EnumSubnetClientsV6Request, ...dcerpc.CallOption) (*EnumSubnetClientsV6Response, error) // The R_DhcpServerSetConfigV6 method sets the DHCPv6 server configuration data at the // scope level or at the server level. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 65. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerSetConfigV6(context.Context, *ServerSetConfigV6Request, ...dcerpc.CallOption) (*ServerSetConfigV6Response, error) // The R_DhcpServerGetConfigV6 method retrieves the configuration information about // the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 66. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerGetConfigV6(context.Context, *ServerGetConfigV6Request, ...dcerpc.CallOption) (*ServerGetConfigV6Response, error) // The R_DhcpSetSubnetInfoV6 method sets/modifies the information for an IPv6 prefix // defined on the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------------------------+ // +------------------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv6 prefix does not exist. | // +------------------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +------------------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 67. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetSubnetInfoV6(context.Context, *SetSubnetInfoV6Request, ...dcerpc.CallOption) (*SetSubnetInfoV6Response, error) // The R_DhcpGetMibInfoV6 method is used to retrieve the IPv6 counter values of the // DHCPv6 server. The caller of this function can free the memory pointed to by MibInfo // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 68. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetMIBInfoV6(context.Context, *GetMIBInfoV6Request, ...dcerpc.CallOption) (*GetMIBInfoV6Response, error) // The R_DhcpGetServerBindingInfoV6 method retrieves the array of IPv6 interface binding // information for the DHCPv6 server. The caller of this function can free the memory // pointed to by BindElementsInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 69. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetServerBindingInfoV6(context.Context, *GetServerBindingInfoV6Request, ...dcerpc.CallOption) (*GetServerBindingInfoV6Response, error) // The R_DhcpSetServerBindingInfoV6 method sets/modifies the IPv6 interface bindings // for the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------------+----------------------------------------------------------------------------------+ // +---------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E52 ERROR_DHCP_NETWORK_CHANGED | The network has changed. Retry this operation after checking for the network | // | | changes. Network changes can be caused by interfaces that are new or no longer | // | | valid or by IPv6 addresses that are new or no longer valid. | // +---------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E53 ERROR_DHCP_CANNOT_MODIFY_BINDING | The bindings to internal IPv6 addresses cannot be modified. | // +---------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 70. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetServerBindingInfoV6(context.Context, *SetServerBindingInfoV6Request, ...dcerpc.CallOption) (*SetServerBindingInfoV6Response, error) // The R_DhcpSetClientInfoV6 method sets/modifies the client reservation record on the // DHCPv6 server database. This method is supposed to be called only after the reserved // DHCPv6 client is added using the R_DhcpAddSubnetElementV6 (section 3.2.4.60) method.<69> // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 71. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetClientInfoV6(context.Context, *SetClientInfoV6Request, ...dcerpc.CallOption) (*SetClientInfoV6Response, error) // The R_DhcpGetClientInfoV6 method retrieves IPv6 address lease information of the // IPv6 reservation from the DHCPv6 server. The caller of this function can free the // memory pointed to by ClientInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+----------------------------------------------------------------------------------+ // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry | // | | is not present in the database. | // +---------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 72. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetClientInfoV6(context.Context, *GetClientInfoV6Request, ...dcerpc.CallOption) (*GetClientInfoV6Response, error) // The R_DhcpDeleteClientInfoV6 method deletes the specified DHCPv6 client address lease // record from the DHCPv6 server database. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-----------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-----------------------------------------+----------------------------------------------------------------------------------+ // +-----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry | // | | is not present in the database. | // +-----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E36 ERROR_DHCP_RESERVEDIP_EXISTS | There exists a reservation for the leased address. | // +-----------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 73. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeleteClientInfoV6(context.Context, *DeleteClientInfoV6Request, ...dcerpc.CallOption) (*DeleteClientInfoV6Response, error) // The R_DhcpCreateClassV6 method creates an IPv6 user class or a vendor class definition // on the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------+----------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------+----------------------------------------------------------------------+ // +--------------------------------------------+----------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +--------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E4D ERROR_DHCP_CLASS_ALREADY_EXISTS | The vendor class or user class that is being created already exists. | // +--------------------------------------------+----------------------------------------------------------------------+ // // The opnum field value for this method is 74. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. CreateClassV6(context.Context, *CreateClassV6Request, ...dcerpc.CallOption) (*CreateClassV6Response, error) // The R_DhcpModifyClassV6 method modifies the user class or vendor class definition // for the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 75. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ModifyClassV6(context.Context, *ModifyClassV6Request, ...dcerpc.CallOption) (*ModifyClassV6Response, error) // The R_DhcpDeleteClassV6 method deletes the specified IPv6 user class or vendor class // definition from the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+-------------------------------------------------------------+ // +---------------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------------+-------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The specified class is not defined in the DHCP server. | // +---------------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 76. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeleteClassV6(context.Context, *DeleteClassV6Request, ...dcerpc.CallOption) (*DeleteClassV6Response, error) // The R_DhcpEnumClassesV6 method enumerates user or vendor classes configured for the // DHCPv6 server. The caller of this function can free the memory pointed to by ClassInfoArray // and its Classes member by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 77. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumClassesV6(context.Context, *EnumClassesV6Request, ...dcerpc.CallOption) (*EnumClassesV6Response, error) // The R_DhcpGetOptionValueV6 method retrieves the option value for a specific option // on the DHCPv6 server for specific user and vendor class. ScopeInfo defines the scope // from which the option value needs to be retrieved. The caller of this function can // free the memory pointed by OptionValue by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+--------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+--------------------------------------------------------------------------------+ // +-------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet is not defined on the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option is not defined at the specified level in the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The reserved IPv6 client is not defined on the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------------------------+ // // The opnum field value for this method is 78. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionValueV6(context.Context, *GetOptionValueV6Request, ...dcerpc.CallOption) (*GetOptionValueV6Response, error) // The R_DhcpSetSubnetDelayOffer method sets/modifies the time delay setting on the // DHCPv4 server, which is used in responding to a DHCPDISCOVER message [RFC2131]. This // setting is configured for a specific scope. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet is not defined on the DHCP server. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E7C ERROR_DHCP_INVALID_DELAY | The specified delay value is invalid, it is greater than the maximum delay of | // | | 1000 milliseconds. | // +------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 79. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetSubnetDelayOffer(context.Context, *SetSubnetDelayOfferRequest, ...dcerpc.CallOption) (*SetSubnetDelayOfferResponse, error) // The R_DhcpGetSubnetDelayOffer method retrieves the time delay setting from the DHCPv4 // server, which is used in responding to a DHCPDISCOVER message [RFC2131] for a specific // scope. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully; // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+---------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+---------------------------------------------------------+ // +------------------------------------------+---------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+---------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet is not defined on the DHCP server. | // +------------------------------------------+---------------------------------------------------------+ // // The opnum field value for this method is 80. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetSubnetDelayOffer(context.Context, *GetSubnetDelayOfferRequest, ...dcerpc.CallOption) (*GetSubnetDelayOfferResponse, error) // The R_DhcpGetMibInfoV5 method is used to retrieve the statistics of the DHCPv4 server. // The caller of this function can free the memory pointed to by MibInfo and its field // ScopeInfo by calling the function midl_user_free (see section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 81. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetMIBInfoV5(context.Context, *GetMIBInfoV5Request, ...dcerpc.CallOption) (*GetMIBInfoV5Response, error) // The R_DhcpAddFilterV4 method is used to add a link-layer address/pattern to allow // list or deny list. The DHCPv4 server allows the DHCPv4 clients whose link-layer address // is in the allow list to be given leases and blocks DHCPv4 clients whose link-layer // address is in the deny list provided the respective lists are enabled using the R_DhcpSetFilterV4 // (section 3.2.4.85) method. This method is also used to exempt one or more hardware // types from filtering. However, hardware type 1 (Ethernet 10 Mb) cannot be exempted. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------------------------+----------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------------+----------------------------------------------------------------------+ // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E7E ERROR_DHCP_LINKLAYER_ADDRESS_EXISTS | Address or Address pattern is already contained in one of the lists. | // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | Invalid input - address/pattern | // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E85 ERROR_DHCP_HARDWARE_ADDRESS_TYPE_ALREADY_EXEMPT | Hardware type already exempted from filtering. | // +------------------------------------------------------------+----------------------------------------------------------------------+ // // The opnum field value for this method is 82. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AddFilterV4(context.Context, *AddFilterV4Request, ...dcerpc.CallOption) (*AddFilterV4Response, error) // The R_DhcpDeleteFilterV4 method is used to delete a link-layer address/pattern from // allow list or deny list. This method is also used to delete an exemption of a hardware // type from filtering. However, hardware type 1 (Ethernet 10 Mb) cannot be exempted, // and this method cannot be used to delete them. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------------------+-----------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------------+-----------------------------------------------------------------+ // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP Server Database. | // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00004E7F ERROR_DHCP_LINKLAYER_ADDRESS_DOES_NOT_EXIST | Address or Address pattern is not contained in any of the list. | // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | Invalid input - address/pattern | // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00004E86 ERROR_DHCP_UNDEFINED_HARDWARE_ADDRESS_TYPE | Hardware type not present in the exemption list. | // +--------------------------------------------------------+-----------------------------------------------------------------+ // // The opnum field value for this method is 83. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeleteFilterV4(context.Context, *DeleteFilterV4Request, ...dcerpc.CallOption) (*DeleteFilterV4Response, error) // The R_DhcpSetFilterV4 method is used to enable or disable the allow and deny lists. // The DHCPv4 server allows the DHCPv4 clients whose link-layer address is in the allow // list to be given leases and blocks DHCPv4 clients whose link-layer address is in // the deny list, provided the respective lists are enabled using R_DhcpSetFilterV4. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 84. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetFilterV4(context.Context, *SetFilterV4Request, ...dcerpc.CallOption) (*SetFilterV4Response, error) // The R_DhcpGetFilterV4 method is used to retrieve the enable or disable settings for // the allow and deny lists. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 85. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetFilterV4(context.Context, *GetFilterV4Request, ...dcerpc.CallOption) (*GetFilterV4Response, error) // The R_DhcpEnumFilterV4 method enumerates all the filter records from either allow // list or deny list. It also returns a list of hardware types presently exempted from // filtering. These entries are present in the allow list. Exemption entries have a // pattern of Length 0 and IsWildCard set to TRUE; both are specified in the AddrPatt // field of the DHCP_FILTER_RECORD (section 2.2.1.2.92) structure. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_NO_MORE_ITEMS (0x00000103) indicates that the operation was completed // successfully. Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. // This error code value can correspond to a DHCP-specific failure, which takes a value // between 20000 and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 86. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumFilterV4(context.Context, *EnumFilterV4Request, ...dcerpc.CallOption) (*EnumFilterV4Response, error) // The R_DhcpSetDnsRegCredentials method sets the DNS user name and credentials in the // DHCP server which is used for DNS registrations for DHCP client lease record. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 87. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetDNSRegCredentialsV5(context.Context, *SetDNSRegCredentialsV5Request, ...dcerpc.CallOption) (*SetDNSRegCredentialsV5Response, error) // The R_DhcpEnumSubnetClientsFilterStatusInfo method is used to retrieve all DHCPv4 // clients serviced on the specified IPv4 subnet. The information also includes the // link-layer filter status info for the DHCPv4 client. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 88. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetClientsFilterStatusInfo(context.Context, *EnumSubnetClientsFilterStatusInfoRequest, ...dcerpc.CallOption) (*EnumSubnetClientsFilterStatusInfoResponse, error) // The R_DhcpV4FailoverCreateRelationship method is used to create a new failover relationship // on the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates the return status. // A return value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed // successfully. Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. // This error code value can correspond to a DHCP-specific failure, which takes a value // between 20000 and 20123, or to any generic failure. // // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | IPv4 scope does not exist on the DHCPv4 server. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E90 ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP | IPv4 is already part of another failover relationship. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E91 ERROR_DHCP_FO_RELATIONSHIP_EXISTS | A failover relationship already exists on the DHCPv4 server. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E9D ERROR_DHCP_FO_RELATIONSHIP_NAME_TOO_LONG | The failover relationship name in the DHCP_FAILOVER_RELATIONSHIP (section | // | | 2.2.1.2.98) structure is too long. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA0 ERROR_DHCP_FO_MAX_RELATIONSHIPS | The maximum number of allowed failover relationships configured on the DHCP | // | | server has been exceeded. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 89. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. FailoverCreateRelationshipV4(context.Context, *FailoverCreateRelationshipV4Request, ...dcerpc.CallOption) (*FailoverCreateRelationshipV4Response, error) // The R_DhcpV4FailoverSetRelationship method is used to modify an existing failover // relationship on the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. The // return value ERROR_SUCCESS (0x00000000) indicates that the operation was completed // successfully. Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. // This error code value can correspond to a DHCP-specific failure, which takes a value // between 20000 and 20123, or any generic failure. // // +------------------------------------------------------+------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+------------------------------------------+ // +------------------------------------------------------+------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | The failover relationship doesn’t exist. | // +------------------------------------------------------+------------------------------------------+ // // The opnum field value for this method is 90. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverSetRelationshipV4(context.Context, *FailoverSetRelationshipV4Request, ...dcerpc.CallOption) (*FailoverSetRelationshipV4Response, error) // The R_DhcpV4FailoverDeleteRelationship method is used to delete an existing failover // relationship on the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. The // return value ERROR_SUCCESS (0x00000000) indicates that the operation was completed // successfully. Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. // This error code value can correspond to a DHCP-specific failure, which takes a value // between 20000 and 20123, or any generic failure. // // +------------------------------------------------------+------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+------------------------------------------+ // +------------------------------------------------------+------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | The failover relationship doesn't exist. | // +------------------------------------------------------+------------------------------------------+ // // The opnum field value for this method is 91. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverDeleteRelationshipV4(context.Context, *FailoverDeleteRelationshipV4Request, ...dcerpc.CallOption) (*FailoverDeleteRelationshipV4Response, error) // The R_DhcpV4FailoverGetRelationship method retrieves the failover relationship information // configured on the DHCPv4 server. The caller of this function can free the memory // pointed to by the pRelationship parameter by calling the function midl_user_free // (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +------------------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+-------------------------------------------+ // +------------------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+-------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | The failover relationship does not exist. | // +------------------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 92. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverGetRelationshipV4(context.Context, *FailoverGetRelationshipV4Request, ...dcerpc.CallOption) (*FailoverGetRelationshipV4Response, error) // The R_DhcpV4FailoverEnumRelationship method enumerates all the failover relationships // on the DHCPv4 server. The caller of this function can free the memory pointed to // by the pRelationship parameter by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 93. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverEnumRelationshipV4(context.Context, *FailoverEnumRelationshipV4Request, ...dcerpc.CallOption) (*FailoverEnumRelationshipV4Response, error) // The R_DhcpV4FailoverAddScopeToRelationship method adds scopes to an existing failover // relationship. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or to any generic failure. // // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | IPv4 scope does not exist on the DHCPv4 server. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E91 ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP | IPv4 scope is already part of another failover relationship. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | Failover relationship does not exist. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004EA5 ERROR_DHCP_FO_SCOPE_SYNC_IN_PROGRESS | Failover relationship is being re-integrated with the failover partner server. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E98 ERROR_DHCP_FO_STATE_NOT_NORMAL | Failover relationship is not in the NORMAL state. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // // The opnum field value for this method is 94. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverAddScopeToRelationshipV4(context.Context, *FailoverAddScopeToRelationshipV4Request, ...dcerpc.CallOption) (*FailoverAddScopeToRelationshipV4Response, error) // The R_DhcpV4FailoverDeleteScopeFromRelationship method is used to delete one or more // scopes from an existing failover relationship. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | IPv4 scope doesn't exist on the DHCPv4 server. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | Failover relationship doesn't exist. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E94 ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP | IPv4 subnet is not part of the failover relationship. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004EA5 ERROR_DHCP_FO_SCOPE_SYNC_IN_PROGRESS | Failover relationship is being re-integrated with the failover partner server. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // // The opnum field value for this method is 95. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverDeleteScopeFromRelationshipV4(context.Context, *FailoverDeleteScopeFromRelationshipV4Request, ...dcerpc.CallOption) (*FailoverDeleteScopeFromRelationshipV4Response, error) // The R_DhcpV4FailoverGetScopeRelationship method retrieves the failover relationship // information which is configured for a specific IPv4 subnet address. The caller of // this function can free the memory pointed to by the pRelationship parameter by calling // the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +----------------------------------------------------+-------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------------+-------------------------------------------------------+ // +----------------------------------------------------+-------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------------------+-------------------------------------------------------+ // | 0x00004E93 ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP | IPv4 subnet is not part of the failover relationship. | // +----------------------------------------------------+-------------------------------------------------------+ // // The opnum field value for this method is 96. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverGetScopeRelationshipV4(context.Context, *FailoverGetScopeRelationshipV4Request, ...dcerpc.CallOption) (*FailoverGetScopeRelationshipV4Response, error) // The R_DhcpV4FailoverGetScopeStatistics method is used to retrieve the statistics // of a IPv4 subnet configured for a failover relationship on the DHCPv4 server. The // caller of this function can free the memory pointed to by the pStats parameter by // calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 97. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverGetScopeStatisticsV4(context.Context, *FailoverGetScopeStatisticsV4Request, ...dcerpc.CallOption) (*FailoverGetScopeStatisticsV4Response, error) // The R_DhcpV4FailoverGetClientInfo method retrieves DHCPv4 client lease record information // from the DHCPv4 server database. The caller of this function can free the memory // pointed to by the ClientInfo parameter, by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +---------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+----------------------------------------------------------------------------------+ // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry | // | | is not present in the database. | // +---------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 98. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverGetClientInfoV4(context.Context, *FailoverGetClientInfoV4Request, ...dcerpc.CallOption) (*FailoverGetClientInfoV4Response, error) // The R_DhcpV4FailoverGetSystemTime method is used to return the current time on the // DHCP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 99. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. FailoverGetSystemTimeV4(context.Context, *FailoverGetSystemTimeV4Request, ...dcerpc.CallOption) (*FailoverGetSystemTimeV4Response, error) // The R_DhcpV4FailoverTriggerAddrAllocation method re-distributes the free addresses // between the primary server and secondary server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | Failover relationship doesn't exit. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E94 ERROR_DHCP_FO_RELATION_IS_SECONDARY | serverType member of failover relationship is SecondaryServer enumeration value. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 100. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverTriggerAddrAllocationV4(context.Context, *FailoverTriggerAddrAllocationV4Request, ...dcerpc.CallOption) (*FailoverTriggerAddrAllocationV4Response, error) // The R_DhcpV4SetOptionValue method sets the option value for a policy at the specified // level (scope or server). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8FL ERROR_DHCP_POLICY_NOT_FOUND | The specified policy name does not exist. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA8L ERROR_DHCP_POLICY_FQDN_OPIION_UNSUPPORTED | The option value cannot be specified because the policy contains an FQDN-based | // | | condition. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 101. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionValueV4(context.Context, *SetOptionValueV4Request, ...dcerpc.CallOption) (*SetOptionValueV4Response, error) // The R_DhcpV4SetOptionValues method sets the specified option values for a policy // at the specified level. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8FL ERROR_DHCP_POLICY_NOT_PRESENT | The specified policy name does not exist. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA8L ERROR_DHCP_POLICY_FQDN_OPTION_UNSUPPORTED | The option value cannot be specified because the policy contains an FQDN-based | // | | condition. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 102. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionValuesV4(context.Context, *SetOptionValuesV4Request, ...dcerpc.CallOption) (*SetOptionValuesV4Response, error) // The R_DhcpV4GetOptionValue method gets the option value for the specified PolicyName // parameter and OptionID parameter. The memory for the OptionValue parameter is allocated // by this method and can be freed by the caller by calling the function midl_user_free // (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-----------------------------------------------------------------------------+ // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E8F ERROR_DHCP_POLICY_NOT_PRESENT | The specified policy name does not exist. | // +------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 103. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionValueV4(context.Context, *GetOptionValueV4Request, ...dcerpc.CallOption) (*GetOptionValueV4Response, error) // The method R_DhcpV4RemoveOptionValue removes the option value for the specified policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database, or | // | | no value is set for the specified option ID on the specified policy. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8F ERROR_DHCP_POLICY_NOT_PRESENT | The specified policy name does not exist. | // +------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 104. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. RemoveOptionValueV4(context.Context, *RemoveOptionValueV4Request, ...dcerpc.CallOption) (*RemoveOptionValueV4Response, error) // The method R_DhcpV4GetAllOptionValues gets all the server level policy or scope level // policy options configured. The memory for the Values parameter is allocated by this // method and can be freed by the caller by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +------------------------------------------+--------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+--------------------------------------------------------------+ // +------------------------------------------+--------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+--------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +------------------------------------------+--------------------------------------------------------------+ // // The opnum field value for this method is 105. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptionValuesV4(context.Context, *GetAllOptionValuesV4Request, ...dcerpc.CallOption) (*GetAllOptionValuesV4Response, error) // The R_DhcpV4QueryPolicyEnforcement method is used to retrieve the state (enabled/disabled) // of policy enforcement on the server or the specified IPv4 subnet. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 106. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. QueryPolicyEnforcementV4(context.Context, *QueryPolicyEnforcementV4Request, ...dcerpc.CallOption) (*QueryPolicyEnforcementV4Response, error) // The R_DhcpV4SetPolicyEnforcement method is used to set the state (enable/disable) // of policy enforcement of the server or the specified IPv4 subnet. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 107. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetPolicyEnforcementV4(context.Context, *SetPolicyEnforcementV4Request, ...dcerpc.CallOption) (*SetPolicyEnforcementV4Response, error) // The R_DhcpV4CreatePolicy method creates the policy according to the data specified // in the policy data structure. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8C ERROR_DHCP_RANGE_INVALID_IN_SERVER_POLICY | A policy range has been specified for a server level policy. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8D ERROR_DHCP_INVALID_POLICY_EXPRESSION | The specified conditions or expressions of the policy are invalid. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8B ERROR_DHCP_POLICY_RANGE_BAD | The specified policy IP range is not contained within the IP address range of | // | | the scope, or the specified policy IP range is invalid. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E89 ERROR_DHCP_POLICY_EXISTS | The specified policy name exists at the specified level (server or scope). | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8A ERROR_DHCP_POLICY_RANGE_EXISTS | The specified policy IP range overlaps the policy IP ranges of an existing | // | | policy at the specified scope. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8E ERROR_DHCP_INVALID_PROCESSING_ORDER | The specified processing order is greater than the maximum processing order of | // | | the existing policies at the specified level (server or scope). | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The vendor class or user class reference in the conditions of the policy does | // | | not exist. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EAC ERROR_DHCP_POLICY_FQDN_RANGE_UNSUPPORTED | Ranges are not allowed to be set on the given policy. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 108. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreatePolicyV4(context.Context, *CreatePolicyV4Request, ...dcerpc.CallOption) (*CreatePolicyV4Response, error) // The R_DhcpV4GetPolicy method returns the specified policy. The memory for the Policy // structure is allocated by this method and can be freed by the caller by using the // function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 109. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. GetPolicyV4(context.Context, *GetPolicyV4Request, ...dcerpc.CallOption) (*GetPolicyV4Response, error) // The R_DhcpV4SetPolicy method modifies the specified DHCPv4 policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8C ERROR_DHCP_RANGE_INVALID_IN_SERVER_POLICY | A policy range has been specified for a server level policy. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8D ERROR_DHCP_INVALID_POLICY_EXPRESSION | The specified conditions or expressions of the policy are invalid. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8B ERROR_DHCP_POLICY_RANGE_BAD | The specified policy range is not contained within the IP address range of the | // | | scope, or the specified policy range is invalid. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E89 ERROR_DHCP_POLICY_NOT_FOUND | The specified policy name does not exist at the specified level (server or | // | | scope). | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8A ERROR_DHCP_POLICY_RANGE_EXISTS | The specified policy range overlaps the policy ranges of an existing policy at | // | | the specified scope. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8E ERROR_DHCP_INVALID_PROCESSING_ORDER | The specified processing order is greater than the maximum processing order of | // | | the existing policies at the specified level (server or scope). | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The vendor class or user class reference in the conditions of the policy does | // | | not exist. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA9 ERROR_DHCP_POLICY_EDIT_FQDN_UNSUPPORTED | A FQDN-based condition is being added to a policy that has ranges or options | // | | configured. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 110. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetPolicyV4(context.Context, *SetPolicyV4Request, ...dcerpc.CallOption) (*SetPolicyV4Response, error) // The R_DhcpV4DeletePolicy method deletes the specified policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 111. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeletePolicyV4(context.Context, *DeletePolicyV4Request, ...dcerpc.CallOption) (*DeletePolicyV4Response, error) // The method R_DhcpV4EnumPolicies returns an enumerated list of all configured server // level policies or scope level policies. The caller of this function can free the // memory pointed to by the EnumInfo parameter by calling the function midl_user_free // (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 112. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumPoliciesV4(context.Context, *EnumPoliciesV4Request, ...dcerpc.CallOption) (*EnumPoliciesV4Response, error) // The R_DhcpV4AddPolicyRange method adds an IP address range to a policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8F ERROR_DHCP_POLICY_NOT_FOUND | The specified policy does not exist. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8B ERROR_DHCP_POLICY_RANGE_BAD | The specified policy IP range is not contained within the IP address range of | // | | the scope, or the specified policy IP range is not valid. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8A ERROR_DHCP_POLICY_RANGE_EXISTS | The specified policy IP range overlaps one of the policy IP address ranges | // | | specified. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA7 ERROR_DHCP_POLICY_FQDN_RANGE_UNSUPPORTED | Ranges are not allowed to be added to the given policy. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 113. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AddPolicyRangeV4(context.Context, *AddPolicyRangeV4Request, ...dcerpc.CallOption) (*AddPolicyRangeV4Response, error) // The R_DhcpV4RemovePolicyRange method removes the specified IP address range from // the list of IP address ranges of the policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8F ERROR_DHCP_POLICY_NOT_FOUND | The specified policy does not exist. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8B ERROR_DHCP_POLICY_RANGE_BAD | The specified policy range is not contained within the IP address range of the | // | | scope. | // +------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 114. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemovePolicyRangeV4(context.Context, *RemovePolicyRangeV4Request, ...dcerpc.CallOption) (*RemovePolicyRangeV4Response, error) // The R_DhcpV4EnumSubnetClients method is used to retrieve all DHCPv4 clients serviced // on the specified IPv4 subnet. The information also includes the link-layer filter // status info for the DHCPv4 client and the policy, if any, that resulted in the specific // IPv4 address assignment. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | More client lease records are available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | No more client lease records are left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetClientsV4(context.Context, *EnumSubnetClientsV4Request, ...dcerpc.CallOption) (*EnumSubnetClientsV4Response, error) // The R_DhcpV6SetStatelessStoreParams method modifies the configuration settings for // DHCPv6 stateless client inventory at the server or scope level. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+------------------------------------------------------+ // +------------------------------------------+------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------+------------------------------------------------------+ // | 0x00020005 ERROR_DHCP_SUBNET_NOT_PRESENT | The IPv6 subnet does not exist on the DHCPv6 server. | // +------------------------------------------+------------------------------------------------------+ // // The opnum field value for this method is 116. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetStatelessStoreParamsV6(context.Context, *SetStatelessStoreParamsV6Request, ...dcerpc.CallOption) (*SetStatelessStoreParamsV6Response, error) // The R_DhcpV6GetStatelessStoreParams method retrieves the current DHCPv6 stateless // client inventory-related configuration setting at the server or scope level. The // caller of this function can free the memory pointed to by the Params parameter by // calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+------------------------------------------------------+ // +------------------------------------------+------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------+------------------------------------------------------+ // | 0x00020005 ERROR_DHCP_SUBNET_NOT_PRESENT | The IPv6 subnet does not exist on the DHCPv6 server. | // +------------------------------------------+------------------------------------------------------+ // // The opnum field value for this method is 117. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetStatelessStoreParamsV6(context.Context, *GetStatelessStoreParamsV6Request, ...dcerpc.CallOption) (*GetStatelessStoreParamsV6Response, error) // The R_DhcpV6GetStatelessStatistics method is used to retrieve the statistics of the // DHCPv6 stateless server. The caller of this function can free the memory pointed // to by the StatelessStats parameter and its ScopeStats member array by calling the // function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +--------------------------+----------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+----------------------------------+ // +--------------------------+----------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +--------------------------+----------------------------------+ // // The opnum field value for this method is 118. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetStatelessStatisticsV6(context.Context, *GetStatelessStatisticsV6Request, ...dcerpc.CallOption) (*GetStatelessStatisticsV6Response, error) // The R_DhcpV4EnumSubnetReservations method enumerates all the reservation information // on the DHCPv4 server for a given IPv4 subnet address. The caller of this function // can free the memory pointed to by the EnumElementInfo parameter by calling the function // midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +--------------------------------+--------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+--------------------------------------------------+ // +--------------------------------+--------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+--------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+--------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+--------------------------------------------------+ // | ERROR_DHCP_SUBNET_NOT_PRESENT | IPv4 subnet does not exist on the DHCPv4 server. | // +--------------------------------+--------------------------------------------------+ // // The opnum field value for this method is 119. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetReservationsV4(context.Context, *EnumSubnetReservationsV4Request, ...dcerpc.CallOption) (*EnumSubnetReservationsV4Response, error) // The R_DhcpV4GetFreeIPAddress method retrieves the list of IPv4 addresses available // to be leased out to the clients. The caller of this function can free the memory // pointed to by the IPAddrList parameter by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000103 ERROR_FILE_NOT_FOUND | No more elements are left to enumerate. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00020126 ERROR_DHCP_REACHED_END_OF_SELECTION | The specified DHCP server has reached the end of the selected range while | // | | finding the free IP addresses. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 120. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetFreeIPAddressV4(context.Context, *GetFreeIPAddressV4Request, ...dcerpc.CallOption) (*GetFreeIPAddressV4Response, error) // The R_DhcpV6GetFreeIPAddress method retrieves the list of IPv6 addresses available // to be leased out to the clients. The caller of this function can free the memory // pointed to by the IPAddrList parameter by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or to any generic failure. // // +------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00020005 ERROR_DHCP_SUBNET_NOT_PRESENT | The IPv6 subnet does not exist on the DHCPv6 server. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00020126 ERROR_DHCP_REACHED_END_OF_SELECTION | The specified DHCP server has reached the end of the selected range while | // | | finding the free IP addresses. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 121. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. GetFreeIPAddressV6(context.Context, *GetFreeIPAddressV6Request, ...dcerpc.CallOption) (*GetFreeIPAddressV6Response, error) // The R_DhcpV4CreateClientInfo method creates a DHCPv4 client lease record on the DHCP // server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------+ // +------------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------+----------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet does not exist. | // +------------------------------------------+----------------------------------------------------+ // | 0x00004E2E ERROR_DHCP_CLIENT_EXISTS | The specified client already exists on the server. | // +------------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 122. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateClientInfoV4(context.Context, *CreateClientInfoV4Request, ...dcerpc.CallOption) (*CreateClientInfoV4Response, error) // The R_DhcpV4GetClientInfo method retrieves DHCPv4 client lease record information // from the DHCPv4 server database. The information also includes the link-layer filter // status information for the DHCPv4 client and the policy, if any, that resulted in // the specific IPv4 address assignment. The caller of this function can free the memory // pointed to by the ClientInfo parameter by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +--------------------------------------+-----------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------+-----------------------------------------+ // +--------------------------------------+-----------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +--------------------------------------+-----------------------------------------+ // | 0x00004E30 ERROR_DHCP_INVALID_CLIENT | The specified DHCP client is not valid. | // +--------------------------------------+-----------------------------------------+ // // The opnum field value for this method is 123. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetClientInfoV4(context.Context, *GetClientInfoV4Request, ...dcerpc.CallOption) (*GetClientInfoV4Response, error) // The R_DhcpV6CreateClientInfo method creates a DHCPv6 client lease record on the DHCP // server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------+ // +------------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------+----------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet does not exist. | // +------------------------------------------+----------------------------------------------------+ // | 0x00004E2E ERROR_DHCP_CLIENT_EXISTS | The specified client already exists on the server. | // +------------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 124. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateClientInfoV6(context.Context, *CreateClientInfoV6Request, ...dcerpc.CallOption) (*CreateClientInfoV6Response, error) // The R_DhcpV4FailoverGetAddressStatus method queries the current address status for // an address belonging to a subnet that is part of a failover relationship on the DHCP // server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +----------------------------------------------------+--------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------------+--------------------------------------------------------------------------------+ // +----------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +----------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An invalid parameter is specified in the Address parameter. | // +----------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E94 ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP | The subnet associated with the address is not part of a failover relationship. | // +----------------------------------------------------+--------------------------------------------------------------------------------+ // // The opnum field value for this method is 125. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. FailoverGetAddressStatusV4(context.Context, *FailoverGetAddressStatusV4Request, ...dcerpc.CallOption) (*FailoverGetAddressStatusV4Response, error) // The R_DhcpV4CreatePolicyEx method creates the policy according to the data specified // in the policy data structure. // // The R_DhcpV4CreatePolicyEx method is an extension of the R_DhcpV4CreatePolicy (Opnum // 108) (section 3.2.4.109) method, where a DHCP_POLICY_EX (section 2.2.1.2.121) structure // is specified for the pPolicy parameter, rather than a DHCP_POLICY (section 2.2.1.2.110) // structure. The structure contains the members of the policy to be created. // // Using the extension method, a list of DHCP_PROPERTY (section 2.2.1.2.117) elements // can be specified that can be associated with the given policy when creating the policy. // // Return Values: As specified in R_DhcpV4CreatePolicy (Opnum 108). // // The opnum field value for this method is 126. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4CreatePolicy // (Opnum 108) method. CreatePolicyExV4(context.Context, *CreatePolicyExV4Request, ...dcerpc.CallOption) (*CreatePolicyExV4Response, error) // The R_DhcpV4GetPolicyEx method returns the specified policy. The memory for the Policy // structure is allocated by the method and can be freed by the caller by using the // midl_user_free function (section 3). // // The R_DhcpV4GetPolicyEx method is an extension of the R_DhcpV4GetPolicy (Opnum 109) // (section 3.2.4.110) method, where a DHCP_POLICY_EX (section 2.2.1.2.121) structure // is queried, rather than a DHCP_POLICY (section 2.2.1.2.110) structure. The structure // returns a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that can be associated // with the given policy. // // Return Values: As specified in R_DhcpV4CreatePolicy (Opnum 108). // // The opnum field value for this method is 127. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4GetPolicy // (Opnum 109) method. GetPolicyExV4(context.Context, *GetPolicyExV4Request, ...dcerpc.CallOption) (*GetPolicyExV4Response, error) // The R_DhcpV4SetPolicyEx method modifies the specified policy. // // The method is an extension of the R_DhcpV4SetPolicy (Opnum 110) (section 3.2.4.111) // method, where the method specifies a DHCP_POLICY_EX (section 2.2.1.2.121) structure // rather than a DHCP_POLICY (section 2.2.1.2.110) structure. The structure contains // a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that can be updated for the // policy. // // Return Values: As specified in R_DhcpV4SetPolicy (Opnum 110). // // The opnum field value for this method is 128. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4SetPolicy // (Opnum 110) method, except as follows: // // * The FieldsModified parameter can also be set to the DhcpUpdatePolicyDnsSuffix value // of the DHCP_POLICY_FIELDS_TO_UPDATE (section 2.2.1.1.21) ( 49abe631-1c6b-4711-8337-b4b2bdf90b00 // ) enumeration. // // * If the FieldsModified parameter is set to DhcpUpdatePolicyDnsSuffix, the *R_DhcpV4SetPolicyEx* // method searches for the property with an ID value of DhcpPropIdPolicyDnsSuffix and // Type value of DhcpPropTypeString. If such a property is located, the *R_DhcpV4SetPolicyEx* // method validates that the string length of the property value does not exceed 255 // characters. If the length is exceeded, the *R_DhcpV4SetPolicyEx* method returns ERROR_INVALID_PARAMETER. // // * The *R_DhcpV4SetPolicyEx* method updates the server or scope level <DHCPv4Policy> // ADM element retrieved earlier according to the following: // // In addition to steps 1 through 5 specified in *R_DhcpV4SetPolicy* (Opnum 110), the // *R_DhcpV4SetPolicyEx* method adds the following instruction: // // * If the *DhcpUpdatePolicyDnsSuffix* enumeration value is set in the FieldsModified // parameter, update the DNSSuffix of the policy in the <DHCPv4Policy.DnsSuffix> ADM // element. If no such property exists in the list of properties with an ID value equal // to DhcpPropIdPolicyDnsSuffix and a Type value equal to DhcpPropTypeString, or if // the StringValue of the property is NULL or of zero length, then the <DHCPv4Policy.DnsSuffix> // ADM element is cleared; otherwise, the ADM element is set to the StringValue of the // property. // // * The FieldsModified parameter is set to any value other than DhcpUpdatePolicyName, // DhcpUpdatePolicyOrder, DhcpUpdatePolicyExpr, DhcpUpdatePolicyRanges, DhcpUpdatePolicyDescr, // DhcpUpdatePolicyStatus, or DhcpUpdatePolicyDnsSuffix, as defined in *DHCP_POLICY_FIELDS_TO_UPDATE* // enumeration. // // * The *R_DhcpV4SetPolicyEx* method returns ERROR_INVALID_PARAMETER. SetPolicyExV4(context.Context, *SetPolicyExV4Request, ...dcerpc.CallOption) (*SetPolicyExV4Response, error) // The R_DhcpV4EnumPoliciesEx method returns an enumerated list of all configured server // level or scope level policies. The caller of this method can free the memory pointed // to by the EnumInfo parameter by calling the midl_user_free function (section 3). // // The R_DhcpV4EnumPoliciesEx method is an extension of the R_DhcpV4EnumPolicies (Opnum // 112) (section 3.2.4.130) method, where an array of DHCP_POLICY_EX (section 2.2.1.2.121) // structures is enumerated, rather than an array of DHCP_POLICY (section 2.2.1.2.110) // structures. Each DHCP_POLICY_EX structure contains a list of DHCP_PROPERTY (section // 2.2.1.2.117) elements that are associated with the given policy. // // Return Values: As specified in R_DhcpV4EnumPolicies (Opnum 112). // // The opnum field value for this method is 129. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4EnumPolicies // method, except as follows: // // * No filtering is applied to the enumerated list of configured server-level or scope-level // policies returned by the *R_DhcpV4EnumPoliciesEx* method. EnumPoliciesExV4(context.Context, *EnumPoliciesExV4Request, ...dcerpc.CallOption) (*EnumPoliciesExV4Response, error) // The R_DhcpV4EnumSubnetClientsEx method is used to retrieve all DHCPv4 clients serviced // on the specified IPv4 subnet. The information retrieved also includes the link-layer // filter status for the DHCPv4 client and the policy, if any, that resulted in the // specific IPv4 address assignment. // // The R_DhcpV4EnumSubnetClientsEx method is an extension of the R_DhcpV4EnumSubnetClients // (Opnum 115) (section 3.2.4.116) method, where an array of DHCP_CLIENT_INFO_EX (section // 2.2.1.2.119) structures is enumerated, rather than an array of DHCP_CLIENT_INFO_PB // (section 2.2.1.2.115) structures. Each DHCP_CLIENT_INFO_EX structure contains a list // of DHCP_PROPERTY (section 2.2.1.2.117) elements that are associated with the given // subnet client. // // Return Values: As specified in R_DhcpV4EnumSubnetClients (Opnum 115). // // The opnum field value for this method is 130. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4EnumSubnetClients // method. EnumSubnetClientsExV4(context.Context, *EnumSubnetClientsExV4Request, ...dcerpc.CallOption) (*EnumSubnetClientsExV4Response, error) // The R_DhcpV4CreateClientInfoEx method creates a DHCPv4 client lease record on the // DHCP server. // // The R_DhcpV4CreateClientInfoEx method is an extension of the R_DhcpV4CreateClientInfo // (Opnum 122) (section 3.2.4.132) method, where a DHCP_CLIENT_INFO_EX (section 2.2.1.2.119) // structure is specified, rather than a DHCP_CLIENT_INFO_PB (section 2.2.1.2.119) structure. // The structure contains a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that // can be associated with the given DHCPv4 client. CreateClientInfoExV4(context.Context, *CreateClientInfoExV4Request, ...dcerpc.CallOption) (*CreateClientInfoExV4Response, error) // The R_DhcpV4GetClientInfoEx method retrieves DHCPv4 client lease record information // from the DHCPv4 server database. The retrieved information also includes the link-layer // filter status information for the DHCPv4 client and the policy, if any, that resulted // in the specific IPv4 address assignment. The caller of this method can free the memory // pointed to by the ClientInfo parameter by calling the midl_user_free function (section // 3). // // The R_DhcpV4GetClientInfoEx method is an extension of the R_DhcpV4GetClientInfo (Opnum // 123) (section 3.2.4.124) method, where a DHCP_CLIENT_INFO_EX (section 2.2.1.2.119) // structure is queried, rather than a DHCP_CLIENT_INFO_PB (section 2.2.1.2.115) structure. // The structure returns a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that // can be associated with the given DHCPv4 client. // // Return Values: As specified in R_DhcpV4GetClientInfo (Opnum 123). // // The opnum field value for this method is 132. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4GetClientInfo // method. GetClientInfoExV4(context.Context, *GetClientInfoExV4Request, ...dcerpc.CallOption) (*GetClientInfoExV4Response, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // Conn returns the client connection (unsafe) Conn() dcerpc.Conn }
dhcpsrv2 interface.
func NewDhcpsrv2Client ¶
type Dhcpsrv2Server ¶
type Dhcpsrv2Server interface { // The R_DhcpEnumSubnetClientsV5 method is used to retrieve all DHCPv4 clients serviced // from the specified IPv4 subnet. This method returns DHCPv4 clients from all IPv4 // subnets if the subnet address specified zero. The caller of this function can free // the memory pointed to by the ClientInfo parameter and its Clients member by calling // the function midl_user_free (see section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 0. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. EnumSubnetClientsV5(context.Context, *EnumSubnetClientsV5Request) (*EnumSubnetClientsV5Response, error) // The R_DhcpSetMScopeInfo method creates/modifies an IPv4 multicast subnet on the MADCAP // server. The behavior of this method is dependent on parameter NewScope. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4E ERROR_DHCP_SCOPE_NAME_TOO_LONG | The specified scope name is too long. The name is limited to a maximum of 256 | // | | characters. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E24 ERROR_DHCP_SUBNET_EXISTS | The specified IPv4 multicast subnet already exists. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E55 ERROR_DHCP_MSCOPE_EXISTS | The multicast scope parameters are incorrect. Either the scope already exists or | // | | its properties are inconsistent with the properties of another existing scope. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 1. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetMScopeInfo(context.Context, *SetMScopeInfoRequest) (*SetMScopeInfoResponse, error) // The R_DhcpGetMScopeInfo method retrieves the information of the IPv4 multicast subnet // managed by the MADCAP server. The caller of this function can free the memory pointed // by MScopeInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 2. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. GetMScopeInfo(context.Context, *GetMScopeInfoRequest) (*GetMScopeInfoResponse, error) // The R_DhcpEnumMScopes method enumerates IPv4 multicast subnet names configured on // the MADCAP server. The caller of this function can free the memory pointed to by // the MScopeTable parameter by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-----------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-----------------------------------------------+ // +--------------------------------+-----------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-----------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-----------------------------------------------+ // // The opnum field value for this method is 3. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. EnumMScopes(context.Context, *EnumMScopesRequest) (*EnumMScopesResponse, error) // The R_DhcpAddMScopeElement method adds an IPv4 multicast subnet element (IPv4 range // or IPv4 exclusion range) to the IPv4 multicast subnet in the MADCAP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E37 ERROR_DHCP_INVALID_RANGE | The specified multicast range either overlaps an existing range or is not valid. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E56 ERROR_MSCOPE_RANGE_TOO_SMALL | The multicast scope range MUST have at least 256 IPv4 addresses. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E35 ERROR_DHCP_IPRANGE_EXITS | The specified multicast range already exists. | // +------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 4. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. AddMScopeElement(context.Context, *AddMScopeElementRequest) (*AddMScopeElementResponse, error) // The R_DhcpEnumMScopeElements method enumerates the list of specific types of IPv4 // multicast subnet elements (IPv4 range of IPv4 exclusion) from a specific IPv4 multicast // subnet. The caller of this function can free the memory pointed to by EnumElementInfo // and its member Elements by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------------+ // +------------------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +------------------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +------------------------------------------+-------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 5. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumMScopeElements(context.Context, *EnumMScopeElementsRequest) (*EnumMScopeElementsResponse, error) // The R_DhcpRemoveMScopeElement method removes an IPv4 multicast subnet element (IPv4 // multicast range or IPv4 exclusion range) from the IPv4 multicast subnet defined on // the MADCAP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE | The specified IPv4 multicast subnet element cannot be removed because at least | // | | one multicast IPv4 address has been leased out to a MADCAP client. The starting | // | | address of the specified Multicast exclusion range is not part of any multicast | // | | exclusion range configured on the server. There is an error in deleting the | // | | exclusion range from the database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E37 ERROR_DHCP_INVALID_RANGE | The specified IPv4 range either overlaps an existing IPv4 range or is not valid. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 6. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveMScopeElement(context.Context, *RemoveMScopeElementRequest) (*RemoveMScopeElementResponse, error) // The R_DhcpDeleteMScope method deletes the multicast subnet from the MADCAP server. // The ForceFlag defines the behavior of the operation when the subnet has served a // MADCAP client. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE | The specified IPv4 multicast scope cannot be removed because at least one | // | | multicast IPv4 address has been leased out to some MADCAP client. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 7. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. DeleteMScope(context.Context, *DeleteMScopeRequest) (*DeleteMScopeResponse, error) // The R_DhcpScanMDatabase method can be used by DHCP servers to enumerate and/or fix // inconsistencies between the MADCAP lease records and the bitmask representation in // memory (section 3.1.1.4). The caller of this function can free the memory pointed // to by ScanList and its member ScanItems by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+---------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+---------------------------------------------------------------+ // +------------------------------------------+---------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +------------------------------------------+---------------------------------------------------------------+ // // The opnum field value for this method is 8. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ScanMDatabase(context.Context, *ScanMDatabaseRequest) (*ScanMDatabaseResponse, error) // The R_DhcpCreateMClientInfo method creates a multicast client record on the MADCAP // server's database. This also marks the specified client IP address as unavailable // (or distributed). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+---------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+---------------------------------------------------------------------+ // +---------------------------------------+---------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | This call was successful. | // +---------------------------------------+---------------------------------------------------------------------+ // | 0x00000078 ERROR_CALL_NOT_IMPLEMENTED | The method is not implemented by this version of the MADCAP server. | // +---------------------------------------+---------------------------------------------------------------------+ // // The opnum field value for this method is 9. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateMClientInfo(context.Context, *CreateMClientInfoRequest) (*CreateMClientInfoResponse, error) // The R_DhcpSetMClientInfo method sets/modifies the specific MADCAP client lease record // on the MADCAP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+---------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+---------------------------------------------------------------------+ // +---------------------------------------+---------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | This call was successful. | // +---------------------------------------+---------------------------------------------------------------------+ // | 0x00000078 ERROR_CALL_NOT_IMPLEMENTED | The method is not implemented by this version of the MADCAP server. | // +---------------------------------------+---------------------------------------------------------------------+ // // The opnum field value for this method is 10. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. SetMClientInfo(context.Context, *SetMClientInfoRequest) (*SetMClientInfoResponse, error) // The R_DhcpGetMClientInfo method retrieves the specified MADCAP client lease record // information from the MADCAP server. The caller of this function can free the memory // pointed to by ClientInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+---------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+---------------------------------------------------------------+ // +---------------------------------+---------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+---------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +---------------------------------+---------------------------------------------------------------+ // // The opnum field value for this method is 11. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. GetMClientInfo(context.Context, *GetMClientInfoRequest) (*GetMClientInfoResponse, error) // The R_DhcpDeleteMClientInfo method deletes the specified MADCAP client lease record // from the MADCAP server. It also frees up the MADCAP client IPv4 address for redistribution. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+---------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+---------------------------------------------------------------+ // +---------------------------------+---------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+---------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +---------------------------------+---------------------------------------------------------------+ // // The opnum field value for this method is 12. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. DeleteMClientInfo(context.Context, *DeleteMClientInfoRequest) (*DeleteMClientInfoResponse, error) // The R_DhcpEnumMScopeClients method enumerates all MADCAP clients serviced from the // specified IPv4 multicast subnet. The caller of this function can free the memory // pointed to by the ClientInfo parameter and other client parameters by calling the // function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+---------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+---------------------------------------------------------------+ // +------------------------------------------+---------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+---------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the MADCAP server database. | // +------------------------------------------+---------------------------------------------------------------+ // // The opnum field value for this method is 13. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. EnumMScopeClients(context.Context, *EnumMScopeClientsRequest) (*EnumMScopeClientsResponse, error) // The R_DhcpCreateOptionV5 method creates an option definition of a specific option // for a specific user class and vendor class at the default option level. The OptionId // specifies the identifier of the option. If the user class or vendor class is not // defined, the option definition is created for the default user class and vendor class. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+-------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+-------------------------------------------------------------------------+ // +---------------------------------------+-------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E29 ERROR_DHCP_OPTION_EXITS | The specified option definition already exists on DHCP server database. | // +---------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +---------------------------------------+-------------------------------------------------------------------------+ // // The opnum field value for this method is 14. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateOptionV5(context.Context, *CreateOptionV5Request) (*CreateOptionV5Response, error) // The R_DhcpSetOptionInfoV5 method modifies the option definition of a specific option // for a specific user class and vendor class at the default level. If the user class // or vendor class is not defined, the option definition is set or modified for the // default user class or vendor class. This is an extension of R_DhcpSetOptionInfo (section // 3.1.4.10), which sets the option definition for a default user and vendor class. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-----------------------------------------------------------------------------+ // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 15. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionInfoV5(context.Context, *SetOptionInfoV5Request) (*SetOptionInfoV5Response, error) // The R_DhcpGetOptionInfoV5 method retrieves the option definition of a specific option // for a specific user class and vendor class at the default option level. If the user // class or vendor class is not defined, the option definition is retrieved for the // default user class or vendor class. This is an extension method of R_DhcpGetOptionInfo // (section 3.1.4.11), which retrieves the option definition of a specific option for // the default user and vendor class. The caller of this function can free the memory // pointed to by OptionInfo by calling the function midl_user_free (see section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------------------------------------+ // +------------------------------------------+-------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on DHCP server database. | // +------------------------------------------+-------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+-------------------------------------------------------------------------+ // // The opnum field value for this method is 16. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionInfoV5(context.Context, *GetOptionInfoV5Request) (*GetOptionInfoV5Response, error) // The R_DhcpEnumOptionsV5 method enumerates the option definitions for a specific user // class and vendor class for the default option level. If the user class or the vendor // class is not defined, the option definitions are enumerated for the default user // class or vendor class. This method is an extension of the method in R_DhcpEnumOptions // (section 3.1.4.24), which enumerates the option definition for a default user and // vendor class. The caller of this function can free the memory pointed to by the Options // parameter by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------+ // +---------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+----------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------------+----------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------------+----------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +---------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 17. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. EnumOptionsV5(context.Context, *EnumOptionsV5Request) (*EnumOptionsV5Response, error) // The R_DhcpRemoveOptionV5 method removes the option definition of a specific option // for a specific user class and vendor class at the default option level. If the user // class or the vendor class is not specified, the option definition is removed from // the default user class or vendor class. The OptionID specifies the identifier of // the option definition. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-----------------------------------------------------------------------------+ // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 18. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveOptionV5(context.Context, *RemoveOptionV5Request) (*RemoveOptionV5Response, error) // The R_DhcpSetOptionValueV5 method creates the option value, when called for the first // time. Otherwise, it modifies the option value of a specific option on the DHCPv4 // server for a specific user class and vendor class. ScopeInfo defines the scope on // which this option value is set. If the user class or vendor class is not provided, // a default user class or vendor class is taken. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+-----------------------------------------------------------------------------+ // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 19. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionValueV5(context.Context, *SetOptionValueV5Request) (*SetOptionValueV5Response, error) // The R_DhcpSetOptionValuesV5 method creates the option value when called for the first // time, else it modifies it. It creates or modifies one or more options for a specific // user class and vendor class. If the user class or the vendor class is not specified, // the option values are set or modified for the default user class or vendor class. // ScopeInfo defines the scope on which this option value is modified. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+-----------------------------------------------------------------------------+ // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 20. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. SetOptionValuesV5(context.Context, *SetOptionValuesV5Request) (*SetOptionValuesV5Response, error) // The R_DhcpGetOptionValueV5 method retrieves the option value for a specific option // on the DHCPv4 server for a specific user class and vendor class. If the user class // or the vendor class is not specified, the option value is retrieved from the default // user class or vendor class. ScopeInfo defines the scope from which the option value // needs to be retrieved. The caller of this function can free the memory pointed to // by OptionValue by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+-----------------------------------------------------------------------------+ // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 21. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionValueV5(context.Context, *GetOptionValueV5Request) (*GetOptionValueV5Response, error) // The R_DhcpEnumOptionValuesV5 method enumerates all the option values for the specific // user class and vendor class at a specified scope defined by ScopeInfo. If the user // class or the vendor class is not specified, the option values are retrieved from // the default user class or vendor class. The caller of this function can free the // memory pointed to by OptionValues and the Values member of OptionValues by calling // the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+--------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+--------------------------------------------------------------+ // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------+--------------------------------------------------------------+ // // The opnum field value for this method is 22. EnumOptionValuesV5(context.Context, *EnumOptionValuesV5Request) (*EnumOptionValuesV5Response, error) // The R_DhcpRemoveOptionValueV5 method removes the option value for a specific option // on the DHCPv4 server for a specific user class and vendor class. If the user class // or the vendor class is not specified, the option value is removed from the default // user class or vendor class. ScopeInfo defines the scope on which this option value // is removed. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+-----------------------------------------------------------------------------+ // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 23. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveOptionValueV5(context.Context, *RemoveOptionValueV5Request) (*RemoveOptionValueV5Response, error) // The R_DhcpCreateClass method creates a user class or a vendor class definition on // the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------+------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------+------------------------------------------------------------------------------+ // +--------------------------------------------+------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------+------------------------------------------------------------------------------+ // | 0x00004E4D ERROR_DHCP_CLASS_ALREADY_EXISTS | The class name is already in use or the class information is already in use. | // +--------------------------------------------+------------------------------------------------------------------------------+ // // The opnum field value for this method is 24. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateClass(context.Context, *CreateClassRequest) (*CreateClassResponse, error) // The R_DhcpModifyClass method modifies the user class or vendor class definition for // the DHCP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------+ // +---------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+----------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +---------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 25. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. ModifyClass(context.Context, *ModifyClassRequest) (*ModifyClassResponse, error) // The R_DhcpDeleteClass method deletes the user class or vendor class definition from // the DHCP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------+----------------------------------------------------+ // +--------------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------+----------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +--------------------------------------------+----------------------------------------------------+ // | 0x00004E79 ERROR_DHCP_DELETE_BUILTIN_CLASS | This class cannot be deleted. | // +--------------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 26. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. DeleteClass(context.Context, *DeleteClassRequest) (*DeleteClassResponse, error) // The R_DhcpGetClassInfo method retrieves the user class or vendor class information // configured for the DHCP server. The caller of this function can free the memory pointed // to by FilledClassInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------+ // +---------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+----------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +---------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 27. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetClassInfo(context.Context, *GetClassInfoRequest) (*GetClassInfoResponse, error) // The R_DhcpEnumClasses method enumerates user classes or vendor classes configured // for the DHCP server. The caller of this function can free the memory pointed to by // ClassInfoArray and Classes by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 28. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumClasses(context.Context, *EnumClassesRequest) (*EnumClassesResponse, error) // The R_DhcpGetAllOptions method retrieves all default option definitions, as well // as specific user class and vendor class option definitions. The caller of this function // can free the memory pointed to by OptionStruct, NonVendorOptions and other Options // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 29. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptions(context.Context, *GetAllOptionsRequest) (*GetAllOptionsResponse, error) // The R_DhcpGetAllOptionValues method retrieves the option values for all the options // configured at the DHCPv4 server from the specific scope for all user classes and // vendor classes. ScopeInfo defines the scope from which this option values are retrieved. // The caller of this method can free the memory pointed to by Values, its Options member, // and the members of each element in the Options array, by calling the function midl_user_free // (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+--------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+--------------------------------------------------------------+ // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------+--------------------------------------------------------------+ // // The opnum field value for this method is 30. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptionValues(context.Context, *GetAllOptionValuesRequest) (*GetAllOptionValuesResponse, error) // The R_DhcpGetMCastMibInfo method retrieves the multicast counter values of the MADCAP // server. The caller of this function can free the memory pointed to by MibInfo by // calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 31. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetMCastMIBInfo(context.Context, *GetMCastMIBInfoRequest) (*GetMCastMIBInfoResponse, error) // The R_DhcpAuditLogSetParams method sets/modifies the DHCP server setting related // to the audit log. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 32. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AuditLogSetParams(context.Context, *AuditLogSetParamsRequest) (*AuditLogSetParamsResponse, error) // The R_DhcpAuditLogGetParams method retrieves all audit log–related settings from // the DHCP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 33. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AuditLogGetParams(context.Context, *AuditLogGetParamsRequest) (*AuditLogGetParamsResponse, error) // The R_DhcpServerQueryAttribute method retrieves attribute information from the DHCP // server. The caller of this function can free the memory pointed to by pDhcpAttrib // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 34. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerQueryAttribute(context.Context, *ServerQueryAttributeRequest) (*ServerQueryAttributeResponse, error) // The R_DhcpServerQueryAttributes method retrieves one or more attributes information // from the DHCP server. The caller of this function can free the memory pointed to // by pDhcpAttribArr and pDhcpAttribs by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 35. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerQueryAttributes(context.Context, *ServerQueryAttributesRequest) (*ServerQueryAttributesResponse, error) // The R_DhcpServerRedoAuthorization method attempts to determine whether the DHCP server // is authorized and restores the leasing operation if the server is not authorized. // The rogue detection mechanism is outlined in [MS-DHCPE] (section 3.3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 36. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerRedoAuthorization(context.Context, *ServerRedoAuthorizationRequest) (*ServerRedoAuthorizationResponse, error) // The R_DhcpAddSubnetElementV5 method adds an IPv4 subnet element to the specified // IPv4 subnet defined on the DHCPv4 server. The subnet elements can be IPv4 reservation // for DHCPv4 or BOOTP clients, IPv4 range, or the IPv4 exclusion range for DHCPv4 or // BOOTP clients. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not an IPv4-reserved client. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E36 ERROR_DHCP_RESERVEDIP_EXITS | The specified IPv4 address or hardware address is being used by another DHCP | // | | client. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E37 ERROR_DHCP_INVALID_RANGE | The specified IPv4 range either overlaps an existing range or is not valid. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E51 ERROR_DHCP_IPRANGE_CONV_ILLEGAL | Conversion of a scope to a DHCP-only scope or to a BOOTP-only scope is not | // | | allowed when DHCP and BOOTP clients both exist in the scope. Manually delete | // | | either the DHCP or the BOOTP clients from the scope, as appropriate for the type | // | | of scope being created. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | There is an IP range configured for a policy in this scope. This operation on | // | | the scope IP address range cannot be performed until the policy IP address range | // | | is suitably modified. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA1 ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL | Conversion of a failover scope to a scope of type BOOTP or BOTH could not be | // | | performed. Failover is supported only for DHCP scopes. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 37. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AddSubnetElementV5(context.Context, *AddSubnetElementV5Request) (*AddSubnetElementV5Response, error) // The R_DhcpEnumSubnetElementsV5 method enumerates the list of a specific type of IPv4 // subnet element from the specified IPv4 subnet. The caller of this function can free // the memory pointed to by EnumElementInfo and the Elements field of EnumElementInfo // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+--------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+--------------------------------------------------------------+ // +------------------------------------------+--------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+--------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +------------------------------------------+--------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +------------------------------------------+--------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +------------------------------------------+--------------------------------------------------------------+ // // The opnum field value for this method is 38. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetElementsV5(context.Context, *EnumSubnetElementsV5Request) (*EnumSubnetElementsV5Response, error) // The R_DhcpRemoveSubnetElementV5 method removes an IPv4 subnet element from the specified // IPv4 subnet defined on the DHCPv4 server. The subnet elements can be IPv4 reservation // for DHCPv4 or BOOTP clients, IPv4 range, or IPv4 exclusion range for DHCPv4 or BOOTP // clients. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE | This error can occur for any of the following reasons: The specified IPv4 subnet | // | | element cannot be removed because at least one IPv4 address has been leased out | // | | to a client in the subnet. The starting address of the specified IPv4 exclusion | // | | range is not part of any exclusion range configured on the server. There is an | // | | error in deleting the exclusion range from the database. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E37 ERROR_DHCP_INVALID_RANGE | The specified IPv4 range does not match an existing IPv4 range. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | There is an IP address range configured for a policy in this scope. This | // | | operation on the scope IP address range cannot be performed until the policy IP | // | | address range is suitably modified. | // +----------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 39. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveSubnetElementV5(context.Context, *RemoveSubnetElementV5Request) (*RemoveSubnetElementV5Response, error) // The R_DhcpGetServerBindingInfo method retrieves the array of IPv4 interface binding // information for the DHCPv4 server. The caller of this function can free the memory // pointed by BindElementsInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 40. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetServerBindingInfo(context.Context, *GetServerBindingInfoRequest) (*GetServerBindingInfoResponse, error) // The R_DhcpSetServerBindingInfo method sets/modifies the IPv4 interface bindings for // the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +----------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E52 ERROR_DHCP_NETWORK_CHANGED | The network has changed. Retry this operation after checking for the network | // | | changes. Network changes can be caused by interfaces that are new or no longer | // | | valid, or by IPv4 addresses that are new or no longer valid. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E53 ERROR_DHCP_CANNOT_MODIFY_BINDINGS | The bindings to internal IPv4 addresses cannot be modified. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 41. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetServerBindingInfo(context.Context, *SetServerBindingInfoRequest) (*SetServerBindingInfoResponse, error) // The R_DhcpQueryDnsRegCredentials method retrieves the currently set Domain Name System // (DNS) credentials, which are the user name and domain. These credentials are used // by the DHCP server for DNS dynamic registration for DHCP clients. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 42. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. QueryDNSRegCredentials(context.Context, *QueryDNSRegCredentialsRequest) (*QueryDNSRegCredentialsResponse, error) // The R_DhcpSetDnsRegCredentials method sets the DNS user name and credentials in the // DHCP server which is used for DNS registrations for the DHCP client lease record. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 43. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetDNSRegCredentials(context.Context, *SetDNSRegCredentialsRequest) (*SetDNSRegCredentialsResponse, error) // The R_DhcpBackupDatabase method takes backup of the configurations, settings, and // DHCP client lease record in the specified path. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 44. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. BackupDatabase(context.Context, *BackupDatabaseRequest) (*BackupDatabaseResponse, error) // The R_DhcpRestoreDatabase method sets/modifies the restore path. The DHCP server // uses this path to restore the configuration, settings, and DHCP client lease record // the next time it is restarted. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+----------------------------------------------------+ // +---------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+----------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server. | // +---------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 45. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RestoreDatabase(context.Context, *RestoreDatabaseRequest) (*RestoreDatabaseResponse, error) // The R_DhcpGetServerSpecificStrings method retrieves the names of the default vendor // class and user class. The caller of this function can free the memory pointed to // by ServerSpecificStrings, DefaultVendorClassName and DefaultUserClassName by calling // the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 46. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetServerSpecificStrings(context.Context, *GetServerSpecificStringsRequest) (*GetServerSpecificStringsResponse, error) // The R_DhcpCreateOptionV6 method creates an option definition for a specified user // class or vendor class at the default option level. The option ID specifies the identifier // of the option. If the user class or vendor class is not specified, the option definition // is created for the default user class or vendor class. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E29 ERROR_DHCP_OPTION_EXITS | The specified option definition already exists in the DHCP server database. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E59 ERROR_DHCP_INVALID_PARAMETER_OPTION32 | The information refresh time option value is invalid, as it is less than the | // | | minimum option value. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 47. CreateOptionV6(context.Context, *CreateOptionV6Request) (*CreateOptionV6Response, error) // The R_DhcpSetOptionInfoV6 method modifies the option definition for the specific // user class and vendor class at the default level. If the user class or vendor class // is not specified, the default user class or vendor class will be used. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The option to be modified does not exist. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E59 ERROR_DHCP_INVALID_PARAMETER_OPTION32 | The information refresh time option value is invalid, as it is less than the | // | | minimum option value. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 48. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionInfoV6(context.Context, *SetOptionInfoV6Request) (*SetOptionInfoV6Response, error) // The R_DhcpGetOptionInfoV6 method retrieves the option definition of a specific option // for a specific user class and vendor class at the default option level. If the user // class or vendor class is not specified, the default vendor class or user class will // be taken. The caller of this function can free the memory pointed to by OptionInfo // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The option to be modified does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 49. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionInfoV6(context.Context, *GetOptionInfoV6Request) (*GetOptionInfoV6Response, error) // The R_DhcpEnumOptionsV6 method enumerates the option definitions for a specific user // class and vendor class at the default option level. If the user class or vendor class // is not specified, the default user class or vendor class will be used. The caller // of this function can free the memory pointed to by Options by calling the function // midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 50. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumOptionsV6(context.Context, *EnumOptionsV6Request) (*EnumOptionsV6Response, error) // The R_DhcpRemoveOptionV6 method removes the option definition of a specific option // for a specific user class or the vendor class at the default option level. If the // user class or the vendor class is not specified, the default user class or vendor // class will be used. The option id specifies the identifier of the option definition. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The option to be modified does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 51. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveOptionV6(context.Context, *RemoveOptionV6Request) (*RemoveOptionV6Response, error) // The R_DhcpSetOptionValueV6 method creates option value when called for the first // time, else it modifies the option value of a specific option on the DHCPv6 server // for a specific user class and vendor class. ScopeInfo defines the scope on which // this option value is set. If the user class and vendor class is not provided, the // default user class and vendor class is taken. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The option to be modified does not exist. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E59 ERROR_DHCP_INVALID_PARAMETER_OPTION32 | The information refresh time option value is invalid, as it is less than the | // | | minimum option value. | // +--------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 52. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionValueV6(context.Context, *SetOptionValueV6Request) (*SetOptionValueV6Response, error) // The R_DhcpEnumOptionValuesV6 method enumerates all the option values for the specific // user class or vendor class at a specified scope defined by ScopeInfo. If the user // class or vendor class is not specified, the default user class or vendor class will // be used. The caller of this function can free the memory pointed to by OptionValues // and the Values member of OptionValues by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 53. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumOptionValuesV6(context.Context, *EnumOptionValuesV6Request) (*EnumOptionValuesV6Response, error) // The R_DhcpRemoveOptionValueV6 method deletes the option value of a specific option // on the DHCPv6 server for a specific user and vendor class. ScopeInfo defines the // scope from which this option value is removed. If the user class or vendor class // is not provided, the default user or vendor class is taken. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+--------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+--------------------------------------+ // +------------------------------------------+--------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+--------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option does not exist. | // +------------------------------------------+--------------------------------------+ // // The opnum field value for this method is 54. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveOptionValueV6(context.Context, *RemoveOptionValueV6Request) (*RemoveOptionValueV6Response, error) // The R_DhcpGetAllOptionsV6 method retrieves all default option definitions, as well // as specific user class and vendor class option definitions. The caller of this function // can free the memory pointed to by OptionStruct, NonVendorOptions and VendorOptions // and by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 55. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptionsV6(context.Context, *GetAllOptionsV6Request) (*GetAllOptionsV6Response, error) // The R_DhcpGetAllOptionValuesV6 method returns all option values for all user classes // and vendor classes configured at the server, scope, or IPv6 reservation level on // the DHCPv6 server. The caller of this function can free the memory pointed to by // option Values by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 56. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptionValuesV6(context.Context, *GetAllOptionValuesV6Request) (*GetAllOptionValuesV6Response, error) // The R_DhcpCreateSubnetV6 method creates a new IPv6 prefix on the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------------+-------------------------------------------------------------+ // +---------------------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------------------+-------------------------------------------------------------+ // | 0x00004E7B ERROR_DHCP_INVALID_SUBNET_PREFIX | The subnet prefix is invalid. | // +---------------------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 57. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. CreateSubnetV6(context.Context, *CreateSubnetV6Request) (*CreateSubnetV6Response, error) // The R_DhcpEnumSubnetsV6 method enumerates all IPv6 prefixes configured on the DHCPv6 // server. The caller of this function can free the memory pointed to by EnumInfo by // calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-----------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-----------------------------------------------+ // +--------------------------------+-----------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-----------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-----------------------------------------------+ // // The opnum field value for this method is 58. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetsV6(context.Context, *EnumSubnetsV6Request) (*EnumSubnetsV6Response, error) // The R_DhcpAddSubnetElementV6 method adds an IPv6 prefix element (such as IPv6 reservation // or IPv6 exclusion range) to the IPv6 prefix in the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An invalid parameter is specified in the AddElementInfo parameter. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x000007DE ERROR_DUPLICATE_TAG | The specified exclusion range conflicts with existing exclusion ranges. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E36 ERROR_DHCP_RESERVEDIP_EXITS | An IPv6 reservation exists for one or both of the following: the specified | // | | IPv6 address the DHCPv6 client-identifier (section 2.2.1.2.5.3) and interface | // | | identifier pair specified in reservation information | // +----------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 59. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AddSubnetElementV6(context.Context, *AddSubnetElementV6Request) (*AddSubnetElementV6Response, error) // The R_DhcpEnumSubnetElementsV6 method returns an enumerated list of a specific type // of IPv6 prefix element for a specific DHCPv6 IPv6 prefix. The caller of this function // can free the memory pointed to by EnumElementInfo and other Elements by calling the // function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 60. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetElementsV6(context.Context, *EnumSubnetElementsV6Request) (*EnumSubnetElementsV6Response, error) // The R_DhcpRemoveSubnetElementV6 method removes an IPv6 prefix element (such as IPv6 // reservation or IPv6 exclusion range) from an IPv6 prefix defined on the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 61. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemoveSubnetElementV6(context.Context, *RemoveSubnetElementV6Request) (*RemoveSubnetElementV6Response, error) // The R_DhcpDeleteSubnetV6 method deletes an IPv6 prefix from the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE | The specified subnet cannot be deleted because at least one IPv6 address has | // | | been leased out to some client from the subnet. | // +-------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 62. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeleteSubnetV6(context.Context, *DeleteSubnetV6Request) (*DeleteSubnetV6Response, error) // The R_DhcpGetSubnetInfoV6 method retrieves the information about a specific IPv6 // prefix defined on the DHCPv6 server. The caller of this function can free the memory // pointed to by SubnetInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv6 prefix does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 63. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetSubnetInfoV6(context.Context, *GetSubnetInfoV6Request) (*GetSubnetInfoV6Response, error) // The R_DhcpEnumSubnetClientsV6 method is used to retrieve all DHCPv6 clients serviced // from the specified IPv6 prefix. The caller of this function can free the memory pointed // to by ClientInfo and other Elements by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 64. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetClientsV6(context.Context, *EnumSubnetClientsV6Request) (*EnumSubnetClientsV6Response, error) // The R_DhcpServerSetConfigV6 method sets the DHCPv6 server configuration data at the // scope level or at the server level. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 65. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerSetConfigV6(context.Context, *ServerSetConfigV6Request) (*ServerSetConfigV6Response, error) // The R_DhcpServerGetConfigV6 method retrieves the configuration information about // the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 66. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ServerGetConfigV6(context.Context, *ServerGetConfigV6Request) (*ServerGetConfigV6Response, error) // The R_DhcpSetSubnetInfoV6 method sets/modifies the information for an IPv6 prefix // defined on the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------------------------+ // +------------------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv6 prefix does not exist. | // +------------------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +------------------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 67. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetSubnetInfoV6(context.Context, *SetSubnetInfoV6Request) (*SetSubnetInfoV6Response, error) // The R_DhcpGetMibInfoV6 method is used to retrieve the IPv6 counter values of the // DHCPv6 server. The caller of this function can free the memory pointed to by MibInfo // by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 68. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetMIBInfoV6(context.Context, *GetMIBInfoV6Request) (*GetMIBInfoV6Response, error) // The R_DhcpGetServerBindingInfoV6 method retrieves the array of IPv6 interface binding // information for the DHCPv6 server. The caller of this function can free the memory // pointed to by BindElementsInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 69. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetServerBindingInfoV6(context.Context, *GetServerBindingInfoV6Request) (*GetServerBindingInfoV6Response, error) // The R_DhcpSetServerBindingInfoV6 method sets/modifies the IPv6 interface bindings // for the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------------+----------------------------------------------------------------------------------+ // +---------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E52 ERROR_DHCP_NETWORK_CHANGED | The network has changed. Retry this operation after checking for the network | // | | changes. Network changes can be caused by interfaces that are new or no longer | // | | valid or by IPv6 addresses that are new or no longer valid. | // +---------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E53 ERROR_DHCP_CANNOT_MODIFY_BINDING | The bindings to internal IPv6 addresses cannot be modified. | // +---------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 70. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetServerBindingInfoV6(context.Context, *SetServerBindingInfoV6Request) (*SetServerBindingInfoV6Response, error) // The R_DhcpSetClientInfoV6 method sets/modifies the client reservation record on the // DHCPv6 server database. This method is supposed to be called only after the reserved // DHCPv6 client is added using the R_DhcpAddSubnetElementV6 (section 3.2.4.60) method.<69> // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 71. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetClientInfoV6(context.Context, *SetClientInfoV6Request) (*SetClientInfoV6Response, error) // The R_DhcpGetClientInfoV6 method retrieves IPv6 address lease information of the // IPv6 reservation from the DHCPv6 server. The caller of this function can free the // memory pointed to by ClientInfo by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+----------------------------------------------------------------------------------+ // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry | // | | is not present in the database. | // +---------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 72. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetClientInfoV6(context.Context, *GetClientInfoV6Request) (*GetClientInfoV6Response, error) // The R_DhcpDeleteClientInfoV6 method deletes the specified DHCPv6 client address lease // record from the DHCPv6 server database. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-----------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-----------------------------------------+----------------------------------------------------------------------------------+ // +-----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry | // | | is not present in the database. | // +-----------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E36 ERROR_DHCP_RESERVEDIP_EXISTS | There exists a reservation for the leased address. | // +-----------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 73. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeleteClientInfoV6(context.Context, *DeleteClientInfoV6Request) (*DeleteClientInfoV6Response, error) // The R_DhcpCreateClassV6 method creates an IPv6 user class or a vendor class definition // on the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------+----------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------+----------------------------------------------------------------------+ // +--------------------------------------------+----------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +--------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E4D ERROR_DHCP_CLASS_ALREADY_EXISTS | The vendor class or user class that is being created already exists. | // +--------------------------------------------+----------------------------------------------------------------------+ // // The opnum field value for this method is 74. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. CreateClassV6(context.Context, *CreateClassV6Request) (*CreateClassV6Response, error) // The R_DhcpModifyClassV6 method modifies the user class or vendor class definition // for the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 75. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. ModifyClassV6(context.Context, *ModifyClassV6Request) (*ModifyClassV6Response, error) // The R_DhcpDeleteClassV6 method deletes the specified IPv6 user class or vendor class // definition from the DHCPv6 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+-------------------------------------------------------------+ // +---------------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------------+-------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The specified class is not defined in the DHCP server. | // +---------------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 76. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeleteClassV6(context.Context, *DeleteClassV6Request) (*DeleteClassV6Response, error) // The R_DhcpEnumClassesV6 method enumerates user or vendor classes configured for the // DHCPv6 server. The caller of this function can free the memory pointed to by ClassInfoArray // and its Classes member by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 77. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumClassesV6(context.Context, *EnumClassesV6Request) (*EnumClassesV6Response, error) // The R_DhcpGetOptionValueV6 method retrieves the option value for a specific option // on the DHCPv6 server for specific user and vendor class. ScopeInfo defines the scope // from which the option value needs to be retrieved. The caller of this function can // free the memory pointed by OptionValue by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +-------------------------------------------+--------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------+--------------------------------------------------------------------------------+ // +-------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet is not defined on the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option is not defined at the specified level in the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The reserved IPv6 client is not defined on the DHCP server. | // +-------------------------------------------+--------------------------------------------------------------------------------+ // // The opnum field value for this method is 78. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionValueV6(context.Context, *GetOptionValueV6Request) (*GetOptionValueV6Response, error) // The R_DhcpSetSubnetDelayOffer method sets/modifies the time delay setting on the // DHCPv4 server, which is used in responding to a DHCPDISCOVER message [RFC2131]. This // setting is configured for a specific scope. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet is not defined on the DHCP server. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E7C ERROR_DHCP_INVALID_DELAY | The specified delay value is invalid, it is greater than the maximum delay of | // | | 1000 milliseconds. | // +------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 79. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetSubnetDelayOffer(context.Context, *SetSubnetDelayOfferRequest) (*SetSubnetDelayOfferResponse, error) // The R_DhcpGetSubnetDelayOffer method retrieves the time delay setting from the DHCPv4 // server, which is used in responding to a DHCPDISCOVER message [RFC2131] for a specific // scope. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully; // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------+---------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+---------------------------------------------------------+ // +------------------------------------------+---------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+---------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet is not defined on the DHCP server. | // +------------------------------------------+---------------------------------------------------------+ // // The opnum field value for this method is 80. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetSubnetDelayOffer(context.Context, *GetSubnetDelayOfferRequest) (*GetSubnetDelayOfferResponse, error) // The R_DhcpGetMibInfoV5 method is used to retrieve the statistics of the DHCPv4 server. // The caller of this function can free the memory pointed to by MibInfo and its field // ScopeInfo by calling the function midl_user_free (see section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 81. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetMIBInfoV5(context.Context, *GetMIBInfoV5Request) (*GetMIBInfoV5Response, error) // The R_DhcpAddFilterV4 method is used to add a link-layer address/pattern to allow // list or deny list. The DHCPv4 server allows the DHCPv4 clients whose link-layer address // is in the allow list to be given leases and blocks DHCPv4 clients whose link-layer // address is in the deny list provided the respective lists are enabled using the R_DhcpSetFilterV4 // (section 3.2.4.85) method. This method is also used to exempt one or more hardware // types from filtering. However, hardware type 1 (Ethernet 10 Mb) cannot be exempted. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +------------------------------------------------------------+----------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------------+----------------------------------------------------------------------+ // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E7E ERROR_DHCP_LINKLAYER_ADDRESS_EXISTS | Address or Address pattern is already contained in one of the lists. | // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | Invalid input - address/pattern | // +------------------------------------------------------------+----------------------------------------------------------------------+ // | 0x00004E85 ERROR_DHCP_HARDWARE_ADDRESS_TYPE_ALREADY_EXEMPT | Hardware type already exempted from filtering. | // +------------------------------------------------------------+----------------------------------------------------------------------+ // // The opnum field value for this method is 82. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AddFilterV4(context.Context, *AddFilterV4Request) (*AddFilterV4Response, error) // The R_DhcpDeleteFilterV4 method is used to delete a link-layer address/pattern from // allow list or deny list. This method is also used to delete an exemption of a hardware // type from filtering. However, hardware type 1 (Ethernet 10 Mb) cannot be exempted, // and this method cannot be used to delete them. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------------------------------------+-----------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------------+-----------------------------------------------------------------+ // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP Server Database. | // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00004E7F ERROR_DHCP_LINKLAYER_ADDRESS_DOES_NOT_EXIST | Address or Address pattern is not contained in any of the list. | // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | Invalid input - address/pattern | // +--------------------------------------------------------+-----------------------------------------------------------------+ // | 0x00004E86 ERROR_DHCP_UNDEFINED_HARDWARE_ADDRESS_TYPE | Hardware type not present in the exemption list. | // +--------------------------------------------------------+-----------------------------------------------------------------+ // // The opnum field value for this method is 83. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeleteFilterV4(context.Context, *DeleteFilterV4Request) (*DeleteFilterV4Response, error) // The R_DhcpSetFilterV4 method is used to enable or disable the allow and deny lists. // The DHCPv4 server allows the DHCPv4 clients whose link-layer address is in the allow // list to be given leases and blocks DHCPv4 clients whose link-layer address is in // the deny list, provided the respective lists are enabled using R_DhcpSetFilterV4. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 84. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetFilterV4(context.Context, *SetFilterV4Request) (*SetFilterV4Response, error) // The R_DhcpGetFilterV4 method is used to retrieve the enable or disable settings for // the allow and deny lists. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 85. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetFilterV4(context.Context, *GetFilterV4Request) (*GetFilterV4Response, error) // The R_DhcpEnumFilterV4 method enumerates all the filter records from either allow // list or deny list. It also returns a list of hardware types presently exempted from // filtering. These entries are present in the allow list. Exemption entries have a // pattern of Length 0 and IsWildCard set to TRUE; both are specified in the AddrPatt // field of the DHCP_FILTER_RECORD (section 2.2.1.2.92) structure. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_NO_MORE_ITEMS (0x00000103) indicates that the operation was completed // successfully. Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. // This error code value can correspond to a DHCP-specific failure, which takes a value // between 20000 and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 86. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumFilterV4(context.Context, *EnumFilterV4Request) (*EnumFilterV4Response, error) // The R_DhcpSetDnsRegCredentials method sets the DNS user name and credentials in the // DHCP server which is used for DNS registrations for DHCP client lease record. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully, // else it contains a Win32 error code, as specified in [MS-ERREF]. This error code // value can correspond to a DHCP-specific failure, which takes a value between 20000 // and 20099, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 87. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetDNSRegCredentialsV5(context.Context, *SetDNSRegCredentialsV5Request) (*SetDNSRegCredentialsV5Response, error) // The R_DhcpEnumSubnetClientsFilterStatusInfo method is used to retrieve all DHCPv4 // clients serviced on the specified IPv4 subnet. The information also includes the // link-layer filter status info for the DHCPv4 client. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // The opnum field value for this method is 88. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetClientsFilterStatusInfo(context.Context, *EnumSubnetClientsFilterStatusInfoRequest) (*EnumSubnetClientsFilterStatusInfoResponse, error) // The R_DhcpV4FailoverCreateRelationship method is used to create a new failover relationship // on the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates the return status. // A return value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed // successfully. Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. // This error code value can correspond to a DHCP-specific failure, which takes a value // between 20000 and 20123, or to any generic failure. // // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | IPv4 scope does not exist on the DHCPv4 server. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E90 ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP | IPv4 is already part of another failover relationship. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E91 ERROR_DHCP_FO_RELATIONSHIP_EXISTS | A failover relationship already exists on the DHCPv4 server. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E9D ERROR_DHCP_FO_RELATIONSHIP_NAME_TOO_LONG | The failover relationship name in the DHCP_FAILOVER_RELATIONSHIP (section | // | | 2.2.1.2.98) structure is too long. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA0 ERROR_DHCP_FO_MAX_RELATIONSHIPS | The maximum number of allowed failover relationships configured on the DHCP | // | | server has been exceeded. | // +--------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 89. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. FailoverCreateRelationshipV4(context.Context, *FailoverCreateRelationshipV4Request) (*FailoverCreateRelationshipV4Response, error) // The R_DhcpV4FailoverSetRelationship method is used to modify an existing failover // relationship on the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. The // return value ERROR_SUCCESS (0x00000000) indicates that the operation was completed // successfully. Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. // This error code value can correspond to a DHCP-specific failure, which takes a value // between 20000 and 20123, or any generic failure. // // +------------------------------------------------------+------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+------------------------------------------+ // +------------------------------------------------------+------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | The failover relationship doesn’t exist. | // +------------------------------------------------------+------------------------------------------+ // // The opnum field value for this method is 90. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverSetRelationshipV4(context.Context, *FailoverSetRelationshipV4Request) (*FailoverSetRelationshipV4Response, error) // The R_DhcpV4FailoverDeleteRelationship method is used to delete an existing failover // relationship on the DHCPv4 server. // // Return Values: A 32-bit unsigned integer value that indicates return status. The // return value ERROR_SUCCESS (0x00000000) indicates that the operation was completed // successfully. Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. // This error code value can correspond to a DHCP-specific failure, which takes a value // between 20000 and 20123, or any generic failure. // // +------------------------------------------------------+------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+------------------------------------------+ // +------------------------------------------------------+------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | The failover relationship doesn't exist. | // +------------------------------------------------------+------------------------------------------+ // // The opnum field value for this method is 91. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverDeleteRelationshipV4(context.Context, *FailoverDeleteRelationshipV4Request) (*FailoverDeleteRelationshipV4Response, error) // The R_DhcpV4FailoverGetRelationship method retrieves the failover relationship information // configured on the DHCPv4 server. The caller of this function can free the memory // pointed to by the pRelationship parameter by calling the function midl_user_free // (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +------------------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+-------------------------------------------+ // +------------------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+-------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | The failover relationship does not exist. | // +------------------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 92. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverGetRelationshipV4(context.Context, *FailoverGetRelationshipV4Request) (*FailoverGetRelationshipV4Response, error) // The R_DhcpV4FailoverEnumRelationship method enumerates all the failover relationships // on the DHCPv4 server. The caller of this function can free the memory pointed to // by the pRelationship parameter by calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 93. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverEnumRelationshipV4(context.Context, *FailoverEnumRelationshipV4Request) (*FailoverEnumRelationshipV4Response, error) // The R_DhcpV4FailoverAddScopeToRelationship method adds scopes to an existing failover // relationship. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or to any generic failure. // // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | IPv4 scope does not exist on the DHCPv4 server. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E91 ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP | IPv4 scope is already part of another failover relationship. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | Failover relationship does not exist. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004EA5 ERROR_DHCP_FO_SCOPE_SYNC_IN_PROGRESS | Failover relationship is being re-integrated with the failover partner server. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E98 ERROR_DHCP_FO_STATE_NOT_NORMAL | Failover relationship is not in the NORMAL state. | // +--------------------------------------------------------+--------------------------------------------------------------------------------+ // // The opnum field value for this method is 94. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverAddScopeToRelationshipV4(context.Context, *FailoverAddScopeToRelationshipV4Request) (*FailoverAddScopeToRelationshipV4Response, error) // The R_DhcpV4FailoverDeleteScopeFromRelationship method is used to delete one or more // scopes from an existing failover relationship. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | IPv4 scope doesn't exist on the DHCPv4 server. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | Failover relationship doesn't exist. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E94 ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP | IPv4 subnet is not part of the failover relationship. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004EA5 ERROR_DHCP_FO_SCOPE_SYNC_IN_PROGRESS | Failover relationship is being re-integrated with the failover partner server. | // +------------------------------------------------------+--------------------------------------------------------------------------------+ // // The opnum field value for this method is 95. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverDeleteScopeFromRelationshipV4(context.Context, *FailoverDeleteScopeFromRelationshipV4Request) (*FailoverDeleteScopeFromRelationshipV4Response, error) // The R_DhcpV4FailoverGetScopeRelationship method retrieves the failover relationship // information which is configured for a specific IPv4 subnet address. The caller of // this function can free the memory pointed to by the pRelationship parameter by calling // the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +----------------------------------------------------+-------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------------+-------------------------------------------------------+ // +----------------------------------------------------+-------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +----------------------------------------------------+-------------------------------------------------------+ // | 0x00004E93 ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP | IPv4 subnet is not part of the failover relationship. | // +----------------------------------------------------+-------------------------------------------------------+ // // The opnum field value for this method is 96. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverGetScopeRelationshipV4(context.Context, *FailoverGetScopeRelationshipV4Request) (*FailoverGetScopeRelationshipV4Response, error) // The R_DhcpV4FailoverGetScopeStatistics method is used to retrieve the statistics // of a IPv4 subnet configured for a failover relationship on the DHCPv4 server. The // caller of this function can free the memory pointed to by the pStats parameter by // calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 97. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverGetScopeStatisticsV4(context.Context, *FailoverGetScopeStatisticsV4Request) (*FailoverGetScopeStatisticsV4Response, error) // The R_DhcpV4FailoverGetClientInfo method retrieves DHCPv4 client lease record information // from the DHCPv4 server database. The caller of this function can free the memory // pointed to by the ClientInfo parameter, by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +---------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+----------------------------------------------------------------------------------+ // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry | // | | is not present in the database. | // +---------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 98. // // Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverGetClientInfoV4(context.Context, *FailoverGetClientInfoV4Request) (*FailoverGetClientInfoV4Response, error) // The R_DhcpV4FailoverGetSystemTime method is used to return the current time on the // DHCP server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +--------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+--------------------------+ // +--------------------------+--------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------+--------------------------+ // // The opnum field value for this method is 99. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. FailoverGetSystemTimeV4(context.Context, *FailoverGetSystemTimeV4Request) (*FailoverGetSystemTimeV4Response, error) // The R_DhcpV4FailoverTriggerAddrAllocation method re-distributes the free addresses // between the primary server and secondary server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E92 ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST | Failover relationship doesn't exit. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E94 ERROR_DHCP_FO_RELATION_IS_SECONDARY | serverType member of failover relationship is SecondaryServer enumeration value. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 100. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. FailoverTriggerAddrAllocationV4(context.Context, *FailoverTriggerAddrAllocationV4Request) (*FailoverTriggerAddrAllocationV4Response, error) // The R_DhcpV4SetOptionValue method sets the option value for a policy at the specified // level (scope or server). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8FL ERROR_DHCP_POLICY_NOT_FOUND | The specified policy name does not exist. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA8L ERROR_DHCP_POLICY_FQDN_OPIION_UNSUPPORTED | The option value cannot be specified because the policy contains an FQDN-based | // | | condition. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 101. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionValueV4(context.Context, *SetOptionValueV4Request) (*SetOptionValueV4Response, error) // The R_DhcpV4SetOptionValues method sets the specified option values for a policy // at the specified level. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8FL ERROR_DHCP_POLICY_NOT_PRESENT | The specified policy name does not exist. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA8L ERROR_DHCP_POLICY_FQDN_OPTION_UNSUPPORTED | The option value cannot be specified because the policy contains an FQDN-based | // | | condition. | // +-------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 102. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetOptionValuesV4(context.Context, *SetOptionValuesV4Request) (*SetOptionValuesV4Response, error) // The R_DhcpV4GetOptionValue method gets the option value for the specified PolicyName // parameter and OptionID parameter. The memory for the OptionValue parameter is allocated // by this method and can be freed by the caller by calling the function midl_user_free // (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+-----------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-----------------------------------------------------------------------------+ // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+-----------------------------------------------------------------------------+ // | 0x00004E8F ERROR_DHCP_POLICY_NOT_PRESENT | The specified policy name does not exist. | // +------------------------------------------+-----------------------------------------------------------------------------+ // // The opnum field value for this method is 103. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetOptionValueV4(context.Context, *GetOptionValueV4Request) (*GetOptionValueV4Response, error) // The method R_DhcpV4RemoveOptionValue removes the option value for the specified policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database, or | // | | no value is set for the specified option ID on the specified policy. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The class name being used is unknown or incorrect. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8F ERROR_DHCP_POLICY_NOT_PRESENT | The specified policy name does not exist. | // +------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 104. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. RemoveOptionValueV4(context.Context, *RemoveOptionValueV4Request) (*RemoveOptionValueV4Response, error) // The method R_DhcpV4GetAllOptionValues gets all the server level policy or scope level // policy options configured. The memory for the Values parameter is allocated by this // method and can be freed by the caller by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +------------------------------------------+--------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+--------------------------------------------------------------+ // +------------------------------------------+--------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+--------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. | // +------------------------------------------+--------------------------------------------------------------+ // // The opnum field value for this method is 105. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetAllOptionValuesV4(context.Context, *GetAllOptionValuesV4Request) (*GetAllOptionValuesV4Response, error) // The R_DhcpV4QueryPolicyEnforcement method is used to retrieve the state (enabled/disabled) // of policy enforcement on the server or the specified IPv4 subnet. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 106. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. QueryPolicyEnforcementV4(context.Context, *QueryPolicyEnforcementV4Request) (*QueryPolicyEnforcementV4Response, error) // The R_DhcpV4SetPolicyEnforcement method is used to set the state (enable/disable) // of policy enforcement of the server or the specified IPv4 subnet. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 107. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetPolicyEnforcementV4(context.Context, *SetPolicyEnforcementV4Request) (*SetPolicyEnforcementV4Response, error) // The R_DhcpV4CreatePolicy method creates the policy according to the data specified // in the policy data structure. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8C ERROR_DHCP_RANGE_INVALID_IN_SERVER_POLICY | A policy range has been specified for a server level policy. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8D ERROR_DHCP_INVALID_POLICY_EXPRESSION | The specified conditions or expressions of the policy are invalid. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8B ERROR_DHCP_POLICY_RANGE_BAD | The specified policy IP range is not contained within the IP address range of | // | | the scope, or the specified policy IP range is invalid. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E89 ERROR_DHCP_POLICY_EXISTS | The specified policy name exists at the specified level (server or scope). | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8A ERROR_DHCP_POLICY_RANGE_EXISTS | The specified policy IP range overlaps the policy IP ranges of an existing | // | | policy at the specified scope. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8E ERROR_DHCP_INVALID_PROCESSING_ORDER | The specified processing order is greater than the maximum processing order of | // | | the existing policies at the specified level (server or scope). | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The vendor class or user class reference in the conditions of the policy does | // | | not exist. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EAC ERROR_DHCP_POLICY_FQDN_RANGE_UNSUPPORTED | Ranges are not allowed to be set on the given policy. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 108. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreatePolicyV4(context.Context, *CreatePolicyV4Request) (*CreatePolicyV4Response, error) // The R_DhcpV4GetPolicy method returns the specified policy. The memory for the Policy // structure is allocated by this method and can be freed by the caller by using the // function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 109. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. GetPolicyV4(context.Context, *GetPolicyV4Request) (*GetPolicyV4Response, error) // The R_DhcpV4SetPolicy method modifies the specified DHCPv4 policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8C ERROR_DHCP_RANGE_INVALID_IN_SERVER_POLICY | A policy range has been specified for a server level policy. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8D ERROR_DHCP_INVALID_POLICY_EXPRESSION | The specified conditions or expressions of the policy are invalid. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8B ERROR_DHCP_POLICY_RANGE_BAD | The specified policy range is not contained within the IP address range of the | // | | scope, or the specified policy range is invalid. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E89 ERROR_DHCP_POLICY_NOT_FOUND | The specified policy name does not exist at the specified level (server or | // | | scope). | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8A ERROR_DHCP_POLICY_RANGE_EXISTS | The specified policy range overlaps the policy ranges of an existing policy at | // | | the specified scope. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8E ERROR_DHCP_INVALID_PROCESSING_ORDER | The specified processing order is greater than the maximum processing order of | // | | the existing policies at the specified level (server or scope). | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND | The vendor class or user class reference in the conditions of the policy does | // | | not exist. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA9 ERROR_DHCP_POLICY_EDIT_FQDN_UNSUPPORTED | A FQDN-based condition is being added to a policy that has ranges or options | // | | configured. | // +------------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 110. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetPolicyV4(context.Context, *SetPolicyV4Request) (*SetPolicyV4Response, error) // The R_DhcpV4DeletePolicy method deletes the specified policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+-------------------------------------------+ // +------------------------------------------+-------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+-------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+-------------------------------------------+ // // The opnum field value for this method is 111. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. DeletePolicyV4(context.Context, *DeletePolicyV4Request) (*DeletePolicyV4Response, error) // The method R_DhcpV4EnumPolicies returns an enumerated list of all configured server // level policies or scope level policies. The caller of this function can free the // memory pointed to by the EnumInfo parameter by calling the function midl_user_free // (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or any generic failure. // // +--------------------------------+-------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------------+ // +--------------------------------+-------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+-------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+-------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+-------------------------------------------------+ // // The opnum field value for this method is 112. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumPoliciesV4(context.Context, *EnumPoliciesV4Request) (*EnumPoliciesV4Response, error) // The R_DhcpV4AddPolicyRange method adds an IP address range to a policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8F ERROR_DHCP_POLICY_NOT_FOUND | The specified policy does not exist. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8B ERROR_DHCP_POLICY_RANGE_BAD | The specified policy IP range is not contained within the IP address range of | // | | the scope, or the specified policy IP range is not valid. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8A ERROR_DHCP_POLICY_RANGE_EXISTS | The specified policy IP range overlaps one of the policy IP address ranges | // | | specified. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004EA7 ERROR_DHCP_POLICY_FQDN_RANGE_UNSUPPORTED | Ranges are not allowed to be added to the given policy. | // +-----------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 113. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. AddPolicyRangeV4(context.Context, *AddPolicyRangeV4Request) (*AddPolicyRangeV4Response, error) // The R_DhcpV4RemovePolicyRange method removes the specified IP address range from // the list of IP address ranges of the policy. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8F ERROR_DHCP_POLICY_NOT_FOUND | The specified policy does not exist. | // +------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00004E8B ERROR_DHCP_POLICY_RANGE_BAD | The specified policy range is not contained within the IP address range of the | // | | scope. | // +------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 114. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. RemovePolicyRangeV4(context.Context, *RemovePolicyRangeV4Request) (*RemovePolicyRangeV4Response, error) // The R_DhcpV4EnumSubnetClients method is used to retrieve all DHCPv4 clients serviced // on the specified IPv4 subnet. The information also includes the link-layer filter // status info for the DHCPv4 client and the policy, if any, that resulted in the specific // IPv4 address assignment. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +---------------------------------+-------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+-------------------------------------------------------------+ // +---------------------------------+-------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +---------------------------------+-------------------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | More client lease records are available to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | No more client lease records are left to enumerate. | // +---------------------------------+-------------------------------------------------------------+ // | 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. | // +---------------------------------+-------------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetClientsV4(context.Context, *EnumSubnetClientsV4Request) (*EnumSubnetClientsV4Response, error) // The R_DhcpV6SetStatelessStoreParams method modifies the configuration settings for // DHCPv6 stateless client inventory at the server or scope level. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+------------------------------------------------------+ // +------------------------------------------+------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------+------------------------------------------------------+ // | 0x00020005 ERROR_DHCP_SUBNET_NOT_PRESENT | The IPv6 subnet does not exist on the DHCPv6 server. | // +------------------------------------------+------------------------------------------------------+ // // The opnum field value for this method is 116. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. SetStatelessStoreParamsV6(context.Context, *SetStatelessStoreParamsV6Request) (*SetStatelessStoreParamsV6Response, error) // The R_DhcpV6GetStatelessStoreParams method retrieves the current DHCPv6 stateless // client inventory-related configuration setting at the server or scope level. The // caller of this function can free the memory pointed to by the Params parameter by // calling the function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+------------------------------------------------------+ // +------------------------------------------+------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------+------------------------------------------------------+ // | 0x00020005 ERROR_DHCP_SUBNET_NOT_PRESENT | The IPv6 subnet does not exist on the DHCPv6 server. | // +------------------------------------------+------------------------------------------------------+ // // The opnum field value for this method is 117. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetStatelessStoreParamsV6(context.Context, *GetStatelessStoreParamsV6Request) (*GetStatelessStoreParamsV6Response, error) // The R_DhcpV6GetStatelessStatistics method is used to retrieve the statistics of the // DHCPv6 stateless server. The caller of this function can free the memory pointed // to by the StatelessStats parameter and its ScopeStats member array by calling the // function midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +--------------------------+----------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+----------------------------------+ // +--------------------------+----------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +--------------------------+----------------------------------+ // // The opnum field value for this method is 118. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetStatelessStatisticsV6(context.Context, *GetStatelessStatisticsV6Request) (*GetStatelessStatisticsV6Response, error) // The R_DhcpV4EnumSubnetReservations method enumerates all the reservation information // on the DHCPv4 server for a given IPv4 subnet address. The caller of this function // can free the memory pointed to by the EnumElementInfo parameter by calling the function // midl_user_free (section 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +--------------------------------+--------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+--------------------------------------------------+ // +--------------------------------+--------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call was successful. | // +--------------------------------+--------------------------------------------------+ // | 0x000000EA ERROR_MORE_DATA | There are more elements available to enumerate. | // +--------------------------------+--------------------------------------------------+ // | 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. | // +--------------------------------+--------------------------------------------------+ // | ERROR_DHCP_SUBNET_NOT_PRESENT | IPv4 subnet does not exist on the DHCPv4 server. | // +--------------------------------+--------------------------------------------------+ // // The opnum field value for this method is 119. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. EnumSubnetReservationsV4(context.Context, *EnumSubnetReservationsV4Request) (*EnumSubnetReservationsV4Response, error) // The R_DhcpV4GetFreeIPAddress method retrieves the list of IPv4 addresses available // to be leased out to the clients. The caller of this function can free the memory // pointed to by the IPAddrList parameter by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or any generic failure. // // +------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000103 ERROR_FILE_NOT_FOUND | No more elements are left to enumerate. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00020126 ERROR_DHCP_REACHED_END_OF_SELECTION | The specified DHCP server has reached the end of the selected range while | // | | finding the free IP addresses. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 120. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetFreeIPAddressV4(context.Context, *GetFreeIPAddressV4Request) (*GetFreeIPAddressV4Response, error) // The R_DhcpV6GetFreeIPAddress method retrieves the list of IPv6 addresses available // to be leased out to the clients. The caller of this function can free the memory // pointed to by the IPAddrList parameter by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20123, or to any generic failure. // // +------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00020005 ERROR_DHCP_SUBNET_NOT_PRESENT | The IPv6 subnet does not exist on the DHCPv6 server. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x00020126 ERROR_DHCP_REACHED_END_OF_SELECTION | The specified DHCP server has reached the end of the selected range while | // | | finding the free IP addresses. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // // The opnum field value for this method is 121. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. GetFreeIPAddressV6(context.Context, *GetFreeIPAddressV6Request) (*GetFreeIPAddressV6Response, error) // The R_DhcpV4CreateClientInfo method creates a DHCPv4 client lease record on the DHCP // server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------+ // +------------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------+----------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet does not exist. | // +------------------------------------------+----------------------------------------------------+ // | 0x00004E2E ERROR_DHCP_CLIENT_EXISTS | The specified client already exists on the server. | // +------------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 122. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateClientInfoV4(context.Context, *CreateClientInfoV4Request) (*CreateClientInfoV4Response, error) // The R_DhcpV4GetClientInfo method retrieves DHCPv4 client lease record information // from the DHCPv4 server database. The information also includes the link-layer filter // status information for the DHCPv4 client and the policy, if any, that resulted in // the specific IPv4 address assignment. The caller of this function can free the memory // pointed to by the ClientInfo parameter by calling the function midl_user_free (section // 3). // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +--------------------------------------+-----------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------+-----------------------------------------+ // +--------------------------------------+-----------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +--------------------------------------+-----------------------------------------+ // | 0x00004E30 ERROR_DHCP_INVALID_CLIENT | The specified DHCP client is not valid. | // +--------------------------------------+-----------------------------------------+ // // The opnum field value for this method is 123. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. GetClientInfoV4(context.Context, *GetClientInfoV4Request) (*GetClientInfoV4Response, error) // The R_DhcpV6CreateClientInfo method creates a DHCPv6 client lease record on the DHCP // server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +------------------------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------+----------------------------------------------------+ // +------------------------------------------+----------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +------------------------------------------+----------------------------------------------------+ // | 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified subnet does not exist. | // +------------------------------------------+----------------------------------------------------+ // | 0x00004E2E ERROR_DHCP_CLIENT_EXISTS | The specified client already exists on the server. | // +------------------------------------------+----------------------------------------------------+ // // The opnum field value for this method is 124. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. CreateClientInfoV6(context.Context, *CreateClientInfoV6Request) (*CreateClientInfoV6Response, error) // The R_DhcpV4FailoverGetAddressStatus method queries the current address status for // an address belonging to a subnet that is part of a failover relationship on the DHCP // server. // // Return Values: A 32-bit unsigned integer value that indicates return status. A return // value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully. // Otherwise, it contains a Win32 error code, as specified in [MS-ERREF]. This error // code value can correspond to a DHCP-specific failure, which takes a value between // 20000 and 20099, or to any generic failure. // // +----------------------------------------------------+--------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------------+--------------------------------------------------------------------------------+ // +----------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000000 ERROR_SUCCESS | The call completed successfully. | // +----------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An invalid parameter is specified in the Address parameter. | // +----------------------------------------------------+--------------------------------------------------------------------------------+ // | 0x00004E94 ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP | The subnet associated with the address is not part of a failover relationship. | // +----------------------------------------------------+--------------------------------------------------------------------------------+ // // The opnum field value for this method is 125. // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol specified in [MS-RPCE]. FailoverGetAddressStatusV4(context.Context, *FailoverGetAddressStatusV4Request) (*FailoverGetAddressStatusV4Response, error) // The R_DhcpV4CreatePolicyEx method creates the policy according to the data specified // in the policy data structure. // // The R_DhcpV4CreatePolicyEx method is an extension of the R_DhcpV4CreatePolicy (Opnum // 108) (section 3.2.4.109) method, where a DHCP_POLICY_EX (section 2.2.1.2.121) structure // is specified for the pPolicy parameter, rather than a DHCP_POLICY (section 2.2.1.2.110) // structure. The structure contains the members of the policy to be created. // // Using the extension method, a list of DHCP_PROPERTY (section 2.2.1.2.117) elements // can be specified that can be associated with the given policy when creating the policy. // // Return Values: As specified in R_DhcpV4CreatePolicy (Opnum 108). // // The opnum field value for this method is 126. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4CreatePolicy // (Opnum 108) method. CreatePolicyExV4(context.Context, *CreatePolicyExV4Request) (*CreatePolicyExV4Response, error) // The R_DhcpV4GetPolicyEx method returns the specified policy. The memory for the Policy // structure is allocated by the method and can be freed by the caller by using the // midl_user_free function (section 3). // // The R_DhcpV4GetPolicyEx method is an extension of the R_DhcpV4GetPolicy (Opnum 109) // (section 3.2.4.110) method, where a DHCP_POLICY_EX (section 2.2.1.2.121) structure // is queried, rather than a DHCP_POLICY (section 2.2.1.2.110) structure. The structure // returns a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that can be associated // with the given policy. // // Return Values: As specified in R_DhcpV4CreatePolicy (Opnum 108). // // The opnum field value for this method is 127. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4GetPolicy // (Opnum 109) method. GetPolicyExV4(context.Context, *GetPolicyExV4Request) (*GetPolicyExV4Response, error) // The R_DhcpV4SetPolicyEx method modifies the specified policy. // // The method is an extension of the R_DhcpV4SetPolicy (Opnum 110) (section 3.2.4.111) // method, where the method specifies a DHCP_POLICY_EX (section 2.2.1.2.121) structure // rather than a DHCP_POLICY (section 2.2.1.2.110) structure. The structure contains // a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that can be updated for the // policy. // // Return Values: As specified in R_DhcpV4SetPolicy (Opnum 110). // // The opnum field value for this method is 128. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4SetPolicy // (Opnum 110) method, except as follows: // // * The FieldsModified parameter can also be set to the DhcpUpdatePolicyDnsSuffix value // of the DHCP_POLICY_FIELDS_TO_UPDATE (section 2.2.1.1.21) ( 49abe631-1c6b-4711-8337-b4b2bdf90b00 // ) enumeration. // // * If the FieldsModified parameter is set to DhcpUpdatePolicyDnsSuffix, the *R_DhcpV4SetPolicyEx* // method searches for the property with an ID value of DhcpPropIdPolicyDnsSuffix and // Type value of DhcpPropTypeString. If such a property is located, the *R_DhcpV4SetPolicyEx* // method validates that the string length of the property value does not exceed 255 // characters. If the length is exceeded, the *R_DhcpV4SetPolicyEx* method returns ERROR_INVALID_PARAMETER. // // * The *R_DhcpV4SetPolicyEx* method updates the server or scope level <DHCPv4Policy> // ADM element retrieved earlier according to the following: // // In addition to steps 1 through 5 specified in *R_DhcpV4SetPolicy* (Opnum 110), the // *R_DhcpV4SetPolicyEx* method adds the following instruction: // // * If the *DhcpUpdatePolicyDnsSuffix* enumeration value is set in the FieldsModified // parameter, update the DNSSuffix of the policy in the <DHCPv4Policy.DnsSuffix> ADM // element. If no such property exists in the list of properties with an ID value equal // to DhcpPropIdPolicyDnsSuffix and a Type value equal to DhcpPropTypeString, or if // the StringValue of the property is NULL or of zero length, then the <DHCPv4Policy.DnsSuffix> // ADM element is cleared; otherwise, the ADM element is set to the StringValue of the // property. // // * The FieldsModified parameter is set to any value other than DhcpUpdatePolicyName, // DhcpUpdatePolicyOrder, DhcpUpdatePolicyExpr, DhcpUpdatePolicyRanges, DhcpUpdatePolicyDescr, // DhcpUpdatePolicyStatus, or DhcpUpdatePolicyDnsSuffix, as defined in *DHCP_POLICY_FIELDS_TO_UPDATE* // enumeration. // // * The *R_DhcpV4SetPolicyEx* method returns ERROR_INVALID_PARAMETER. SetPolicyExV4(context.Context, *SetPolicyExV4Request) (*SetPolicyExV4Response, error) // The R_DhcpV4EnumPoliciesEx method returns an enumerated list of all configured server // level or scope level policies. The caller of this method can free the memory pointed // to by the EnumInfo parameter by calling the midl_user_free function (section 3). // // The R_DhcpV4EnumPoliciesEx method is an extension of the R_DhcpV4EnumPolicies (Opnum // 112) (section 3.2.4.130) method, where an array of DHCP_POLICY_EX (section 2.2.1.2.121) // structures is enumerated, rather than an array of DHCP_POLICY (section 2.2.1.2.110) // structures. Each DHCP_POLICY_EX structure contains a list of DHCP_PROPERTY (section // 2.2.1.2.117) elements that are associated with the given policy. // // Return Values: As specified in R_DhcpV4EnumPolicies (Opnum 112). // // The opnum field value for this method is 129. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4EnumPolicies // method, except as follows: // // * No filtering is applied to the enumerated list of configured server-level or scope-level // policies returned by the *R_DhcpV4EnumPoliciesEx* method. EnumPoliciesExV4(context.Context, *EnumPoliciesExV4Request) (*EnumPoliciesExV4Response, error) // The R_DhcpV4EnumSubnetClientsEx method is used to retrieve all DHCPv4 clients serviced // on the specified IPv4 subnet. The information retrieved also includes the link-layer // filter status for the DHCPv4 client and the policy, if any, that resulted in the // specific IPv4 address assignment. // // The R_DhcpV4EnumSubnetClientsEx method is an extension of the R_DhcpV4EnumSubnetClients // (Opnum 115) (section 3.2.4.116) method, where an array of DHCP_CLIENT_INFO_EX (section // 2.2.1.2.119) structures is enumerated, rather than an array of DHCP_CLIENT_INFO_PB // (section 2.2.1.2.115) structures. Each DHCP_CLIENT_INFO_EX structure contains a list // of DHCP_PROPERTY (section 2.2.1.2.117) elements that are associated with the given // subnet client. // // Return Values: As specified in R_DhcpV4EnumSubnetClients (Opnum 115). // // The opnum field value for this method is 130. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4EnumSubnetClients // method. EnumSubnetClientsExV4(context.Context, *EnumSubnetClientsExV4Request) (*EnumSubnetClientsExV4Response, error) // The R_DhcpV4CreateClientInfoEx method creates a DHCPv4 client lease record on the // DHCP server. // // The R_DhcpV4CreateClientInfoEx method is an extension of the R_DhcpV4CreateClientInfo // (Opnum 122) (section 3.2.4.132) method, where a DHCP_CLIENT_INFO_EX (section 2.2.1.2.119) // structure is specified, rather than a DHCP_CLIENT_INFO_PB (section 2.2.1.2.119) structure. // The structure contains a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that // can be associated with the given DHCPv4 client. CreateClientInfoExV4(context.Context, *CreateClientInfoExV4Request) (*CreateClientInfoExV4Response, error) // The R_DhcpV4GetClientInfoEx method retrieves DHCPv4 client lease record information // from the DHCPv4 server database. The retrieved information also includes the link-layer // filter status information for the DHCPv4 client and the policy, if any, that resulted // in the specific IPv4 address assignment. The caller of this method can free the memory // pointed to by the ClientInfo parameter by calling the midl_user_free function (section // 3). // // The R_DhcpV4GetClientInfoEx method is an extension of the R_DhcpV4GetClientInfo (Opnum // 123) (section 3.2.4.124) method, where a DHCP_CLIENT_INFO_EX (section 2.2.1.2.119) // structure is queried, rather than a DHCP_CLIENT_INFO_PB (section 2.2.1.2.115) structure. // The structure returns a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that // can be associated with the given DHCPv4 client. // // Return Values: As specified in R_DhcpV4GetClientInfo (Opnum 123). // // The opnum field value for this method is 132. // // The remainder of the processing behavior for this method is as defined for the R_DhcpV4GetClientInfo // method. GetClientInfoExV4(context.Context, *GetClientInfoExV4Request) (*GetClientInfoExV4Response, error) }
dhcpsrv2 server interface.
type EnumClassesRequest ¶
type EnumClassesRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 100, and 200 classes are stored // on the DHCP server, the resume handle can be used after the first 100 classes are // retrieved to obtain the next 100 on a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to be returned. If the number of bytes required in memory for the remaining // unenumerated classes is less than the PreferredMaximum value, then all the classes // for the DHCP server are returned. To retrieve all the classes defined on the DHCP // server, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumClassesRequest structure represents the R_DhcpEnumClasses operation request
func (*EnumClassesRequest) MarshalNDR ¶
func (*EnumClassesRequest) UnmarshalNDR ¶
type EnumClassesResponse ¶
type EnumClassesResponse struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 100, and 200 classes are stored // on the DHCP server, the resume handle can be used after the first 100 classes are // retrieved to obtain the next 100 on a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // ClassInfoArray: This is a pointer of type LPDHCP_CLASS_INFO_ARRAY in which information // of all the classes defined on the DHCP server is retrieved. ClassInfoArray *dhcpm.ClassInfoArray `idl:"name:ClassInfoArray" json:"class_info_array"` // nRead: This is a pointer to a DWORD value that specifies the number of classes returned // in ClassInfoArray. The caller MUST allocate memory for this parameter equal to the // size of data type DWORD. Read uint32 `idl:"name:nRead" json:"read"` // nTotal: This is a pointer to a DWORD value that specifies the number of classes defined // on the DHCP server that have not yet been enumerated. The caller MUST allocate memory // for this parameter equal to the size of data type DWORD. Total uint32 `idl:"name:nTotal" json:"total"` // Return: The R_DhcpEnumClasses return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumClassesResponse structure represents the R_DhcpEnumClasses operation response
func (*EnumClassesResponse) MarshalNDR ¶
func (*EnumClassesResponse) UnmarshalNDR ¶
type EnumClassesV6Request ¶
type EnumClassesV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests (for example, if PreferredMaximum is set to 100 and 200 classes are stored). // On the DHCPv6 server, the resume handle can be used after the first 100 classes are // retrieved to obtain the next 100 on a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to be returned. If the number of bytes required in memory for the remaining // unenumerated classes is less than the value of this parameter, then all the classes // for the DHCPv6 server are returned. To retrieve all the classes defined on the DHCPv6 // server, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumClassesV6Request structure represents the R_DhcpEnumClassesV6 operation request
func (*EnumClassesV6Request) MarshalNDR ¶
func (*EnumClassesV6Request) UnmarshalNDR ¶
type EnumClassesV6Response ¶
type EnumClassesV6Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests (for example, if PreferredMaximum is set to 100 and 200 classes are stored). // On the DHCPv6 server, the resume handle can be used after the first 100 classes are // retrieved to obtain the next 100 on a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // ClassInfoArray: This is a pointer of type LPDHCP_CLASS_INFO_ARRAY_V6 in which information // of all the classes defined on the DHCPv6 server is retrieved. ClassInfoArray *dhcpm.ClassInfoArrayV6 `idl:"name:ClassInfoArray" json:"class_info_array"` // nRead: This is a pointer to a DWORD value that specifies the number of classes returned // in ClassInfoArray. The caller must allocate memory for this parameter that is equal // to the size of data type DWORD. Read uint32 `idl:"name:nRead" json:"read"` // nTotal: This is a pointer to a DWORD value that specifies the number of classes defined // on the DHCPv6 server that have not yet been enumerated. The caller must allocate // memory for this parameter that is equal to the size of data type DWORD. Total uint32 `idl:"name:nTotal" json:"total"` // Return: The R_DhcpEnumClassesV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumClassesV6Response structure represents the R_DhcpEnumClassesV6 operation response
func (*EnumClassesV6Response) MarshalNDR ¶
func (*EnumClassesV6Response) UnmarshalNDR ¶
type EnumFilterV4Request ¶
type EnumFilterV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ResumeHandle: This is a pointer of type DHCP_ADDR_PATTERN (section 2.2.1.2.89) which // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the address/pattern value used for subsequent enumeration // requests. Resume *dhcpm.AddrPattern `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD which specifies the preferred maximum number // of bytes to return. If the number of remaining unenumerated filter information size // is less than this value, then all the filters configured on the specific list on // the DHCPv4 server are returned. The maximum value for this is 64 kilobytes and the // minimum value is 1 kilobyte. To retrieve all filter records, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` // ListType: This is of type DHCP_FILTER_LIST_TYPE (section 2.2.1.1.17), which specifies // the list to be enumerated. ListType dhcpm.FilterListType `idl:"name:ListType" json:"list_type"` }
EnumFilterV4Request structure represents the R_DhcpEnumFilterV4 operation request
func (*EnumFilterV4Request) MarshalNDR ¶
func (*EnumFilterV4Request) UnmarshalNDR ¶
type EnumFilterV4Response ¶
type EnumFilterV4Response struct { // ResumeHandle: This is a pointer of type DHCP_ADDR_PATTERN (section 2.2.1.2.89) which // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the address/pattern value used for subsequent enumeration // requests. Resume *dhcpm.AddrPattern `idl:"name:ResumeHandle" json:"resume"` // EnumFilterInfo: This is a pointer of type LPDHCP_FILTER_ENUM_INFO that points to // the location in which the link-layer filter info configured on the DHCPv4 server // is returned. EnumFilterInfo *dhcpm.FilterEnumInfo `idl:"name:EnumFilterInfo" json:"enum_filter_info"` // ElementsRead: This is a pointer to a DWORD value that specifies the number of link-layer // filter entries returned in EnumFilterInfo. The caller must allocate memory for this // parameter that is equal to the size of data type DWORD. ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: This is a pointer to a DWORD value that specifies the number of link-layer // filter entries defined on the DHCPv4 server that have not yet been enumerated with // respect to the resume handle that is returned. The caller must allocate memory for // this parameter that is equal to the size of data type DWORD. ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpEnumFilterV4 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumFilterV4Response structure represents the R_DhcpEnumFilterV4 operation response
func (*EnumFilterV4Response) MarshalNDR ¶
func (*EnumFilterV4Response) UnmarshalNDR ¶
type EnumMScopeClientsRequest ¶
type EnumMScopeClientsRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the multicast // subnet from which IPv4 multicast subnet elements are enumerated. There is no restriction // on the length of this field. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. This field contains the last IPv4 multicast address retrieved. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. The minimum value is 1,024 bytes (1 kilobyte), and the maximum // value is 65,536 bytes (64 kilobytes). If the input value is greater or less than // this range, it MUST be set to the maximum or minimum value, respectively. To retrieve // all the MADCAP clients serviced by a specific multicast scope, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumMScopeClientsRequest structure represents the R_DhcpEnumMScopeClients operation request
func (*EnumMScopeClientsRequest) MarshalNDR ¶
func (*EnumMScopeClientsRequest) UnmarshalNDR ¶
type EnumMScopeClientsResponse ¶
type EnumMScopeClientsResponse struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. This field contains the last IPv4 multicast address retrieved. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // ClientInfo: This is a pointer of type LPDHCP_MCLIENT_INFO_ARRAY that points to the // location that contains the MADCAP lease record array. ClientInfo *dhcpm.MADCAPClientInfoArray `idl:"name:ClientInfo" json:"client_info"` // ClientsRead: This is a pointer to a DWORD that specifies the number of MADCAP client // lease records read in ClientInfo. The caller MUST allocate memory for this parameter // equal to the size of a DWORD data type. ClientsRead uint32 `idl:"name:ClientsRead" json:"clients_read"` // ClientsTotal: This is a pointer to a DWORD that specifies the number of MADCAP client // lease records remaining from the current position. The caller MUST allocate memory // for this parameter equal to the size of a DWORD data type. For example, if there // are 100 MADCAP lease record clients for an IPv4 multicast subnet, and if 10 MADCAP // lease records are enumerated per call, then for the first time this would have a // value of 90.<47> ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"` // Return: The R_DhcpEnumMScopeClients return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumMScopeClientsResponse structure represents the R_DhcpEnumMScopeClients operation response
func (*EnumMScopeClientsResponse) MarshalNDR ¶
func (*EnumMScopeClientsResponse) UnmarshalNDR ¶
type EnumMScopeElementsRequest ¶
type EnumMScopeElementsRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the multicast // subnet from which IPv4 multicast subnet elements are enumerated. There is no restriction // on the length of this field. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` // EnumElementType: This is of type DHCP_SUBNET_ELEMENT_TYPE (section 2.2.1.1.7), indicating // the type of IPv4 multicast subnet element to enumerate. EnumElementType dhcpm.SubnetElementType `idl:"name:EnumElementType" json:"enum_element_type"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if the PreferredMaximum parameter is set to 1,000 bytes, and // 2,000 bytes' worth of IPv4 multicast subnet elements are stored on the MADCAP server, // the resume handle can be used after the first 1,000 bytes are retrieved to obtain // the next 1,000 on a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. If the number of remaining unenumerated IPv4 multicast subnet // element (in bytes) is less than this value, all IPv4 subnet elements for a specific // type are returned. To retrieve all the IPv4 subnet elements of a specific type, 0xFFFFFFFF // is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumMScopeElementsRequest structure represents the R_DhcpEnumMScopeElements operation request
func (*EnumMScopeElementsRequest) MarshalNDR ¶
func (*EnumMScopeElementsRequest) UnmarshalNDR ¶
type EnumMScopeElementsResponse ¶
type EnumMScopeElementsResponse struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if the PreferredMaximum parameter is set to 1,000 bytes, and // 2,000 bytes' worth of IPv4 multicast subnet elements are stored on the MADCAP server, // the resume handle can be used after the first 1,000 bytes are retrieved to obtain // the next 1,000 on a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // EnumElementInfo: This is a pointer of type LPDHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 in // which the IPv4 multicast subnet element of type EnumElementType is returned for a // specific IPv4 multicast subnet corresponding to MScopeNames. If no IPv4 multicast // subnet element of that specific type is available for enumeration, this value is // null. EnumElementInfo *dhcpm.SubnetElementInfoArrayV4 `idl:"name:EnumElementInfo" json:"enum_element_info"` // ElementsRead: This is a pointer to a DWORD value that specifies the number of IPv4 // multicast subnet elements read in EnumElementInfo for a specific type of IPv4 multicast // subnet element. The caller MUST allocate memory for this parameter equal to the size // of a DWORD data type. ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: This is a pointer to a DWORD value that specifies the number of IPv4 // multicast subnet elements of a specific type from a specific IPv4 multicast subnet // and that is not yet enumerated with respect to the resume handle that is returned. // The caller MUST allocate memory for this parameter equal to the size of a DWORD data // type. ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpEnumMScopeElements return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumMScopeElementsResponse structure represents the R_DhcpEnumMScopeElements operation response
func (*EnumMScopeElementsResponse) MarshalNDR ¶
func (*EnumMScopeElementsResponse) UnmarshalNDR ¶
type EnumMScopesRequest ¶
type EnumMScopesRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if the PreferredMaximum parameter is set to 100, and 200 IPv4 // multicast subnets are stored on the MADCAP server, the resume handle can be used // after the first 100 IPv4 multicast subnets are retrieved to obtain the next 100 on // a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of IPv4 multicast subnet addresses to return. If the number of remaining unenumerated // multicast subnets is less than this value, all the IPv4 multicast subnets configured // on MADCAP server are returned. To retrieve all the multicast scopes, 0xFFFFFFFF is // specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumMScopesRequest structure represents the R_DhcpEnumMScopes operation request
func (*EnumMScopesRequest) MarshalNDR ¶
func (*EnumMScopesRequest) UnmarshalNDR ¶
type EnumMScopesResponse ¶
type EnumMScopesResponse struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if the PreferredMaximum parameter is set to 100, and 200 IPv4 // multicast subnets are stored on the MADCAP server, the resume handle can be used // after the first 100 IPv4 multicast subnets are retrieved to obtain the next 100 on // a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // MScopeTable: This is a pointer of type LPDHCP_MSCOPE_TABLE (section 2.2.1.2.72) that // points to the location in which the IPv4 multicast subnet names configured on the // MADCAP server are retrieved. MScopeTable *dhcpm.MScopeTable `idl:"name:MScopeTable" json:"mscope_table"` // ElementsRead: This is a pointer to a DWORD value that specifies the number of IPv4 // multicast subnet names returned in MScopeTable. The caller MUST allocate memory for // this parameter equal to the size of data type DWORD. ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: This is a pointer to a DWORD value that specifies the number of IPv4 // multicast subnets defined on the MADCAP server from the ResumeHandle position. The // caller MUST allocate memory for this parameter equal to the size of data type DWORD. ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpEnumMScopes return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumMScopesResponse structure represents the R_DhcpEnumMScopes operation response
func (*EnumMScopesResponse) MarshalNDR ¶
func (*EnumMScopesResponse) UnmarshalNDR ¶
type EnumOptionValuesV5Request ¶
type EnumOptionValuesV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option values are enumerated // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option values are enumerated for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option values are enumerated for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class to which the option values are enumerated. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option values are enumerated. This parameter is // optional. If the vendor class is not specified, the option values are enumerated // for a default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure // that contains information describing the DHCPv4 scope the option value is enumerated // on. This value defines the option values that are being retrieved from the default, // server, multicast scope, scope, or IPv4 reservation level. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of option values are stored on the DHCPv4 server, the resume handle can be // used after the first 1,000 bytes are retrieved to obtain the next 1,000 on a subsequent // call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. If the number of remaining unenumerated option values (in bytes) // is less than this value, all option values are returned. To retrieve all the option // values defined for a specific vendor and user class for a specific scope, 0xFFFFFFFF // is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumOptionValuesV5Request structure represents the R_DhcpEnumOptionValuesV5 operation request
func (*EnumOptionValuesV5Request) MarshalNDR ¶
func (*EnumOptionValuesV5Request) UnmarshalNDR ¶
type EnumOptionValuesV5Response ¶
type EnumOptionValuesV5Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of option values are stored on the DHCPv4 server, the resume handle can be // used after the first 1,000 bytes are retrieved to obtain the next 1,000 on a subsequent // call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // OptionValues: This is a pointer of type LPDHCP_OPTION_VALUE_ARRAY (section 2.2.1.2.43) // in which all the options values for a specific user and vendor class are enumerated // at a specific DHCPv4 scope corresponding to ScopeInfo. OptionValues *dhcpm.OptionValueArray `idl:"name:OptionValues" json:"option_values"` // OptionsRead: This is a pointer to a DWORD value that specifies the number of option // values read in OptionValues. The caller must allocate memory for this parameter equal // to the size of data type DWORD. OptionsRead uint32 `idl:"name:OptionsRead" json:"options_read"` // OptionsTotal: This is a pointer to a DWORD value that specifies the number of option // values that have not been read yet. The caller must allocate memory for this parameter // equal to the size of data type DWORD. OptionsTotal uint32 `idl:"name:OptionsTotal" json:"options_total"` // Return: The R_DhcpEnumOptionValuesV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumOptionValuesV5Response structure represents the R_DhcpEnumOptionValuesV5 operation response
func (*EnumOptionValuesV5Response) MarshalNDR ¶
func (*EnumOptionValuesV5Response) UnmarshalNDR ¶
type EnumOptionValuesV6Request ¶
type EnumOptionValuesV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option values are enumerated // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is enumerated for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is enumerated for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class to which the option values are enumerated. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option values are enumerated. This parameter is // optional. If a vendor class is not specified, the option values are enumerated for // the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO6 (section 2.2.1.2.30) structure // that contains information describing the DHCPv6 scope this option value is enumerated // on. This value defines that option values are being enumerated from the default, // server, or scope level or for an IPv6 reservation. ScopeInfo *dhcpm.OptionScopeInfo6 `idl:"name:ScopeInfo" json:"scope_info"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) which // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of option values are stored on the DHCPv6 server, the resume handle can be // used after the first 1,000 bytes are retrieved to obtain the next 1,000 on a subsequent // call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. If the number of remaining unenumerated option values (in bytes) // is less than this value, all option values are returned. To retrieve option values // for a specific vendor and user class for a specific scope, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumOptionValuesV6Request structure represents the R_DhcpEnumOptionValuesV6 operation request
func (*EnumOptionValuesV6Request) MarshalNDR ¶
func (*EnumOptionValuesV6Request) UnmarshalNDR ¶
type EnumOptionValuesV6Response ¶
type EnumOptionValuesV6Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) which // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of option values are stored on the DHCPv6 server, the resume handle can be // used after the first 1,000 bytes are retrieved to obtain the next 1,000 on a subsequent // call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // OptionValues: This is a pointer of type LPDHCP_OPTION_VALUE_ARRAY in which all the // option values for a specific user and vendor class are enumerated at a specific DHCPv6 // scope corresponding to ScopeInfo. OptionValues *dhcpm.OptionValueArray `idl:"name:OptionValues" json:"option_values"` // OptionsRead: This is a pointer to a DWORD value that specifies the number of option // values read in OptionValues. The caller MUST allocate memory for this parameter equal // to the size of data type DWORD. OptionsRead uint32 `idl:"name:OptionsRead" json:"options_read"` // OptionsTotal: This is a pointer to a DWORD value that specifies the number of option // values that have not yet been read. The caller MUST allocate memory for this parameter // equal to the size of data type DWORD. OptionsTotal uint32 `idl:"name:OptionsTotal" json:"options_total"` // Return: The R_DhcpEnumOptionValuesV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumOptionValuesV6Response structure represents the R_DhcpEnumOptionValuesV6 operation response
func (*EnumOptionValuesV6Response) MarshalNDR ¶
func (*EnumOptionValuesV6Response) UnmarshalNDR ¶
type EnumOptionsV5Request ¶
type EnumOptionsV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option definition is enumerated // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is enumerated for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is enumerated for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option definition is enumerated. This parameter is optional. // If the ClassName parameter is not specified, the option definition is enumerated // for the default user class. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option definition is enumerated. This parameter // is optional. If the vendor class name is not specified, the option definition is // enumerated for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of option definition are stored on the DHCPv4 server, the resume handle can // be used after the first 1,000 bytes are retrieved to obtain the next 1,000 on a subsequent // call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. If the number of remaining unenumerated option definitions (in // bytes) is less than this value, all option definitions are returned. To retrieve // all the option definitions defined for a specific vendor and user class, 0xFFFFFFFF // is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumOptionsV5Request structure represents the R_DhcpEnumOptionsV5 operation request
func (*EnumOptionsV5Request) MarshalNDR ¶
func (*EnumOptionsV5Request) UnmarshalNDR ¶
type EnumOptionsV5Response ¶
type EnumOptionsV5Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of option definition are stored on the DHCPv4 server, the resume handle can // be used after the first 1,000 bytes are retrieved to obtain the next 1,000 on a subsequent // call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // Options: This is a pointer of type LPDHCP_OPTION_ARRAY that points to the location // where all the option definitions for a specific user and vendor class are retrieved // from the DHCPv4 server. Options *dhcpm.OptionArray `idl:"name:Options" json:"options"` // OptionsRead: This is a pointer to a DWORD value that specifies the number of option // definitions read in Options. The caller must allocate memory for this parameter equal // to the size of data type DWORD. OptionsRead uint32 `idl:"name:OptionsRead" json:"options_read"` // OptionsTotal: This is a pointer to a DWORD value that specifies the number of option // definitions that have not yet been enumerated. The caller must allocate memory for // this parameter that is equal to the size of data type DWORD. OptionsTotal uint32 `idl:"name:OptionsTotal" json:"options_total"` // Return: The R_DhcpEnumOptionsV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumOptionsV5Response structure represents the R_DhcpEnumOptionsV5 operation response
func (*EnumOptionsV5Response) MarshalNDR ¶
func (*EnumOptionsV5Response) UnmarshalNDR ¶
type EnumOptionsV6Request ¶
type EnumOptionsV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD, specifying that the option definition is enumerated // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is enumerated for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is enumerated for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option definition is enumerated. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option definition is enumerated. This parameter // is optional. If the vendor class name is not specified, the option definition is // enumerated for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of option definitions are stored on the DHCPv6 server, the resume handle can // be used after the first 1,000 bytes are retrieved to obtain the next 1,000 on a subsequent // call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. If the number of remaining unenumerated option definitions (in // bytes) is less than this value, all option definitions are returned. To retrieve // option definitions for a specific user and vendor class, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumOptionsV6Request structure represents the R_DhcpEnumOptionsV6 operation request
func (*EnumOptionsV6Request) MarshalNDR ¶
func (*EnumOptionsV6Request) UnmarshalNDR ¶
type EnumOptionsV6Response ¶
type EnumOptionsV6Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of option definitions are stored on the DHCPv6 server, the resume handle can // be used after the first 1,000 bytes are retrieved to obtain the next 1,000 on a subsequent // call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // Options: This is a pointer of type LPDHCP_OPTION_ARRAY that points to the location // where all the option definitions for a specific user and vendor class are retrieved // from the DHCPv6 server. Options *dhcpm.OptionArray `idl:"name:Options" json:"options"` // OptionsRead: This is a pointer to a DWORD value that specifies the number of option // definitions read in Options. The caller MUST allocate memory for this parameter equal // to the size of data type DWORD. OptionsRead uint32 `idl:"name:OptionsRead" json:"options_read"` // OptionsTotal: This is a pointer to a DWORD value that specifies the number of option // definitions that have not yet been enumerated. The caller MUST allocate memory for // this parameter that is equal to the size of data type DWORD. OptionsTotal uint32 `idl:"name:OptionsTotal" json:"options_total"` // Return: The R_DhcpEnumOptionsV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumOptionsV6Response structure represents the R_DhcpEnumOptionsV6 operation response
func (*EnumOptionsV6Response) MarshalNDR ¶
func (*EnumOptionsV6Response) UnmarshalNDR ¶
type EnumPoliciesExV4Request ¶
type EnumPoliciesExV4Request struct { // ServerIpAddress: As specified in R_DhcpV4EnumPolicies (Opnum 112). ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ResumeHandle: As specified in R_DhcpV4EnumPolicies (Opnum 112). Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: As specified in R_DhcpV4EnumPolicies (Opnum 112). PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` // ServerPolicy: As specified in R_DhcpV4EnumPolicies (Opnum 112). ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: As specified in R_DhcpV4EnumPolicies (Opnum 112). SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` }
EnumPoliciesExV4Request structure represents the R_DhcpV4EnumPoliciesEx operation request
func (*EnumPoliciesExV4Request) MarshalNDR ¶
func (*EnumPoliciesExV4Request) UnmarshalNDR ¶
type EnumPoliciesExV4Response ¶
type EnumPoliciesExV4Response struct { // ResumeHandle: As specified in R_DhcpV4EnumPolicies (Opnum 112). Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // EnumInfo: This out parameter contains an array of DHCP_POLICY_EX structures containing // an enumerated list of all configured server-level or scope-level policies for the // given property. The DHCP_PROPERTY elements that are enumerated are as follows: EnumInfo *dhcpm.PolicyExArray `idl:"name:EnumInfo" json:"enum_info"` // ElementsRead: As specified in R_DhcpV4EnumPolicies (Opnum 112). ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: As specified in R_DhcpV4EnumPolicies (Opnum 112). ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpV4EnumPoliciesEx return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumPoliciesExV4Response structure represents the R_DhcpV4EnumPoliciesEx operation response
func (*EnumPoliciesExV4Response) MarshalNDR ¶
func (*EnumPoliciesExV4Response) UnmarshalNDR ¶
type EnumPoliciesV4Request ¶
type EnumPoliciesV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ResumeHandle: This is a pointer of type DWORD (see DHCP_RESUME_HANDLE data type, // section 2.2.1.2.6) that identifies the enumeration operation. Initially, this value // MUST be set to zero, with a successful call returning the handle value used for subsequent // enumeration requests. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD specifying the preferred maximum number of // policies to be returned. If the number of remaining unenumerated policies is less // than the value of this parameter, then all the policies for the DHCPv4 server or // for the specific subnet are returned. To retrieve all the policies on the DHCPv4 // server or the specific subnet, 0xFFFFFFFF SHOULD be specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` // ServerPolicy: This is of type BOOL and indicates whether the server level policy // or scope level policy is being requested. ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: This is of type DHCP_IP_ADDRESS data type (section 2.2.1.2.1) and // identifies the IPv4 subnet from which the policy is being requested. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` }
EnumPoliciesV4Request structure represents the R_DhcpV4EnumPolicies operation request
func (*EnumPoliciesV4Request) MarshalNDR ¶
func (*EnumPoliciesV4Request) UnmarshalNDR ¶
type EnumPoliciesV4Response ¶
type EnumPoliciesV4Response struct { // ResumeHandle: This is a pointer of type DWORD (see DHCP_RESUME_HANDLE data type, // section 2.2.1.2.6) that identifies the enumeration operation. Initially, this value // MUST be set to zero, with a successful call returning the handle value used for subsequent // enumeration requests. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // EnumInfo: This is a pointer of type LPDHCP_POLICY_ARRAY (section 2.2.1.2.111) in // which policy information is retrieved. EnumInfo *dhcpm.PolicyArray `idl:"name:EnumInfo" json:"enum_info"` // ElementsRead: This is a pointer to a DWORD value that specifies the number of policies // returned in the EnumInfo parameter. The caller MUST allocate memory for this parameter // that is equal to the size of the DWORD data type. ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: This is a pointer to a DWORD value that specifies the number of policies // that have not yet been enumerated. The caller MUST allocate memory for this parameter // that is equal to the size of the DWORD data type. ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpV4EnumPolicies return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumPoliciesV4Response structure represents the R_DhcpV4EnumPolicies operation response
func (*EnumPoliciesV4Response) MarshalNDR ¶
func (*EnumPoliciesV4Response) UnmarshalNDR ¶
type EnumSubnetClientsExV4Request ¶
type EnumSubnetClientsExV4Request struct { ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: As specified in R_DhcpV4EnumSubnetClients (Opnum 115). SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // ResumeHandle: As specified in R_DhcpV4EnumSubnetClients (Opnum 115). Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: As specified in R_DhcpV4EnumSubnetClients (Opnum 115). PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetClientsExV4Request structure represents the R_DhcpV4EnumSubnetClientsEx operation request
func (*EnumSubnetClientsExV4Request) MarshalNDR ¶
func (*EnumSubnetClientsExV4Request) UnmarshalNDR ¶
type EnumSubnetClientsExV4Response ¶
type EnumSubnetClientsExV4Response struct { // ResumeHandle: As specified in R_DhcpV4EnumSubnetClients (Opnum 115). Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // ClientInfo: A pointer to an array of DHCPv4 client lease records. This out parameter // contains an array of DHCP_CLIENT_INFO_EX structures containing DHCPv4 client lease // records. The DHCP_PROPERTY (section 2.2.1.2.117) elements that are enumerated are // as follows: ClientInfo *dhcpm.ClientInfoExArray `idl:"name:ClientInfo" json:"client_info"` // ClientsRead: As specified in R_DhcpV4EnumSubnetClients (Opnum 115). ClientsRead uint32 `idl:"name:ClientsRead" json:"clients_read"` // ClientsTotal: As specified in R_DhcpV4EnumSubnetClients (Opnum 115). ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"` // Return: The R_DhcpV4EnumSubnetClientsEx return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetClientsExV4Response structure represents the R_DhcpV4EnumSubnetClientsEx operation response
func (*EnumSubnetClientsExV4Response) MarshalNDR ¶
func (*EnumSubnetClientsExV4Response) UnmarshalNDR ¶
type EnumSubnetClientsFilterStatusInfoRequest ¶
type EnumSubnetClientsFilterStatusInfoRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) which contains // the IPv4 subnet ID from which DHCPv4 clients are enumerated. If this parameter is // set to 0, the DHCPv4 clients from all the IPv4 subnets are returned. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) which // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. This field contains the last IPv4 address retrieved. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD which specifies the preferred maximum number // of bytes to return. The minimum value is 1024 bytes (1 kilobyte), and the maximum // value is 65536 bytes (64 kilobytes). If the input value is greater or less than this // range, it MUST be set to the maximum or minimum value, respectively. To retrieve // all DHCPv4 clients serviced by a specific IPv4 subnet, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetClientsFilterStatusInfoRequest structure represents the R_DhcpEnumSubnetClientsFilterStatusInfo operation request
func (*EnumSubnetClientsFilterStatusInfoRequest) MarshalNDR ¶
func (*EnumSubnetClientsFilterStatusInfoRequest) UnmarshalNDR ¶
type EnumSubnetClientsFilterStatusInfoResponse ¶
type EnumSubnetClientsFilterStatusInfoResponse struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) which // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. This field contains the last IPv4 address retrieved. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // ClientInfo: This is a pointer of type LPDHCP_CLIENT_FILTER_STATUS_INFO_ARRAY that // points to the location which contains the DHCPv4 client lease record array. ClientInfo *dhcpm.ClientFilterStatusInfoArray `idl:"name:ClientInfo" json:"client_info"` // ClientRead: This is a pointer to a DWORD that specifies the number of DHCPv4 client // lease records read in ClientInfo. The caller must allocate memory for this parameter // that is equal to the size of data type DWORD. ClientRead uint32 `idl:"name:ClientRead" json:"client_read"` // ClientsTotal: This is a pointer to a DWORD that specifies the number of DHCPv4 client // lease records remaining from the current position. The caller must allocate memory // for this parameter that is equal to the size of data type DWORD. For example, if // there are 100 DHCPv4 lease record clients for an IPv4 subnet, and if 10 DHCPv4 lease // records are enumerated per call, then for the first time this would have a value // of 90.<72> ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"` // Return: The R_DhcpEnumSubnetClientsFilterStatusInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetClientsFilterStatusInfoResponse structure represents the R_DhcpEnumSubnetClientsFilterStatusInfo operation response
func (*EnumSubnetClientsFilterStatusInfoResponse) MarshalNDR ¶
func (*EnumSubnetClientsFilterStatusInfoResponse) UnmarshalNDR ¶
type EnumSubnetClientsV4Request ¶
type EnumSubnetClientsV4Request struct { ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: A DHCP_IP_ADDRESS structure containing the IPv4 subnet ID from which // DHCPv4 clients are enumerated. If this parameter is set to 0, the DHCPv4 clients // from all the IPv4 subnets are returned. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // ResumeHandle: A DHCP_RESUME_HANDLE structure that identifies the enumeration operation. // Callers MUST set this value to zero. On success, this method returns the handle value // used for subsequent enumeration requests in this parameter. The return value is the // last IPv4 address retrieved. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: A DWORD value that specifies the preferred maximum number of bytes // to return. To retrieve all DHCPv4 clients serviced by a specific IPv4 subnet, clients // MUST pass the special value 0xFFFFFFFF. Otherwise, the minimum value is 1024, and // the maximum value is 65536. If the input value is less than 1024, it must be treated // as 1024. If the input value is greater than 65536 but not equal to 0xFFFFFFFF, it // MUST be treated as 65536. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetClientsV4Request structure represents the R_DhcpV4EnumSubnetClients operation request
func (*EnumSubnetClientsV4Request) MarshalNDR ¶
func (*EnumSubnetClientsV4Request) UnmarshalNDR ¶
type EnumSubnetClientsV4Response ¶
type EnumSubnetClientsV4Response struct { // ResumeHandle: A DHCP_RESUME_HANDLE structure that identifies the enumeration operation. // Callers MUST set this value to zero. On success, this method returns the handle value // used for subsequent enumeration requests in this parameter. The return value is the // last IPv4 address retrieved. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // ClientInfo: A pointer to an array of DHCPv4 client lease records. ClientInfo *dhcpm.ClientInfoPBArray `idl:"name:ClientInfo" json:"client_info"` // ClientsRead: A pointer to a DWORD containing the number of DHCPv4 client lease records // copied into the ClientInfo parameter. The caller MUST allocate memory for this parameter // equal to the size of data type DWORD. ClientsRead uint32 `idl:"name:ClientsRead" json:"clients_read"` // ClientsTotal: A pointer to a DWORD containing the number of DHCPv4 client lease records // remaining from the current read position. For example, if there are 100 DHCPv4 lease // records for an IPv4 subnet, and if 10 records have been read so far, ClientsTotal // will hold the value 90 when this method returns. The caller MUST allocate memory // for this parameter equal to the size of data type DWORD. ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"` // Return: The R_DhcpV4EnumSubnetClients return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetClientsV4Response structure represents the R_DhcpV4EnumSubnetClients operation response
func (*EnumSubnetClientsV4Response) MarshalNDR ¶
func (*EnumSubnetClientsV4Response) UnmarshalNDR ¶
type EnumSubnetClientsV5Request ¶
type EnumSubnetClientsV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of DHCP_IP_ADDRESS (section 2.2.1.2.1), containing the IPv4 // subnet ID from which DHCPv4 clients are enumerated. If this parameter is set to 0, // the DHCPv4 clients from all the IPv4 subnets are returned. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. This parameter contains the last IPv4 address retrieved. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. The minimum value is 1,024 bytes (1 kilobyte), and the maximum // value is 65,536 bytes (64 kilobytes). If the input value is greater or less than // this range, it MUST be set to the maximum or minimum value, respectively. To retrieve // all the DHCPv4 clients serviced by a specific IPv4 subnet, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetClientsV5Request structure represents the R_DhcpEnumSubnetClientsV5 operation request
func (*EnumSubnetClientsV5Request) MarshalNDR ¶
func (*EnumSubnetClientsV5Request) UnmarshalNDR ¶
type EnumSubnetClientsV5Response ¶
type EnumSubnetClientsV5Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. This parameter contains the last IPv4 address retrieved. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // ClientInfo: This is a pointer of type LPDHCP_CLIENT_INFO_ARRAY_V5 (section 2.2.1.2.17) // that points to the location that contains the DHCPv4 client lease record array. ClientInfo *dhcpm.ClientInfoArrayV5 `idl:"name:ClientInfo" json:"client_info"` // ClientsRead: This is a pointer to a DWORD that specifies the number of DHCPv4 client // lease records read in the ClientInfo parameter. The caller MUST allocate memory for // this parameter equal to the size of data type DWORD. ClientsRead uint32 `idl:"name:ClientsRead" json:"clients_read"` // ClientsTotal: This is a pointer to a DWORD that specifies the number of DHCPv4 client // lease records remaining from the current position. For example, if there are 100 // DHCPv4 lease record clients for an IPv4 subnet, and if 10 DHCPv4 lease records are // enumerated per call, for the first time this would have a value of 90.<45> The caller // MUST allocate memory for this parameter equal to the size of data type DWORD. ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"` // Return: The R_DhcpEnumSubnetClientsV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetClientsV5Response structure represents the R_DhcpEnumSubnetClientsV5 operation response
func (*EnumSubnetClientsV5Response) MarshalNDR ¶
func (*EnumSubnetClientsV5Response) UnmarshalNDR ¶
type EnumSubnetClientsV6Request ¶
type EnumSubnetClientsV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28), containing // the IPv6 prefix ID from which DHCPv6 clients are enumerated. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` // ResumeHandle: This is a pointer of type DHCP_RESUME_IPV6_HANDLE (section 2.2.1.1.14) // that identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. This field contains the last IPv6 address retrieved from the DHCPv6 client. Resume *dhcpm.ResumeIPv6Handle `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. The minimum value is 1,024 bytes (1 kilobyte), and the maximum // value is 65,536 bytes (64 kilobytes); if the input value is greater or less than // this range, it MUST be set to the maximum or minimum value, respectively. To retrieve // all the DHCPv6 clients serviced by a specific IPv6 prefix, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetClientsV6Request structure represents the R_DhcpEnumSubnetClientsV6 operation request
func (*EnumSubnetClientsV6Request) MarshalNDR ¶
func (*EnumSubnetClientsV6Request) UnmarshalNDR ¶
type EnumSubnetClientsV6Response ¶
type EnumSubnetClientsV6Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_IPV6_HANDLE (section 2.2.1.1.14) // that identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. This field contains the last IPv6 address retrieved from the DHCPv6 client. Resume *dhcpm.ResumeIPv6Handle `idl:"name:ResumeHandle" json:"resume"` // ClientInfo: This is a pointer of type LPDHCP_CLIENT_INFO_ARRAY_V6 that points to // the location that contains the DHCPv6 client lease record array. ClientInfo *dhcpm.ClientInfoArrayV6 `idl:"name:ClientInfo" json:"client_info"` // ClientsRead: This is a pointer to a DWORD that specifies the number of DHCPv6 client // lease records read in ClientInfo. The caller MUST allocate memory for this parameter // equal to the size of data type DWORD. ClientsRead uint32 `idl:"name:ClientsRead" json:"clients_read"` // ClientsTotal: This is a pointer to a DWORD that specifies the number of DHCPv6 client // lease records remaining from the current position. For example, if there are 100 // DHCPv6 lease record clients for an IPv6 prefix and if 10 DHCPv6 lease records are // enumerated per call, then for the first time this would have a value of 90.<66> The // caller MUST allocate memory for this parameter equal to the size of data type DWORD. ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"` // Return: The R_DhcpEnumSubnetClientsV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetClientsV6Response structure represents the R_DhcpEnumSubnetClientsV6 operation response
func (*EnumSubnetClientsV6Response) MarshalNDR ¶
func (*EnumSubnetClientsV6Response) UnmarshalNDR ¶
type EnumSubnetElementsV5Request ¶
type EnumSubnetElementsV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains // the IPv4 subnet ID from which subnet elements are enumerated. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // EnumElementType: This is of type DHCP_SUBNET_ELEMENT_TYPE (section 2.2.1.1.7) enumeration, // a value that indicates the type of IPv4 subnet element to enumerate. EnumElementType dhcpm.SubnetElementType `idl:"name:EnumElementType" json:"enum_element_type"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of IPv4 subnet elements are stored on the DHCPv4 server, the resume handle // can be used after the first 1,000 bytes are retrieved to obtain the next 1,000 on // a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. If the number of remaining unenumerated subnet elements (in bytes) // is less than this value, then all IPv4 subnet elements for the specific type are // returned. To retrieve all the IPv4 subnet elements of a specific type, 0xFFFFFFFF // is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetElementsV5Request structure represents the R_DhcpEnumSubnetElementsV5 operation request
func (*EnumSubnetElementsV5Request) MarshalNDR ¶
func (*EnumSubnetElementsV5Request) UnmarshalNDR ¶
type EnumSubnetElementsV5Response ¶
type EnumSubnetElementsV5Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of IPv4 subnet elements are stored on the DHCPv4 server, the resume handle // can be used after the first 1,000 bytes are retrieved to obtain the next 1,000 on // a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // EnumElementInfo: This is a pointer of type LPDHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 in // which IPv4 subnet element of type EnumElementType is returned for a specific IPv4 // subnet SubnetAddress. If no IPv4 subnet element of a specific type is available for // enumeration, this value is null. EnumElementInfo *dhcpm.SubnetElementInfoArrayV5 `idl:"name:EnumElementInfo" json:"enum_element_info"` // ElementsRead: This is a pointer to a DWORD value that specifies the number of IPv4 // subnet elements read in EnumElementInfo for a specific type of IPv4 subnet element. // The caller must allocate memory for this parameter equal to the size of data type // DWORD. ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: This is a pointer to a DWORD value that specifies the number of IPv4 // subnet elements of a specific type from a specific IPv4 subnet that are not yet enumerated // with respect to the resume handle that is returned. The caller must allocate memory // for this parameter equal to the size of data type DWORD. ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpEnumSubnetElementsV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetElementsV5Response structure represents the R_DhcpEnumSubnetElementsV5 operation response
func (*EnumSubnetElementsV5Response) MarshalNDR ¶
func (*EnumSubnetElementsV5Response) UnmarshalNDR ¶
type EnumSubnetElementsV6Request ¶
type EnumSubnetElementsV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28), containing // the IPv6 address of the subnet from which subnet elements are enumerated. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` // EnumElementType: This is of type DHCP_SUBNET_ELEMENT_TYPE_V6 (section 2.2.1.1.8) // value, indicating the type of IPv6 prefix element to enumerate. EnumElementType dhcpm.SubnetElementTypeV6 `idl:"name:EnumElementType" json:"enum_element_type"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of IPv6 prefix elements are stored on the DHCPv6 server, the resume handle // can be used after the first 1,000 bytes are retrieved to obtain the next 1,000 on // a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to return. If the number of remaining unenumerated subnet element (in bytes) // is less than this value, all IPv6 prefix elements for specific type are returned. // To retrieve all the IPv6 prefix elements of a specific type, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetElementsV6Request structure represents the R_DhcpEnumSubnetElementsV6 operation request
func (*EnumSubnetElementsV6Request) MarshalNDR ¶
func (*EnumSubnetElementsV6Request) UnmarshalNDR ¶
type EnumSubnetElementsV6Response ¶
type EnumSubnetElementsV6Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 1,000 bytes, and 2,000 bytes' // worth of IPv6 prefix elements are stored on the DHCPv6 server, the resume handle // can be used after the first 1,000 bytes are retrieved to obtain the next 1,000 on // a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // EnumElementInfo: This is a pointer of type LPDHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 in // which an IPv4 subnet element of type EnumElementType is returned for a specific IPv6 // prefix SubnetAddress. If no IPv6 prefix elements are available for enumeration, this // value is null. EnumElementInfo *dhcpm.SubnetElementInfoArrayV6 `idl:"name:EnumElementInfo" json:"enum_element_info"` // ElementsRead: This is a pointer to a DWORD value that specifies the number of IPv6 // prefix elements read in EnumElementInfo for a specific type of IPv6 prefix element. // The caller MUST allocate memory for this parameter equal to the size of data type // DWORD. ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: This is a pointer to a DWORD value that specifies the number of IPv6 // prefix elements of a specific type for a specific IPv6 prefix that are not yet enumerated // with respect to the resume handle that is returned. The caller MUST allocate memory // for this parameter equal to the size of data type DWORD. ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpEnumSubnetElementsV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetElementsV6Response structure represents the R_DhcpEnumSubnetElementsV6 operation response
func (*EnumSubnetElementsV6Response) MarshalNDR ¶
func (*EnumSubnetElementsV6Response) UnmarshalNDR ¶
type EnumSubnetReservationsV4Request ¶
type EnumSubnetReservationsV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS structure (section 2.2.1.2.1) that // contains the IPv4 subnet address for which DHCPv4 reservations information is retrieved. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // ResumeHandle: This is a pointer of DHCP_RESUME_HANDLE data type (section 2.2.1.2.6) // that identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to be returned. If the number of bytes required in memory for the remaining // unenumerated DHCPv4 reservations is less than the PreferredMaximum parameter value, // then all the remaining DHCPv4 reservations are returned. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetReservationsV4Request structure represents the R_DhcpV4EnumSubnetReservations operation request
func (*EnumSubnetReservationsV4Request) MarshalNDR ¶
func (*EnumSubnetReservationsV4Request) UnmarshalNDR ¶
type EnumSubnetReservationsV4Response ¶
type EnumSubnetReservationsV4Response struct { // ResumeHandle: This is a pointer of DHCP_RESUME_HANDLE data type (section 2.2.1.2.6) // that identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // EnumElementInfo: This is a pointer of type LPDHCP_RESERVATION_INFO_ARRAY (section // 2.2.1.2.103) in which information for all the reservations on the DHCPv4 server for // the given SubnetAddress parameter is retrieved. EnumElementInfo *dhcpm.ReservationInfoArray `idl:"name:EnumElementInfo" json:"enum_element_info"` // ElementsRead: This is a pointer to a DWORD value that specifies the number of DHCPv4 // reservations returned in the EnumElementInfo parameter. The caller MUST allocate // memory for this parameter equal to the size of data type DWORD. ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: This is a pointer to a DWORD value that specifies the number of DHCPv4 // reservations that have not yet been enumerated. The caller MUST allocate memory for // this parameter equal to the size of data type DWORD. ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpV4EnumSubnetReservations return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetReservationsV4Response structure represents the R_DhcpV4EnumSubnetReservations operation response
func (*EnumSubnetReservationsV4Response) MarshalNDR ¶
func (*EnumSubnetReservationsV4Response) UnmarshalNDR ¶
type EnumSubnetsV6Request ¶
type EnumSubnetsV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 100, and 200 IPv6 prefix addresses // are stored on the DHCPv6 server, the resume handle can be used after the first 100 // IPv6 prefixes are retrieved to obtain the next 100 on a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // PreferredMaximum: This is of type DWORD, specifying the preferred maximum number // of IPv6 prefix addresses to return. If the number of remaining unenumerated options // is less than this value, all the IPv6 prefixes are returned. To retrieve all the // IPv6 prefixes, 0xFFFFFFFF is specified. PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"` }
EnumSubnetsV6Request structure represents the R_DhcpEnumSubnetsV6 operation request
func (*EnumSubnetsV6Request) MarshalNDR ¶
func (*EnumSubnetsV6Request) UnmarshalNDR ¶
type EnumSubnetsV6Response ¶
type EnumSubnetsV6Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. For example, if PreferredMaximum is set to 100, and 200 IPv6 prefix addresses // are stored on the DHCPv6 server, the resume handle can be used after the first 100 // IPv6 prefixes are retrieved to obtain the next 100 on a subsequent call, and so forth. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // EnumInfo: This is a pointer of type LPDHCPV6_IP_ARRAY in which the IPv6 prefix configured // on the DHCPv6 server is returned. EnumInfo *dhcpm.IPArrayV6 `idl:"name:EnumInfo" json:"enum_info"` // ElementsRead: This is a pointer to a DWORD value that specifies the number of IPv6 // prefix addresses returned in EnumInfo. The caller MUST allocate memory for this parameter // equal to the size of data type DWORD. ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"` // ElementsTotal: This is a pointer to a DWORD value that specifies the number of IPv6 // prefixes defined on the DHCPv6 server that have not yet been enumerated with respect // to the resume handle that is returned. The caller MUST allocate memory for this parameter // equal to the size of data type DWORD. ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"` // Return: The R_DhcpEnumSubnetsV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
EnumSubnetsV6Response structure represents the R_DhcpEnumSubnetsV6 operation response
func (*EnumSubnetsV6Response) MarshalNDR ¶
func (*EnumSubnetsV6Response) UnmarshalNDR ¶
type FailoverAddScopeToRelationshipV4Request ¶
type FailoverAddScopeToRelationshipV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // pRelationship: This is a pointer to a type DHCP_FAILOVER_RELATIONSHIP structure (section // 2.2.1.2.98) that contains information about the failover relationship to which scopes // as specified in the pScopes member of the pRelationship parameter are to be added. Relationship *dhcpm.FailoverRelationship `idl:"name:pRelationship" json:"relationship"` }
FailoverAddScopeToRelationshipV4Request structure represents the R_DhcpV4FailoverAddScopeToRelationship operation request
func (*FailoverAddScopeToRelationshipV4Request) MarshalNDR ¶
func (*FailoverAddScopeToRelationshipV4Request) UnmarshalNDR ¶
type FailoverAddScopeToRelationshipV4Response ¶
type FailoverAddScopeToRelationshipV4Response struct { // Return: The R_DhcpV4FailoverAddScopeToRelationship return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverAddScopeToRelationshipV4Response structure represents the R_DhcpV4FailoverAddScopeToRelationship operation response
func (*FailoverAddScopeToRelationshipV4Response) MarshalNDR ¶
func (*FailoverAddScopeToRelationshipV4Response) UnmarshalNDR ¶
type FailoverCreateRelationshipV4Request ¶
type FailoverCreateRelationshipV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // pRelationship: This is a pointer to a type DHCP_FAILOVER_RELATIONSHIP (section 2.2.1.2.98)) // that contains information about the failover relationship to be created on the DHCPv4 // server. Relationship *dhcpm.FailoverRelationship `idl:"name:pRelationship" json:"relationship"` }
FailoverCreateRelationshipV4Request structure represents the R_DhcpV4FailoverCreateRelationship operation request
func (*FailoverCreateRelationshipV4Request) MarshalNDR ¶
func (*FailoverCreateRelationshipV4Request) UnmarshalNDR ¶
type FailoverCreateRelationshipV4Response ¶
type FailoverCreateRelationshipV4Response struct { // Return: The R_DhcpV4FailoverCreateRelationship return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverCreateRelationshipV4Response structure represents the R_DhcpV4FailoverCreateRelationship operation response
func (*FailoverCreateRelationshipV4Response) MarshalNDR ¶
func (*FailoverCreateRelationshipV4Response) UnmarshalNDR ¶
type FailoverDeleteRelationshipV4Request ¶
type FailoverDeleteRelationshipV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // pRelationshipName: A pointer to a null-terminated Unicode string that contains the // name of the failover relationship to be deleted. RelationshipName string `idl:"name:pRelationshipName;string;pointer:unique" json:"relationship_name"` }
FailoverDeleteRelationshipV4Request structure represents the R_DhcpV4FailoverDeleteRelationship operation request
func (*FailoverDeleteRelationshipV4Request) MarshalNDR ¶
func (*FailoverDeleteRelationshipV4Request) UnmarshalNDR ¶
type FailoverDeleteRelationshipV4Response ¶
type FailoverDeleteRelationshipV4Response struct { // Return: The R_DhcpV4FailoverDeleteRelationship return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverDeleteRelationshipV4Response structure represents the R_DhcpV4FailoverDeleteRelationship operation response
func (*FailoverDeleteRelationshipV4Response) MarshalNDR ¶
func (*FailoverDeleteRelationshipV4Response) UnmarshalNDR ¶
type FailoverDeleteScopeFromRelationshipV4Request ¶
type FailoverDeleteScopeFromRelationshipV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // pRelationship: This is a pointer to a type DHCP_FAILOVER_RELATIONSHIP structure (section // 2.2.1.2.98) that contains information about the failover relationship from which // scopes as specified in pScopes member of pRelationship.parameter are to be deleted. Relationship *dhcpm.FailoverRelationship `idl:"name:pRelationship" json:"relationship"` }
FailoverDeleteScopeFromRelationshipV4Request structure represents the R_DhcpV4FailoverDeleteScopeFromRelationship operation request
func (*FailoverDeleteScopeFromRelationshipV4Request) MarshalNDR ¶
func (*FailoverDeleteScopeFromRelationshipV4Request) UnmarshalNDR ¶
type FailoverDeleteScopeFromRelationshipV4Response ¶
type FailoverDeleteScopeFromRelationshipV4Response struct { // Return: The R_DhcpV4FailoverDeleteScopeFromRelationship return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverDeleteScopeFromRelationshipV4Response structure represents the R_DhcpV4FailoverDeleteScopeFromRelationship operation response
func (*FailoverDeleteScopeFromRelationshipV4Response) MarshalNDR ¶
func (*FailoverDeleteScopeFromRelationshipV4Response) UnmarshalNDR ¶
type FailoverEnumRelationshipV4Request ¶
type FailoverEnumRelationshipV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // preferredMaximum: This is of type DWORD, specifying the preferred maximum number // of bytes to be returned. If the number of bytes required in memory for the remaining // unenumerated failover relationships is less than the PreferredMaximum parameter value, // then all the remaining failover relationships for the DHCP server are returned. PreferredMaximum uint32 `idl:"name:preferredMaximum" json:"preferred_maximum"` }
FailoverEnumRelationshipV4Request structure represents the R_DhcpV4FailoverEnumRelationship operation request
func (*FailoverEnumRelationshipV4Request) MarshalNDR ¶
func (*FailoverEnumRelationshipV4Request) UnmarshalNDR ¶
type FailoverEnumRelationshipV4Response ¶
type FailoverEnumRelationshipV4Response struct { // ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that // identifies the enumeration operation. Initially, this value MUST be set to zero, // with a successful call returning the handle value used for subsequent enumeration // requests. Resume uint32 `idl:"name:ResumeHandle" json:"resume"` // pRelationship: This is a pointer of type LPDHCP_FAILOVER_RELATIONSHIP_ARRAY (section // 2.2.1.2.99) in which information about all the failover relationships defined on // the DHCP server is retrieved. Relationship *dhcpm.FailoverRelationshipArray `idl:"name:pRelationship" json:"relationship"` // relationshipRead: This is a pointer to a DWORD value that specifies the number of // failover relationships returned in the pRelationship parameter. The caller MUST allocate // memory for this parameter equal to the size of data type DWORD. RelationshipRead uint32 `idl:"name:relationshipRead" json:"relationship_read"` // relationshipTotal: This is a pointer to a DWORD value that specifies the number of // failover relationships defined on the DHCP server that have not yet been enumerated. // The caller MUST allocate memory for this parameter equal to the size of data type // DWORD. RelationshipTotal uint32 `idl:"name:relationshipTotal" json:"relationship_total"` // Return: The R_DhcpV4FailoverEnumRelationship return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverEnumRelationshipV4Response structure represents the R_DhcpV4FailoverEnumRelationship operation response
func (*FailoverEnumRelationshipV4Response) MarshalNDR ¶
func (*FailoverEnumRelationshipV4Response) UnmarshalNDR ¶
type FailoverGetAddressStatusV4Request ¶
type FailoverGetAddressStatusV4Request struct { // ServerIpAddress: The IP address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) and identifies // the IPv4 address the status of which is to be queried. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` }
FailoverGetAddressStatusV4Request structure represents the R_DhcpV4FailoverGetAddressStatus operation request
func (*FailoverGetAddressStatusV4Request) MarshalNDR ¶
func (*FailoverGetAddressStatusV4Request) UnmarshalNDR ¶
type FailoverGetAddressStatusV4Response ¶
type FailoverGetAddressStatusV4Response struct { // pStatus: The out parameter, which represents the status of the address in the failover // relationship. Status uint32 `idl:"name:pStatus" json:"status"` // Return: The R_DhcpV4FailoverGetAddressStatus return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverGetAddressStatusV4Response structure represents the R_DhcpV4FailoverGetAddressStatus operation response
func (*FailoverGetAddressStatusV4Response) MarshalNDR ¶
func (*FailoverGetAddressStatusV4Response) UnmarshalNDR ¶
type FailoverGetClientInfoV4Request ¶
type FailoverGetClientInfoV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SearchInfo: This is a pointer to a type DHCP_SEARCH_INFO structure (section 2.2.1.2.18) // that defines the key to be used to search the DHCPv4 client lease record on the DHCPv4 // server. In case the SearchType member is DhcpClientName enumeration value and there // are multiple lease records with the same ClientName member, the server will return // client information for the client having the lowest numerical IP address. SearchInfo *dhcpm.SearchInfo `idl:"name:SearchInfo;pointer:ref" json:"search_info"` }
FailoverGetClientInfoV4Request structure represents the R_DhcpV4FailoverGetClientInfo operation request
func (*FailoverGetClientInfoV4Request) MarshalNDR ¶
func (*FailoverGetClientInfoV4Request) UnmarshalNDR ¶
type FailoverGetClientInfoV4Response ¶
type FailoverGetClientInfoV4Response struct { // ClientInfo: This is a pointer of type LPDHCPV4_FAILOVER_CLIENT_INFO (section 2.2.1.2.101) // that points to the location in which specific DHCPv4 client lease record information // is retrieved. The caller SHOULD free up this buffer after using this. The ClientHardwareAddress // member represents a DHCPv4 client unique ID (section 2.2.1.2.5.2). ClientInfo *dhcpm.FailoverClientInfoV4 `idl:"name:ClientInfo" json:"client_info"` // Return: The R_DhcpV4FailoverGetClientInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverGetClientInfoV4Response structure represents the R_DhcpV4FailoverGetClientInfo operation response
func (*FailoverGetClientInfoV4Response) MarshalNDR ¶
func (*FailoverGetClientInfoV4Response) UnmarshalNDR ¶
type FailoverGetRelationshipV4Request ¶
type FailoverGetRelationshipV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // pRelationshipName: A pointer to a null-terminated Unicode string that contains the // name of the failover relationship for which the information is retrieved. There is // no limit on the length of this Unicode string. RelationshipName string `idl:"name:pRelationshipName;string;pointer:unique" json:"relationship_name"` }
FailoverGetRelationshipV4Request structure represents the R_DhcpV4FailoverGetRelationship operation request
func (*FailoverGetRelationshipV4Request) MarshalNDR ¶
func (*FailoverGetRelationshipV4Request) UnmarshalNDR ¶
type FailoverGetRelationshipV4Response ¶
type FailoverGetRelationshipV4Response struct { // pRelationship: This is a pointer of type LPDHCP_FAILOVER_RELATIONSHIP (section 2.2.1.2.98) // in which the information about the failover relationship is retrieved based on the // pRelationshipName parameter. Relationship *dhcpm.FailoverRelationship `idl:"name:pRelationship" json:"relationship"` // Return: The R_DhcpV4FailoverGetRelationship return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverGetRelationshipV4Response structure represents the R_DhcpV4FailoverGetRelationship operation response
func (*FailoverGetRelationshipV4Response) MarshalNDR ¶
func (*FailoverGetRelationshipV4Response) UnmarshalNDR ¶
type FailoverGetScopeRelationshipV4Request ¶
type FailoverGetScopeRelationshipV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // scopeId: This is of type DHCP_IP_ADDRESS data type (section 2.2.1.2.1) that contains // the IPv4 subnet address which is configured as part of a failover relationship. ScopeID uint32 `idl:"name:scopeId" json:"scope_id"` }
FailoverGetScopeRelationshipV4Request structure represents the R_DhcpV4FailoverGetScopeRelationship operation request
func (*FailoverGetScopeRelationshipV4Request) MarshalNDR ¶
func (*FailoverGetScopeRelationshipV4Request) UnmarshalNDR ¶
type FailoverGetScopeRelationshipV4Response ¶
type FailoverGetScopeRelationshipV4Response struct { // pRelationship: This is a pointer of type LPDHCP_FAILOVER_RELATIONSHIP (section 2.2.1.2.98) // that contains the failover relationship which has the scopeId parameter configured // as part of the pScopes member in the pRelationship parameter. Relationship *dhcpm.FailoverRelationship `idl:"name:pRelationship" json:"relationship"` // Return: The R_DhcpV4FailoverGetScopeRelationship return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverGetScopeRelationshipV4Response structure represents the R_DhcpV4FailoverGetScopeRelationship operation response
func (*FailoverGetScopeRelationshipV4Response) MarshalNDR ¶
func (*FailoverGetScopeRelationshipV4Response) UnmarshalNDR ¶
type FailoverGetScopeStatisticsV4Request ¶
type FailoverGetScopeStatisticsV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // scopeId: This is of type DHCP_IP_ADDRESS data type (section 2.2.1.2.1), that contains // a IPv4 subnet address configured for a failover relationship for which statistics // information needs to be returned. ScopeID uint32 `idl:"name:scopeId" json:"scope_id"` }
FailoverGetScopeStatisticsV4Request structure represents the R_DhcpV4FailoverGetScopeStatistics operation request
func (*FailoverGetScopeStatisticsV4Request) MarshalNDR ¶
func (*FailoverGetScopeStatisticsV4Request) UnmarshalNDR ¶
type FailoverGetScopeStatisticsV4Response ¶
type FailoverGetScopeStatisticsV4Response struct { // pStats: This is a pointer of type LPDHCP_FAILOVER_STATISTICS (section 2.2.1.2.100) // that contains the statistics information for the scopeId parameter. Stats *dhcpm.FailoverStatistics `idl:"name:pStats" json:"stats"` // Return: The R_DhcpV4FailoverGetScopeStatistics return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverGetScopeStatisticsV4Response structure represents the R_DhcpV4FailoverGetScopeStatistics operation response
func (*FailoverGetScopeStatisticsV4Response) MarshalNDR ¶
func (*FailoverGetScopeStatisticsV4Response) UnmarshalNDR ¶
type FailoverGetSystemTimeV4Request ¶
type FailoverGetSystemTimeV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` }
FailoverGetSystemTimeV4Request structure represents the R_DhcpV4FailoverGetSystemTime operation request
func (*FailoverGetSystemTimeV4Request) MarshalNDR ¶
func (*FailoverGetSystemTimeV4Request) UnmarshalNDR ¶
type FailoverGetSystemTimeV4Response ¶
type FailoverGetSystemTimeV4Response struct { // pTime: This is a pointer to type DWORD and returns the current time, in seconds elapsed // since midnight, January 1, 1970, Coordinated Universal Time (UTC), on the DHCP server. // The caller of the API must allocate the memory for this parameter. Time uint32 `idl:"name:pTime" json:"time"` // Return: The R_DhcpV4FailoverGetSystemTime return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverGetSystemTimeV4Response structure represents the R_DhcpV4FailoverGetSystemTime operation response
func (*FailoverGetSystemTimeV4Response) MarshalNDR ¶
func (*FailoverGetSystemTimeV4Response) UnmarshalNDR ¶
type FailoverSetRelationshipV4Request ¶
type FailoverSetRelationshipV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: A DWORD type that contains the bitmask of the members in the pRelationship // parameter structure to be updated. The bit mapping for the various values for the // flags parameter is listed in the following table. // // +------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +------------------------+----------------------------------------------------------------------------------+ // +------------------------+----------------------------------------------------------------------------------+ // | MCLT 0x00000001 | Update the mclt member of DHCP_FAILOVER_RELATIONSHIP structure (section | // | | 2.2.1.2.98) to the value specified in the mclt member in pRelationship | // | | parameter. | // +------------------------+----------------------------------------------------------------------------------+ // | SAFEPERIOD 0x00000002 | Update the safePeriod member of DHCP_FAILOVER_RELATIONSHIP structure (section | // | | 2.2.1.2.98) to the value specified in the safePeriod member in pRelationship | // | | parameter. | // +------------------------+----------------------------------------------------------------------------------+ // | CHANGESTATE 0x00000004 | Update the state member of DHCP_FAILOVER_RELATIONSHIP structure (section | // | | 2.2.1.2.98) to the value specified in the state member in pRelationship | // | | parameter. | // +------------------------+----------------------------------------------------------------------------------+ // | PERCENTAGE 0x00000008 | Update the percentage member of DHCP_FAILOVER_RELATIONSHIP structure (section | // | | 2.2.1.2.98) to the value specified in the percentage member in pRelationship | // | | parameter. | // +------------------------+----------------------------------------------------------------------------------+ // | MODE 0x00000010 | Update the mode member of DHCP_FAILOVER_RELATIONSHIP structure (section | // | | 2.2.1.2.98) to the value specified in the mode member in pRelationship | // | | parameter. | // +------------------------+----------------------------------------------------------------------------------+ // | PREVSTATE 0x00000020 | Update the prevState member of DHCP_FAILOVER_RELATIONSHIP structure (section | // | | 2.2.1.2.98) to the value specified in the prevState member in pRelationship | // | | parameter. | // +------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // pRelationship: This is a pointer to a type DHCP_FAILOVER_RELATIONSHIP structure (section // 2.2.1.2.98) that contains information about the failover relationship to be modified // on the DHCPv4 server. Relationship *dhcpm.FailoverRelationship `idl:"name:pRelationship" json:"relationship"` }
FailoverSetRelationshipV4Request structure represents the R_DhcpV4FailoverSetRelationship operation request
func (*FailoverSetRelationshipV4Request) MarshalNDR ¶
func (*FailoverSetRelationshipV4Request) UnmarshalNDR ¶
type FailoverSetRelationshipV4Response ¶
type FailoverSetRelationshipV4Response struct { // Return: The R_DhcpV4FailoverSetRelationship return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverSetRelationshipV4Response structure represents the R_DhcpV4FailoverSetRelationship operation response
func (*FailoverSetRelationshipV4Response) MarshalNDR ¶
func (*FailoverSetRelationshipV4Response) UnmarshalNDR ¶
type FailoverTriggerAddrAllocationV4Request ¶
type FailoverTriggerAddrAllocationV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // FailRelName: A pointer to a null-terminated Unicode string that contains the name // of the failover relationship for which free addresses are re-distributed. There is // no restriction on the length of this Unicode string. FailRelationName string `idl:"name:FailRelName;string;pointer:unique" json:"fail_relation_name"` }
FailoverTriggerAddrAllocationV4Request structure represents the R_DhcpV4FailoverTriggerAddrAllocation operation request
func (*FailoverTriggerAddrAllocationV4Request) MarshalNDR ¶
func (*FailoverTriggerAddrAllocationV4Request) UnmarshalNDR ¶
type FailoverTriggerAddrAllocationV4Response ¶
type FailoverTriggerAddrAllocationV4Response struct { // Return: The R_DhcpV4FailoverTriggerAddrAllocation return value. Return uint32 `idl:"name:Return" json:"return"` }
FailoverTriggerAddrAllocationV4Response structure represents the R_DhcpV4FailoverTriggerAddrAllocation operation response
func (*FailoverTriggerAddrAllocationV4Response) MarshalNDR ¶
func (*FailoverTriggerAddrAllocationV4Response) UnmarshalNDR ¶
type GetAllOptionValuesRequest ¶
type GetAllOptionValuesRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD and is reserved for future use. Currently it is not // used, and any value set to this parameter will not affect the behavior of this method. Flags uint32 `idl:"name:Flags" json:"flags"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure // that contains information describing the DHCPv4 scope the option values are retrieved // on. This value defines that option values are being retrieved from the default, server, // multicast scope, or scope level, or for an IPv4 reservation. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` }
GetAllOptionValuesRequest structure represents the R_DhcpGetAllOptionValues operation request
func (*GetAllOptionValuesRequest) MarshalNDR ¶
func (*GetAllOptionValuesRequest) UnmarshalNDR ¶
type GetAllOptionValuesResponse ¶
type GetAllOptionValuesResponse struct { // Values: This is a pointer to type LPDHCP_ALL_OPTION_VALUES in which a list of vendor-specific // option values and default option values is retrieved. Values *dhcpm.AllOptionValues `idl:"name:Values" json:"values"` // Return: The R_DhcpGetAllOptionValues return value. Return uint32 `idl:"name:Return" json:"return"` }
GetAllOptionValuesResponse structure represents the R_DhcpGetAllOptionValues operation response
func (*GetAllOptionValuesResponse) MarshalNDR ¶
func (*GetAllOptionValuesResponse) UnmarshalNDR ¶
type GetAllOptionValuesV4Request ¶
type GetAllOptionValuesV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD and specifies that the option value is set for a specific // or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is set for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is set for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // ScopeInfo: This is a pointer of type DHCP_OPTION_SCOPE_INFO structure (section 2.2.1.2.41) // that contains information describing the DHCPv4 scope for which this option value // is set. This value contains the default, server, scope, multicast scope, or IPv4 // reservation level at which the option values are set. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` }
GetAllOptionValuesV4Request structure represents the R_DhcpV4GetAllOptionValues operation request
func (*GetAllOptionValuesV4Request) MarshalNDR ¶
func (*GetAllOptionValuesV4Request) UnmarshalNDR ¶
type GetAllOptionValuesV4Response ¶
type GetAllOptionValuesV4Response struct { // Values: This is a pointer of type LPDHCP_ALL_OPTIONS_VALUES_PB (section 2.2.1.2.109) // that contains all the policy option values at server or scope level. Values *dhcpm.AllOptionValuesPB `idl:"name:Values" json:"values"` // Return: The R_DhcpV4GetAllOptionValues return value. Return uint32 `idl:"name:Return" json:"return"` }
GetAllOptionValuesV4Response structure represents the R_DhcpV4GetAllOptionValues operation response
func (*GetAllOptionValuesV4Response) MarshalNDR ¶
func (*GetAllOptionValuesV4Response) UnmarshalNDR ¶
type GetAllOptionValuesV6Request ¶
type GetAllOptionValuesV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This field MUST be set to zero. Currently it is not used, and any value // set to this parameter will not affect the behavior of this method. Flags uint32 `idl:"name:Flags" json:"flags"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO6 (section 2.2.1.2.30) structure // that contains information describing the DHCPv6 scope for which the option values // are retrieved. If this value is DhcpDefaultOptions6 the option values are retrieved // at the server level, if this value is DhcpScopeOptions6 the option values are retrieved // at the scope level, while if this value is DhcpReservedOptions6 the option values // are retrieved at the reservations level. ScopeInfo *dhcpm.OptionScopeInfo6 `idl:"name:ScopeInfo" json:"scope_info"` }
GetAllOptionValuesV6Request structure represents the R_DhcpGetAllOptionValuesV6 operation request
func (*GetAllOptionValuesV6Request) MarshalNDR ¶
func (*GetAllOptionValuesV6Request) UnmarshalNDR ¶
type GetAllOptionValuesV6Response ¶
type GetAllOptionValuesV6Response struct { // Values: This is a pointer of type LPDHCP_ALL_OPTION_VALUES that points to the location // that contains all the option values retrieved from the DHCPv6 server at the server, // scope, or IPv6 reservation level, depending on the ScopeType defined in ScopeInfo. Values *dhcpm.AllOptionValues `idl:"name:Values" json:"values"` // Return: The R_DhcpGetAllOptionValuesV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetAllOptionValuesV6Response structure represents the R_DhcpGetAllOptionValuesV6 operation response
func (*GetAllOptionValuesV6Response) MarshalNDR ¶
func (*GetAllOptionValuesV6Response) UnmarshalNDR ¶
type GetAllOptionsRequest ¶
type GetAllOptionsRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This field MUST be set to zero. Flags uint32 `idl:"name:Flags" json:"flags"` }
GetAllOptionsRequest structure represents the R_DhcpGetAllOptions operation request
func (*GetAllOptionsRequest) MarshalNDR ¶
func (*GetAllOptionsRequest) UnmarshalNDR ¶
type GetAllOptionsResponse ¶
type GetAllOptionsResponse struct { // OptionStruct: This is a pointer of type LPDHCP_ALL_OPTIONS (section 2.2.1.2.27) that // points to a location that contains all the option definitions defined for a vendor // class or default class. Option *dhcpm.AllOptions `idl:"name:OptionStruct" json:"option"` // Return: The R_DhcpGetAllOptions return value. Return uint32 `idl:"name:Return" json:"return"` }
GetAllOptionsResponse structure represents the R_DhcpGetAllOptions operation response
func (*GetAllOptionsResponse) MarshalNDR ¶
func (*GetAllOptionsResponse) UnmarshalNDR ¶
type GetAllOptionsV6Request ¶
type GetAllOptionsV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This field MUST be set to zero. Flags uint32 `idl:"name:Flags" json:"flags"` }
GetAllOptionsV6Request structure represents the R_DhcpGetAllOptionsV6 operation request
func (*GetAllOptionsV6Request) MarshalNDR ¶
func (*GetAllOptionsV6Request) UnmarshalNDR ¶
type GetAllOptionsV6Response ¶
type GetAllOptionsV6Response struct { // OptionStruct: This is a pointer of type LPDHCP_ALL_OPTIONS that points to the location // that contains all vendor-specific option definitions as well as default option definitions. Option *dhcpm.AllOptions `idl:"name:OptionStruct" json:"option"` // Return: The R_DhcpGetAllOptionsV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetAllOptionsV6Response structure represents the R_DhcpGetAllOptionsV6 operation response
func (*GetAllOptionsV6Response) MarshalNDR ¶
func (*GetAllOptionsV6Response) UnmarshalNDR ¶
type GetClassInfoRequest ¶
type GetClassInfoRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // PartialClassInfo: This is of type LPDHCP_CLASS_INFO (section 2.2.1.2.75), containing // the partial information of the class for which full information is retrieved in FilledClassInfo. // The mandatory fields in this structure are ClassName, ClassData, and ClassDataLength. PartialClassInfo *dhcpm.ClassInfo `idl:"name:PartialClassInfo" json:"partial_class_info"` }
GetClassInfoRequest structure represents the R_DhcpGetClassInfo operation request
func (*GetClassInfoRequest) MarshalNDR ¶
func (*GetClassInfoRequest) UnmarshalNDR ¶
type GetClassInfoResponse ¶
type GetClassInfoResponse struct { // FilledClassInfo: This is a pointer to type LPDHCP_CLASS_INFO (section 2.2.1.2.75) // in which the complete information of a class is retrieved based on the PartialClassInfo. FilledClassInfo *dhcpm.ClassInfo `idl:"name:FilledClassInfo" json:"filled_class_info"` // Return: The R_DhcpGetClassInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
GetClassInfoResponse structure represents the R_DhcpGetClassInfo operation response
func (*GetClassInfoResponse) MarshalNDR ¶
func (*GetClassInfoResponse) UnmarshalNDR ¶
type GetClientInfoExV4Request ¶
type GetClientInfoExV4Request struct { // ServerIpAddress: As specified in R_DhcpV4GetClientInfo (Opnum 123). ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SearchInfo: As specified in R_DhcpV4GetClientInfo (Opnum 123). SearchInfo *dhcpm.SearchInfo `idl:"name:SearchInfo;pointer:ref" json:"search_info"` }
GetClientInfoExV4Request structure represents the R_DhcpV4GetClientInfoEx operation request
func (*GetClientInfoExV4Request) MarshalNDR ¶
func (*GetClientInfoExV4Request) UnmarshalNDR ¶
type GetClientInfoExV4Response ¶
type GetClientInfoExV4Response struct { // ClientInfo: A pointer of type LPDHCP_CLIENT_INFO_EX that points to the location where // the DHCPv4 client lease record information will be returned. The caller SHOULD free // this buffer. The structure's ClientHardwareAddress member represents a DHCPv4 client // unique-identifier as specified in section 2.2.1.2.5.2. // // The DHCP_PROPERTY (section 2.2.1.2.117) elements that are queried are as follows: ClientInfo *dhcpm.ClientInfoEx `idl:"name:ClientInfo" json:"client_info"` // Return: The R_DhcpV4GetClientInfoEx return value. Return uint32 `idl:"name:Return" json:"return"` }
GetClientInfoExV4Response structure represents the R_DhcpV4GetClientInfoEx operation response
func (*GetClientInfoExV4Response) MarshalNDR ¶
func (*GetClientInfoExV4Response) UnmarshalNDR ¶
type GetClientInfoV4Request ¶
type GetClientInfoV4Request struct { // ServerIpAddress: The IP address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SearchInfo: A pointer to a type DHCP_SEARCH_INFO (section 2.2.1.2.18) structure that // contains the key to be used to search for the DHCPv4 client lease record on the DHCPv4 // server. If this parameter's SearchType member is set to DhcpClientName and there // are multiple lease records with the same ClientName member, the server returns client // information for the client having the lowest numerical IP address. SearchInfo *dhcpm.SearchInfo `idl:"name:SearchInfo;pointer:ref" json:"search_info"` }
GetClientInfoV4Request structure represents the R_DhcpV4GetClientInfo operation request
func (*GetClientInfoV4Request) MarshalNDR ¶
func (*GetClientInfoV4Request) UnmarshalNDR ¶
type GetClientInfoV4Response ¶
type GetClientInfoV4Response struct { // ClientInfo: A pointer of type LPDHCP_CLIENT_INFO_PB that points to the location where // the DHCPv4 client lease record information will be returned. The caller SHOULD free // this buffer. The structure's ClientHardwareAddress member represents a DHCPv4 client // unique-identifier as specified in section 2.2.1.2.5.2. ClientInfo *dhcpm.ClientInfoPB `idl:"name:ClientInfo" json:"client_info"` // Return: The R_DhcpV4GetClientInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
GetClientInfoV4Response structure represents the R_DhcpV4GetClientInfo operation response
func (*GetClientInfoV4Response) MarshalNDR ¶
func (*GetClientInfoV4Response) UnmarshalNDR ¶
type GetClientInfoV6Request ¶
type GetClientInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SearchInfo: This is a pointer to a structure DHCP_SEARCH_INFO_V6 (section 2.2.1.2.69) // that specifies the parameter to be used for retrieving the IPv6 address lease information // of IPv6 reservation. // // For this call with SearchType of Dhcpv6ClientDUID (section 2.2.1.1.12), ERROR_INVALID_PARAMETER // is returned. SearchInfo *dhcpm.SearchInfoV6 `idl:"name:SearchInfo;pointer:ref" json:"search_info"` }
GetClientInfoV6Request structure represents the R_DhcpGetClientInfoV6 operation request
func (*GetClientInfoV6Request) MarshalNDR ¶
func (*GetClientInfoV6Request) UnmarshalNDR ¶
type GetClientInfoV6Response ¶
type GetClientInfoV6Response struct { // ClientInfo: This is a pointer to type LPDHCP_CLIENT_INFO_V6 that points to a location // in which IPv6 address lease information of IPv6 reservation is retrieved. The caller // can free up this buffer after using this. ClientInfo *dhcpm.ClientInfoV6 `idl:"name:ClientInfo" json:"client_info"` // Return: The R_DhcpGetClientInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetClientInfoV6Response structure represents the R_DhcpGetClientInfoV6 operation response
func (*GetClientInfoV6Response) MarshalNDR ¶
func (*GetClientInfoV6Response) UnmarshalNDR ¶
type GetFilterV4Request ¶
type GetFilterV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` }
GetFilterV4Request structure represents the R_DhcpGetFilterV4 operation request
func (*GetFilterV4Request) MarshalNDR ¶
func (*GetFilterV4Request) UnmarshalNDR ¶
type GetFilterV4Response ¶
type GetFilterV4Response struct { // GlobalFilterInfo: This is a pointer of type LPDHCP_FILTER_GLOBAL_INFO that contains // information to enable or disable allow and deny lists. The caller must allocate memory // for this parameter that is equal to the size of DHCP_FILTER_GLOBAL_INFO (section // 2.2.1.2.91). GlobalFilterInfo *dhcpm.FilterGlobalInfo `idl:"name:GlobalFilterInfo" json:"global_filter_info"` // Return: The R_DhcpGetFilterV4 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetFilterV4Response structure represents the R_DhcpGetFilterV4 operation response
func (*GetFilterV4Response) MarshalNDR ¶
func (*GetFilterV4Response) UnmarshalNDR ¶
type GetFreeIPAddressV4Request ¶
type GetFreeIPAddressV4Request struct { // ServerIpAddress: The IP address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ScopeId: The IPv4 subnet ID that contains the addresses available to be leased out. ScopeID uint32 `idl:"name:ScopeId" json:"scope_id"` // startIP: The IPv4 address at the start of the range of IPv4 addresses available to // be leased out. A value of 0 indicates that the method uses the starting address of // the IPv4 range of the scope specified by the ScopeId parameter. StartIP uint32 `idl:"name:startIP" json:"start_ip"` // endIP: The IPv4 address at the end of the range of IPv4 addresses available to be // leased out. A value of 0 indicates that the method uses the ending address of the // IPv4 range of the scope specified by the ScopeId parameter. EndIP uint32 `idl:"name:endIP" json:"end_ip"` // numFreeAddr: The number of IPv4 addresses to obtain from the specified scope. If // this parameter is 0, only one IPv4 address is returned. FreeAddrLength uint32 `idl:"name:numFreeAddr" json:"free_addr_length"` }
GetFreeIPAddressV4Request structure represents the R_DhcpV4GetFreeIPAddress operation request
func (*GetFreeIPAddressV4Request) MarshalNDR ¶
func (*GetFreeIPAddressV4Request) UnmarshalNDR ¶
type GetFreeIPAddressV4Response ¶
type GetFreeIPAddressV4Response struct { IPAddrList *dhcpm.IPArray `idl:"name:IPAddrList" json:"ip_addr_list"` // Return: The R_DhcpV4GetFreeIPAddress return value. Return uint32 `idl:"name:Return" json:"return"` }
GetFreeIPAddressV4Response structure represents the R_DhcpV4GetFreeIPAddress operation response
func (*GetFreeIPAddressV4Response) MarshalNDR ¶
func (*GetFreeIPAddressV4Response) UnmarshalNDR ¶
type GetFreeIPAddressV6Request ¶
type GetFreeIPAddressV6Request struct { // ServerIpAddress: The IP address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ScopeId: The IPv6 subnet ID that contains the addresses available to be leased out. ScopeID *dhcpm.IPv6Address `idl:"name:ScopeId" json:"scope_id"` // startIP: The IPv6 address at the start of the range of IPv6 addresses available to // be leased out. A value of 0 indicates that the method uses the starting address of // the IPv6 range of the scope specified by the ScopeId parameter. StartIP *dhcpm.IPv6Address `idl:"name:startIP" json:"start_ip"` // endIP: The IPv6 address at the end of the range of IPv6 addresses available to be // leased out. A value of 0 indicates that the method uses the ending address of the // IPv6 range of the scope specified by the ScopeId parameter. EndIP *dhcpm.IPv6Address `idl:"name:endIP" json:"end_ip"` // numFreeAddr: The number of IPv6 addresses to obtain from the specified scope. If // this parameter is 0, only one IPv6 address is returned. FreeAddrLength uint32 `idl:"name:numFreeAddr" json:"free_addr_length"` }
GetFreeIPAddressV6Request structure represents the R_DhcpV6GetFreeIPAddress operation request
func (*GetFreeIPAddressV6Request) MarshalNDR ¶
func (*GetFreeIPAddressV6Request) UnmarshalNDR ¶
type GetFreeIPAddressV6Response ¶
type GetFreeIPAddressV6Response struct { IPAddrList *dhcpm.IPArrayV6 `idl:"name:IPAddrList" json:"ip_addr_list"` // Return: The R_DhcpV6GetFreeIPAddress return value. Return uint32 `idl:"name:Return" json:"return"` }
GetFreeIPAddressV6Response structure represents the R_DhcpV6GetFreeIPAddress operation response
func (*GetFreeIPAddressV6Response) MarshalNDR ¶
func (*GetFreeIPAddressV6Response) UnmarshalNDR ¶
type GetMCastMIBInfoRequest ¶
type GetMCastMIBInfoRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` }
GetMCastMIBInfoRequest structure represents the R_DhcpGetMCastMibInfo operation request
func (*GetMCastMIBInfoRequest) MarshalNDR ¶
func (*GetMCastMIBInfoRequest) UnmarshalNDR ¶
type GetMCastMIBInfoResponse ¶
type GetMCastMIBInfoResponse struct { // MibInfo: This is of type LPDHCP_MCAST_MIB_INFO, pointing to the location that contains // the multicast MIB information of the MADCAP server. MIBInfo *dhcpm.MCastMIBInfo `idl:"name:MibInfo" json:"mib_info"` // Return: The R_DhcpGetMCastMibInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
GetMCastMIBInfoResponse structure represents the R_DhcpGetMCastMibInfo operation response
func (*GetMCastMIBInfoResponse) MarshalNDR ¶
func (*GetMCastMIBInfoResponse) UnmarshalNDR ¶
type GetMClientInfoRequest ¶
type GetMClientInfoRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SearchInfo: This is a pointer of type DHCP_SEARCH_INFO (section 2.2.1.2.18) that // defines the key to be used to search the MADCAP client lease record on the MADCAP // server. SearchInfo *dhcpm.SearchInfo `idl:"name:SearchInfo;pointer:ref" json:"search_info"` }
GetMClientInfoRequest structure represents the R_DhcpGetMClientInfo operation request
func (*GetMClientInfoRequest) MarshalNDR ¶
func (*GetMClientInfoRequest) UnmarshalNDR ¶
type GetMClientInfoResponse ¶
type GetMClientInfoResponse struct { // ClientInfo: This is a pointer of type LPDHCP_MCLIENT_INFO that points to the location // in which specific MADCAP client lease record information is retrieved. The caller // can free up this buffer after using this. ClientInfo *dhcpm.MADCAPClientInfo `idl:"name:ClientInfo" json:"client_info"` // Return: The R_DhcpGetMClientInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
GetMClientInfoResponse structure represents the R_DhcpGetMClientInfo operation response
func (*GetMClientInfoResponse) MarshalNDR ¶
func (*GetMClientInfoResponse) UnmarshalNDR ¶
type GetMIBInfoV5Request ¶
type GetMIBInfoV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` }
GetMIBInfoV5Request structure represents the R_DhcpGetMibInfoV5 operation request
func (*GetMIBInfoV5Request) MarshalNDR ¶
func (*GetMIBInfoV5Request) UnmarshalNDR ¶
type GetMIBInfoV5Response ¶
type GetMIBInfoV5Response struct { // MibInfo: This is a pointer of type LPDHCP_MIB_INFO_V5 that points to the location // that contains DHCPv4 server statistics. MIBInfo *dhcpm.MIBInfoV5 `idl:"name:MibInfo" json:"mib_info"` // Return: The R_DhcpGetMibInfoV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetMIBInfoV5Response structure represents the R_DhcpGetMibInfoV5 operation response
func (*GetMIBInfoV5Response) MarshalNDR ¶
func (*GetMIBInfoV5Response) UnmarshalNDR ¶
type GetMIBInfoV6Request ¶
type GetMIBInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` }
GetMIBInfoV6Request structure represents the R_DhcpGetMibInfoV6 operation request
func (*GetMIBInfoV6Request) MarshalNDR ¶
func (*GetMIBInfoV6Request) UnmarshalNDR ¶
type GetMIBInfoV6Response ¶
type GetMIBInfoV6Response struct { // MibInfo: This is a pointer of type LPDHCP_MIB_INFO_V6 that points to the location // that contains IPv6 MIB information about the DHCPv6 server. MIBInfo *dhcpm.MIBInfoV6 `idl:"name:MibInfo" json:"mib_info"` // Return: The R_DhcpGetMibInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetMIBInfoV6Response structure represents the R_DhcpGetMibInfoV6 operation response
func (*GetMIBInfoV6Response) MarshalNDR ¶
func (*GetMIBInfoV6Response) UnmarshalNDR ¶
type GetMScopeInfoRequest ¶
type GetMScopeInfoRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the IPv4 // multicast subnet for which the information is retrieved. There is no restriction // on the length of this field. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` }
GetMScopeInfoRequest structure represents the R_DhcpGetMScopeInfo operation request
func (*GetMScopeInfoRequest) MarshalNDR ¶
func (*GetMScopeInfoRequest) UnmarshalNDR ¶
type GetMScopeInfoResponse ¶
type GetMScopeInfoResponse struct { // MScopeInfo: This is a pointer of type LPDHCP_MSCOPE_INFO (section 2.2.1.2.71) in // which the information for the IPv4 multicast subnet corresponding to MScopeName is // retrieved. MScopeInfo *dhcpm.MScopeInfo `idl:"name:MScopeInfo" json:"mscope_info"` // Return: The R_DhcpGetMScopeInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
GetMScopeInfoResponse structure represents the R_DhcpGetMScopeInfo operation response
func (*GetMScopeInfoResponse) MarshalNDR ¶
func (*GetMScopeInfoResponse) UnmarshalNDR ¶
type GetOptionInfoV5Request ¶
type GetOptionInfoV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option definition is retrieved // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is modified for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is retrieved for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option being retrieved. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option definition is retrieved. This parameter is optional. // If the ClassName parameter is not specified, the option definition is retrieved for // the default user class. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option definition is retrieved. This parameter // is optional, and if the vendor class name is not specified, the option definition // is retrieved for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` }
GetOptionInfoV5Request structure represents the R_DhcpGetOptionInfoV5 operation request
func (*GetOptionInfoV5Request) MarshalNDR ¶
func (*GetOptionInfoV5Request) UnmarshalNDR ¶
type GetOptionInfoV5Response ¶
type GetOptionInfoV5Response struct { // OptionInfo: This is a pointer of type DHCP_OPTION (section 2.2.1.2.25) in which the // option definition for the option is retrieved. OptionInfo *dhcpm.Option `idl:"name:OptionInfo" json:"option_info"` // Return: The R_DhcpGetOptionInfoV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetOptionInfoV5Response structure represents the R_DhcpGetOptionInfoV5 operation response
func (*GetOptionInfoV5Response) MarshalNDR ¶
func (*GetOptionInfoV5Response) UnmarshalNDR ¶
type GetOptionInfoV6Request ¶
type GetOptionInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option definition is retrieved // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is retrieved for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is retrieved for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option definition being retrieved. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option definition is retrieved. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option definition is retrieved. This parameter // is optional. If the vendor class name is not specified, the option definition is // retrieved for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` }
GetOptionInfoV6Request structure represents the R_DhcpGetOptionInfoV6 operation request
func (*GetOptionInfoV6Request) MarshalNDR ¶
func (*GetOptionInfoV6Request) UnmarshalNDR ¶
type GetOptionInfoV6Response ¶
type GetOptionInfoV6Response struct { // OptionInfo: This is a pointer of type LPDHCP_OPTION (section 2.2.1.2.25) in which // the option definition for the option is retrieved. OptionInfo *dhcpm.Option `idl:"name:OptionInfo" json:"option_info"` // Return: The R_DhcpGetOptionInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetOptionInfoV6Response structure represents the R_DhcpGetOptionInfoV6 operation response
func (*GetOptionInfoV6Response) MarshalNDR ¶
func (*GetOptionInfoV6Response) UnmarshalNDR ¶
type GetOptionValueV4Request ¶
type GetOptionValueV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option value is set for a specific // or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | The option definition is set for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is set for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID data type (section 2.2.1.2.3), containing // the option ID of the option being set or modified. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy inside the subnet identified by the SubnetScopeInfo member of the ScopeInfo // parameter for which the option value is being set. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option value is being set. This parameter is optional. // If the vendor class is not specified, the option value is set for a default vendor // class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a type DHCP_OPTION_SCOPE_INFO structure (section // 2.2.1.2.41) that contains information describing the DHCPv4 scope for which this // option value is set. This value contains the server or scope level at which the option // values are set. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` }
GetOptionValueV4Request structure represents the R_DhcpV4GetOptionValue operation request
func (*GetOptionValueV4Request) MarshalNDR ¶
func (*GetOptionValueV4Request) UnmarshalNDR ¶
type GetOptionValueV4Response ¶
type GetOptionValueV4Response struct { // OptionValue: A pointer of type LPDHCP_OPTION_VALUE (section 2.2.1.2.42) that contains // the option value that is set for an option corresponding to the OptionId parameter. // For Dynamic DNS update settings, see section 3.3.1. OptionValue *dhcpm.OptionValue `idl:"name:OptionValue" json:"option_value"` // Return: The R_DhcpV4GetOptionValue return value. Return uint32 `idl:"name:Return" json:"return"` }
GetOptionValueV4Response structure represents the R_DhcpV4GetOptionValue operation response
func (*GetOptionValueV4Response) MarshalNDR ¶
func (*GetOptionValueV4Response) UnmarshalNDR ¶
type GetOptionValueV5Request ¶
type GetOptionValueV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD, specifying that the option value is retrieved for a // specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option value is retrieved for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option value is retrieved for a specific vendor class. This | // | | validation MUST pass if a non-NULL parameter is passed in VendorName. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option being retrieved. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class to which the option value is being retrieved. This parameter is optional. // If the ClassName is not specified, the option value is retrieved for the default // user class. This parameter is ignored if ScopeType is set to DhcpDefaultOptions in // the ScopeInfo parameter. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option value is being retrieved. This parameter // is optional. If the vendor class is not specified, the option value is retrieved // for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure // that contains information describing the DHCPv4 scope from which this option value // is retrieved. This value defines that the option is being retrieved from default, // server, multicast scope, or scope level or for an IPv4 reservation. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` }
GetOptionValueV5Request structure represents the R_DhcpGetOptionValueV5 operation request
func (*GetOptionValueV5Request) MarshalNDR ¶
func (*GetOptionValueV5Request) UnmarshalNDR ¶
type GetOptionValueV5Response ¶
type GetOptionValueV5Response struct { // OptionValue: This is a pointer of type LPDHCP_OPTION_VALUE in which the option value // is retrieved corresponding to OptionID. For Dynamic DNS update settings, see section // 3.3.1. OptionValue *dhcpm.OptionValue `idl:"name:OptionValue" json:"option_value"` // Return: The R_DhcpGetOptionValueV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetOptionValueV5Response structure represents the R_DhcpGetOptionValueV5 operation response
func (*GetOptionValueV5Response) MarshalNDR ¶
func (*GetOptionValueV5Response) UnmarshalNDR ¶
type GetOptionValueV6Request ¶
type GetOptionValueV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: A value that indicates if the option whose value is retrieved is for a specific // vendor class or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option value is retrieved for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option value is retrieved for the specified vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option being retrieved. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option value is being requested. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option value is being requested. If the vendor // class is not specified, the default vendor class is used. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO6 (section 2.2.1.2.30) that // contains information describing the DHCPv6 scope this option value is retrieved on. // This value defines that option is being retrieved from the default, server, or scope // level or for an IPv6 reservation. ScopeInfo *dhcpm.OptionScopeInfo6 `idl:"name:ScopeInfo" json:"scope_info"` }
GetOptionValueV6Request structure represents the R_DhcpGetOptionValueV6 operation request
func (*GetOptionValueV6Request) MarshalNDR ¶
func (*GetOptionValueV6Request) UnmarshalNDR ¶
type GetOptionValueV6Response ¶
type GetOptionValueV6Response struct { // OptionValue: This is a pointer of type LPDHCP_OPTION_VALUE in which the option value // is retrieved corresponding to OptionID. For dynamic DNS update settings, see section // 3.3.2. OptionValue *dhcpm.OptionValue `idl:"name:OptionValue" json:"option_value"` // Return: The R_DhcpGetOptionValueV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetOptionValueV6Response structure represents the R_DhcpGetOptionValueV6 operation response
func (*GetOptionValueV6Response) MarshalNDR ¶
func (*GetOptionValueV6Response) UnmarshalNDR ¶
type GetPolicyExV4Request ¶
type GetPolicyExV4Request struct { // ServerIpAddress: As specified in R_DhcpV4GetPolicy (Opnum 109). ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ServerPolicy: As specified in R_DhcpV4GetPolicy (Opnum 109). ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: As specified in R_DhcpV4GetPolicy (Opnum 109). SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // PolicyName: As specified in R_DhcpV4GetPolicy (Opnum 109). PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` }
GetPolicyExV4Request structure represents the R_DhcpV4GetPolicyEx operation request
func (*GetPolicyExV4Request) MarshalNDR ¶
func (*GetPolicyExV4Request) UnmarshalNDR ¶
type GetPolicyExV4Response ¶
type GetPolicyExV4Response struct { // Policy: This out parameter is a pointer to a DHCP_POLICY_EX structure and contains // the policy data for the requested policy. The DHCP_PROPERTY elements that are queried // are as follows: Policy *dhcpm.PolicyEx `idl:"name:Policy" json:"policy"` // Return: The R_DhcpV4GetPolicyEx return value. Return uint32 `idl:"name:Return" json:"return"` }
GetPolicyExV4Response structure represents the R_DhcpV4GetPolicyEx operation response
func (*GetPolicyExV4Response) MarshalNDR ¶
func (*GetPolicyExV4Response) UnmarshalNDR ¶
type GetPolicyV4Request ¶
type GetPolicyV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ServerPolicy: This is of type BOOL and indicates whether the server level policy // or scope level policy is being requested. ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) and identifies // the IPv4 subnet from which the policy is being requested. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy requested. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` }
GetPolicyV4Request structure represents the R_DhcpV4GetPolicy operation request
func (*GetPolicyV4Request) MarshalNDR ¶
func (*GetPolicyV4Request) UnmarshalNDR ¶
type GetPolicyV4Response ¶
type GetPolicyV4Response struct { // Policy: This out parameter is a pointer of type LPDHCP_POLICY that contains the policy // data for the requested policy. Policy *dhcpm.Policy `idl:"name:Policy" json:"policy"` // Return: The R_DhcpV4GetPolicy return value. Return uint32 `idl:"name:Return" json:"return"` }
GetPolicyV4Response structure represents the R_DhcpV4GetPolicy operation response
func (*GetPolicyV4Response) MarshalNDR ¶
func (*GetPolicyV4Response) UnmarshalNDR ¶
type GetServerBindingInfoRequest ¶
type GetServerBindingInfoRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This flag is not used, and it MUST be set to 0. Flags uint32 `idl:"name:Flags" json:"flags"` }
GetServerBindingInfoRequest structure represents the R_DhcpGetServerBindingInfo operation request
func (*GetServerBindingInfoRequest) MarshalNDR ¶
func (*GetServerBindingInfoRequest) UnmarshalNDR ¶
type GetServerBindingInfoResponse ¶
type GetServerBindingInfoResponse struct { // BindElementsInfo: This is a pointer of type LPDHCP_BIND_ELEMENT_ARRAY that points // to the location in which the information about the IPv4 interface binding is retrieved. BindElementsInfo *dhcpm.BindElementArray `idl:"name:BindElementsInfo" json:"bind_elements_info"` // Return: The R_DhcpGetServerBindingInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
GetServerBindingInfoResponse structure represents the R_DhcpGetServerBindingInfo operation response
func (*GetServerBindingInfoResponse) MarshalNDR ¶
func (*GetServerBindingInfoResponse) UnmarshalNDR ¶
type GetServerBindingInfoV6Request ¶
type GetServerBindingInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This flag is not used, and it MUST be set to 0. Flags uint32 `idl:"name:Flags" json:"flags"` }
GetServerBindingInfoV6Request structure represents the R_DhcpGetServerBindingInfoV6 operation request
func (*GetServerBindingInfoV6Request) MarshalNDR ¶
func (*GetServerBindingInfoV6Request) UnmarshalNDR ¶
type GetServerBindingInfoV6Response ¶
type GetServerBindingInfoV6Response struct { // BindElementsInfo: This is a pointer of type LPDHCPV6_BIND_ELEMENT_ARRAY that points // to the location in which the information about the IPv6 interface binding is retrieved. BindElementsInfo *dhcpm.BindElementArrayV6 `idl:"name:BindElementsInfo" json:"bind_elements_info"` // Return: The R_DhcpGetServerBindingInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetServerBindingInfoV6Response structure represents the R_DhcpGetServerBindingInfoV6 operation response
func (*GetServerBindingInfoV6Response) MarshalNDR ¶
func (*GetServerBindingInfoV6Response) UnmarshalNDR ¶
type GetServerSpecificStringsRequest ¶
type GetServerSpecificStringsRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` }
GetServerSpecificStringsRequest structure represents the R_DhcpGetServerSpecificStrings operation request
func (*GetServerSpecificStringsRequest) MarshalNDR ¶
func (*GetServerSpecificStringsRequest) UnmarshalNDR ¶
type GetServerSpecificStringsResponse ¶
type GetServerSpecificStringsResponse struct { // ServerSpecificStrings: This is a pointer of type LPDHCP_SERVER_SPECIFIC_STRINGS (section // 2.2.1.2.77) that points to a location that contains information regarding the default // vendor class and user class. ServerSpecificStrings *dhcpm.ServerSpecificStrings `idl:"name:ServerSpecificStrings" json:"server_specific_strings"` // Return: The R_DhcpGetServerSpecificStrings return value. Return uint32 `idl:"name:Return" json:"return"` }
GetServerSpecificStringsResponse structure represents the R_DhcpGetServerSpecificStrings operation response
func (*GetServerSpecificStringsResponse) MarshalNDR ¶
func (*GetServerSpecificStringsResponse) UnmarshalNDR ¶
type GetStatelessStatisticsV6Request ¶
type GetStatelessStatisticsV6Request struct { // ServerIpAddress: The IP address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` }
GetStatelessStatisticsV6Request structure represents the R_DhcpV6GetStatelessStatistics operation request
func (*GetStatelessStatisticsV6Request) MarshalNDR ¶
func (*GetStatelessStatisticsV6Request) UnmarshalNDR ¶
type GetStatelessStatisticsV6Response ¶
type GetStatelessStatisticsV6Response struct { // StatelessStats: A pointer of type LPDHCPV6_STATELESS_STATS in which this method will // place the DHCPv6 stateless server statistics. StatelessStats *dhcpm.StatelessStatsV6 `idl:"name:StatelessStats" json:"stateless_stats"` // Return: The R_DhcpV6GetStatelessStatistics return value. Return uint32 `idl:"name:Return" json:"return"` }
GetStatelessStatisticsV6Response structure represents the R_DhcpV6GetStatelessStatistics operation response
func (*GetStatelessStatisticsV6Response) MarshalNDR ¶
func (*GetStatelessStatisticsV6Response) UnmarshalNDR ¶
type GetStatelessStoreParamsV6Request ¶
type GetStatelessStoreParamsV6Request struct { // ServerIpAddress: The IP address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // fServerLevel: A flag representing whether the configuration settings for DHCPv6 stateless // client inventory are to be retrieved at the server level or the scope level. A value // of TRUE indicates the server level; FALSE indicates the scope level. ServerLevel bool `idl:"name:fServerLevel" json:"server_level"` // SubnetAddress: The IPv6 subnet address for which the configuration settings are to // be retrieved. If the fServerLevel parameter is set to TRUE, this parameter MUST be // ignored. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` }
GetStatelessStoreParamsV6Request structure represents the R_DhcpV6GetStatelessStoreParams operation request
func (*GetStatelessStoreParamsV6Request) MarshalNDR ¶
func (*GetStatelessStoreParamsV6Request) UnmarshalNDR ¶
type GetStatelessStoreParamsV6Response ¶
type GetStatelessStoreParamsV6Response struct { // Params: A pointer of type LPDHCPV6_STATELESS_PARAMS into which this method will place // the configuration settings for a DHCPv6 server. Params *dhcpm.StatelessParamsV6 `idl:"name:Params" json:"params"` // Return: The R_DhcpV6GetStatelessStoreParams return value. Return uint32 `idl:"name:Return" json:"return"` }
GetStatelessStoreParamsV6Response structure represents the R_DhcpV6GetStatelessStoreParams operation response
func (*GetStatelessStoreParamsV6Response) MarshalNDR ¶
func (*GetStatelessStoreParamsV6Response) UnmarshalNDR ¶
type GetSubnetDelayOfferRequest ¶
type GetSubnetDelayOfferRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), which contains // the IPv4 subnet ID for which the subnet delay time is set. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` }
GetSubnetDelayOfferRequest structure represents the R_DhcpGetSubnetDelayOffer operation request
func (*GetSubnetDelayOfferRequest) MarshalNDR ¶
func (*GetSubnetDelayOfferRequest) UnmarshalNDR ¶
type GetSubnetDelayOfferResponse ¶
type GetSubnetDelayOfferResponse struct { // TimeDelayInMilliseconds: This is a pointer of the type USHORT, which provides the // value of the time delay in milliseconds set for a specific scope. TimeDelayInMilliseconds uint16 `idl:"name:TimeDelayInMilliseconds" json:"time_delay_in_milliseconds"` // Return: The R_DhcpGetSubnetDelayOffer return value. Return uint32 `idl:"name:Return" json:"return"` }
GetSubnetDelayOfferResponse structure represents the R_DhcpGetSubnetDelayOffer operation response
func (*GetSubnetDelayOfferResponse) MarshalNDR ¶
func (*GetSubnetDelayOfferResponse) UnmarshalNDR ¶
type GetSubnetInfoV6Request ¶
type GetSubnetInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28) that contains // the IPv6 prefix ID for which the information is retrieved. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` }
GetSubnetInfoV6Request structure represents the R_DhcpGetSubnetInfoV6 operation request
func (*GetSubnetInfoV6Request) MarshalNDR ¶
func (*GetSubnetInfoV6Request) UnmarshalNDR ¶
type GetSubnetInfoV6Response ¶
type GetSubnetInfoV6Response struct { // SubnetInfo: This is a pointer of type LPDHCP_SUBNET_INFO_V6 in which the information // for the subnet matching the ID specified by SubnetAddress is retrieved. SubnetInfo *dhcpm.SubnetInfoV6 `idl:"name:SubnetInfo" json:"subnet_info"` // Return: The R_DhcpGetSubnetInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
GetSubnetInfoV6Response structure represents the R_DhcpGetSubnetInfoV6 operation response
func (*GetSubnetInfoV6Response) MarshalNDR ¶
func (*GetSubnetInfoV6Response) UnmarshalNDR ¶
type ModifyClassRequest ¶
type ModifyClassRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClassInfo: This is of type LPDHCP_CLASS_INFO (section 2.2.1.2.75) structure, containing // the information about the class. ClassInfo *dhcpm.ClassInfo `idl:"name:ClassInfo" json:"class_info"` }
ModifyClassRequest structure represents the R_DhcpModifyClass operation request
func (*ModifyClassRequest) MarshalNDR ¶
func (*ModifyClassRequest) UnmarshalNDR ¶
type ModifyClassResponse ¶
type ModifyClassResponse struct { // Return: The R_DhcpModifyClass return value. Return uint32 `idl:"name:Return" json:"return"` }
ModifyClassResponse structure represents the R_DhcpModifyClass operation response
func (*ModifyClassResponse) MarshalNDR ¶
func (*ModifyClassResponse) UnmarshalNDR ¶
type ModifyClassV6Request ¶
type ModifyClassV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClassInfo: This is of type DHCP_CLASS_INFO_V6 (section 2.2.1.2.70), containing information // regarding a user class or a vendor class. ClassInfo *dhcpm.ClassInfoV6 `idl:"name:ClassInfo" json:"class_info"` }
ModifyClassV6Request structure represents the R_DhcpModifyClassV6 operation request
func (*ModifyClassV6Request) MarshalNDR ¶
func (*ModifyClassV6Request) UnmarshalNDR ¶
type ModifyClassV6Response ¶
type ModifyClassV6Response struct { // Return: The R_DhcpModifyClassV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
ModifyClassV6Response structure represents the R_DhcpModifyClassV6 operation response
func (*ModifyClassV6Response) MarshalNDR ¶
func (*ModifyClassV6Response) UnmarshalNDR ¶
type QueryDNSRegCredentialsRequest ¶
type QueryDNSRegCredentialsRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // UnameSize: This is of type ULONG, containing the length of the buffer pointed to // by Uname. The buffer length is defined at the RPC client and passed as an argument // to the RPC server. UserNameSize uint32 `idl:"name:UnameSize" json:"user_name_size"` // DomainSize: This is of type ULONG, containing the length of the buffer pointed to // by Domain. The buffer length is defined at the RPC client and passed as an argument // to the RPC server. DomainSize uint32 `idl:"name:DomainSize" json:"domain_size"` }
QueryDNSRegCredentialsRequest structure represents the R_DhcpQueryDnsRegCredentials operation request
func (*QueryDNSRegCredentialsRequest) MarshalNDR ¶
func (*QueryDNSRegCredentialsRequest) UnmarshalNDR ¶
type QueryDNSRegCredentialsResponse ¶
type QueryDNSRegCredentialsResponse struct { // Uname: A pointer to a null-terminated Unicode string in which the DHCP server returns // the user name for the DNS. The memory is allocated at the RPC client and passed to // the RPC server. UserName string `idl:"name:Uname;size_is:(UnameSize)" json:"user_name"` // Domain: A pointer to a null-terminated Unicode string in which the DHCP server // returns the domain name for the DNS. The memory is allocated at the RPC client and // passed to the RPC server. Domain string `idl:"name:Domain;size_is:(DomainSize)" json:"domain"` // Return: The R_DhcpQueryDnsRegCredentials return value. Return uint32 `idl:"name:Return" json:"return"` }
QueryDNSRegCredentialsResponse structure represents the R_DhcpQueryDnsRegCredentials operation response
func (*QueryDNSRegCredentialsResponse) MarshalNDR ¶
func (*QueryDNSRegCredentialsResponse) UnmarshalNDR ¶
type QueryPolicyEnforcementV4Request ¶
type QueryPolicyEnforcementV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ServerPolicy: This Boolean type indicates if the policy enforcement state of the // server can be returned. ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), which contains // the IPv4 subnet ID for which the policy enforcement state can be returned. This parameter // is ignored if ServerPolicy parameter is TRUE. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` }
QueryPolicyEnforcementV4Request structure represents the R_DhcpV4QueryPolicyEnforcement operation request
func (*QueryPolicyEnforcementV4Request) MarshalNDR ¶
func (*QueryPolicyEnforcementV4Request) UnmarshalNDR ¶
type QueryPolicyEnforcementV4Response ¶
type QueryPolicyEnforcementV4Response struct { // Enabled: This out parameter is a pointer to a Boolean type and indicates the state // of policy enforcement. The memory for this must be allocated by the caller. Enabled bool `idl:"name:Enabled" json:"enabled"` // Return: The R_DhcpV4QueryPolicyEnforcement return value. Return uint32 `idl:"name:Return" json:"return"` }
QueryPolicyEnforcementV4Response structure represents the R_DhcpV4QueryPolicyEnforcement operation response
func (*QueryPolicyEnforcementV4Response) MarshalNDR ¶
func (*QueryPolicyEnforcementV4Response) UnmarshalNDR ¶
type RemoveMScopeElementRequest ¶
type RemoveMScopeElementRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the multicast // subnet from which the IPv4 multicast subnet element is removed. There is no restriction // on the length of this field. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` // RemoveElementInfo: This is of type DHCP_SUBNET_ELEMENT_DATA_V4 (section 2.2.1.2.35), // containing the IPv4 multicast subnet element that needs to be removed from the IPv4 // multicast subnet. RemoveElementInfo *dhcpm.SubnetElementDataV4 `idl:"name:RemoveElementInfo;pointer:ref" json:"remove_element_info"` // ForceFlag: This is of type DHCP_FORCE_FLAG (section 2.2.1.1.9) that defines the behavior // of this method. If the flag is set to DhcpNoForce and this IPv4 multicast subnet // has served the IPv4 address to some MADCAP clients, the IPv4 multicast subnet is // not deleted. If the flag is set to DhcpFullForce, the IPv4 multicast subnet is deleted // along with the MADCAP client lease record on the MADCAP server. ForceFlag dhcpm.ForceFlag `idl:"name:ForceFlag" json:"force_flag"` }
RemoveMScopeElementRequest structure represents the R_DhcpRemoveMScopeElement operation request
func (*RemoveMScopeElementRequest) MarshalNDR ¶
func (*RemoveMScopeElementRequest) UnmarshalNDR ¶
type RemoveMScopeElementResponse ¶
type RemoveMScopeElementResponse struct { // Return: The R_DhcpRemoveMScopeElement return value. Return uint32 `idl:"name:Return" json:"return"` }
RemoveMScopeElementResponse structure represents the R_DhcpRemoveMScopeElement operation response
func (*RemoveMScopeElementResponse) MarshalNDR ¶
func (*RemoveMScopeElementResponse) UnmarshalNDR ¶
type RemoveOptionV5Request ¶
type RemoveOptionV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option definition is removed // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is removed for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is removed for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option definition being removed. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option definition is removed. This parameter is optional. // If the ClassName parameter is not specified, the option definition is removed for // the default user class. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option definition is removed. This parameter is // optional. If vendor class name is not specified, the option definition is removed // for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` }
RemoveOptionV5Request structure represents the R_DhcpRemoveOptionV5 operation request
func (*RemoveOptionV5Request) MarshalNDR ¶
func (*RemoveOptionV5Request) UnmarshalNDR ¶
type RemoveOptionV5Response ¶
type RemoveOptionV5Response struct { // Return: The R_DhcpRemoveOptionV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
RemoveOptionV5Response structure represents the R_DhcpRemoveOptionV5 operation response
func (*RemoveOptionV5Response) MarshalNDR ¶
func (*RemoveOptionV5Response) UnmarshalNDR ¶
type RemoveOptionV6Request ¶
type RemoveOptionV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD, specifying that the option definition is removed for // a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is removed for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is removed for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier of the option definition which is being deleted. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class for which the option definition is removed. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option definition is removed. This parameter is // optional, and if the vendor class name is not specified, the option definition is // removed for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` }
RemoveOptionV6Request structure represents the R_DhcpRemoveOptionV6 operation request
func (*RemoveOptionV6Request) MarshalNDR ¶
func (*RemoveOptionV6Request) UnmarshalNDR ¶
type RemoveOptionV6Response ¶
type RemoveOptionV6Response struct { // Return: The R_DhcpRemoveOptionV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
RemoveOptionV6Response structure represents the R_DhcpRemoveOptionV6 operation response
func (*RemoveOptionV6Response) MarshalNDR ¶
func (*RemoveOptionV6Response) UnmarshalNDR ¶
type RemoveOptionValueV4Request ¶
type RemoveOptionValueV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option value is set for a specific // or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | The option definition is set for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is set for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID data type (section 2.2.1.2.3), containing // the option ID of the option being set or modified. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy inside the subnet identified by the SubnetScopeInfo member of the ScopeInfo // parameter for which the option value is being set. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option value is being set. This parameter is optional. // If the vendor class is not specified, the option value is set for a default vendor // class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a type DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) // that contains information describing the DHCPv4 scope for which this option value // is set. This value contains the server level or scope level at which the option values // are set. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` }
RemoveOptionValueV4Request structure represents the R_DhcpV4RemoveOptionValue operation request
func (*RemoveOptionValueV4Request) MarshalNDR ¶
func (*RemoveOptionValueV4Request) UnmarshalNDR ¶
type RemoveOptionValueV4Response ¶
type RemoveOptionValueV4Response struct { // Return: The R_DhcpV4RemoveOptionValue return value. Return uint32 `idl:"name:Return" json:"return"` }
RemoveOptionValueV4Response structure represents the R_DhcpV4RemoveOptionValue operation response
func (*RemoveOptionValueV4Response) MarshalNDR ¶
func (*RemoveOptionValueV4Response) UnmarshalNDR ¶
type RemoveOptionValueV5Request ¶
type RemoveOptionValueV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD, specifying that the option values are removed for a // specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option value is removed for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option value is removed for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option being removed. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class from which the option value is being removed. This parameter is optional. // If ClassName is not specified, implementations MUST retrieve the option value for // the default user class. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option value is being removed. This parameter is // optional, and if a vendor class is not specified, the option value is removed for // the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure // that contains information describing the DHCPv4 scope this option value is removed // on. This value defines that option as being removed from the server, multicast scope, // or scope level or from an IPv4 reservation. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` }
RemoveOptionValueV5Request structure represents the R_DhcpRemoveOptionValueV5 operation request
func (*RemoveOptionValueV5Request) MarshalNDR ¶
func (*RemoveOptionValueV5Request) UnmarshalNDR ¶
type RemoveOptionValueV5Response ¶
type RemoveOptionValueV5Response struct { // Return: The R_DhcpRemoveOptionValueV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
RemoveOptionValueV5Response structure represents the R_DhcpRemoveOptionValueV5 operation response
func (*RemoveOptionValueV5Response) MarshalNDR ¶
func (*RemoveOptionValueV5Response) UnmarshalNDR ¶
type RemoveOptionValueV6Request ¶
type RemoveOptionValueV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD, specifying that the option values are removed for a // specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is removed for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is removed for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option being removed. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class from which the option value is being deleted. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class from which the option value is being deleted. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO6 (section 2.2.1.2.30) structure // that contains information describing the DHCPv6 scope this option value deleted on. // This value defines that option values are being retrieved from the default level, // server level, scope level or for an IPv6 reservation.<58> ScopeInfo *dhcpm.OptionScopeInfo6 `idl:"name:ScopeInfo" json:"scope_info"` }
RemoveOptionValueV6Request structure represents the R_DhcpRemoveOptionValueV6 operation request
func (*RemoveOptionValueV6Request) MarshalNDR ¶
func (*RemoveOptionValueV6Request) UnmarshalNDR ¶
type RemoveOptionValueV6Response ¶
type RemoveOptionValueV6Response struct { // Return: The R_DhcpRemoveOptionValueV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
RemoveOptionValueV6Response structure represents the R_DhcpRemoveOptionValueV6 operation response
func (*RemoveOptionValueV6Response) MarshalNDR ¶
func (*RemoveOptionValueV6Response) UnmarshalNDR ¶
type RemovePolicyRangeV4Request ¶
type RemovePolicyRangeV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains // the IPv4 subnet ID that contains the policy identified by the PolicyName parameter. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy inside the subnet identified by the SubnetAddress parameter from which // the IP address range is being deleted. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` // Range: This is a pointer to a structure of type DHCP_IP_RANGE (section 2.2.1.2.31) // that specifies the IP address range to be deleted from the policy. Range *dhcpm.IPRange `idl:"name:Range" json:"range"` }
RemovePolicyRangeV4Request structure represents the R_DhcpV4RemovePolicyRange operation request
func (*RemovePolicyRangeV4Request) MarshalNDR ¶
func (*RemovePolicyRangeV4Request) UnmarshalNDR ¶
type RemovePolicyRangeV4Response ¶
type RemovePolicyRangeV4Response struct { // Return: The R_DhcpV4RemovePolicyRange return value. Return uint32 `idl:"name:Return" json:"return"` }
RemovePolicyRangeV4Response structure represents the R_DhcpV4RemovePolicyRange operation response
func (*RemovePolicyRangeV4Response) MarshalNDR ¶
func (*RemovePolicyRangeV4Response) UnmarshalNDR ¶
type RemoveSubnetElementV5Request ¶
type RemoveSubnetElementV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains // the IPv4 subnet ID from which the IPv4 subnet element is removed. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // RemoveElementInfo: This is a pointer of type DHCP_SUBNET_ELEMENT_DATA_V5 (section // 2.2.1.2.38) that contains the IPv4 subnet element that needs to be removed from the // IPv4 subnet. RemoveElementInfo *dhcpm.SubnetElementDataV5 `idl:"name:RemoveElementInfo;pointer:ref" json:"remove_element_info"` // ForceFlag: This is of type DHCP_FORCE_FLAG (section 2.2.1.1.9) that defines the behavior // of this method. If the flag is set to DhcpNoForce and this subnet has served the // IPv4 address to some DHCPv4/BOOTP clients, the IPv4 range is not deleted. If the // flag is set to DhcpFullForce, the IPv4 range is deleted along with the DHCPv4 client // lease record on the DHCPv4 server. ForceFlag dhcpm.ForceFlag `idl:"name:ForceFlag" json:"force_flag"` }
RemoveSubnetElementV5Request structure represents the R_DhcpRemoveSubnetElementV5 operation request
func (*RemoveSubnetElementV5Request) MarshalNDR ¶
func (*RemoveSubnetElementV5Request) UnmarshalNDR ¶
type RemoveSubnetElementV5Response ¶
type RemoveSubnetElementV5Response struct { // Return: The R_DhcpRemoveSubnetElementV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
RemoveSubnetElementV5Response structure represents the R_DhcpRemoveSubnetElementV5 operation response
func (*RemoveSubnetElementV5Response) MarshalNDR ¶
func (*RemoveSubnetElementV5Response) UnmarshalNDR ¶
type RemoveSubnetElementV6Request ¶
type RemoveSubnetElementV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28), containing // the IPv6 address of the subnet for which the IPv6 prefix element is removed. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` // RemoveElementInfo: This is a pointer of type DHCP_SUBNET_ELEMENT_DATA_V6 (section // 2.2.1.2.60), containing the IPv6 prefix element that needs to be removed from the // IPv6 prefix. RemoveElementInfo *dhcpm.SubnetElementDataV6 `idl:"name:RemoveElementInfo;pointer:ref" json:"remove_element_info"` // ForceFlag: This is of type DHCP_FORCE_FLAG (section 2.2.1.1.9) enumeration. Currently // it is not used, and any value set to this parameter will not affect the behavior // of this method. ForceFlag dhcpm.ForceFlag `idl:"name:ForceFlag" json:"force_flag"` }
RemoveSubnetElementV6Request structure represents the R_DhcpRemoveSubnetElementV6 operation request
func (*RemoveSubnetElementV6Request) MarshalNDR ¶
func (*RemoveSubnetElementV6Request) UnmarshalNDR ¶
type RemoveSubnetElementV6Response ¶
type RemoveSubnetElementV6Response struct { // Return: The R_DhcpRemoveSubnetElementV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
RemoveSubnetElementV6Response structure represents the R_DhcpRemoveSubnetElementV6 operation response
func (*RemoveSubnetElementV6Response) MarshalNDR ¶
func (*RemoveSubnetElementV6Response) UnmarshalNDR ¶
type RestoreDatabaseRequest ¶
type RestoreDatabaseRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Path: A pointer to a null-terminated Unicode string that contains the name of the // new restore path where the registry configuration and the DHCP database are restored. Path string `idl:"name:Path;string" json:"path"` }
RestoreDatabaseRequest structure represents the R_DhcpRestoreDatabase operation request
func (*RestoreDatabaseRequest) MarshalNDR ¶
func (*RestoreDatabaseRequest) UnmarshalNDR ¶
type RestoreDatabaseResponse ¶
type RestoreDatabaseResponse struct { // Return: The R_DhcpRestoreDatabase return value. Return uint32 `idl:"name:Return" json:"return"` }
RestoreDatabaseResponse structure represents the R_DhcpRestoreDatabase operation response
func (*RestoreDatabaseResponse) MarshalNDR ¶
func (*RestoreDatabaseResponse) UnmarshalNDR ¶
type ScanMDatabaseRequest ¶
type ScanMDatabaseRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the multicast // subnet in which a scan is done for the MADCAP client IPv4 addresses that are not // in sync. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` // FixFlag: This is of type DWORD, defining the behavior of this method. This method // enumerates the MADCAP client IPv4 addresses that are not in sync in both the stores, // and if the FixFlag parameter is set to TRUE, it fixes those unmatched IPv4 addresses // also. FixFlag uint32 `idl:"name:FixFlag" json:"fix_flag"` }
ScanMDatabaseRequest structure represents the R_DhcpScanMDatabase operation request
func (*ScanMDatabaseRequest) MarshalNDR ¶
func (*ScanMDatabaseRequest) UnmarshalNDR ¶
type ScanMDatabaseResponse ¶
type ScanMDatabaseResponse struct { // ScanList: This is a pointer of type DHCP_SCAN_LIST (section 2.2.1.2.74) that points // to the location that contains the MADCAP client IPv4 addresses that are not in sync // in both the stores. ScanList *dhcpm.ScanList `idl:"name:ScanList" json:"scan_list"` // Return: The R_DhcpScanMDatabase return value. Return uint32 `idl:"name:Return" json:"return"` }
ScanMDatabaseResponse structure represents the R_DhcpScanMDatabase operation response
func (*ScanMDatabaseResponse) MarshalNDR ¶
func (*ScanMDatabaseResponse) UnmarshalNDR ¶
type ServerGetConfigV6Request ¶
type ServerGetConfigV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ScopeInfo: This is a pointer of type DHCP_OPTION_SCOPE_INFO6 (section 2.2.1.2.30) // that is used to identify the scope whose configuration information is to be retrieved. ScopeInfo *dhcpm.OptionScopeInfo6 `idl:"name:ScopeInfo;pointer:ref" json:"scope_info"` }
ServerGetConfigV6Request structure represents the R_DhcpServerGetConfigV6 operation request
func (*ServerGetConfigV6Request) MarshalNDR ¶
func (*ServerGetConfigV6Request) UnmarshalNDR ¶
type ServerGetConfigV6Response ¶
type ServerGetConfigV6Response struct { // ConfigInfo: This is a pointer of type LPDHCP_SERVER_CONFIG_INFO_V6 that points to // a location that contains the configuration information. ConfigInfo *dhcpm.ServerConfigInfoV6 `idl:"name:ConfigInfo" json:"config_info"` // Return: The R_DhcpServerGetConfigV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
ServerGetConfigV6Response structure represents the R_DhcpServerGetConfigV6 operation response
func (*ServerGetConfigV6Response) MarshalNDR ¶
func (*ServerGetConfigV6Response) UnmarshalNDR ¶
type ServerQueryAttributeRequest ¶
type ServerQueryAttributeRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // DhcpAttribId: This is of type DHCP_ATTRIB_ID (section 2.2.1.1.1), specifying the // attribute to be queried. AttributeID uint32 `idl:"name:DhcpAttribId" json:"attribute_id"` }
ServerQueryAttributeRequest structure represents the R_DhcpServerQueryAttribute operation request
func (*ServerQueryAttributeRequest) MarshalNDR ¶
func (*ServerQueryAttributeRequest) UnmarshalNDR ¶
type ServerQueryAttributeResponse ¶
type ServerQueryAttributeResponse struct { // pDhcpAttrib: This is a pointer to type LPDHCP_ATTRIB (section 2.2.1.2.78) that points // to a location that contains the value and the type of the queried attribute. DHCPAttribute *dhcpm.Attribute `idl:"name:pDhcpAttrib" json:"dhcp_attribute"` // Return: The R_DhcpServerQueryAttribute return value. Return uint32 `idl:"name:Return" json:"return"` }
ServerQueryAttributeResponse structure represents the R_DhcpServerQueryAttribute operation response
func (*ServerQueryAttributeResponse) MarshalNDR ¶
func (*ServerQueryAttributeResponse) UnmarshalNDR ¶
type ServerQueryAttributesRequest ¶
type ServerQueryAttributesRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // dwAttribCount: This is of type ULONG and contains the number of attributes queried. AttributeCount uint32 `idl:"name:dwAttribCount" json:"attribute_count"` // pDhcpAttribs: This is a pointer to type DHCP_ATTRIB_ID (section 2.2.1.1.1) and points // to an array of length dwAttribCount which contains the queried attribute. DHCPAttributes []uint32 `idl:"name:pDhcpAttribs;size_is:(dwAttribCount)" json:"dhcp_attributes"` }
ServerQueryAttributesRequest structure represents the R_DhcpServerQueryAttributes operation request
func (*ServerQueryAttributesRequest) MarshalNDR ¶
func (*ServerQueryAttributesRequest) UnmarshalNDR ¶
type ServerQueryAttributesResponse ¶
type ServerQueryAttributesResponse struct { // pDhcpAttribArr: This is a pointer to type LPDHCP_ATTRIB_ARRAY that points to an array // that contains attribute information for all of the valid attributes queried. DHCPAttributeArray *dhcpm.AttributeArray `idl:"name:pDhcpAttribArr" json:"dhcp_attribute_array"` // Return: The R_DhcpServerQueryAttributes return value. Return uint32 `idl:"name:Return" json:"return"` }
ServerQueryAttributesResponse structure represents the R_DhcpServerQueryAttributes operation response
func (*ServerQueryAttributesResponse) MarshalNDR ¶
func (*ServerQueryAttributesResponse) UnmarshalNDR ¶
type ServerRedoAuthorizationRequest ¶
type ServerRedoAuthorizationRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` }
ServerRedoAuthorizationRequest structure represents the R_DhcpServerRedoAuthorization operation request
func (*ServerRedoAuthorizationRequest) MarshalNDR ¶
func (*ServerRedoAuthorizationRequest) UnmarshalNDR ¶
type ServerRedoAuthorizationResponse ¶
type ServerRedoAuthorizationResponse struct { // Return: The R_DhcpServerRedoAuthorization return value. Return uint32 `idl:"name:Return" json:"return"` }
ServerRedoAuthorizationResponse structure represents the R_DhcpServerRedoAuthorization operation response
func (*ServerRedoAuthorizationResponse) MarshalNDR ¶
func (*ServerRedoAuthorizationResponse) UnmarshalNDR ¶
type ServerSetConfigV6Request ¶
type ServerSetConfigV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ScopeInfo: This is a pointer to a LPDHCP_OPTION_SCOPE_INFO6 (section 2.2.1.2.30) // that contains the configuration information at the scope or server level. ScopeInfo *dhcpm.OptionScopeInfo6 `idl:"name:ScopeInfo;pointer:ref" json:"scope_info"` // FieldsToSet: Specifies the fields to be set (see section 2.2.1.2.62 for details of // the fields).<68> Valid values are in the following table. // // +--------------------------------------+-------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +--------------------------------------+-------------------------------------------------------------+ // +--------------------------------------+-------------------------------------------------------------+ // | Set_UnicastFlag 0x00000001 | Set unicast option. | // +--------------------------------------+-------------------------------------------------------------+ // | Set_RapidCommitFlag 0x00000002 | Set rapid commit option. | // +--------------------------------------+-------------------------------------------------------------+ // | Set_PreferredLifetime 0x00000004 | Set preferred lifetime value for nontemporary IPv6 address. | // +--------------------------------------+-------------------------------------------------------------+ // | Set_ValidLifetime 0x00000008 | Set valid lifetime value for nontemporary IPv6 address. | // +--------------------------------------+-------------------------------------------------------------+ // | Set_T1 0x00000010 | Set T1 time value. | // +--------------------------------------+-------------------------------------------------------------+ // | Set_T2 0x00000020 | Set T2 time value. | // +--------------------------------------+-------------------------------------------------------------+ // | Set_PreferredLifetimeIATA 0x00000040 | Set preferred lifetime value for temporary IPv6 address. | // +--------------------------------------+-------------------------------------------------------------+ // | Set_ValidLifetimeIATA 0x00000080 | Set valid lifetime value for temporary IPv6 address. | // +--------------------------------------+-------------------------------------------------------------+ // | Set_AuditLogState 0x00000800 | Set audit log state in the registry. | // +--------------------------------------+-------------------------------------------------------------+ FieldsToSet uint32 `idl:"name:FieldsToSet" json:"fields_to_set"` // ConfigInfo: This is a pointer of type LPDHCP_SERVER_CONFIG_INFO_V6 (section 2.2.1.2.62) // that contains values for the field specified by the FieldsToSet. ConfigInfo *dhcpm.ServerConfigInfoV6 `idl:"name:ConfigInfo;pointer:ref" json:"config_info"` }
ServerSetConfigV6Request structure represents the R_DhcpServerSetConfigV6 operation request
func (*ServerSetConfigV6Request) MarshalNDR ¶
func (*ServerSetConfigV6Request) UnmarshalNDR ¶
type ServerSetConfigV6Response ¶
type ServerSetConfigV6Response struct { // Return: The R_DhcpServerSetConfigV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
ServerSetConfigV6Response structure represents the R_DhcpServerSetConfigV6 operation response
func (*ServerSetConfigV6Response) MarshalNDR ¶
func (*ServerSetConfigV6Response) UnmarshalNDR ¶
type SetClientInfoV6Request ¶
type SetClientInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClientInfo: This is a pointer of type section DHCP_CLIENT_INFO_V6 (section 2.2.1.2.64) // that contains the DHCPv6 client lease record information that needs to be modified // on the DHCPv6 server database. ClientInfo *dhcpm.ClientInfoV6 `idl:"name:ClientInfo;pointer:ref" json:"client_info"` }
SetClientInfoV6Request structure represents the R_DhcpSetClientInfoV6 operation request
func (*SetClientInfoV6Request) MarshalNDR ¶
func (*SetClientInfoV6Request) UnmarshalNDR ¶
type SetClientInfoV6Response ¶
type SetClientInfoV6Response struct { // Return: The R_DhcpSetClientInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetClientInfoV6Response structure represents the R_DhcpSetClientInfoV6 operation response
func (*SetClientInfoV6Response) MarshalNDR ¶
func (*SetClientInfoV6Response) UnmarshalNDR ¶
type SetDNSRegCredentialsRequest ¶
type SetDNSRegCredentialsRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Uname: A pointer to a null-terminated Unicode string that contains the user name // for the DNS credentials. UserName string `idl:"name:Uname;string;pointer:unique" json:"user_name"` // Domain: A pointer to a null-terminated Unicode string that contains the domain name // for the DNS credentials. Domain string `idl:"name:Domain;string;pointer:unique" json:"domain"` // Passwd: A pointer to a run-encoded, null-terminated Unicode string that contains // the password for the DNS user name.<53> Password string `idl:"name:Passwd;string;pointer:unique" json:"password"` }
SetDNSRegCredentialsRequest structure represents the R_DhcpSetDnsRegCredentials operation request
func (*SetDNSRegCredentialsRequest) MarshalNDR ¶
func (*SetDNSRegCredentialsRequest) UnmarshalNDR ¶
type SetDNSRegCredentialsResponse ¶
type SetDNSRegCredentialsResponse struct { // Return: The R_DhcpSetDnsRegCredentials return value. Return uint32 `idl:"name:Return" json:"return"` }
SetDNSRegCredentialsResponse structure represents the R_DhcpSetDnsRegCredentials operation response
func (*SetDNSRegCredentialsResponse) MarshalNDR ¶
func (*SetDNSRegCredentialsResponse) UnmarshalNDR ¶
type SetDNSRegCredentialsV5Request ¶
type SetDNSRegCredentialsV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Uname: A pointer to a null-terminated Unicode string that contains the user name // for the DNS credentials. UserName string `idl:"name:Uname;string;pointer:unique" json:"user_name"` // Domain: A pointer to a null-terminated Unicode string that contains the domain name // for the DNS credentials. Domain string `idl:"name:Domain;string;pointer:unique" json:"domain"` // Passwd: A pointer to a null-terminated Unicode string that contains the password // for the DNS user name. Password string `idl:"name:Passwd;string;pointer:unique" json:"password"` }
SetDNSRegCredentialsV5Request structure represents the R_DhcpSetDnsRegCredentialsV5 operation request
func (*SetDNSRegCredentialsV5Request) MarshalNDR ¶
func (*SetDNSRegCredentialsV5Request) UnmarshalNDR ¶
type SetDNSRegCredentialsV5Response ¶
type SetDNSRegCredentialsV5Response struct { // Return: The R_DhcpSetDnsRegCredentialsV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetDNSRegCredentialsV5Response structure represents the R_DhcpSetDnsRegCredentialsV5 operation response
func (*SetDNSRegCredentialsV5Response) MarshalNDR ¶
func (*SetDNSRegCredentialsV5Response) UnmarshalNDR ¶
type SetFilterV4Request ¶
type SetFilterV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // GlobalFilterInfo: This is a pointer to a DHCP_FILTER_GLOBAL_INFO (section 2.2.1.2.91) // that contains information to enable or disable allow and deny lists. GlobalFilterInfo *dhcpm.FilterGlobalInfo `idl:"name:GlobalFilterInfo" json:"global_filter_info"` }
SetFilterV4Request structure represents the R_DhcpSetFilterV4 operation request
func (*SetFilterV4Request) MarshalNDR ¶
func (*SetFilterV4Request) UnmarshalNDR ¶
type SetFilterV4Response ¶
type SetFilterV4Response struct { // Return: The R_DhcpSetFilterV4 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetFilterV4Response structure represents the R_DhcpSetFilterV4 operation response
func (*SetFilterV4Response) MarshalNDR ¶
func (*SetFilterV4Response) UnmarshalNDR ¶
type SetMClientInfoRequest ¶
type SetMClientInfoRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ClientInfo: This is a pointer of type LPDHCP_MCLIENT_INFO (section 2.2.1.2.21), containing // the information of the MADCAP client. ClientInfo *dhcpm.MADCAPClientInfo `idl:"name:ClientInfo;pointer:ref" json:"client_info"` }
SetMClientInfoRequest structure represents the R_DhcpSetMClientInfo operation request
func (*SetMClientInfoRequest) MarshalNDR ¶
func (*SetMClientInfoRequest) UnmarshalNDR ¶
type SetMClientInfoResponse ¶
type SetMClientInfoResponse struct { // Return: The R_DhcpSetMClientInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
SetMClientInfoResponse structure represents the R_DhcpSetMClientInfo operation response
func (*SetMClientInfoResponse) MarshalNDR ¶
func (*SetMClientInfoResponse) UnmarshalNDR ¶
type SetMScopeInfoRequest ¶
type SetMScopeInfoRequest struct { // ServerIpAddress: The IP address/host name of the MADCAP server. This parameter is // unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // MScopeName: This is a pointer to a Unicode string that contains the name of the IPv4 // multicast subnet that has to be created or modified. The size of the name is limited // to MAX_PATH, including the terminating NULL character. MAX_PATH is defined as 260 // characters. MScopeName string `idl:"name:MScopeName;string;pointer:ref" json:"mscope_name"` // MScopeInfo: This is a pointer of type LPDHCP_MSCOPE_INFO (section 2.2.1.2.71), providing // the IPv4 multicast subnet information that is to be created or modified. MScopeInfo *dhcpm.MScopeInfo `idl:"name:MScopeInfo;pointer:ref" json:"mscope_info"` // NewScope: This is of type BOOL. A TRUE value indicates that the IPv4 multicast subnet // needs to be created, and a FALSE value indicates that the existing IPv4 multicast // subnet needs to be modified. NewScope bool `idl:"name:NewScope" json:"new_scope"` }
SetMScopeInfoRequest structure represents the R_DhcpSetMScopeInfo operation request
func (*SetMScopeInfoRequest) MarshalNDR ¶
func (*SetMScopeInfoRequest) UnmarshalNDR ¶
type SetMScopeInfoResponse ¶
type SetMScopeInfoResponse struct { // Return: The R_DhcpSetMScopeInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
SetMScopeInfoResponse structure represents the R_DhcpSetMScopeInfo operation response
func (*SetMScopeInfoResponse) MarshalNDR ¶
func (*SetMScopeInfoResponse) UnmarshalNDR ¶
type SetOptionInfoV5Request ¶
type SetOptionInfoV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option definition is modified // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is modified for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is modified for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option being modified. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class to which the option definition is modified. This parameter is optional. // If the ClassName parameter is not specified, the option definition is set for the // default user class. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option definition is modified. This parameter is // optional, and if the vendor class is not specified, the option definition is set // for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // OptionInfo: This is a pointer of type DHCP_OPTION (section 2.2.1.2.25), containing // a new option definition for the option being modified. OptionInfo *dhcpm.Option `idl:"name:OptionInfo" json:"option_info"` }
SetOptionInfoV5Request structure represents the R_DhcpSetOptionInfoV5 operation request
func (*SetOptionInfoV5Request) MarshalNDR ¶
func (*SetOptionInfoV5Request) UnmarshalNDR ¶
type SetOptionInfoV5Response ¶
type SetOptionInfoV5Response struct { // Return: The R_DhcpSetOptionInfoV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetOptionInfoV5Response structure represents the R_DhcpSetOptionInfoV5 operation response
func (*SetOptionInfoV5Response) MarshalNDR ¶
func (*SetOptionInfoV5Response) UnmarshalNDR ¶
type SetOptionInfoV6Request ¶
type SetOptionInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option definition is modified // for a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option is modified for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option is modified for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier for the option definition being modified. OptionID uint32 `idl:"name:OptionID" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class to which the option definition is modified. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option definition is modified. This parameter is // optional, and if vendor class is not specified, the option definition is created // for the default vendor class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // OptionInfo: This is a pointer of type DHCP_OPTION (section 2.2.1.2.25) that contains // the new option definition for the option being modified. OptionInfo *dhcpm.Option `idl:"name:OptionInfo" json:"option_info"` }
SetOptionInfoV6Request structure represents the R_DhcpSetOptionInfoV6 operation request
func (*SetOptionInfoV6Request) MarshalNDR ¶
func (*SetOptionInfoV6Request) UnmarshalNDR ¶
type SetOptionInfoV6Response ¶
type SetOptionInfoV6Response struct { // Return: The R_DhcpSetOptionInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetOptionInfoV6Response structure represents the R_DhcpSetOptionInfoV6 operation response
func (*SetOptionInfoV6Response) MarshalNDR ¶
func (*SetOptionInfoV6Response) UnmarshalNDR ¶
type SetOptionValueV4Request ¶
type SetOptionValueV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option value is set for a specific // or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | The option definition is set for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is set for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` OptionID uint32 `idl:"name:OptionID" json:"option_id"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy inside the subnet identified by the SubnetScopeInfo member of the ScopeInfo // parameter for which the option value is being set. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class for which the option value is being set. This parameter is optional. // If the vendor class is not specified, the option value is set for the default vendor // class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a type DHCP_OPTION_SCOPE_INFO structure (section // 2.2.1.2.41) that contains information describing the DHCPv4 scope for which this // option value is set. This value contains the server or scope level at which the option // value is to be set. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` // OptionValue: A pointer to a type DHCP_OPTION_DATA structure (section 2.2.1.2.24) // that contains the option value that is set for an option corresponding to the OptionId // parameter. OptionValue *dhcpm.OptionData `idl:"name:OptionValue" json:"option_value"` }
SetOptionValueV4Request structure represents the R_DhcpV4SetOptionValue operation request
func (*SetOptionValueV4Request) MarshalNDR ¶
func (*SetOptionValueV4Request) UnmarshalNDR ¶
type SetOptionValueV4Response ¶
type SetOptionValueV4Response struct { // Return: The R_DhcpV4SetOptionValue return value. Return uint32 `idl:"name:Return" json:"return"` }
SetOptionValueV4Response structure represents the R_DhcpV4SetOptionValue operation response
func (*SetOptionValueV4Response) MarshalNDR ¶
func (*SetOptionValueV4Response) UnmarshalNDR ¶
type SetOptionValueV5Request ¶
type SetOptionValueV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option value is set for a specific // or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is set for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is set for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // OptionId: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option // identifier of the option being set or modified. OptionID uint32 `idl:"name:OptionId" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class to which the option value is being set. This parameter is optional. // If the ClassName parameter is not specified, the option value is set for the default // user class. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option value is being set. This parameter is optional. // If the vendor class is not specified, the option value is set for a default vendor // class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure // that contains information describing the DHCPv4 scope this option value is set on. // This value contains the level (that is, default, server, scope, multicast scope, // or IPv4 reservation level) at which the option values are set. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` // OptionValue: A pointer to DHCP_OPTION_DATA (section 2.2.1.2.24) structure that contains // the option value that is set for an option corresponding to the OptionId. For Dynamic // DNS update settings, see section 3.3.1. // // The method does not perform any checks to ensure that the OptionValue passed in is // of the same OptionType as that of the option corresponding to the OptionId passed // in. It is the responsibility of the caller to ensure that the correct OptionType // is used for the OptionValue passed in. In case the OptionType of the OptionValue // passed in is different from that of the option corresponding to the OptionId, the // behavior is undefined. OptionValue *dhcpm.OptionData `idl:"name:OptionValue" json:"option_value"` }
SetOptionValueV5Request structure represents the R_DhcpSetOptionValueV5 operation request
func (*SetOptionValueV5Request) MarshalNDR ¶
func (*SetOptionValueV5Request) UnmarshalNDR ¶
type SetOptionValueV5Response ¶
type SetOptionValueV5Response struct { // Return: The R_DhcpSetOptionValueV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetOptionValueV5Response structure represents the R_DhcpSetOptionValueV5 operation response
func (*SetOptionValueV5Response) MarshalNDR ¶
func (*SetOptionValueV5Response) UnmarshalNDR ¶
type SetOptionValueV6Request ¶
type SetOptionValueV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD, specifying that the option value is set for a specific // or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definition is set/modified for a default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is set/modified for a specific vendor | // | | class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` OptionID uint32 `idl:"name:OptionId" json:"option_id"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class to which the option value is being set. This parameter is optional. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option value is being set. This parameter is optional. // If a vendor class is not specified, the option value is set for the default vendor // class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO6 (section 2.2.1.2.30) structure // that contains information describing the DHCPv6 scope this option value is set on. // This value defines that option value is being set at the default, server, or scope // level or for an IPv6 reservation. ScopeInfo *dhcpm.OptionScopeInfo6 `idl:"name:ScopeInfo" json:"scope_info"` // OptionValue: A pointer to DHCP_OPTION_DATA (section 2.2.1.2.24) structure that contains // the option value that is set for an option corresponding to the OptionID. For Dynamic // DNS update settings, see section 3.3.2. OptionValue *dhcpm.OptionData `idl:"name:OptionValue" json:"option_value"` }
SetOptionValueV6Request structure represents the R_DhcpSetOptionValueV6 operation request
func (*SetOptionValueV6Request) MarshalNDR ¶
func (*SetOptionValueV6Request) UnmarshalNDR ¶
type SetOptionValueV6Response ¶
type SetOptionValueV6Response struct { // Return: The R_DhcpSetOptionValueV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetOptionValueV6Response structure represents the R_DhcpSetOptionValueV6 operation response
func (*SetOptionValueV6Response) MarshalNDR ¶
func (*SetOptionValueV6Response) UnmarshalNDR ¶
type SetOptionValuesV4Request ¶
type SetOptionValuesV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option value is set for a specific // or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | The option definition is set for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definition is set for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy inside the subnet identified by the SubnetScopeInfo member of the ScopeInfo // parameter for which the option value is being set. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option value is being set. This parameter is optional. // If the vendor class is not specified, the option value is set for a default vendor // class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a type DHCP_OPTION_SCOPE_INFO structure (section // 2.2.1.2.41) that contains information describing the DHCPv4 scope for which this // option value is set. This value contains the server or scope level at which the option // values are set. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` // OptionValues: This is a pointer to a type DHCP_OPTION_VALUE_ARRAY structure (section // 2.2.1.2.43) that points to the location that contains one or more option identifiers, // along with the values. OptionValues *dhcpm.OptionValueArray `idl:"name:OptionValues" json:"option_values"` }
SetOptionValuesV4Request structure represents the R_DhcpV4SetOptionValues operation request
func (*SetOptionValuesV4Request) MarshalNDR ¶
func (*SetOptionValuesV4Request) UnmarshalNDR ¶
type SetOptionValuesV4Response ¶
type SetOptionValuesV4Response struct { // Return: The R_DhcpV4SetOptionValues return value. Return uint32 `idl:"name:Return" json:"return"` }
SetOptionValuesV4Response structure represents the R_DhcpV4SetOptionValues operation response
func (*SetOptionValuesV4Response) MarshalNDR ¶
func (*SetOptionValuesV4Response) UnmarshalNDR ¶
type SetOptionValuesV5Request ¶
type SetOptionValuesV5Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This is of type DWORD that specifies that the option values are set for // a specific or default vendor class. // // +----------------------------------------+----------------------------------------------------------------------------------+ // | | | // | VALUE | MEANING | // | | | // +----------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_DEFAULT 0x00000000 | Option definitions are set for the default vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ // | DHCP_FLAGS_OPTION_IS_VENDOR 0x00000003 | If a bitwise AND operation with this bitmask yields a nonzero value, it | // | | indicates that the option definitions are set for a specific vendor class. | // +----------------------------------------+----------------------------------------------------------------------------------+ Flags uint32 `idl:"name:Flags" json:"flags"` // ClassName: A pointer to a null-terminated Unicode string that contains the name of // the user class to which the option value is being set. This parameter is optional. // If the ClassName parameter is not specified, the option values are set for the default // user class. ClassName string `idl:"name:ClassName;string;pointer:unique" json:"class_name"` // VendorName: A pointer to a null-terminated Unicode string that contains the name // of the vendor class to which the option value is being set. This parameter is optional. // If a vendor class is not specified, the option values are set for a default vendor // class. VendorName string `idl:"name:VendorName;string;pointer:unique" json:"vendor_name"` // ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure // that contains information describing the DHCPv4 scope this option value is set on. // This value contains the level (that is, default, server, scope, multicast scope, // or IPv4 reservation level) at which the option values are set. ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo" json:"scope_info"` // OptionValues: This is a pointer of type DHCP_OPTION_VALUE_ARRAY (section 2.2.1.2.43) // that points to location that contains one or more option identifiers, along with // the values. OptionValues *dhcpm.OptionValueArray `idl:"name:OptionValues" json:"option_values"` }
SetOptionValuesV5Request structure represents the R_DhcpSetOptionValuesV5 operation request
func (*SetOptionValuesV5Request) MarshalNDR ¶
func (*SetOptionValuesV5Request) UnmarshalNDR ¶
type SetOptionValuesV5Response ¶
type SetOptionValuesV5Response struct { // Return: The R_DhcpSetOptionValuesV5 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetOptionValuesV5Response structure represents the R_DhcpSetOptionValuesV5 operation response
func (*SetOptionValuesV5Response) MarshalNDR ¶
func (*SetOptionValuesV5Response) UnmarshalNDR ¶
type SetPolicyEnforcementV4Request ¶
type SetPolicyEnforcementV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // ServerPolicy: This Boolean type indicates if the policy enforcement state of the // server can be set. ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: This is of type DHCP_IP_ADDRESS structure (section 2.2.1.2.1), which // contains the IPv4 subnet ID for which the policy enforcement state can be returned. // This parameter is ignored if the ServerPolicy parameter is TRUE. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // Enable: This Boolean type parameter specifies the value to set for policy enforcement. Enable bool `idl:"name:Enable" json:"enable"` }
SetPolicyEnforcementV4Request structure represents the R_DhcpV4SetPolicyEnforcement operation request
func (*SetPolicyEnforcementV4Request) MarshalNDR ¶
func (*SetPolicyEnforcementV4Request) UnmarshalNDR ¶
type SetPolicyEnforcementV4Response ¶
type SetPolicyEnforcementV4Response struct { // Return: The R_DhcpV4SetPolicyEnforcement return value. Return uint32 `idl:"name:Return" json:"return"` }
SetPolicyEnforcementV4Response structure represents the R_DhcpV4SetPolicyEnforcement operation response
func (*SetPolicyEnforcementV4Response) MarshalNDR ¶
func (*SetPolicyEnforcementV4Response) UnmarshalNDR ¶
type SetPolicyExV4Request ¶
type SetPolicyExV4Request struct { // ServerIpAddress: As specified in R_DhcpV4SetPolicy (Opnum 110). ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // FieldsModified: As specified in R_DhcpV4SetPolicy (Opnum 110). FieldsModified uint32 `idl:"name:FieldsModified" json:"fields_modified"` // ServerPolicy: As specified in R_DhcpV4SetPolicy (Opnum 110). ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: As specified in R_DhcpV4SetPolicy (Opnum 110). SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // PolicyName: As specified in R_DhcpV4SetPolicy (Opnum 110). PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` // Policy: This is a pointer to a DHCP_POLICY_EX structure and contains the policy data // to be modified. The DHCP_PROPERTY elements that are modified are as follows: Policy *dhcpm.PolicyEx `idl:"name:Policy" json:"policy"` }
SetPolicyExV4Request structure represents the R_DhcpV4SetPolicyEx operation request
func (*SetPolicyExV4Request) MarshalNDR ¶
func (*SetPolicyExV4Request) UnmarshalNDR ¶
type SetPolicyExV4Response ¶
type SetPolicyExV4Response struct { // Return: The R_DhcpV4SetPolicyEx return value. Return uint32 `idl:"name:Return" json:"return"` }
SetPolicyExV4Response structure represents the R_DhcpV4SetPolicyEx operation response
func (*SetPolicyExV4Response) MarshalNDR ¶
func (*SetPolicyExV4Response) UnmarshalNDR ¶
type SetPolicyV4Request ¶
type SetPolicyV4Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // FieldsModified: This is of type DWORD and contains the bit mask that specifies the // fields to be modified as specified in the DHCP_POLICY_FIELDS_TO_UPDATE enumeration // (section 2.2.1.1.21). FieldsModified uint32 `idl:"name:FieldsModified" json:"fields_modified"` // ServerPolicy: This is of type BOOL and specifies whether the server policy or scope // policy is being modified. ServerPolicy bool `idl:"name:ServerPolicy" json:"server_policy"` // SubnetAddress: This is of type DHCP_IP_ADDRESS data type (section 2.2.1.2.1) and // identifies the IPv4 subnet from which the policy is being modified. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // PolicyName: A pointer to a null-terminated Unicode string that contains the name // of the policy requested. PolicyName string `idl:"name:PolicyName;string;pointer:unique" json:"policy_name"` // Policy: This is a pointer to a type DHCP_POLICY structure (section 2.2.1.2.110) that // contains the policy data to be modified. Policy *dhcpm.Policy `idl:"name:Policy" json:"policy"` }
SetPolicyV4Request structure represents the R_DhcpV4SetPolicy operation request
func (*SetPolicyV4Request) MarshalNDR ¶
func (*SetPolicyV4Request) UnmarshalNDR ¶
type SetPolicyV4Response ¶
type SetPolicyV4Response struct { // Return: The R_DhcpV4SetPolicy return value. Return uint32 `idl:"name:Return" json:"return"` }
SetPolicyV4Response structure represents the R_DhcpV4SetPolicy operation response
func (*SetPolicyV4Response) MarshalNDR ¶
func (*SetPolicyV4Response) UnmarshalNDR ¶
type SetServerBindingInfoRequest ¶
type SetServerBindingInfoRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This flag is not used, and it MUST be set to 0. Flags uint32 `idl:"name:Flags" json:"flags"` // BindElementsInfo: This is a pointer of type DHCP_BIND_ELEMENT_ARRAY (section 2.2.1.2.81) // that points to the location that contains the information about the IPv4 interface // binding. BindElementsInfo *dhcpm.BindElementArray `idl:"name:BindElementsInfo;pointer:ref" json:"bind_elements_info"` }
SetServerBindingInfoRequest structure represents the R_DhcpSetServerBindingInfo operation request
func (*SetServerBindingInfoRequest) MarshalNDR ¶
func (*SetServerBindingInfoRequest) UnmarshalNDR ¶
type SetServerBindingInfoResponse ¶
type SetServerBindingInfoResponse struct { // Return: The R_DhcpSetServerBindingInfo return value. Return uint32 `idl:"name:Return" json:"return"` }
SetServerBindingInfoResponse structure represents the R_DhcpSetServerBindingInfo operation response
func (*SetServerBindingInfoResponse) MarshalNDR ¶
func (*SetServerBindingInfoResponse) UnmarshalNDR ¶
type SetServerBindingInfoV6Request ¶
type SetServerBindingInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // Flags: This flag is not used, and it MUST be set to 0. Flags uint32 `idl:"name:Flags" json:"flags"` // BindElementsInfo: This is a pointer of type DHCPV6_BIND_ELEMENT_ARRAY (section 2.2.1.2.83) // that points to the location that contains the information about the IPv6 interface // binding. BindElementsInfo *dhcpm.BindElementArrayV6 `idl:"name:BindElementsInfo;pointer:ref" json:"bind_elements_info"` }
SetServerBindingInfoV6Request structure represents the R_DhcpSetServerBindingInfoV6 operation request
func (*SetServerBindingInfoV6Request) MarshalNDR ¶
func (*SetServerBindingInfoV6Request) UnmarshalNDR ¶
type SetServerBindingInfoV6Response ¶
type SetServerBindingInfoV6Response struct { // Return: The R_DhcpSetServerBindingInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetServerBindingInfoV6Response structure represents the R_DhcpSetServerBindingInfoV6 operation response
func (*SetServerBindingInfoV6Response) MarshalNDR ¶
func (*SetServerBindingInfoV6Response) UnmarshalNDR ¶
type SetStatelessStoreParamsV6Request ¶
type SetStatelessStoreParamsV6Request struct { // ServerIpAddress: The IP Address of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // fServerLevel: A flag representing whether the configuration settings for DHCPv6 stateless // client inventory are to be modified at the server level or the scope level. A value // of TRUE indicates that the modifications are for the server level; FALSE indicates // that the modifications are for the scope level. ServerLevel bool `idl:"name:fServerLevel" json:"server_level"` // SubnetAddress: The IPv6 subnet address for which the configuration settings are to // be modified. If the fServerLevel parameter is set to TRUE, this parameter MUST be // set to zero. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` // FieldModified: A DWORD of binary flags that indicates which fields in the DHCPv6_STATELESS_PARAMS // structure pointed to by the Params parameter are to be set. // // +----------------------------+------------+ // | FIELD TO | | // | SET | FLAG | // | | | // +----------------------------+------------+ // +----------------------------+------------+ // | DhcpStatelessPurgeInterval | 0x00000001 | // +----------------------------+------------+ // | DhcpStatelessStatus | 0x00000002 | // +----------------------------+------------+ FieldModified uint32 `idl:"name:FieldModified" json:"field_modified"` // Params: A pointer to the configuration settings for the DHCPv6 stateless client inventory // for a DHCPv6 server. Params *dhcpm.StatelessParamsV6 `idl:"name:Params" json:"params"` }
SetStatelessStoreParamsV6Request structure represents the R_DhcpV6SetStatelessStoreParams operation request
func (*SetStatelessStoreParamsV6Request) MarshalNDR ¶
func (*SetStatelessStoreParamsV6Request) UnmarshalNDR ¶
type SetStatelessStoreParamsV6Response ¶
type SetStatelessStoreParamsV6Response struct { // Return: The R_DhcpV6SetStatelessStoreParams return value. Return uint32 `idl:"name:Return" json:"return"` }
SetStatelessStoreParamsV6Response structure represents the R_DhcpV6SetStatelessStoreParams operation response
func (*SetStatelessStoreParamsV6Response) MarshalNDR ¶
func (*SetStatelessStoreParamsV6Response) UnmarshalNDR ¶
type SetSubnetDelayOfferRequest ¶
type SetSubnetDelayOfferRequest struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) which contains // the IPv4 subnet ID for which the subnet delay time is set. SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"` // TimeDelayInMilliseconds: This is of type USHORT and contains the value of the time // delay in milliseconds, set for a specific scope. // // +----------------------+-------------------------+ // | VALUE | | // | (MILLISECONDS) | DESCRIPTION | // | | | // +----------------------+-------------------------+ // +----------------------+-------------------------+ // | 0 | Minimum Delay (default) | // +----------------------+-------------------------+ // | 1000 | Maximum Delay | // +----------------------+-------------------------+ TimeDelayInMilliseconds uint16 `idl:"name:TimeDelayInMilliseconds" json:"time_delay_in_milliseconds"` }
SetSubnetDelayOfferRequest structure represents the R_DhcpSetSubnetDelayOffer operation request
func (*SetSubnetDelayOfferRequest) MarshalNDR ¶
func (*SetSubnetDelayOfferRequest) UnmarshalNDR ¶
type SetSubnetDelayOfferResponse ¶
type SetSubnetDelayOfferResponse struct { // Return: The R_DhcpSetSubnetDelayOffer return value. Return uint32 `idl:"name:Return" json:"return"` }
SetSubnetDelayOfferResponse structure represents the R_DhcpSetSubnetDelayOffer operation response
func (*SetSubnetDelayOfferResponse) MarshalNDR ¶
func (*SetSubnetDelayOfferResponse) UnmarshalNDR ¶
type SetSubnetInfoV6Request ¶
type SetSubnetInfoV6Request struct { // ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused. ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"` // SubnetAddress: This is of the type DHCP_IPV6_ADDRESS, containing the IPv6 prefix // ID for which the subnet information is modified. SubnetAddress *dhcpm.IPv6Address `idl:"name:SubnetAddress" json:"subnet_address"` // SubnetInfo: This is a pointer to structure DHCP_SUBNET_INFO_V6 (section 2.2.1.2.56) // that contains information of the IPv6 prefix that is modified in the existing IPv6 // prefix identified by SubnetAddress. SubnetInfo *dhcpm.SubnetInfoV6 `idl:"name:SubnetInfo;pointer:ref" json:"subnet_info"` }
SetSubnetInfoV6Request structure represents the R_DhcpSetSubnetInfoV6 operation request
func (*SetSubnetInfoV6Request) MarshalNDR ¶
func (*SetSubnetInfoV6Request) UnmarshalNDR ¶
type SetSubnetInfoV6Response ¶
type SetSubnetInfoV6Response struct { // Return: The R_DhcpSetSubnetInfoV6 return value. Return uint32 `idl:"name:Return" json:"return"` }
SetSubnetInfoV6Response structure represents the R_DhcpSetSubnetInfoV6 operation response