inetinfo

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Syntax UUID
	InetinfoSyntaxUUID = &uuid.UUID{TimeLow: 0x82ad4280, TimeMid: 0x36b, TimeHiAndVersion: 0x11cf, ClockSeqHiAndReserved: 0x97, ClockSeqLow: 0x2c, Node: [6]uint8{0x0, 0xaa, 0x0, 0x68, 0x87, 0xb0}}
	// Syntax ID
	InetinfoSyntaxV2_0 = &dcerpc.SyntaxID{IfUUID: InetinfoSyntaxUUID, IfVersionMajor: 2, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "irp"
)

Functions

func InetinfoServerHandle

func InetinfoServerHandle(ctx context.Context, o InetinfoServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

func NewInetinfoServerHandle

func NewInetinfoServerHandle(o InetinfoServer) dcerpc.ServerHandle

func RegisterInetinfoServer

func RegisterInetinfoServer(conn dcerpc.Conn, o InetinfoServer, opts ...dcerpc.Option)

Types

type ATQStatistics

type ATQStatistics struct {
	// TotalBlockedRequests:  The total number of blocked requests.
	TotalBlockedRequests uint32 `idl:"name:TotalBlockedRequests" json:"total_blocked_requests"`
	// TotalRejectedRequests:  The total number of rejected requests.
	TotalRejectedRequests uint32 `idl:"name:TotalRejectedRequests" json:"total_rejected_requests"`
	// TotalAllowedRequests:  The total number of allowed requests.
	TotalAllowedRequests uint32 `idl:"name:TotalAllowedRequests" json:"total_allowed_requests"`
	// CurrentBlockedRequests:  The total number of currently blocked requests.
	CurrentBlockedRequests uint32 `idl:"name:CurrentBlockedRequests" json:"current_blocked_requests"`
	// MeasuredBandwidth:  The measured network bandwidth in bytes per second.
	MeasuredBandwidth uint32 `idl:"name:MeasuredBandwidth" json:"measured_bandwidth"`
}

ATQStatistics structure represents INETA_ATQ_STATISTICS RPC structure.

The INETA_ATQ_STATISTICS structure contains network I/O statistics and client connection information for an Internet protocol server.

This type is declared as follows:

func (*ATQStatistics) MarshalNDR

func (o *ATQStatistics) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ATQStatistics) UnmarshalNDR

func (o *ATQStatistics) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type CacheStatistics

type CacheStatistics struct {
	// FilesCached:  The current number of files whose content is in the Internet protocol
	// server file cache.
	FilesCached uint32 `idl:"name:FilesCached" json:"files_cached"`
	// TotalFilesCached:  The total number of files whose content has been cached since
	// Internet protocol server startup.
	TotalFilesCached uint32 `idl:"name:TotalFilesCached" json:"total_files_cached"`
	// FileHits:  The number of successful lookups in the Internet protocol server's file
	// cache.
	FileHits uint32 `idl:"name:FileHits" json:"file_hits"`
	// FileMisses:  The number of unsuccessful lookups in the Internet protocol server's
	// file cache.
	FileMisses uint32 `idl:"name:FileMisses" json:"file_misses"`
	// FileFlushes:  The number of file cache flushes since Internet protocol server startup.
	FileFlushes uint32 `idl:"name:FileFlushes" json:"file_flushes"`
	// CurrentFileCacheSize:  The current number of bytes used for the Internet protocol
	// server's file cache.
	CurrentFileCacheSize uint64 `idl:"name:CurrentFileCacheSize" json:"current_file_cache_size"`
	// MaximumFileCacheSize:  The maximum number of bytes used for the Internet protocol
	// server's file cache.
	MaximumFileCacheSize uint64 `idl:"name:MaximumFileCacheSize" json:"maximum_file_cache_size"`
	// FlushedEntries:  The number of files that are marked for removal from the Internet
	// protocol server cache after the current transfers are complete.
	FlushedEntries uint32 `idl:"name:FlushedEntries" json:"flushed_entries"`
	// TotalFlushed:  The number of files removed from the cache since Internet protocol
	// server startup.
	TotalFlushed uint32 `idl:"name:TotalFlushed" json:"total_flushed"`
	// URICached:  The number of URI information blocks currently cached by the Internet
	// protocol server.
	URICached uint32 `idl:"name:URICached" json:"uri_cached"`
	// TotalURICached:  The total number of URI information blocks ever added to the cache
	// for the Internet protocol server.
	TotalURICached uint32 `idl:"name:TotalURICached" json:"total_uri_cached"`
	// URIHits:   The number of successful lookups in the Internet protocol server's URI
	// cache.
	URIHits uint32 `idl:"name:URIHits" json:"uri_hits"`
	// URIMisses:  The number of unsuccessful lookups in the Internet protocol server's
	// URI cache.
	URIMisses uint32 `idl:"name:URIMisses" json:"uri_misses"`
	// URIFlushes:  The number of URI cache flushes since Internet protocol server startup.
	URIFlushes uint32 `idl:"name:URIFlushes" json:"uri_flushes"`
	// TotalURIFlushed:  The total number of URI information blocks that have been removed
	// from the cache since Internet protocol server startup.
	TotalURIFlushed uint32 `idl:"name:TotalURIFlushed" json:"total_uri_flushed"`
	// BlobCached:  The number of BLOB information blocks currently cached by the Internet
	// protocol server.
	BlobCached uint32 `idl:"name:BlobCached" json:"blob_cached"`
	// TotalBlobCached:  The total number of BLOB information blocks ever added to the Internet
	// protocol server's cache.
	TotalBlobCached uint32 `idl:"name:TotalBlobCached" json:"total_blob_cached"`
	// BlobHits:  The number of successful lookups in the Internet protocol server's BLOB
	// cache.
	BlobHits uint32 `idl:"name:BlobHits" json:"blob_hits"`
	// BlobMisses:  The number of unsuccessful lookups in the Internet protocol server's
	// BLOB cache.
	BlobMisses uint32 `idl:"name:BlobMisses" json:"blob_misses"`
	// BlobFlushes:  The number of BLOB cache flushes since Internet protocol server startup.
	BlobFlushes uint32 `idl:"name:BlobFlushes" json:"blob_flushes"`
	// TotalBlobFlushed:  The total number of BLOB information blocks that have been removed
	// from the cache since Internet protocol server startup.
	TotalBlobFlushed uint32 `idl:"name:TotalBlobFlushed" json:"total_blob_flushed"`
}

CacheStatistics structure represents INETA_CACHE_STATISTICS RPC structure.

The INETA_CACHE_STATISTICS structure contains statistics for the Internet protocol server's caches.<6>

This type is declared as follows:

func (*CacheStatistics) MarshalNDR

func (o *CacheStatistics) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CacheStatistics) UnmarshalNDR

func (o *CacheStatistics) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type CapFlags

type CapFlags struct {
	// Flag:  A value that indicates the features supported by the current running instance
	// of the Internet protocol server implementation. The possible values for this member
	// result from a bitwise OR of zero or more of the flags defined in the following table.
	//
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	|                                         |                                                                                  |
	//	|                  VALUE                  |                                     MEANING                                      |
	//	|                                         |                                                                                  |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_ODBC_LOGGING 0x00000001        | The Internet protocol server supports the Open Database Connectivity (ODBC) log  |
	//	|                                         | format feature.                                                                  |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_FILE_LOGGING 0x00000002        | The Internet protocol server supports the file system logging feature.           |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_VIRTUAL_SERVER 0x00000004      | The Internet protocol server supports multiple instances of the protocol server  |
	//	|                                         | network endpoint (1) aliases.                                                    |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_BW_THROTTLING 0x00000008       | The Internet protocol server supports network bandwidth throttling.              |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_IP_ACCESS_CHECK 0x00000010     | The Internet protocol server supports blocking client connections using IP       |
	//	|                                         | restrictions.                                                                    |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_MAX_CONNECTIONS 0x00000020     | The Internet protocol server supports connection limiting.                       |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_10_CONNECTION_LIMIT 0x00000040 | The Internet protocol server supports a limit of 10 concurrent connections.      |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_MULTIPLE_INSTANCE 0x00000080   | The Internet protocol server supports multiple instances.                        |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_SSL_SUPPORT 0x00000100         | The Internet protocol server supports the SSL protocol.                          |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_OPERATORS_LIST 0x00000200      | The Internet protocol server supports administrative operations by identities    |
	//	|                                         | other than Windows operating system administrators.                              |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_FP_INSTALLED 0x00000400        | Front Page Server Extensions are installed on the server.                        |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_CPU_AUDITING 0x00000800        | The Internet protocol server supports CPU limits.                                |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_SERVER_COMPRESSION 0x00001000  | The Internet protocol server supports compression of network data.               |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_DAV 0x00002000                 | The Internet protocol server supports the WebDAV protocol.                       |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_DIGEST_SUPPORT 0x00004000      | The Internet protocol server supports the Digest Authentication Protocol.        |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_NT_CERTMAP_SUPPORT 0x00008000  | The Internet protocol server supports mapping client certificates to Windows     |
	//	|                                         | user accounts.                                                                   |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_POOLED_OOP 0x00010000          | The Internet protocol server supports running a pool of applications in a        |
	//	|                                         | separate process.                                                                |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	Flag uint32 `idl:"name:Flag" json:"flag"`
	// Mask:  A value that indicates the capabilities that can be enabled for the protocol
	// servers in the current implementation. The possible values for this member result
	// from a bitwise OR operation of zero or more of the following flags.
	//
	// Note  The Mask value contains all the capabilities that the current version of the
	// protocol server implementation can support. The Flag value indicates the features
	// that the current running server instance does support.The server sets the mask value
	// to a bitwise OR of all the flags it knows about. The server then sets the flags to
	// the bitwise OR of the features supported for the current platform, a subset of those
	// set in the mask field. A given version of the software reports the same mask values,
	// but might support different flags values depending on the operating system type.
	//
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	|                                         |                                                                                  |
	//	|                  VALUE                  |                                     MEANING                                      |
	//	|                                         |                                                                                  |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_ODBC_LOGGING 0x00000001        | The Internet protocol server supports the Open Database Connectivity (ODBC) log  |
	//	|                                         | format feature.                                                                  |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_FILE_LOGGING 0x00000002        | The Internet protocol server supports the file system logging feature.           |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_VIRTUAL_SERVER 0x00000004      | The Internet protocol server supports multiple instances of the protocol server  |
	//	|                                         | network endpoint (2) aliases.                                                    |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_BW_THROTTLING 0x00000008       | The Internet protocol server supports network bandwidth throttling.              |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_IP_ACCESS_CHECK 0x00000010     | The Internet protocol server supports blocking client connections by using IP    |
	//	|                                         | restrictions.                                                                    |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_MAX_CONNECTIONS 0x00000020     | The Internet protocol server supports connection limiting.                       |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_10_CONNECTION_LIMIT 0x00000040 | The Internet protocol server supports a limit of 10 concurrent connections.      |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_MULTIPLE_INSTANCE 0x00000080   | The Internet protocol server supports multiple instances.                        |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_SSL_SUPPORT 0x00000100         | The Internet protocol server supports the SSL protocol.                          |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_OPERATORS_LIST 0x00000200      | The Internet protocol server supports administrative operations by identities    |
	//	|                                         | other than Windows operating system administrators.                              |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_FP_INSTALLED 0x00000400        | Front Page Server Extensions are installed on the server.                        |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_CPU_AUDITING 0x00000800        | The Internet protocol server supports CPU limits.                                |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_SERVER_COMPRESSION 0x00001000  | The Internet protocol server supports compression of network data.               |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_DAV 0x00002000                 | The Internet protocol server supports the WebDAV protocol.                       |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_DIGEST_SUPPORT 0x00004000      | The Internet protocol server supports the Digest Authentication Protocol.        |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_NT_CERTMAP_SUPPORT 0x00008000  | The Internet protocol server supports mapping client certificates to Windows     |
	//	|                                         | user accounts.                                                                   |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	//	| IIS_CAP1_POOLED_OOP 0x00010000          | The Internet protocol server supports running a pool of applications in a        |
	//	|                                         | separate process.                                                                |
	//	+-----------------------------------------+----------------------------------------------------------------------------------+
	Mask uint32 `idl:"name:Mask" json:"mask"`
}

CapFlags structure represents INET_INFO_CAP_FLAGS RPC structure.

The INET_INFO_CAP_FLAGS structure contains information on features that are available for a protocol server.

This type is declared as follows:

func (*CapFlags) MarshalNDR

func (o *CapFlags) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CapFlags) UnmarshalNDR

func (o *CapFlags) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type Capabilities

type Capabilities struct {
	// CapVersion:  The version number of this structure. MUST be 1.
	CapVersion uint32 `idl:"name:CapVersion" json:"cap_version"`
	// ProductType:  The value that indicates the Windows operating system product type
	// hosting the implementation. This field MUST be set to one of the following values.
	//
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	|                                        |                                                                                  |
	//	|                 VALUE                  |                                     MEANING                                      |
	//	|                                        |                                                                                  |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	| INET_INFO_PRODUCT_NTSERVER 0x00000001  | The operating system product type is a Windows server.                           |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	| INET_INFO_PRODUCT_NTWKSTA 0x00000002   | The operating system product type is a Windows client or Windows NT Workstation  |
	//	|                                        | operating system.                                                                |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	| INET_INFO_PRODUCT_UNKNOWN 0xFFFFFFFF   | The operating system product type is unknown.                                    |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	| INET_INFO_PRODUCT_WINDOWS95 0x00000003 | The operating system product type is Windows 95 operating system.                |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	ProductType uint32 `idl:"name:ProductType" json:"product_type"`
	// MajorVersion:   The major version number of the Internet Information Services (IIS)
	// Inetinfo Remote Protocol server.
	MajorVersion uint32 `idl:"name:MajorVersion" json:"major_version"`
	// MinorVersion:  The minor version number of the Internet Information Services (IIS)
	// Inetinfo Remote Protocol server.
	MinorVersion uint32 `idl:"name:MinorVersion" json:"minor_version"`
	// BuildNumber:  The build number of the version of the Windows operating system running
	// on the Internet Information Services (IIS) Inetinfo Remote Protocol server.
	BuildNumber uint32 `idl:"name:BuildNumber" json:"build_number"`
	// NumCapFlags:  The number of INET_INFO_CAP_FLAGS structures pointed to by the CapFlags
	// member. MUST be 1.
	CapFlagsLength uint32 `idl:"name:NumCapFlags" json:"cap_flags_length"`
	// CapFlags:  The pointer to an array of INET_INFO_CAP_FLAGS structures that defines
	// the server's capabilities.
	CapFlags []*CapFlags `idl:"name:CapFlags;size_is:(NumCapFlags)" json:"cap_flags"`
}

Capabilities structure represents INET_INFO_CAPABILITIES_STRUCT RPC structure.

The INET_INFO_CAPABILITIES_STRUCT structure specifies the features supported by an Internet protocol server implementation.

This type is declared as follows:

func (*Capabilities) MarshalNDR

func (o *Capabilities) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*Capabilities) UnmarshalNDR

func (o *Capabilities) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type ClearStatisticsRequest

type ClearStatisticsRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServerMask: The identifier for the target Internet protocol server, as specified
	// in section 2.2.2.
	ServerMask uint32 `idl:"name:dwServerMask" json:"server_mask"`
}

ClearStatisticsRequest structure represents the R_InetInfoClearStatistics operation request

func (*ClearStatisticsRequest) MarshalNDR

func (o *ClearStatisticsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ClearStatisticsRequest) UnmarshalNDR

func (o *ClearStatisticsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ClearStatisticsResponse

type ClearStatisticsResponse struct {
	// Return: The R_InetInfoClearStatistics return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

ClearStatisticsResponse structure represents the R_InetInfoClearStatistics operation response

func (*ClearStatisticsResponse) MarshalNDR

func (o *ClearStatisticsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ClearStatisticsResponse) UnmarshalNDR

func (o *ClearStatisticsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ConfigInfo

type ConfigInfo struct {
	// FieldControl:  A 32-bit unsigned integer that specifies a bit field. This field specifies
	// the values of the INET_INFO_CONFIG_INFO structure that contain valid data. An implementation
	// MUST set the flag corresponding to the structure field when returning or updating
	// configuration data. This field MUST be set to a valid combination of the following
	// values.
	//
	//	+---------------------------------+------------+
	//	|                                 |            |
	//	|              NAME               |   VALUE    |
	//	|                                 |            |
	//	+---------------------------------+------------+
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_CONNECTION_TIMEOUT | 0x00000001 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_MAX_CONNECTIONS    | 0x00000002 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_LOG_CONFIG         | 0x00000004 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_ADMIN_NAME         | 0x00000008 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_SERVER_COMMENT     | 0x00000010 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_ADMIN_EMAIL        | 0x00000020 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_HOST_NAME          | 0x00000040 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_SERVER_SIZE        | 0x00000080 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_DEF_LOGON_DOMAIN   | 0x00008000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_AUTHENTICATION     | 0x00010000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_ALLOW_ANONYMOUS    | 0x00020000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_LOG_ANONYMOUS      | 0x00040000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_LOG_NONANONYMOUS   | 0x00080000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_ANON_USER_NAME     | 0x00100000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_ANON_PASSWORD      | 0x00200000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_PORT_NUMBER        | 0x00400000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_SITE_SECURITY      | 0x00800000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_VIRTUAL_ROOTS      | 0x01000000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_SECURE_PORT_NUMBER | 0x02000000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_SERVER_NAME        | 0x04000000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_AUTO_START         | 0x08000000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_ADDRESS_TYPE       | 0x10000000 |
	//	+---------------------------------+------------+
	//	| FC_INET_INFO_IP_ADDRESS         | 0x20000000 |
	//	+---------------------------------+------------+
	FieldControl uint32 `idl:"name:FieldControl" json:"field_control"`
	// dwConnectionTimeout:  The time limit to maintain an inactive connection specified
	// as the number of seconds from the last request.
	ConnectionTimeout uint32 `idl:"name:dwConnectionTimeout" json:"connection_timeout"`
	// dwMaxConnections:  The maximum number of allowed connections to the Internet protocol
	// server.
	MaxConnections uint32 `idl:"name:dwMaxConnections" json:"max_connections"`
	// lpszAdminName:  A pointer to a null-terminated Unicode string that contains the name
	// of the Internet protocol server administrator.
	AdminName string `idl:"name:lpszAdminName;string" json:"admin_name"`
	// lpszAdminEmail:  A pointer to a null-terminated Unicode string that contains the
	// email address of the Internet protocol server administrator.
	AdminEmail string `idl:"name:lpszAdminEmail;string" json:"admin_email"`
	// lpszServerComment:  A pointer to a null-terminated Unicode string that contains a
	// comment that describes the Internet protocol server instance.
	ServerComment string `idl:"name:lpszServerComment;string" json:"server_comment"`
	// lpLogConfig:  A pointer to an INET_LOG_CONFIGURATION structure that specifies the
	// configuration of the Internet protocol server log.
	LogConfig *InetLogConfiguration `idl:"name:lpLogConfig" json:"log_config"`
	// LangId:   A WORD containing the language identifier, a standard international numerical
	// identifier for the language in the country or region where the server is in use,
	// as specified in [MS-LCID] section 2.1.
	LangID uint16 `idl:"name:LangId" json:"lang_id"`
	// LocalId:  A locale identifier that is a DWORD value that consists of a language identifier,
	// such as one specified for the LangID member, combined with a sort identifier indicating
	// location. For example, the LangID member might indicate French, where the LocalID
	// indicates Canada. The LocalID member is given as specified in [MS-LCID] section 2.1.
	LocalID uint32 `idl:"name:LocalId" json:"local_id"`
	// ProductId:  An array of 64 bytes that MAY contain a string value, which identifies
	// the server implementation.
	ProductID []byte `idl:"name:ProductId" json:"product_id"`
	// fLogAnonymous:  A value that is set to TRUE if data transfers from anonymous users
	// are to be logged.
	LogAnonymous bool `idl:"name:fLogAnonymous" json:"log_anonymous"`
	// fLogNonAnonymous:  A value that is set to TRUE if data transfers from non-anonymous
	// users are to be logged.
	LogNonAnonymous bool `idl:"name:fLogNonAnonymous" json:"log_non_anonymous"`
	// lpszAnonUserName:  A pointer to a null-terminated Unicode string that contains the
	// name requested and accepted from an anonymous user.
	AnonUserName string `idl:"name:lpszAnonUserName;string" json:"anon_user_name"`
	// szAnonPassword:  An array of 257 Unicode characters containing a null-terminated
	// Unicode string that contains a password requested and accepted from an anonymous
	// user.<4>
	AnonPassword []uint16 `idl:"name:szAnonPassword" json:"anon_password"`
	// dwAuthentication:  A value that indicates what authentication methods can be used.
	Authentication uint32 `idl:"name:dwAuthentication" json:"authentication"`
	// sPort:  A 16-bit unsigned integer that specifies the network port on which the Internet
	// protocol server instance is running.
	Port int16 `idl:"name:sPort" json:"port"`
	// DenyIPList:  A pointer to an INET_INFO_IP_SEC_LIST structure that contains a list
	// of IP addresses that will be denied connections to the Internet protocol server.
	DenyIPList *IPsecList `idl:"name:DenyIPList" json:"deny_ip_list"`
	// GrantIPList:  A pointer to an INET_INFO_IP_SEC_LIST structure that contains a list
	// of IP addresses that will be granted connections to the Internet protocol server.
	GrantIPList *IPsecList `idl:"name:GrantIPList" json:"grant_ip_list"`
	// VirtualRoots:  A pointer to an INET_INFO_VIRTUAL_ROOT_LIST structure that contains
	// a list of virtual root directories for the Internet protocol server instance.
	VirtualRoots *VirtualRootList `idl:"name:VirtualRoots" json:"virtual_roots"`
}

ConfigInfo structure represents INET_INFO_CONFIG_INFO RPC structure.

The INET_INFO_CONFIG_INFO structure stores configuration values for an Internet protocol server.<3>

This type is declared as follows:

func (*ConfigInfo) MarshalNDR

func (o *ConfigInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ConfigInfo) UnmarshalNDR

func (o *ConfigInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type FTPClearStatistics2Request

type FTPClearStatistics2Request struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwInstance: The ID of the protocol server instance whose statistical data is being
	// cleared.
	Instance uint32 `idl:"name:dwInstance" json:"instance"`
}

FTPClearStatistics2Request structure represents the R_FtpClearStatistics2 operation request

func (*FTPClearStatistics2Request) MarshalNDR

func (o *FTPClearStatistics2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*FTPClearStatistics2Request) UnmarshalNDR

func (o *FTPClearStatistics2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type FTPClearStatistics2Response

type FTPClearStatistics2Response struct {
	// Return: The R_FtpClearStatistics2 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

FTPClearStatistics2Response structure represents the R_FtpClearStatistics2 operation response

func (*FTPClearStatistics2Response) MarshalNDR

func (*FTPClearStatistics2Response) UnmarshalNDR

func (o *FTPClearStatistics2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type FTPQueryStatistics2Request

type FTPQueryStatistics2Request struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwLevel: The level of detail to be retrieved. This parameter MUST be set to 0 by
	// the client. Other values MUST generate a return code of ERROR_INVALID_LEVEL (0x0000007C).
	Level uint32 `idl:"name:dwLevel" json:"level"`
	// dwInstance: The ID of the protocol server instance whose statistical data is being
	// requested. The following values have special meanings.
	//
	//	+------------+--------------------------------------------------------------------+
	//	|            |                                                                    |
	//	|   VALUE    |                              MEANING                               |
	//	|            |                                                                    |
	//	+------------+--------------------------------------------------------------------+
	//	+------------+--------------------------------------------------------------------+
	//	| 0x00000000 | Return global (not per server instance) statistics data.           |
	//	+------------+--------------------------------------------------------------------+
	//	| 0xF0000003 | Return statistics aggregated across all protocol server instances. |
	//	+------------+--------------------------------------------------------------------+
	Instance uint32 `idl:"name:dwInstance" json:"instance"`
}

FTPQueryStatistics2Request structure represents the R_FtpQueryStatistics2 operation request

func (*FTPQueryStatistics2Request) MarshalNDR

func (o *FTPQueryStatistics2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*FTPQueryStatistics2Request) UnmarshalNDR

func (o *FTPQueryStatistics2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type FTPQueryStatistics2Response

type FTPQueryStatistics2Response struct {
	// XXX: dwLevel is an implicit input depedency for output parameters
	Level uint32 `idl:"name:dwLevel" json:"level"`

	// InfoStruct: The pointer to an FTP_STATISTICS_STRUCT union to contain the retrieved
	// statistics data.
	Info *FTPStatistics `idl:"name:InfoStruct;switch_is:dwLevel" json:"info"`
	// Return: The R_FtpQueryStatistics2 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

FTPQueryStatistics2Response structure represents the R_FtpQueryStatistics2 operation response

func (*FTPQueryStatistics2Response) MarshalNDR

func (*FTPQueryStatistics2Response) UnmarshalNDR

func (o *FTPQueryStatistics2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type FTPStatistics

type FTPStatistics struct {
	// Types that are assignable to Value
	//
	// *FTPStatistics_StatInfo0
	Value is_FTPStatistics `json:"value"`
}

FTPStatistics structure represents FTP_STATISTICS_STRUCT RPC union.

func (*FTPStatistics) GetValue

func (o *FTPStatistics) GetValue() any

func (*FTPStatistics) MarshalUnionNDR

func (o *FTPStatistics) MarshalUnionNDR(ctx context.Context, w ndr.Writer, sw uint32) error

func (*FTPStatistics) NDRSwitchValue

func (o *FTPStatistics) NDRSwitchValue(sw uint32) uint32

func (*FTPStatistics) UnmarshalUnionNDR

func (o *FTPStatistics) UnmarshalUnionNDR(ctx context.Context, w ndr.Reader, sw uint32) error

type FTPStatistics0

type FTPStatistics0 struct {
	// TotalBytesSent:  The total number of bytes sent.
	TotalBytesSent *dtyp.LargeInteger `idl:"name:TotalBytesSent" json:"total_bytes_sent"`
	// TotalBytesReceived:  The total number of bytes received.
	TotalBytesReceived *dtyp.LargeInteger `idl:"name:TotalBytesReceived" json:"total_bytes_received"`
	// TotalFilesSent:  The total number of files sent by the FTP server.
	TotalFilesSent uint32 `idl:"name:TotalFilesSent" json:"total_files_sent"`
	// TotalFilesReceived:  The total number of files received by the FTP server.
	TotalFilesReceived uint32 `idl:"name:TotalFilesReceived" json:"total_files_received"`
	// CurrentAnonymousUsers:  The current number of anonymous users connected to the FTP
	// server.
	CurrentAnonymousUsers uint32 `idl:"name:CurrentAnonymousUsers" json:"current_anonymous_users"`
	// CurrentNonAnonymousUsers:  The current number of non-anonymous users connected to
	// the FTP server.
	CurrentNonAnonymousUsers uint32 `idl:"name:CurrentNonAnonymousUsers" json:"current_non_anonymous_users"`
	// TotalAnonymousUsers:  The total number of anonymous users that have ever connected
	// to the FTP server.
	TotalAnonymousUsers uint32 `idl:"name:TotalAnonymousUsers" json:"total_anonymous_users"`
	// TotalNonAnonymousUsers:  The total number of non-anonymous users that have ever connected
	// to the FTP server.
	TotalNonAnonymousUsers uint32 `idl:"name:TotalNonAnonymousUsers" json:"total_non_anonymous_users"`
	// MaxAnonymousUsers:  The maximum number of anonymous users allowed to simultaneously
	// connect to the FTP server.
	MaxAnonymousUsers uint32 `idl:"name:MaxAnonymousUsers" json:"max_anonymous_users"`
	// MaxNonAnonymousUsers:  The maximum number of non-anonymous users allowed to simultaneously
	// connect to the FTP server.
	MaxNonAnonymousUsers uint32 `idl:"name:MaxNonAnonymousUsers" json:"max_non_anonymous_users"`
	// CurrentConnections:  The current number of connections to the FTP server.
	CurrentConnections uint32 `idl:"name:CurrentConnections" json:"current_connections"`
	// MaxConnections:  The maximum number of connections to the FTP server.
	MaxConnections uint32 `idl:"name:MaxConnections" json:"max_connections"`
	// ConnectionAttempts:  The number of connection attempts that have been made to the
	// FTP server.
	ConnectionAttempts uint32 `idl:"name:ConnectionAttempts" json:"connection_attempts"`
	// LogonAttempts:  The number of logon attempts that have been made to the FTP server.
	LogonAttempts uint32 `idl:"name:LogonAttempts" json:"logon_attempts"`
	// ServiceUptime:  The time that the FTP server has been operational.
	ServiceUptime uint32 `idl:"name:ServiceUptime" json:"service_uptime"`
	// TotalAllowedRequests:  The total number of requests allowed to the FTP server.
	TotalAllowedRequests uint32 `idl:"name:TotalAllowedRequests" json:"total_allowed_requests"`
	// TotalRejectedRequests:  The total number of rejected requests.
	TotalRejectedRequests uint32 `idl:"name:TotalRejectedRequests" json:"total_rejected_requests"`
	// TotalBlockedRequests:  The total number of blocked requests.
	TotalBlockedRequests uint32 `idl:"name:TotalBlockedRequests" json:"total_blocked_requests"`
	// CurrentBlockedRequests:  The current number of blocked requests.
	CurrentBlockedRequests uint32 `idl:"name:CurrentBlockedRequests" json:"current_blocked_requests"`
	// MeasuredBandwidth:  The measured network bandwidth for the FTP server.
	MeasuredBandwidth uint32 `idl:"name:MeasuredBandwidth" json:"measured_bandwidth"`
	// TimeOfLastClear:  The time of the last clear.
	TimeOfLastClear uint32 `idl:"name:TimeOfLastClear" json:"time_of_last_clear"`
}

FTPStatistics0 structure represents FTP_STATISTICS_0 RPC structure.

The FTP_STATISTICS_0 structure contains statistics on the usage of the FTP server.

This type is declared as follows:

func (*FTPStatistics0) MarshalNDR

func (o *FTPStatistics0) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*FTPStatistics0) UnmarshalNDR

func (o *FTPStatistics0) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type FTPStatistics_StatInfo0

type FTPStatistics_StatInfo0 struct {
	StatInfo0 *FTPStatistics0 `idl:"name:StatInfo0" json:"stat_info0"`
}

FTPStatistics_StatInfo0 structure represents FTP_STATISTICS_STRUCT RPC union arm.

It has following labels: 0

func (*FTPStatistics_StatInfo0) MarshalNDR

func (o *FTPStatistics_StatInfo0) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*FTPStatistics_StatInfo0) UnmarshalNDR

func (o *FTPStatistics_StatInfo0) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type FlushMemoryCacheRequest

type FlushMemoryCacheRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServerMask: The identifier for the target Internet protocol server, as specified
	// in section 2.2.2.
	ServerMask uint32 `idl:"name:dwServerMask" json:"server_mask"`
}

FlushMemoryCacheRequest structure represents the R_InetInfoFlushMemoryCache operation request

func (*FlushMemoryCacheRequest) MarshalNDR

func (o *FlushMemoryCacheRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*FlushMemoryCacheRequest) UnmarshalNDR

func (o *FlushMemoryCacheRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type FlushMemoryCacheResponse

type FlushMemoryCacheResponse struct {
	// Return: The R_InetInfoFlushMemoryCache return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

FlushMemoryCacheResponse structure represents the R_InetInfoFlushMemoryCache operation response

func (*FlushMemoryCacheResponse) MarshalNDR

func (o *FlushMemoryCacheResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*FlushMemoryCacheResponse) UnmarshalNDR

func (o *FlushMemoryCacheResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetAdminInformationRequest

type GetAdminInformationRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServerMask: The identifier for the target Internet protocol server, as specified
	// in section 2.2.2.
	ServerMask uint32 `idl:"name:dwServerMask" json:"server_mask"`
}

GetAdminInformationRequest structure represents the R_InetInfoGetAdminInformation operation request

func (*GetAdminInformationRequest) MarshalNDR

func (o *GetAdminInformationRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetAdminInformationRequest) UnmarshalNDR

func (o *GetAdminInformationRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetAdminInformationResponse

type GetAdminInformationResponse struct {
	// ppConfig: The pointer to a pointer to an INET_INFO_CONFIG_INFO structure that contains
	// configuration data for the specified Internet protocol server.
	Config *ConfigInfo `idl:"name:ppConfig" json:"config"`
	// Return: The R_InetInfoGetAdminInformation return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetAdminInformationResponse structure represents the R_InetInfoGetAdminInformation operation response

func (*GetAdminInformationResponse) MarshalNDR

func (*GetAdminInformationResponse) UnmarshalNDR

func (o *GetAdminInformationResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetGlobalAdminInformationRequest

type GetGlobalAdminInformationRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServerMask: This value MUST be ignored by the server.
	ServerMask uint32 `idl:"name:dwServerMask" json:"server_mask"`
}

GetGlobalAdminInformationRequest structure represents the R_InetInfoGetGlobalAdminInformation operation request

func (*GetGlobalAdminInformationRequest) MarshalNDR

func (*GetGlobalAdminInformationRequest) UnmarshalNDR

type GetGlobalAdminInformationResponse

type GetGlobalAdminInformationResponse struct {
	// ppConfig: The pointer to a pointer to an INET_INFO_GLOBAL_CONFIG_INFO structure.
	Config *GlobalConfigInfo `idl:"name:ppConfig" json:"config"`
	// Return: The R_InetInfoGetGlobalAdminInformation return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetGlobalAdminInformationResponse structure represents the R_InetInfoGetGlobalAdminInformation operation response

func (*GetGlobalAdminInformationResponse) MarshalNDR

func (*GetGlobalAdminInformationResponse) UnmarshalNDR

type GetServerCapabilitiesRequest

type GetServerCapabilitiesRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
}

GetServerCapabilitiesRequest structure represents the R_InetInfoGetServerCapabilities operation request

func (*GetServerCapabilitiesRequest) MarshalNDR

func (*GetServerCapabilitiesRequest) UnmarshalNDR

func (o *GetServerCapabilitiesRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetServerCapabilitiesResponse

type GetServerCapabilitiesResponse struct {
	// ppCap: The pointer to an INET_INFO_CAPABILITIES_STRUCT structure that indicates the
	// capabilities of the Internet protocol servers on the host system.
	Cap *Capabilities `idl:"name:ppCap" json:"cap"`
	// Return: The R_InetInfoGetServerCapabilities return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetServerCapabilitiesResponse structure represents the R_InetInfoGetServerCapabilities operation response

func (*GetServerCapabilitiesResponse) MarshalNDR

func (*GetServerCapabilitiesResponse) UnmarshalNDR

func (o *GetServerCapabilitiesResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSitesRequest

type GetSitesRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServerMask: The identifier for the target Internet protocol server, as specified
	// in section 2.2.2.
	ServerMask uint32 `idl:"name:dwServerMask" json:"server_mask"`
}

GetSitesRequest structure represents the R_InetInfoGetSites operation request

func (*GetSitesRequest) MarshalNDR

func (o *GetSitesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSitesRequest) UnmarshalNDR

func (o *GetSitesRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSitesResponse

type GetSitesResponse struct {
	// ppSites: The pointer to a pointer to INET_INFO_SITE_LIST that specifies the list
	// of defined server instances for the Internet protocol server specified by dwServerMask.
	Sites *SiteList `idl:"name:ppSites" json:"sites"`
	// Return: The R_InetInfoGetSites return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetSitesResponse structure represents the R_InetInfoGetSites operation response

func (*GetSitesResponse) MarshalNDR

func (o *GetSitesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSitesResponse) UnmarshalNDR

func (o *GetSitesResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetVersionRequest

type GetVersionRequest struct {
	// pszServer: A custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
}

GetVersionRequest structure represents the R_InetInfoGetVersion operation request

func (*GetVersionRequest) MarshalNDR

func (o *GetVersionRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetVersionRequest) UnmarshalNDR

func (o *GetVersionRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetVersionResponse

type GetVersionResponse struct {
	// pdwVersion: A pointer to a variable. On successful return, it MUST contain a major
	// and minor version number for the server implementation. The major version is stored
	// in the low WORD, and the minor version is stored in the high WORD.
	Version uint32 `idl:"name:pdwVersion" json:"version"`
	// Return: The R_InetInfoGetVersion return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetVersionResponse structure represents the R_InetInfoGetVersion operation response

func (*GetVersionResponse) MarshalNDR

func (o *GetVersionResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetVersionResponse) UnmarshalNDR

func (o *GetVersionResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GlobalConfigInfo

type GlobalConfigInfo struct {
	// FieldControl:  A bit-field that specifies the values of the INET_INFO_GLOBAL_CONFIG_INFO
	// structure that have been initialized. An implementation MUST set the flag corresponding
	// to the structure field when returning or updating configuration data. This field
	// MUST be set to a valid combination of the following values.
	//
	//	+------------+---------------------------------+
	//	|            |                                 |
	//	|   VALUE    |             MEANING             |
	//	|            |                                 |
	//	+------------+---------------------------------+
	//	+------------+---------------------------------+
	//	| 0x00000001 | FC_GINET_INFO_BANDWIDTH_LEVEL   |
	//	+------------+---------------------------------+
	//	| 0x00000002 | FC_GINET_INFO_MEMORY_CACHE_SIZE |
	//	+------------+---------------------------------+
	FieldControl uint32 `idl:"name:FieldControl" json:"field_control"`
	// BandwidthLevel:  The bytes per second to send over the network for the Internet protocol
	// servers.
	BandwidthLevel uint32 `idl:"name:BandwidthLevel" json:"bandwidth_level"`
	// cbMemoryCacheSize:  The size of the in-memory file cache for the Internet protocol
	// servers.
	MemoryCacheLength uint32 `idl:"name:cbMemoryCacheSize" json:"memory_cache_length"`
}

GlobalConfigInfo structure represents INET_INFO_GLOBAL_CONFIG_INFO RPC structure.

The INET_INFO_GLOBAL_CONFIG_INFO structure contains configuration data global to all the Internet protocol services managed by this protocol.

This type is declared as follows:

func (*GlobalConfigInfo) MarshalNDR

func (o *GlobalConfigInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GlobalConfigInfo) UnmarshalNDR

func (o *GlobalConfigInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type IISDisconnectUserRequest

type IISDisconnectUserRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServiceId: The identifier for the specified Internet protocol server, as specified
	// in section 2.2.2.
	ServiceID uint32 `idl:"name:dwServiceId" json:"service_id"`
	// dwInstance: The ID of the Internet protocol server instance whose user is being disconnected.
	Instance uint32 `idl:"name:dwInstance" json:"instance"`
	// dwIdUser: The identifier of the user to disconnect, as found in the idUser field
	// of the IIS_USER_INFO_1 structure returned by the R_IISEnumerateUsers method. A value
	// of 0 for this parameter indicates that the server implementation MUST attempt to
	// disconnect all users from this Internet protocol server instance.
	IDUser uint32 `idl:"name:dwIdUser" json:"id_user"`
}

IISDisconnectUserRequest structure represents the R_IISDisconnectUser operation request

func (*IISDisconnectUserRequest) MarshalNDR

func (o *IISDisconnectUserRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IISDisconnectUserRequest) UnmarshalNDR

func (o *IISDisconnectUserRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type IISDisconnectUserResponse

type IISDisconnectUserResponse struct {
	// Return: The R_IISDisconnectUser return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

IISDisconnectUserResponse structure represents the R_IISDisconnectUser operation response

func (*IISDisconnectUserResponse) MarshalNDR

func (o *IISDisconnectUserResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IISDisconnectUserResponse) UnmarshalNDR

func (o *IISDisconnectUserResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type IISEnumerateUsersRequest

type IISEnumerateUsersRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServiceId: The identifier for the specified Internet protocol server, as specified
	// in section 2.2.2.
	ServiceID uint32 `idl:"name:dwServiceId" json:"service_id"`
	// dwInstance: The ID of the Internet protocol server instance whose users are being
	// enumerated.
	Instance uint32 `idl:"name:dwInstance" json:"instance"`
	// InfoStruct: The pointer to an IIS_USER_ENUM_STRUCT that contains the list of active
	// users for this server.
	Info *IISUserEnum `idl:"name:InfoStruct" json:"info"`
}

IISEnumerateUsersRequest structure represents the R_IISEnumerateUsers operation request

func (*IISEnumerateUsersRequest) MarshalNDR

func (o *IISEnumerateUsersRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IISEnumerateUsersRequest) UnmarshalNDR

func (o *IISEnumerateUsersRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type IISEnumerateUsersResponse

type IISEnumerateUsersResponse struct {
	// InfoStruct: The pointer to an IIS_USER_ENUM_STRUCT that contains the list of active
	// users for this server.
	Info *IISUserEnum `idl:"name:InfoStruct" json:"info"`
	// Return: The R_IISEnumerateUsers return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

IISEnumerateUsersResponse structure represents the R_IISEnumerateUsers operation response

func (*IISEnumerateUsersResponse) MarshalNDR

func (o *IISEnumerateUsersResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IISEnumerateUsersResponse) UnmarshalNDR

func (o *IISEnumerateUsersResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type IISUserEnum

type IISUserEnum struct {
	// Level:  The value that indicates the level of detail in the information provided.
	// This member MUST be set to 1.
	Level uint32 `idl:"name:Level" json:"level"`
	// ConfigInfo:  The name of the contained union.
	ConfigInfo *IISUserEnum_ConfigInfo `idl:"name:ConfigInfo;switch_is:Level" json:"config_info"`
}

IISUserEnum structure represents IIS_USER_ENUM_STRUCT RPC structure.

The IIS_USER_ENUM_STRUCT structure contains a pointer to an IIS_USER_INFO_1_CONTAINER.

This type is declared as follows:

func (*IISUserEnum) MarshalNDR

func (o *IISUserEnum) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IISUserEnum) UnmarshalNDR

func (o *IISUserEnum) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type IISUserEnum_ConfigInfo

type IISUserEnum_ConfigInfo struct {
	// Types that are assignable to Value
	//
	// *IISUserEnum_ConfigInfo_Level1
	Value is_IISUserEnum_ConfigInfo `json:"value"`
}

IISUserEnum_ConfigInfo structure represents IIS_USER_ENUM_STRUCT union anonymous member.

The IIS_USER_ENUM_STRUCT structure contains a pointer to an IIS_USER_INFO_1_CONTAINER.

This type is declared as follows:

func (*IISUserEnum_ConfigInfo) GetValue

func (o *IISUserEnum_ConfigInfo) GetValue() any

func (*IISUserEnum_ConfigInfo) MarshalUnionNDR

func (o *IISUserEnum_ConfigInfo) MarshalUnionNDR(ctx context.Context, w ndr.Writer, sw uint32) error

func (*IISUserEnum_ConfigInfo) NDRSwitchValue

func (o *IISUserEnum_ConfigInfo) NDRSwitchValue(sw uint32) uint32

func (*IISUserEnum_ConfigInfo) UnmarshalUnionNDR

func (o *IISUserEnum_ConfigInfo) UnmarshalUnionNDR(ctx context.Context, w ndr.Reader, sw uint32) error

type IISUserEnum_ConfigInfo_Level1

type IISUserEnum_ConfigInfo_Level1 struct {
	// Level1:  The pointer to an IIS_USER_INFO_1_CONTAINER structure that contains the
	// user information collection.
	Level1 *IISUserInfo1Container `idl:"name:Level1" json:"level1"`
}

IISUserEnum_ConfigInfo_Level1 structure represents IISUserEnum_ConfigInfo RPC union arm.

It has following labels: 1

func (*IISUserEnum_ConfigInfo_Level1) MarshalNDR

func (*IISUserEnum_ConfigInfo_Level1) UnmarshalNDR

func (o *IISUserEnum_ConfigInfo_Level1) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type IISUserInfo1

type IISUserInfo1 struct {
	// idUser:  A unique identifier for the user.
	UserID uint32 `idl:"name:idUser" json:"user_id"`
	// pszUser:  A name for the user, not necessarily unique.
	User string `idl:"name:pszUser;string" json:"user"`
	// fAnonymous:  Indicates whether or not the user connected anonymously. This field
	// MUST be one of the following values.
	//
	//	+---------+-----------------------------------------+
	//	|         |                                         |
	//	|  VALUE  |                 MEANING                 |
	//	|         |                                         |
	//	+---------+-----------------------------------------+
	//	+---------+-----------------------------------------+
	//	| TRUE 1  | The user is logged on as Anonymous.     |
	//	+---------+-----------------------------------------+
	//	| FALSE 0 | The user is not logged on as Anonymous. |
	//	+---------+-----------------------------------------+
	Anonymous bool `idl:"name:fAnonymous" json:"anonymous"`
	// inetHost:  The host IPv4 address. Data is stored in network byte order.
	InetHost uint32 `idl:"name:inetHost" json:"inet_host"`
	// tConnect:  The user connection time measured in elapsed seconds.
	Connect uint32 `idl:"name:tConnect" json:"connect"`
}

IISUserInfo1 structure represents IIS_USER_INFO_1 RPC structure.

The IIS_USER_INFO_1 structure describes a user connected to an Internet protocol server.

This type is declared as follows:

func (*IISUserInfo1) MarshalNDR

func (o *IISUserInfo1) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IISUserInfo1) UnmarshalNDR

func (o *IISUserInfo1) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type IISUserInfo1Container

type IISUserInfo1Container struct {
	// EntriesRead:  The total number of IIS_USER_INFO objects in Buffer.
	EntriesRead uint32 `idl:"name:EntriesRead" json:"entries_read"`
	// Buffer:  The pointer to an array of IIS_USER_INFO_1 structures.
	Buffer []*IISUserInfo1 `idl:"name:Buffer;size_is:(EntriesRead)" json:"buffer"`
}

IISUserInfo1Container structure represents IIS_USER_INFO_1_CONTAINER RPC structure.

The IIS_USER_INFO_1_CONTAINER structure contains a list of IIS_USER_INFO_1 structures describing users who are actively connected to the Internet protocol server.

This type is declared as follows:

func (*IISUserInfo1Container) MarshalNDR

func (o *IISUserInfo1Container) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IISUserInfo1Container) UnmarshalNDR

func (o *IISUserInfo1Container) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type IPsecEntry

type IPsecEntry struct {
	// dwMask:  The subnet mask. Data is stored in network byte order.
	Mask uint32 `idl:"name:dwMask" json:"mask"`
	// dwNetwork:  The IP address. Data is stored in network byte order.
	Network uint32 `idl:"name:dwNetwork" json:"network"`
}

IPsecEntry structure represents INET_INFO_IP_SEC_ENTRY RPC structure.

The INET_INFO_IP_SEC_ENTRY structure contains Internet Protocol Security (IPv4) entries.

This type is declared as follows:

func (*IPsecEntry) MarshalNDR

func (o *IPsecEntry) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IPsecEntry) UnmarshalNDR

func (o *IPsecEntry) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type IPsecList

type IPsecList struct {
	// cEntries:  The number of entries contained in the list.
	EntriesCount uint32 `idl:"name:cEntries" json:"entries_count"`
	// aIPSecEntry:  An array of INET_INFO_IP_SEC_ENTRY entries.
	IPsecEntry []*IPsecEntry `idl:"name:aIPSecEntry;size_is:(cEntries)" json:"ipsec_entry"`
}

IPsecList structure represents INET_INFO_IP_SEC_LIST RPC structure.

The INET_INFO_IP_SEC_LIST structure contains a list of INET_INFO_IP_SEC_ENTRY entries.

This type is declared as follows:

func (*IPsecList) MarshalNDR

func (o *IPsecList) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IPsecList) NDRSizeInfo

func (o *IPsecList) NDRSizeInfo() []uint64

func (*IPsecList) UnmarshalNDR

func (o *IPsecList) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type InetLogConfiguration

type InetLogConfiguration struct {
	// inetLogType:  A 32-bit integer that specifies the type of log to be written. This
	// field MUST be set to one of the following values.
	//
	//	+------------------------------+-------------------------------------------------------------------+
	//	|                              |                                                                   |
	//	|            VALUE             |                              MEANING                              |
	//	|                              |                                                                   |
	//	+------------------------------+-------------------------------------------------------------------+
	//	+------------------------------+-------------------------------------------------------------------+
	//	| INET_LOG_DISABLED 0x00000000 | Logging is disabled.                                              |
	//	+------------------------------+-------------------------------------------------------------------+
	//	| INET_LOG_TO_FILE 0x00000001  | The log is written to a file.                                     |
	//	+------------------------------+-------------------------------------------------------------------+
	//	| INET_LOG_TO_SQL 0x00000002   | The log is written to a Structured Query Language (SQL) database. |
	//	+------------------------------+-------------------------------------------------------------------+
	//	| INET_LOG_INVALID 0xFFFFFFFF  | The log is not valid.                                             |
	//	+------------------------------+-------------------------------------------------------------------+
	InetLogType uint32 `idl:"name:inetLogType" json:"inet_log_type"`
	// ilPeriod:  Specifies the periodicity of Internet protocol server logging. This field
	// MUST be set to one of the following values.
	//
	//	+------------------------------------+------------------------------+
	//	|                                    |                              |
	//	|               VALUE                |           MEANING            |
	//	|                                    |                              |
	//	+------------------------------------+------------------------------+
	//	+------------------------------------+------------------------------+
	//	| INET_LOG_PERIOD_NONE 0x00000000    | There is no log period.      |
	//	+------------------------------------+------------------------------+
	//	| INET_LOG_PERIOD_DAILY 0x00000001   | The log period is daily.     |
	//	+------------------------------------+------------------------------+
	//	| INET_LOG_PERIOD_WEEKLY 0x00000002  | The log period is weekly.    |
	//	+------------------------------------+------------------------------+
	//	| INET_LOG_PERIOD_MONTHLY 0x00000003 | The log period is monthly.   |
	//	+------------------------------------+------------------------------+
	//	| INET_LOG_PERIOD_HOURLY 0x00000004  | The log period is hourly.    |
	//	+------------------------------------+------------------------------+
	//	| INET_LOG_PERIOD_YEARLY 0x00000005  | The log period is yearly.    |
	//	+------------------------------------+------------------------------+
	//	| INET_LOG_PERIOD_INVALID 0xFFFFFFFF | The log period is not valid. |
	//	+------------------------------------+------------------------------+
	Period uint32 `idl:"name:ilPeriod" json:"period"`
	// rgchLogFileDirectory:  A null-terminated string that specifies the destination of
	// the Internet protocol server log.
	LogFileDirectory []uint16 `idl:"name:rgchLogFileDirectory" json:"log_file_directory"`
	// cbSizeForTruncation:  Specifies the maximum size in bytes for each log file.
	LengthForTruncation uint32 `idl:"name:cbSizeForTruncation" json:"length_for_truncation"`
	// rgchDataSource:  A null-terminated string that specifies the Open Database Connectivity
	// (ODBC) data source name to which the Internet protocol server log is to be written.
	DataSource []uint16 `idl:"name:rgchDataSource" json:"data_source"`
	// rgchTableName:  A null-terminated string that specifies the name of the table on
	// rgchDataSource to which the Internet protocol server log is to be written.
	TableName []uint16 `idl:"name:rgchTableName" json:"table_name"`
	// rgchUserName:  A null-terminated string that specifies the name of the user for the
	// ODBC connection.
	UserName []uint16 `idl:"name:rgchUserName" json:"user_name"`
	// rgchPassword:  A null-terminated string that specifies the password associated with
	// the rgchUserName user name.
	Password []uint16 `idl:"name:rgchPassword" json:"password"`
}

InetLogConfiguration structure represents INET_LOG_CONFIGURATION RPC structure.

The INET_LOG_CONFIGURATION structure contains configuration information for Internet protocol server logging.

This type is declared as follows:

func (*InetLogConfiguration) MarshalNDR

func (o *InetLogConfiguration) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*InetLogConfiguration) UnmarshalNDR

func (o *InetLogConfiguration) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type InetinfoClient

type InetinfoClient interface {

	// The R_InetInfoGetVersion method is called by the client. In response, the server
	// returns its version information.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	//
	// The value returned in pdwVersion SHOULD<9> correspond to the version of the Internet
	// protocol servers managed by the Internet Information Services (IIS) Inetinfo Remote
	// Protocol server.
	GetVersion(context.Context, *GetVersionRequest, ...dcerpc.CallOption) (*GetVersionResponse, error)

	// The R_InetInfoGetAdminInformation method is called by the client. In response, the
	// server retrieves configuration data for the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	GetAdminInformation(context.Context, *GetAdminInformationRequest, ...dcerpc.CallOption) (*GetAdminInformationResponse, error)

	// The R_InetInfoGetSites method is called by the client. In response, the server retrieves
	// a list of server instances for the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+-----------------------------+
	//	|               RETURN                |                             |
	//	|             VALUE/CODE              |         DESCRIPTION         |
	//	|                                     |                             |
	//	+-------------------------------------+-----------------------------+
	//	+-------------------------------------+-----------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running. |
	//	+-------------------------------------+-----------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	GetSites(context.Context, *GetSitesRequest, ...dcerpc.CallOption) (*GetSitesResponse, error)

	// The R_InetInfoSetAdminInformation method is called by the client. In response, the
	// server sets configurable properties for the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2, or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	SetAdminInformation(context.Context, *SetAdminInformationRequest, ...dcerpc.CallOption) (*SetAdminInformationResponse, error)

	// The R_InetInfoGetGlobalAdminInformation method is called by the client. In response,
	// the server retrieves configuration data shared by all Internet protocol servers.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	GetGlobalAdminInformation(context.Context, *GetGlobalAdminInformationRequest, ...dcerpc.CallOption) (*GetGlobalAdminInformationResponse, error)

	// The R_InetInfoSetGlobalAdminInformation assigns global settings for all Internet
	// protocol servers present on the host system.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+--------------------------------+-------------------------------+
	//	|             RETURN             |                               |
	//	|           VALUE/CODE           |          DESCRIPTION          |
	//	|                                |                               |
	//	+--------------------------------+-------------------------------+
	//	+--------------------------------+-------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED | Access is denied.             |
	//	+--------------------------------+-------------------------------+
	//	| 0x00000032 ERROR_NOT_SUPPORTED | The request is not supported. |
	//	+--------------------------------+-------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	SetGlobalAdminInformation(context.Context, *SetGlobalAdminInformationRequest, ...dcerpc.CallOption) (*SetGlobalAdminInformationResponse, error)

	// The R_InetInfoQueryStatistics method is called by the client. In response, the server
	// retrieves statistical data for the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The following table describes possible error code values.
	//
	//	+--------------------------------+---------------------------------------+
	//	|             RETURN             |                                       |
	//	|           VALUE/CODE           |              DESCRIPTION              |
	//	|                                |                                       |
	//	+--------------------------------+---------------------------------------+
	//	+--------------------------------+---------------------------------------+
	//	| 0x0000007C ERROR_INVALID_LEVEL | The system call level is not correct. |
	//	+--------------------------------+---------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	QueryStatistics(context.Context, *QueryStatisticsRequest, ...dcerpc.CallOption) (*QueryStatisticsResponse, error)

	// The R_InetInfoClearStatistics is called by the client. In response, the server resets
	// the statistical data maintained by the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+------------------------------------+-------------------------------+
	//	|               RETURN               |                               |
	//	|             VALUE/CODE             |          DESCRIPTION          |
	//	|                                    |                               |
	//	+------------------------------------+-------------------------------+
	//	+------------------------------------+-------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED     | Access is denied.             |
	//	+------------------------------------+-------------------------------+
	//	| 0x00000032 ERROR_NOT_SUPPORTED     | The request is not supported. |
	//	+------------------------------------+-------------------------------+
	//	| 0x00000057 ERROR_INVALID_PARAMETER | The parameter is incorrect.   |
	//	+------------------------------------+-------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	ClearStatistics(context.Context, *ClearStatisticsRequest, ...dcerpc.CallOption) (*ClearStatisticsResponse, error)

	// The R_InetInfoFlushMemoryCache method is called by the client. In response, the server
	// flushes data from the internal caches of the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or  [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+--------------------------------+-------------------+
	//	|             RETURN             |                   |
	//	|           VALUE/CODE           |    DESCRIPTION    |
	//	|                                |                   |
	//	+--------------------------------+-------------------+
	//	+--------------------------------+-------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED | Access is denied. |
	//	+--------------------------------+-------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	FlushMemoryCache(context.Context, *FlushMemoryCacheRequest, ...dcerpc.CallOption) (*FlushMemoryCacheResponse, error)

	// The R_InetInfoGetServerCapabilities method is called by the client. In response,
	// the server returns information on the features of the Internet protocol servers and
	// the host operating system.
	//
	// Return Values:  The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	GetServerCapabilities(context.Context, *GetServerCapabilitiesRequest, ...dcerpc.CallOption) (*GetServerCapabilitiesResponse, error)

	// The R_W3QueryStatistics2 method is called by the client. In response, the server
	// returns statistical data from the HTTP server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x0000007C ERROR_INVALID_LEVEL      | The system call level is not correct.      |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	W3QueryStatistics2(context.Context, *W3QueryStatistics2Request, ...dcerpc.CallOption) (*W3QueryStatistics2Response, error)

	// The R_W3ClearStatistics2 method is called by the client. In response, the server
	// resets statistical data for the HTTP server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	W3ClearStatistics2(context.Context, *W3ClearStatistics2Request, ...dcerpc.CallOption) (*W3ClearStatistics2Response, error)

	// The R_FtpQueryStatistics2 method is called by the client. In response, the server
	// returns statistical data from the FTP server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x0000007C ERROR_INVALID_LEVEL      | The system call level is not correct.      |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	FTPQueryStatistics2(context.Context, *FTPQueryStatistics2Request, ...dcerpc.CallOption) (*FTPQueryStatistics2Response, error)

	// The R_FtpClearStatistics2 method is called by the client. In response, the server
	// resets statistical data for the FTP server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	FTPClearStatistics2(context.Context, *FTPClearStatistics2Request, ...dcerpc.CallOption) (*FTPClearStatistics2Response, error)

	// The R_IISEnumerateUsers method is called by the client. In response, the server returns
	// a list of clients connected to the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or[MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	IISEnumerateUsers(context.Context, *IISEnumerateUsersRequest, ...dcerpc.CallOption) (*IISEnumerateUsersResponse, error)

	// The R_IISDisconnectUser method is called by the client. In response, the server disconnects
	// the specified user from the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or[MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x000008AD NERR_UserNotFound        | The user name could not be found.          |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	IISDisconnectUser(context.Context, *IISDisconnectUserRequest, ...dcerpc.CallOption) (*IISDisconnectUserResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// Conn returns the client connection (unsafe)
	Conn() dcerpc.Conn
}

inetinfo interface.

func NewInetinfoClient

func NewInetinfoClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (InetinfoClient, error)

type InetinfoServer

type InetinfoServer interface {

	// The R_InetInfoGetVersion method is called by the client. In response, the server
	// returns its version information.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	//
	// The value returned in pdwVersion SHOULD<9> correspond to the version of the Internet
	// protocol servers managed by the Internet Information Services (IIS) Inetinfo Remote
	// Protocol server.
	GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)

	// The R_InetInfoGetAdminInformation method is called by the client. In response, the
	// server retrieves configuration data for the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	GetAdminInformation(context.Context, *GetAdminInformationRequest) (*GetAdminInformationResponse, error)

	// The R_InetInfoGetSites method is called by the client. In response, the server retrieves
	// a list of server instances for the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+-----------------------------+
	//	|               RETURN                |                             |
	//	|             VALUE/CODE              |         DESCRIPTION         |
	//	|                                     |                             |
	//	+-------------------------------------+-----------------------------+
	//	+-------------------------------------+-----------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running. |
	//	+-------------------------------------+-----------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	GetSites(context.Context, *GetSitesRequest) (*GetSitesResponse, error)

	// The R_InetInfoSetAdminInformation method is called by the client. In response, the
	// server sets configurable properties for the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2, or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	SetAdminInformation(context.Context, *SetAdminInformationRequest) (*SetAdminInformationResponse, error)

	// The R_InetInfoGetGlobalAdminInformation method is called by the client. In response,
	// the server retrieves configuration data shared by all Internet protocol servers.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	GetGlobalAdminInformation(context.Context, *GetGlobalAdminInformationRequest) (*GetGlobalAdminInformationResponse, error)

	// The R_InetInfoSetGlobalAdminInformation assigns global settings for all Internet
	// protocol servers present on the host system.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+--------------------------------+-------------------------------+
	//	|             RETURN             |                               |
	//	|           VALUE/CODE           |          DESCRIPTION          |
	//	|                                |                               |
	//	+--------------------------------+-------------------------------+
	//	+--------------------------------+-------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED | Access is denied.             |
	//	+--------------------------------+-------------------------------+
	//	| 0x00000032 ERROR_NOT_SUPPORTED | The request is not supported. |
	//	+--------------------------------+-------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	SetGlobalAdminInformation(context.Context, *SetGlobalAdminInformationRequest) (*SetGlobalAdminInformationResponse, error)

	// The R_InetInfoQueryStatistics method is called by the client. In response, the server
	// retrieves statistical data for the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The following table describes possible error code values.
	//
	//	+--------------------------------+---------------------------------------+
	//	|             RETURN             |                                       |
	//	|           VALUE/CODE           |              DESCRIPTION              |
	//	|                                |                                       |
	//	+--------------------------------+---------------------------------------+
	//	+--------------------------------+---------------------------------------+
	//	| 0x0000007C ERROR_INVALID_LEVEL | The system call level is not correct. |
	//	+--------------------------------+---------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	QueryStatistics(context.Context, *QueryStatisticsRequest) (*QueryStatisticsResponse, error)

	// The R_InetInfoClearStatistics is called by the client. In response, the server resets
	// the statistical data maintained by the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+------------------------------------+-------------------------------+
	//	|               RETURN               |                               |
	//	|             VALUE/CODE             |          DESCRIPTION          |
	//	|                                    |                               |
	//	+------------------------------------+-------------------------------+
	//	+------------------------------------+-------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED     | Access is denied.             |
	//	+------------------------------------+-------------------------------+
	//	| 0x00000032 ERROR_NOT_SUPPORTED     | The request is not supported. |
	//	+------------------------------------+-------------------------------+
	//	| 0x00000057 ERROR_INVALID_PARAMETER | The parameter is incorrect.   |
	//	+------------------------------------+-------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	ClearStatistics(context.Context, *ClearStatisticsRequest) (*ClearStatisticsResponse, error)

	// The R_InetInfoFlushMemoryCache method is called by the client. In response, the server
	// flushes data from the internal caches of the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or  [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+--------------------------------+-------------------+
	//	|             RETURN             |                   |
	//	|           VALUE/CODE           |    DESCRIPTION    |
	//	|                                |                   |
	//	+--------------------------------+-------------------+
	//	+--------------------------------+-------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED | Access is denied. |
	//	+--------------------------------+-------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	FlushMemoryCache(context.Context, *FlushMemoryCacheRequest) (*FlushMemoryCacheResponse, error)

	// The R_InetInfoGetServerCapabilities method is called by the client. In response,
	// the server returns information on the features of the Internet protocol servers and
	// the host operating system.
	//
	// Return Values:  The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	GetServerCapabilities(context.Context, *GetServerCapabilitiesRequest) (*GetServerCapabilitiesResponse, error)

	// The R_W3QueryStatistics2 method is called by the client. In response, the server
	// returns statistical data from the HTTP server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x0000007C ERROR_INVALID_LEVEL      | The system call level is not correct.      |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	W3QueryStatistics2(context.Context, *W3QueryStatistics2Request) (*W3QueryStatistics2Response, error)

	// The R_W3ClearStatistics2 method is called by the client. In response, the server
	// resets statistical data for the HTTP server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	W3ClearStatistics2(context.Context, *W3ClearStatistics2Request) (*W3ClearStatistics2Response, error)

	// The R_FtpQueryStatistics2 method is called by the client. In response, the server
	// returns statistical data from the FTP server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x0000007C ERROR_INVALID_LEVEL      | The system call level is not correct.      |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	FTPQueryStatistics2(context.Context, *FTPQueryStatistics2Request) (*FTPQueryStatistics2Response, error)

	// The R_FtpClearStatistics2 method is called by the client. In response, the server
	// resets statistical data for the FTP server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or [MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	FTPClearStatistics2(context.Context, *FTPClearStatistics2Request) (*FTPClearStatistics2Response, error)

	// The R_IISEnumerateUsers method is called by the client. In response, the server returns
	// a list of clients connected to the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or[MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	IISEnumerateUsers(context.Context, *IISEnumerateUsersRequest) (*IISEnumerateUsersResponse, error)

	// The R_IISDisconnectUser method is called by the client. In response, the server disconnects
	// the specified user from the specified Internet protocol server.
	//
	// Return Values: The method returns 0 (ERROR_SUCCESS) to indicate success; otherwise,
	// it returns a nonzero error code, as specified in [MS-ERREF] section 2.2 or[MS-ERREF]
	// section 2.3.1. The most common error codes are listed in the following table.
	//
	//	+-------------------------------------+--------------------------------------------+
	//	|               RETURN                |                                            |
	//	|             VALUE/CODE              |                DESCRIPTION                 |
	//	|                                     |                                            |
	//	+-------------------------------------+--------------------------------------------+
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000002 ERROR_FILE_NOT_FOUND     | The system cannot find the specified file. |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000005 ERROR_ACCESS_DENIED      | Access is denied.                          |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x00000426 ERROR_SERVICE_NOT_ACTIVE | The service is not running.                |
	//	+-------------------------------------+--------------------------------------------+
	//	| 0x000008AD NERR_UserNotFound        | The user name could not be found.          |
	//	+-------------------------------------+--------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol, as specified in [MS-RPCE].
	IISDisconnectUser(context.Context, *IISDisconnectUserRequest) (*IISDisconnectUserResponse, error)
}

inetinfo server interface.

type QueryStatisticsRequest

type QueryStatisticsRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// Level: The level of detail to be retrieved. This member MUST be set to 0. If another
	// value is sent by the client, the server MUST return ERROR_INVALID_LEVEL (0x0000007C).
	Level uint32 `idl:"name:Level" json:"level"`
	// dwServerMask:  The identifier for the target Internet protocol server, as specified
	// in section 2.2.2. A value of 0 indicates that aggregate statistical data is to be
	// returned for all protocol servers.
	ServerMask uint32 `idl:"name:dwServerMask" json:"server_mask"`
}

QueryStatisticsRequest structure represents the R_InetInfoQueryStatistics operation request

func (*QueryStatisticsRequest) MarshalNDR

func (o *QueryStatisticsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*QueryStatisticsRequest) UnmarshalNDR

func (o *QueryStatisticsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type QueryStatisticsResponse

type QueryStatisticsResponse struct {
	// XXX: Level is an implicit input depedency for output parameters
	Level uint32 `idl:"name:Level" json:"level"`

	// StatsInfo: The pointer to an INET_INFO_STATISTICS_INFO union that contains the data
	// to be returned.
	StatsInfo *StatisticsInfo `idl:"name:StatsInfo;switch_is:Level" json:"stats_info"`
	// Return: The R_InetInfoQueryStatistics return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

QueryStatisticsResponse structure represents the R_InetInfoQueryStatistics operation response

func (*QueryStatisticsResponse) MarshalNDR

func (o *QueryStatisticsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*QueryStatisticsResponse) UnmarshalNDR

func (o *QueryStatisticsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetAdminInformationRequest

type SetAdminInformationRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServerMask: The identifier for the target Internet protocol server, as specified
	// in section 2.2.2.
	ServerMask uint32 `idl:"name:dwServerMask" json:"server_mask"`
	// pConfig: The pointer to an INET_INFO_CONFIG_INFO structure containing the property
	// configuration to set. The client MUST set the appropriate flag in the FieldControl
	// member for any data field in pConfig that is to be set by the server.
	Config *ConfigInfo `idl:"name:pConfig;pointer:ref" json:"config"`
}

SetAdminInformationRequest structure represents the R_InetInfoSetAdminInformation operation request

func (*SetAdminInformationRequest) MarshalNDR

func (o *SetAdminInformationRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetAdminInformationRequest) UnmarshalNDR

func (o *SetAdminInformationRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetAdminInformationResponse

type SetAdminInformationResponse struct {
	// Return: The R_InetInfoSetAdminInformation return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetAdminInformationResponse structure represents the R_InetInfoSetAdminInformation operation response

func (*SetAdminInformationResponse) MarshalNDR

func (*SetAdminInformationResponse) UnmarshalNDR

func (o *SetAdminInformationResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetGlobalAdminInformationRequest

type SetGlobalAdminInformationRequest struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwServerMask: This value MUST be ignored by the server.
	ServerMask uint32 `idl:"name:dwServerMask" json:"server_mask"`
	// pConfig: The pointer to an INET_INFO_GLOBAL_CONFIG_INFO structure that contains global
	// administrative information.
	Config *GlobalConfigInfo `idl:"name:pConfig;pointer:ref" json:"config"`
}

SetGlobalAdminInformationRequest structure represents the R_InetInfoSetGlobalAdminInformation operation request

func (*SetGlobalAdminInformationRequest) MarshalNDR

func (*SetGlobalAdminInformationRequest) UnmarshalNDR

type SetGlobalAdminInformationResponse

type SetGlobalAdminInformationResponse struct {
	// Return: The R_InetInfoSetGlobalAdminInformation return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetGlobalAdminInformationResponse structure represents the R_InetInfoSetGlobalAdminInformation operation response

func (*SetGlobalAdminInformationResponse) MarshalNDR

func (*SetGlobalAdminInformationResponse) UnmarshalNDR

type SiteEntry

type SiteEntry struct {
	Comment  string `idl:"name:pszComment;string" json:"comment"`
	Instance uint32 `idl:"name:dwInstance" json:"instance"`
}

SiteEntry structure represents INET_INFO_SITE_ENTRY RPC structure.

The INET_INFO_SITE_ENTRY structure contains information describing an Internet protocol server instance.

This type is declared as follows:

pszComment: The server instance comment.

dwInstance: The server instance identifier.

func (*SiteEntry) MarshalNDR

func (o *SiteEntry) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SiteEntry) UnmarshalNDR

func (o *SiteEntry) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type SiteList

type SiteList struct {
	// cEntries:  The number of entries contained in the list.
	EntriesCount uint32 `idl:"name:cEntries" json:"entries_count"`
	// aSiteEntry:   An array of INET_INFO_SITE_ENTRY site entries.
	SiteEntry []*SiteEntry `idl:"name:aSiteEntry;size_is:(cEntries)" json:"site_entry"`
}

SiteList structure represents INET_INFO_SITE_LIST RPC structure.

The INET_INFO_SITE_LIST structure contains a list of INET_INFO_SITE_ENTRY site entries.

This type is declared as follows:

func (*SiteList) MarshalNDR

func (o *SiteList) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SiteList) NDRSizeInfo

func (o *SiteList) NDRSizeInfo() []uint64

func (*SiteList) UnmarshalNDR

func (o *SiteList) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type Statistics0

type Statistics0 struct {
	// CacheCtrs:  The structure of type INETA_CACHE_STATISTICS that contains statistics
	// on the Internet protocol server cache.
	CacheCounters *CacheStatistics `idl:"name:CacheCtrs" json:"cache_counters"`
	// AtqCtrs:  The structure of type INETA_ATQ_STATISTICS that contains statistics on
	// the Internet protocol server network I/O.
	ATQCounters *ATQStatistics `idl:"name:AtqCtrs" json:"atq_counters"`
	// nAuxCounters:  The number of initialized elements in rgCounters. MUST be 0.
	AuxCounters uint32 `idl:"name:nAuxCounters" json:"aux_counters"`
	// rgCounters:  An array of 20 elements. This field is unused and MUST be ignored by
	// clients.
	Counters []uint32 `idl:"name:rgCounters" json:"counters"`
}

Statistics0 structure represents INET_INFO_STATISTICS_0 RPC structure.

The INET_INFO_STATISTICS_0 structure contains statistics for an Internet protocol server.

This type is declared as follows:

func (*Statistics0) MarshalNDR

func (o *Statistics0) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*Statistics0) UnmarshalNDR

func (o *Statistics0) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type StatisticsInfo

type StatisticsInfo struct {
	// Types that are assignable to Value
	//
	// *StatisticsInfo_InetStats0
	Value is_StatisticsInfo `json:"value"`
}

StatisticsInfo structure represents INET_INFO_STATISTICS_INFO RPC union.

func (*StatisticsInfo) GetValue

func (o *StatisticsInfo) GetValue() any

func (*StatisticsInfo) MarshalUnionNDR

func (o *StatisticsInfo) MarshalUnionNDR(ctx context.Context, w ndr.Writer, sw uint32) error

func (*StatisticsInfo) NDRSwitchValue

func (o *StatisticsInfo) NDRSwitchValue(sw uint32) uint32

func (*StatisticsInfo) UnmarshalUnionNDR

func (o *StatisticsInfo) UnmarshalUnionNDR(ctx context.Context, w ndr.Reader, sw uint32) error

type StatisticsInfo_InetStats0

type StatisticsInfo_InetStats0 struct {
	InetStats0 *Statistics0 `idl:"name:InetStats0" json:"inet_stats0"`
}

StatisticsInfo_InetStats0 structure represents INET_INFO_STATISTICS_INFO RPC union arm.

It has following labels: 0

func (*StatisticsInfo_InetStats0) MarshalNDR

func (o *StatisticsInfo_InetStats0) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*StatisticsInfo_InetStats0) UnmarshalNDR

func (o *StatisticsInfo_InetStats0) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type UnimplementedInetinfoServer added in v1.1.5

type UnimplementedInetinfoServer struct {
}

Unimplemented inetinfo

func (UnimplementedInetinfoServer) ClearStatistics added in v1.1.5

func (UnimplementedInetinfoServer) FTPClearStatistics2 added in v1.1.5

func (UnimplementedInetinfoServer) FTPQueryStatistics2 added in v1.1.5

func (UnimplementedInetinfoServer) FlushMemoryCache added in v1.1.5

func (UnimplementedInetinfoServer) GetAdminInformation added in v1.1.5

func (UnimplementedInetinfoServer) GetGlobalAdminInformation added in v1.1.5

func (UnimplementedInetinfoServer) GetServerCapabilities added in v1.1.5

func (UnimplementedInetinfoServer) GetSites added in v1.1.5

func (UnimplementedInetinfoServer) GetVersion added in v1.1.5

func (UnimplementedInetinfoServer) IISDisconnectUser added in v1.1.5

func (UnimplementedInetinfoServer) IISEnumerateUsers added in v1.1.5

func (UnimplementedInetinfoServer) QueryStatistics added in v1.1.5

func (UnimplementedInetinfoServer) SetAdminInformation added in v1.1.5

func (UnimplementedInetinfoServer) SetGlobalAdminInformation added in v1.1.5

func (UnimplementedInetinfoServer) W3ClearStatistics2 added in v1.1.5

func (UnimplementedInetinfoServer) W3QueryStatistics2 added in v1.1.5

type VirtualRootEntry

type VirtualRootEntry struct {
	Root            string   `idl:"name:pszRoot;string" json:"root"`
	Address         string   `idl:"name:pszAddress;string" json:"address"`
	Directory       string   `idl:"name:pszDirectory;string" json:"directory"`
	Mask            uint32   `idl:"name:dwMask" json:"mask"`
	AccountName     string   `idl:"name:pszAccountName;string" json:"account_name"`
	AccountPassword []uint16 `idl:"name:AccountPassword" json:"account_password"`
	Error           uint32   `idl:"name:dwError" json:"error"`
}

VirtualRootEntry structure represents INET_INFO_VIRTUAL_ROOT_ENTRY RPC structure.

The INET_INFO_VIRTUAL_ROOT_ENTRY structure contains data describing a virtual root for the Internet protocol server instance.

This type is declared as follows:

pszRoot: The virtual root name.

pszAddress: The optional IP address.

pszDirectory: The physical directory.

dwMask: The Access Mask for this virtual root.

pszAccountName: The account to connect as.

AccountPassword: Null-terminated WCHAR array containing the password for pszAccountName.<5>

dwError: The error code stored for the virtual root.

func (*VirtualRootEntry) MarshalNDR

func (o *VirtualRootEntry) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*VirtualRootEntry) UnmarshalNDR

func (o *VirtualRootEntry) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type VirtualRootList

type VirtualRootList struct {
	// cEntries:  The number of entries contained in the list.
	EntriesCount uint32 `idl:"name:cEntries" json:"entries_count"`
	// aVirtRootEntry:  An array of INET_INFO_VIRTUAL_ROOT_ENTRY entries.
	VirtRootEntry []*VirtualRootEntry `idl:"name:aVirtRootEntry;size_is:(cEntries)" json:"virt_root_entry"`
}

VirtualRootList structure represents INET_INFO_VIRTUAL_ROOT_LIST RPC structure.

The INET_INFO_VIRTUAL_ROOT_LIST structure contains a list of INET_INFO_VIRTUAL_ROOT_ENTRY virtual root entries.

This type is declared as follows:

func (*VirtualRootList) MarshalNDR

func (o *VirtualRootList) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*VirtualRootList) NDRSizeInfo

func (o *VirtualRootList) NDRSizeInfo() []uint64

func (*VirtualRootList) UnmarshalNDR

func (o *VirtualRootList) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type W3ClearStatistics2Request

type W3ClearStatistics2Request struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. Value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwInstance: The ID of the protocol server instance whose statistical data is being
	// cleared.
	Instance uint32 `idl:"name:dwInstance" json:"instance"`
}

W3ClearStatistics2Request structure represents the R_W3ClearStatistics2 operation request

func (*W3ClearStatistics2Request) MarshalNDR

func (o *W3ClearStatistics2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*W3ClearStatistics2Request) UnmarshalNDR

func (o *W3ClearStatistics2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type W3ClearStatistics2Response

type W3ClearStatistics2Response struct {
	// Return: The R_W3ClearStatistics2 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

W3ClearStatistics2Response structure represents the R_W3ClearStatistics2 operation response

func (*W3ClearStatistics2Response) MarshalNDR

func (o *W3ClearStatistics2Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*W3ClearStatistics2Response) UnmarshalNDR

func (o *W3ClearStatistics2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type W3QueryStatistics2Request

type W3QueryStatistics2Request struct {
	// pszServer: The custom binding handle for the target system, as specified in section
	// 2.1.1. The value MUST NOT be used by the server implementation.
	Server string `idl:"name:pszServer;string;pointer:unique" json:"server"`
	// dwLevel: The level of detail to be retrieved. This parameter MUST be set to 0 by
	// the client. Other values MUST generate a return code of ERROR_INVALID_LEVEL (0x0000007C).
	Level uint32 `idl:"name:dwLevel" json:"level"`
	// dwInstance: The ID of the protocol server instance whose statistical data is being
	// requested. The following values have special meanings.
	//
	//	+-------------+--------------------------------------------------------------------+
	//	|             |                                                                    |
	//	|    VALUE    |                              MEANING                               |
	//	|             |                                                                    |
	//	+-------------+--------------------------------------------------------------------+
	//	+-------------+--------------------------------------------------------------------+
	//	| 0x000000000 | Return global (not per server instance) statistics data.           |
	//	+-------------+--------------------------------------------------------------------+
	//	| 0xf0000003  | Return statistics aggregated across all protocol server instances. |
	//	+-------------+--------------------------------------------------------------------+
	Instance uint32 `idl:"name:dwInstance" json:"instance"`
}

W3QueryStatistics2Request structure represents the R_W3QueryStatistics2 operation request

func (*W3QueryStatistics2Request) MarshalNDR

func (o *W3QueryStatistics2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*W3QueryStatistics2Request) UnmarshalNDR

func (o *W3QueryStatistics2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type W3QueryStatistics2Response

type W3QueryStatistics2Response struct {
	// XXX: dwLevel is an implicit input depedency for output parameters
	Level uint32 `idl:"name:dwLevel" json:"level"`

	// InfoStruct: The pointer to a W3_STATISTICS_STRUCT union to contain the retrieved
	// statistics data.
	Info *W3Statistics `idl:"name:InfoStruct;switch_is:dwLevel" json:"info"`
	// Return: The R_W3QueryStatistics2 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

W3QueryStatistics2Response structure represents the R_W3QueryStatistics2 operation response

func (*W3QueryStatistics2Response) MarshalNDR

func (o *W3QueryStatistics2Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*W3QueryStatistics2Response) UnmarshalNDR

func (o *W3QueryStatistics2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type W3Statistics

type W3Statistics struct {
	// Types that are assignable to Value
	//
	// *W3Statistics_StatInfo1
	Value is_W3Statistics `json:"value"`
}

W3Statistics structure represents W3_STATISTICS_STRUCT RPC union.

func (*W3Statistics) GetValue

func (o *W3Statistics) GetValue() any

func (*W3Statistics) MarshalUnionNDR

func (o *W3Statistics) MarshalUnionNDR(ctx context.Context, w ndr.Writer, sw uint32) error

func (*W3Statistics) NDRSwitchValue

func (o *W3Statistics) NDRSwitchValue(sw uint32) uint32

func (*W3Statistics) UnmarshalUnionNDR

func (o *W3Statistics) UnmarshalUnionNDR(ctx context.Context, w ndr.Reader, sw uint32) error

type W3Statistics1

type W3Statistics1 struct {
	// TotalBytesSent:  The total number of bytes sent.
	TotalBytesSent *dtyp.LargeInteger `idl:"name:TotalBytesSent" json:"total_bytes_sent"`
	// TotalBytesReceived:  The total number of bytes received.
	TotalBytesReceived *dtyp.LargeInteger `idl:"name:TotalBytesReceived" json:"total_bytes_received"`
	// TotalFilesSent:  The total number of files sent by the HTTP server.
	TotalFilesSent uint32 `idl:"name:TotalFilesSent" json:"total_files_sent"`
	// TotalFilesReceived:  The total number of files received by the HTTP server.
	TotalFilesReceived uint32 `idl:"name:TotalFilesReceived" json:"total_files_received"`
	// CurrentAnonymousUsers:  The current number of anonymous users connected to the HTTP
	// server.
	CurrentAnonymousUsers uint32 `idl:"name:CurrentAnonymousUsers" json:"current_anonymous_users"`
	// CurrentNonAnonymousUsers:  The current number of non-anonymous users connected to
	// the HTTP server.
	CurrentNonAnonymousUsers uint32 `idl:"name:CurrentNonAnonymousUsers" json:"current_non_anonymous_users"`
	// TotalAnonymousUsers:  The total number of anonymous users that have ever connected
	// to the HTTP server.
	TotalAnonymousUsers uint32 `idl:"name:TotalAnonymousUsers" json:"total_anonymous_users"`
	// TotalNonAnonymousUsers:  The total number of non-anonymous users that have ever connected
	// to the HTTP server.
	TotalNonAnonymousUsers uint32 `idl:"name:TotalNonAnonymousUsers" json:"total_non_anonymous_users"`
	// MaxAnonymousUsers:  The maximum number of anonymous users who simultaneously connected
	// to the HTTP server.
	MaxAnonymousUsers uint32 `idl:"name:MaxAnonymousUsers" json:"max_anonymous_users"`
	// MaxNonAnonymousUsers:  The maximum number of non-anonymous users who simultaneously
	// connected to the HTTP server.
	MaxNonAnonymousUsers uint32 `idl:"name:MaxNonAnonymousUsers" json:"max_non_anonymous_users"`
	// CurrentConnections:  The current number of connections to the HTTP server.
	CurrentConnections uint32 `idl:"name:CurrentConnections" json:"current_connections"`
	// MaxConnections:  The maximum number of connections to the HTTP server.
	MaxConnections uint32 `idl:"name:MaxConnections" json:"max_connections"`
	// ConnectionAttempts:  The number of connection attempts that have been made to the
	// HTTP server.
	ConnectionAttempts uint32 `idl:"name:ConnectionAttempts" json:"connection_attempts"`
	// LogonAttempts:  The number of logon attempts that have been made to the HTTP server.
	LogonAttempts uint32 `idl:"name:LogonAttempts" json:"logon_attempts"`
	// TotalOptions:  The total number of HTTP requests made with the OPTIONS method.
	TotalOptions uint32 `idl:"name:TotalOptions" json:"total_options"`
	// TotalGets:  The total number of HTTP requests made using the GET method.
	TotalGets uint32 `idl:"name:TotalGets" json:"total_gets"`
	// TotalPosts:  The total number of HTTP requests made using the POST method.
	TotalPosts uint32 `idl:"name:TotalPosts" json:"total_posts"`
	// TotalHeads:  The total number of HTTP requests made using the HEAD method.
	TotalHeads uint32 `idl:"name:TotalHeads" json:"total_heads"`
	// TotalPuts:  The total number of HTTP requests made using the PUT method.
	TotalPuts uint32 `idl:"name:TotalPuts" json:"total_puts"`
	// TotalDeletes:  The total number of HTTP requests made using the DELETE method.
	TotalDeletes uint32 `idl:"name:TotalDeletes" json:"total_deletes"`
	// TotalTraces:   The total number of HTTP requests made using the TRACE method.
	TotalTraces uint32 `idl:"name:TotalTraces" json:"total_traces"`
	// TotalMove:   The total number of WebDAV requests made using the MOVE method. For
	// more information on WebDAV requests, see [RFC2518].
	TotalMove uint32 `idl:"name:TotalMove" json:"total_move"`
	// TotalCopy:  The total number of WebDAV requests made using the COPY method.
	TotalCopy uint32 `idl:"name:TotalCopy" json:"total_copy"`
	// TotalMkcol:  The total number of WebDAV requests made using the MKCOL method.
	TotalMkcol uint32 `idl:"name:TotalMkcol" json:"total_mkcol"`
	// TotalPropfind:  The total number of WebDAV requests made using the PROPFIND method.
	TotalPropfind uint32 `idl:"name:TotalPropfind" json:"total_propfind"`
	// TotalProppatch:  The total number of WebDAV requests made using the PROPPATCH method.
	TotalProppatch uint32 `idl:"name:TotalProppatch" json:"total_proppatch"`
	// TotalSearch:  The total number of requests made using the SEARCH method.
	TotalSearch uint32 `idl:"name:TotalSearch" json:"total_search"`
	// TotalLock:  The total number of WebDAV requests made using the LOCK method.
	TotalLock uint32 `idl:"name:TotalLock" json:"total_lock"`
	// TotalUnlock:  The total number of WebDAV requests made using the UNLOCK method.
	TotalUnlock uint32 `idl:"name:TotalUnlock" json:"total_unlock"`
	// TotalOthers:  The total number of HTTP requests made to methods not already listed.
	TotalOthers uint32 `idl:"name:TotalOthers" json:"total_others"`
	// TotalCGIRequests:  The total number of Common Gateway Interface (CGI) requests ever
	// made to the HTTP server.
	TotalCGIRequests uint32 `idl:"name:TotalCGIRequests" json:"total_cgi_requests"`
	// TotalBGIRequests:  The total number of Binary Gateway Interface (BGI) requests ever
	// made to the HTTP server.
	TotalBGIRequests uint32 `idl:"name:TotalBGIRequests" json:"total_bgi_requests"`
	// TotalNotFoundErrors:  The total number of requests that could not be satisfied by
	// the server because the requested document could not be found. These requests are
	// generally reported as an HTTP 404 error code to the client.
	TotalNotFoundErrors uint32 `idl:"name:TotalNotFoundErrors" json:"total_not_found_errors"`
	// TotalLockedErrors:  The total number of locked errors.
	TotalLockedErrors uint32 `idl:"name:TotalLockedErrors" json:"total_locked_errors"`
	// CurrentCalAuth:  The current number of Client Access Licenses (CALs) that are authorized
	// (for more information, see [MSFT-CAL]).
	CurrentCALAuth uint32 `idl:"name:CurrentCalAuth" json:"current_cal_auth"`
	// MaxCalAuth:  The maximum number of CALs that are authorized.
	MaxCALAuth uint32 `idl:"name:MaxCalAuth" json:"max_cal_auth"`
	// TotalFailedCalAuth:  The total number of failed CAL authorizations.
	TotalFailedCALAuth uint32 `idl:"name:TotalFailedCalAuth" json:"total_failed_cal_auth"`
	// CurrentCalSsl:  The current number of CALs for a Secure Sockets Layer (SSL) connection.
	CurrentCALSSL uint32 `idl:"name:CurrentCalSsl" json:"current_cal_ssl"`
	// MaxCalSsl:  The maximum number of CALs for an SSL connection.
	MaxCALSSL uint32 `idl:"name:MaxCalSsl" json:"max_cal_ssl"`
	// TotalFailedCalSsl:  The total number of failed CAL SSL connections.
	TotalFailedCALSSL uint32 `idl:"name:TotalFailedCalSsl" json:"total_failed_cal_ssl"`
	// CurrentCGIRequests:  The current number of CGI requests. For more information on
	// CGI, see [RFC3875].
	CurrentCGIRequests uint32 `idl:"name:CurrentCGIRequests" json:"current_cgi_requests"`
	// CurrentBGIRequests:  The current number of BGI requests.
	CurrentBGIRequests uint32 `idl:"name:CurrentBGIRequests" json:"current_bgi_requests"`
	// MaxCGIRequests:  The maximum number of CGI requests allowed.
	MaxCGIRequests uint32 `idl:"name:MaxCGIRequests" json:"max_cgi_requests"`
	// MaxBGIRequests:  The maximum number of BGI requests allowed.
	MaxBGIRequests uint32 `idl:"name:MaxBGIRequests" json:"max_bgi_requests"`
	// CurrentBlockedRequests:  The current number of blocked requests.
	CurrentBlockedRequests uint32 `idl:"name:CurrentBlockedRequests" json:"current_blocked_requests"`
	// TotalBlockedRequests:  The total number of blocked requests.
	TotalBlockedRequests uint32 `idl:"name:TotalBlockedRequests" json:"total_blocked_requests"`
	// TotalAllowedRequests:  The total number of allowed requests to the HTTP server.
	TotalAllowedRequests uint32 `idl:"name:TotalAllowedRequests" json:"total_allowed_requests"`
	// TotalRejectedRequests:  The total number of rejected requests.
	TotalRejectedRequests uint32 `idl:"name:TotalRejectedRequests" json:"total_rejected_requests"`
	// MeasuredBw:  The measured network bandwidth for the HTTP server.
	MeasuredBandwidth uint32 `idl:"name:MeasuredBw" json:"measured_bandwidth"`
	// ServiceUptime:  The HTTP server uptime.
	ServiceUptime uint32 `idl:"name:ServiceUptime" json:"service_uptime"`
	// TimeOfLastClear:  The time of the last clear.
	TimeOfLastClear uint32 `idl:"name:TimeOfLastClear" json:"time_of_last_clear"`
	// nAuxCounters:  The number of initialized elements in rgCounters. MUST be 0.
	AuxCounters uint32 `idl:"name:nAuxCounters" json:"aux_counters"`
	// rgCounters:  An array of 20 elements. This field is unused and MUST be ignored by
	// clients.
	Counters []uint32 `idl:"name:rgCounters" json:"counters"`
}

W3Statistics1 structure represents W3_STATISTICS_1 RPC structure.

The W3_STATISTICS_1 structure contains statistics on the usage of the HTTP server.

This type is declared as follows:

func (*W3Statistics1) MarshalNDR

func (o *W3Statistics1) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*W3Statistics1) UnmarshalNDR

func (o *W3Statistics1) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type W3Statistics_StatInfo1

type W3Statistics_StatInfo1 struct {
	StatInfo1 *W3Statistics1 `idl:"name:StatInfo1" json:"stat_info1"`
}

W3Statistics_StatInfo1 structure represents W3_STATISTICS_STRUCT RPC union arm.

It has following labels: 0

func (*W3Statistics_StatInfo1) MarshalNDR

func (o *W3Statistics_StatInfo1) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*W3Statistics_StatInfo1) UnmarshalNDR

func (o *W3Statistics_StatInfo1) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL