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

msrrasm

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

Index

type CERT\_BLOB\_1

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

type CERT_BLOB_1 struct {
    CbData ndr.DWORD
    PbData []uint8 `ndr:"unique,size_is=CbData"`
}

type CERT\_EKU\_1

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

type CERT_EKU_1 struct {
    DwSize   ndr.DWORD
    IsEKUOID ndr.BOOL
    PwszEKU  []uint16 `ndr:"unique,size_is=DwSize"`
}

type DHCPV6R\_GLOBAL\_CONFIG

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

type DHCPV6R_GLOBAL_CONFIG struct {
    GC_LoggingLevel     ndr.DWORD
    GC_MaxRecvQueueSize ndr.DWORD
    GC_ServerCount      ndr.DWORD
}

type DHCPV6R\_IF\_CONFIG

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

type DHCPV6R_IF_CONFIG struct {
    IC_State          ndr.DWORD
    IC_RelayMode      ndr.DWORD
    IC_MaxHopCount    ndr.DWORD
    IC_MinElapsedTime ndr.DWORD
}

type DHCPV6R\_IF\_STATS

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

type DHCPV6R_IF_STATS struct {
    IS_State             ndr.DWORD
    IS_SendFailures      ndr.DWORD
    IS_ReceiveFailures   ndr.DWORD
    IS_RequestsReceived  ndr.DWORD
    IS_RequestsDiscarded ndr.DWORD
    IS_RepliesReceived   ndr.DWORD
    IS_RepliesDiscarded  ndr.DWORD
}

type DHCPV6R\_MIB\_GET\_INPUT\_DATA

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

type DHCPV6R_MIB_GET_INPUT_DATA struct {
    IMGID_TypeID  ndr.DWORD
    IMGID_IfIndex ndr.DWORD
}

type DHCPV6R\_MIB\_GET\_OUTPUT\_DATA

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

type DHCPV6R_MIB_GET_OUTPUT_DATA struct {
    IMGOD_TypeID  ndr.DWORD
    IMGOD_IfIndex ndr.DWORD
    IMGOD_Buffer  [1]uint8
}

type DIM\_INFORMATION\_CONTAINER

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

type DIM_INFORMATION_CONTAINER struct {
    DwBufferSize ndr.DWORD
    PBuffer      []uint8 `ndr:"unique,size_is=DwBufferSize"`
}

type DIM\_INTERFACE\_CONTAINER

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

type DIM_INTERFACE_CONTAINER struct {
    FGetInterfaceInfo   ndr.DWORD
    DwInterfaceInfoSize ndr.DWORD
    PInterfaceInfo      []uint8 `ndr:"unique,size_is=DwInterfaceInfoSize"`
    FGetGlobalInfo      ndr.DWORD
    DwGlobalInfoSize    ndr.DWORD
    PGlobalInfo         []uint8 `ndr:"unique,size_is=DwGlobalInfoSize"`
}

type DIM\_MIB\_ENTRY\_CONTAINER

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

type DIM_MIB_ENTRY_CONTAINER struct {
    DwMibInEntrySize  ndr.DWORD
    PMibInEntry       []uint8 `ndr:"unique,size_is=DwMibInEntrySize"`
    DwMibOutEntrySize ndr.DWORD
    PMibOutEntry      []uint8 `ndr:"unique,size_is=DwMibOutEntrySize"`
}

type DeviceConfigInfo

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

type DeviceConfigInfo struct {
    Retcode   ndr.DWORD
    DwVersion ndr.DWORD
    CbBuffer  ndr.DWORD
    CEntries  ndr.DWORD
    Abdata    [1]uint8
}

type EAPTLS\_HASH

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

type EAPTLS_HASH struct {
    CbHash ndr.DWORD
    PbHash [20]uint8
}

type EAPTLS\_USER\_PROPERTIES

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

type EAPTLS_USER_PROPERTIES struct {
    Reserved        ndr.DWORD
    DwVersion       ndr.DWORD
    DwSize          ndr.DWORD
    FFlags          ndr.DWORD
    Hash            EAPTLS_HASH
    PwszDiffUser    *uint16 `ndr:"unique"`
    DwPinOffset     ndr.DWORD
    PwszPin         *uint16 `ndr:"unique"`
    UsLength        uint16
    UsMaximumLength uint16
    UcSeed          uint8
    AwszString      [1]uint16
}

type Enum

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

type Enum struct {
    Retcode ndr.DWORD
    Size    ndr.DWORD
    Entries ndr.DWORD
    Buffer  [1]uint8
}

type FILETIME

FILETIME is the [MS-DTYP] 2.3.3 64-bit timestamp. It is the shared msdtyp type, not a per-protocol redefinition: MS-RRASM references it but does not define it in its own IDL.

type FILETIME = msdtyp.FILETIME

type FILTER\_DESCRIPTOR

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

type FILTER_DESCRIPTOR struct {
    DwVersion       ndr.DWORD
    DwNumFilters    ndr.DWORD
    FaDefaultAction FORWARD_ACTION
    FiFilter        [1]FILTER_INFO
}

type FILTER\_DESCRIPTOR\_V6

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

type FILTER_DESCRIPTOR_V6 struct {
    DwVersion       ndr.DWORD
    DwNumFilters    ndr.DWORD
    FaDefaultAction FORWARD_ACTION
    FiFilter        [1]FILTER_INFO_V6
}

type FILTER\_INFO

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

type FILTER_INFO struct {
    DwSrcAddr  ndr.DWORD
    DwSrcMask  ndr.DWORD
    DwDstAddr  ndr.DWORD
    DwDstMask  ndr.DWORD
    DwProtocol ndr.DWORD
    FLateBound ndr.DWORD
    WSrcPort   uint16
    WDstPort   uint16
}

type FILTER\_INFO\_V6

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

type FILTER_INFO_V6 struct {
    Ipv6SrcAddr       [16]uint8
    DwSrcPrefixLength ndr.DWORD
    Ipv6DstAddr       [16]uint8
    DwDstPrefixLength ndr.DWORD
    DwProtocol        ndr.DWORD
    FLateBound        ndr.DWORD
    WSrcPort          uint16
    WDstPort          uint16
}

type FORWARD\_ACTION

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

type FORWARD_ACTION uint16
const (
    FORWARD FORWARD_ACTION = 0
    DROP    FORWARD_ACTION = 1
)

type GLOBAL\_INFO

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

type GLOBAL_INFO struct {
    BFilteringOn   ndr.BOOL
    DwLoggingLevel ndr.DWORD
}

type GetDevConfigStruct

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

type GetDevConfigStruct struct {
    Retcode    ndr.DWORD
    Devicetype [17]int8
    Size       ndr.DWORD
    Config     [1]uint8
}

type GetNdiswanDriverCapsStruct

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

type GetNdiswanDriverCapsStruct struct {
    Retcode           ndr.DWORD
    NdiswanDriverInfo RAS_NDISWAN_DRIVER_INFO
}

type GetSetCalledId

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

type GetSetCalledId struct {
    Retcode    ndr.DWORD
    FWrite     ndr.BOOL
    DwSize     ndr.DWORD
    GuidDevice guid.GUID
    Rdi        RAS_DEVICE_INFO
    RciInfo    RAS_CALLEDID_INFO
}

type HANDLE

HANDLE is the [MS-DTYP] 2.2.16 HANDLE. Within MS-RRASM it appears only inside fixed-layout structures carried in opaque buffers (e.g. RASMAN_INFO), where it is a 4-octet value in the protocol’s 32-bit representation. Defined with a fixed size (not a platform-dependent uintptr) so the wire layout is identical across GOARCH.

type HANDLE = uint32

type IFFILTER\_INFO

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

type IFFILTER_INFO struct {
    BEnableFragChk ndr.BOOL
}

type IF\_TABLE\_INDEX

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

type IF_TABLE_INDEX struct {
    InterfaceIndex ndr.DWORD
}

type IGMP\_MIB\_GET\_INPUT\_DATA

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

type IGMP_MIB_GET_INPUT_DATA struct {
    TypeId        ndr.DWORD
    Flags         uint16
    Signature     uint16
    IfIndex       ndr.DWORD
    RasClientAddr ndr.DWORD
    GroupAddr     ndr.DWORD
    Count         ndr.DWORD
}

type IGMP\_MIB\_GET\_OUTPUT\_DATA

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

type IGMP_MIB_GET_OUTPUT_DATA struct {
    TypeId ndr.DWORD
    Flags  ndr.DWORD
    Count  ndr.DWORD
    Buffer [1]uint8
}

type IGMP\_MIB\_GLOBAL\_CONFIG

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

type IGMP_MIB_GLOBAL_CONFIG struct {
    Version        ndr.DWORD
    LoggingLevel   ndr.DWORD
    RasClientStats ndr.DWORD
}

type IGMP\_MIB\_GLOBAL\_STATS

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

type IGMP_MIB_GLOBAL_STATS struct {
    CurrentGroupMemberships ndr.DWORD
    GroupMembershipsAdded   ndr.DWORD
}

type IGMP\_MIB\_GROUP\_IFS\_LIST

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

type IGMP_MIB_GROUP_IFS_LIST struct {
    GroupAddr     ndr.DWORD
    NumInterfaces ndr.DWORD
    Buffer        [1]uint8
}

type IGMP\_MIB\_GROUP\_INFO

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

type IGMP_MIB_GROUP_INFO struct {
    // IfIndex overlays GroupAddr (C union).
    IfIndex               ndr.DWORD
    IpAddr                ndr.DWORD
    GroupUpTime           ndr.DWORD
    GroupExpiryTime       ndr.DWORD
    LastReporter          ndr.DWORD
    V1HostPresentTimeLeft ndr.DWORD
    Flags                 ndr.DWORD
}

type IGMP\_MIB\_GROUP\_INFO\_V3

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

type IGMP_MIB_GROUP_INFO_V3 struct {
    // IfIndex overlays GroupAddr (C union).
    IfIndex               ndr.DWORD
    IpAddr                ndr.DWORD
    GroupUpTime           ndr.DWORD
    GroupExpiryTime       ndr.DWORD
    LastReporter          ndr.DWORD
    V1HostPresentTimeLeft ndr.DWORD
    Flags                 ndr.DWORD
    Version               ndr.DWORD
    Size                  ndr.DWORD
    FilterType            ndr.DWORD
    V2HostPresentTimeLeft ndr.DWORD
    NumSources            ndr.DWORD
}

type IGMP\_MIB\_GROUP\_SOURCE\_INFO\_V3

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

type IGMP_MIB_GROUP_SOURCE_INFO_V3 struct {
    Source           ndr.DWORD
    SourceExpiryTime ndr.DWORD
    SourceUpTime     ndr.DWORD
    Flags            ndr.DWORD
}

type IGMP\_MIB\_IF\_BINDING

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

type IGMP_MIB_IF_BINDING struct {
    IfIndex   ndr.DWORD
    IfType    ndr.DWORD
    State     ndr.DWORD
    AddrCount ndr.DWORD
}

type IGMP\_MIB\_IF\_CONFIG

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

type IGMP_MIB_IF_CONFIG struct {
    Version                     ndr.DWORD
    IfIndex                     ndr.DWORD
    IpAddr                      ndr.DWORD
    IfType                      ndr.DWORD
    Flags                       ndr.DWORD
    IgmpProtocolType            ndr.DWORD
    RobustnessVariable          ndr.DWORD
    StartupQueryInterval        ndr.DWORD
    StartupQueryCount           ndr.DWORD
    GenQueryInterval            ndr.DWORD
    GenQueryMaxResponseTime     ndr.DWORD
    LastMemQueryInterval        ndr.DWORD
    LastMemQueryCount           ndr.DWORD
    OtherQuerierPresentInterval ndr.DWORD
    GroupMembershipTimeout      ndr.DWORD
    NumStaticGroups             ndr.DWORD
}

type IGMP\_MIB\_IF\_GROUPS\_LIST

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

type IGMP_MIB_IF_GROUPS_LIST struct {
    IfIndex   ndr.DWORD
    IpAddr    ndr.DWORD
    IfType    ndr.DWORD
    NumGroups ndr.DWORD
    Buffer    [1]uint8
}

type IGMP\_MIB\_IF\_STATS

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

type IGMP_MIB_IF_STATS struct {
    IfIndex                   ndr.DWORD
    IpAddr                    ndr.DWORD
    IfType                    ndr.DWORD
    State                     uint8
    QuerierState              uint8
    IgmpProtocolType          ndr.DWORD
    QuerierIpAddr             ndr.DWORD
    ProxyIfIndex              ndr.DWORD
    QuerierPresentTimeLeft    ndr.DWORD
    LastQuerierChangeTime     ndr.DWORD
    V1QuerierPresentTimeLeft  ndr.DWORD
    Uptime                    ndr.DWORD
    TotalIgmpPacketsReceived  ndr.DWORD
    TotalIgmpPacketsForRouter ndr.DWORD
    GeneralQueriesReceived    ndr.DWORD
    WrongVersionQueries       ndr.DWORD
    JoinsReceived             ndr.DWORD
    LeavesReceived            ndr.DWORD
    CurrentGroupMemberships   ndr.DWORD
    GroupMembershipsAdded     ndr.DWORD
    WrongChecksumPackets      ndr.DWORD
    ShortPacketsReceived      ndr.DWORD
    LongPacketsReceived       ndr.DWORD
    PacketsWithoutRtrAlert    ndr.DWORD
}

type IKEV2\_CONFIG\_PARAMS\_1

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

type IKEV2_CONFIG_PARAMS_1 struct {
    DwNumPorts               ndr.DWORD
    DwPortFlags              ndr.DWORD
    DwTunnelConfigParamFlags ndr.DWORD
    TunnelConfigParams       IKEV2_TUNNEL_CONFIG_PARAMS_1
}

type IKEV2\_CONFIG\_PARAMS\_2

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

type IKEV2_CONFIG_PARAMS_2 struct {
    DwNumPorts               ndr.DWORD
    DwPortFlags              ndr.DWORD
    DwTunnelConfigParamFlags ndr.DWORD
    TunnelConfigParams       IKEV2_TUNNEL_CONFIG_PARAMS_2
}

type IKEV2\_CONFIG\_PARAMS\_3

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

type IKEV2_CONFIG_PARAMS_3 struct {
    DwNumPorts               ndr.DWORD
    DwPortFlags              ndr.DWORD
    DwTunnelConfigParamFlags ndr.DWORD
    TunnelConfigParams       IKEV2_TUNNEL_CONFIG_PARAMS_3
}

type IKEV2\_PROJECTION\_INFO\_1

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

type IKEV2_PROJECTION_INFO_1 struct {
    DwIPv4NegotiationError     ndr.DWORD
    WszAddress                 [16]uint16
    WszRemoteAddress           [16]uint16
    IPv4SubInterfaceIndex      uint64
    DwIPv6NegotiationError     ndr.DWORD
    BInterfaceIdentifier       [8]uint8
    BRemoteInterfaceIdentifier [8]uint8
    BPrefix                    [8]uint8
    DwPrefixLength             ndr.DWORD
    IPv6SubInterfaceIndex      uint64
    DwOptions                  ndr.DWORD
    DwAuthenticationProtocol   ndr.DWORD
    DwEapTypeId                ndr.DWORD
    DwCompressionAlgorithm     ndr.DWORD
    DwEncryptionMethod         ndr.DWORD
}

type IKEV2\_PROJECTION\_INFO\_2

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

type IKEV2_PROJECTION_INFO_2 struct {
    DwIPv4NegotiationError     ndr.DWORD
    WszAddress                 [16]uint16
    WszRemoteAddress           [16]uint16
    IPv4SubInterfaceIndex      uint64
    DwIPv6NegotiationError     ndr.DWORD
    BInterfaceIdentifier       [8]uint8
    BRemoteInterfaceIdentifier [8]uint8
    BPrefix                    [8]uint8
    DwPrefixLength             ndr.DWORD
    IPv6SubInterfaceIndex      uint64
    DwOptions                  ndr.DWORD
    DwAuthenticationProtocol   ndr.DWORD
    DwEapTypeId                ndr.DWORD
    DwEmbeddedEAPTypeId        ndr.DWORD
    DwCompressionAlgorithm     ndr.DWORD
    DwEncryptionMethod         ndr.DWORD
}

type IKEV2\_TUNNEL\_CONFIG\_PARAMS\_1

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

type IKEV2_TUNNEL_CONFIG_PARAMS_1 struct {
    DwIdleTimeout                ndr.DWORD
    DwNetworkBlackoutTime        ndr.DWORD
    DwSaLifeTime                 ndr.DWORD
    DwSaDataSizeForRenegotiation ndr.DWORD
    DwConfigOptions              ndr.DWORD
    DwTotalCertificates          ndr.DWORD
    CertificateNames             []CERT_BLOB_1 `ndr:"unique,size_is=DwTotalCertificates"`
}

type IKEV2\_TUNNEL\_CONFIG\_PARAMS\_2

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

type IKEV2_TUNNEL_CONFIG_PARAMS_2 struct {
    DwIdleTimeout                ndr.DWORD
    DwNetworkBlackoutTime        ndr.DWORD
    DwSaLifeTime                 ndr.DWORD
    DwSaDataSizeForRenegotiation ndr.DWORD
    DwConfigOptions              ndr.DWORD
    DwTotalCertificates          ndr.DWORD
    CertificateNames             []CERT_BLOB_1 `ndr:"unique,size_is=DwTotalCertificates"`
    MachineCertificateName       CERT_BLOB_1
    DwEncryptionType             ndr.DWORD
    CustomPolicy                 *ROUTER_CUSTOM_IKEv2_POLICY_0 `ndr:"unique"`
}

type IKEV2\_TUNNEL\_CONFIG\_PARAMS\_3

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

type IKEV2_TUNNEL_CONFIG_PARAMS_3 struct {
    DwIdleTimeout                ndr.DWORD
    DwNetworkBlackoutTime        ndr.DWORD
    DwSaLifeTime                 ndr.DWORD
    DwSaDataSizeForRenegotiation ndr.DWORD
    DwConfigOptions              ndr.DWORD
    DwTotalCertificates          ndr.DWORD
    CertificateNames             []CERT_BLOB_1 `ndr:"unique,size_is=DwTotalCertificates"`
    MachineCertificateName       CERT_BLOB_1
    DwEncryptionType             ndr.DWORD
    CustomPolicy                 *ROUTER_CUSTOM_IKEv2_POLICY_0 `ndr:"unique"`
    DwTotalEkus                  ndr.DWORD
    CertificateEKUs              []CERT_EKU_1 `ndr:"unique,size_is=DwTotalEkus"`
    MachineCertificateHash       CERT_BLOB_1
}

type IN6\_ADDR

IN6_ADDR is an on-wire IPv6 address ([MS-RRASM] 2.2.1.2.221, RFC 2553). In the IDL it is a C union of `UCHAR Byte[16]` and `USHORT Word[8]`; both arms occupy 16 bytes, so it is modeled as a fixed 16-byte field.

type IN6_ADDR struct {
    Byte [16]byte
}

type INTERFACE\_ROUTE\_ENTRY

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

type INTERFACE_ROUTE_ENTRY struct {
    DwIndex   ndr.DWORD
    RouteInfo INTERFACE_ROUTE_INFO
}

type INTERFACE\_ROUTE\_INFO

INTERFACE_ROUTE_INFO ([MS-RRASM] 2.2.1.2.6). The leading field is a C union overlaying an IPv4 route view (nine DWORDs, 36 bytes) and an IPv6 route view (48 bytes). The union carries no on-wire discriminant, so it is modeled by its largest arm (the IPv6 view) as a nested struct; consumers reinterpret the bytes per address family. The IPv4 view is: dwRtInfoDest, dwRtInfoMask, dwRtInfoPolicy, dwRtInfoNextHop, dwRtInfoAge, dwRtInfoNextHopAS, dwRtInfoMetric1..3.

type INTERFACE_ROUTE_INFO struct {
    RouteInfo          INTERFACE_ROUTE_INFO_V6
    DwRtInfoIfIndex    ndr.DWORD
    DwRtInfoType       ndr.DWORD
    DwRtInfoProto      ndr.DWORD
    DwRtInfoPreference ndr.DWORD
    DwRtInfoViewSet    ndr.DWORD
    BV4                ndr.BOOL
}

type INTERFACE\_ROUTE\_INFO\_V6

INTERFACE_ROUTE_INFO_V6 is the IPv6 (largest, 48-byte) arm of the INTERFACE_ROUTE_INFO leading C union ([MS-RRASM] 2.2.1.2.6).

type INTERFACE_ROUTE_INFO_V6 struct {
    DestinationPrefix IN6_ADDR
    DestPrefixLength  ndr.DWORD
    NextHopAddress    IN6_ADDR
    ValidLifeTime     ndr.DWORD
    Flags             ndr.DWORD
    Metric            ndr.DWORD
}

type INTERFACE\_STATUS\_INFO

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

type INTERFACE_STATUS_INFO struct {
    DwAdminStatus ndr.DWORD
}

type IPBOOTP\_GLOBAL\_CONFIG

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

type IPBOOTP_GLOBAL_CONFIG struct {
    GC_LoggingLevel     ndr.DWORD
    GC_MaxRecvQueueSize ndr.DWORD
    GC_ServerCount      ndr.DWORD
}

type IPBOOTP\_IF\_BINDING

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

type IPBOOTP_IF_BINDING struct {
    IB_State     ndr.DWORD
    IB_AddrCount ndr.DWORD
}

type IPBOOTP\_IF\_CONFIG

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

type IPBOOTP_IF_CONFIG struct {
    IC_State               ndr.DWORD
    IC_RelayMode           ndr.DWORD
    IC_MaxHopCount         ndr.DWORD
    IC_MinSecondsSinceBoot ndr.DWORD
}

type IPBOOTP\_IF\_STATS

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

type IPBOOTP_IF_STATS struct {
    IS_State             ndr.DWORD
    IS_SendFailures      ndr.DWORD
    IS_ReceiveFailures   ndr.DWORD
    IS_ArpUpdateFailures ndr.DWORD
    IS_RequestsReceived  ndr.DWORD
    IS_RequestsDiscarded ndr.DWORD
    IS_RepliesReceived   ndr.DWORD
    IS_RepliesDiscarded  ndr.DWORD
}

type IPBOOTP\_IP\_ADDRESS

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

type IPBOOTP_IP_ADDRESS struct {
    IA_Address ndr.DWORD
    IA_Netmask ndr.DWORD
}

type IPBOOTP\_MIB\_GET\_INPUT\_DATA

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

type IPBOOTP_MIB_GET_INPUT_DATA struct {
    IMGID_TypeID  ndr.DWORD
    IMGID_IfIndex ndr.DWORD
}

type IPBOOTP\_MIB\_GET\_OUTPUT\_DATA

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

type IPBOOTP_MIB_GET_OUTPUT_DATA struct {
    IMGOD_TypeID  ndr.DWORD
    IMGOD_IfIndex ndr.DWORD
    IMGOD_Buffer  [1]uint8
}

type IPINIP\_CONFIG\_INFO

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

type IPINIP_CONFIG_INFO struct {
    DwRemoteAddress ndr.DWORD
    DwLocalAddress  ndr.DWORD
    ByTtl           uint8
}

type IPRIP\_GLOBAL\_CONFIG

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

type IPRIP_GLOBAL_CONFIG struct {
    GC_LoggingLevel               ndr.DWORD
    GC_MaxRecvQueueSize           ndr.DWORD
    GC_MaxSendQueueSize           ndr.DWORD
    GC_MinTriggeredUpdateInterval ndr.DWORD
    GC_PeerFilterMode             ndr.DWORD
    GC_PeerFilterCount            ndr.DWORD
}

type IPRIP\_GLOBAL\_STATS

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

type IPRIP_GLOBAL_STATS struct {
    GS_SystemRouteChanges ndr.DWORD
    GS_TotalResponsesSent ndr.DWORD
}

type IPRIP\_IF\_BINDING

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

type IPRIP_IF_BINDING struct {
    IB_State     ndr.DWORD
    IB_AddrCount ndr.DWORD
}

type IPRIP\_IF\_CONFIG

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

type IPRIP_IF_CONFIG struct {
    IC_State                   ndr.DWORD
    IC_Metric                  ndr.DWORD
    IC_UpdateMode              ndr.DWORD
    IC_AcceptMode              ndr.DWORD
    IC_AnnounceMode            ndr.DWORD
    IC_ProtocolFlags           ndr.DWORD
    IC_RouteExpirationInterval ndr.DWORD
    IC_RouteRemovalInterval    ndr.DWORD
    IC_FullUpdateInterval      ndr.DWORD
    IC_AuthenticationType      ndr.DWORD
    IC_AuthenticationKey       [16]uint8
    IC_RouteTag                uint16
    IC_UnicastPeerMode         ndr.DWORD
    IC_AcceptFilterMode        ndr.DWORD
    IC_AnnounceFilterMode      ndr.DWORD
    IC_UnicastPeerCount        ndr.DWORD
    IC_AcceptFilterCount       ndr.DWORD
    IC_AnnounceFilterCount     ndr.DWORD
}

type IPRIP\_IF\_STATS

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

type IPRIP_IF_STATS struct {
    IS_State                      ndr.DWORD
    IS_SendFailures               ndr.DWORD
    IS_ReceiveFailures            ndr.DWORD
    IS_RequestsSent               ndr.DWORD
    IS_RequestsReceived           ndr.DWORD
    IS_ResponsesSent              ndr.DWORD
    IS_ResponsesReceived          ndr.DWORD
    IS_BadResponsePacketsReceived ndr.DWORD
    IS_BadResponseEntriesReceived ndr.DWORD
    IS_TriggeredUpdatesSent       ndr.DWORD
}

type IPRIP\_IP\_ADDRESS

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

type IPRIP_IP_ADDRESS struct {
    IA_Address ndr.DWORD
    IA_Netmask ndr.DWORD
}

type IPRIP\_MIB\_GET\_INPUT\_DATA

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

type IPRIP_MIB_GET_INPUT_DATA struct {
    IMGID_TypeID ndr.DWORD
    // IMGID overlays IMGID_IfIndex / IMGID_PeerAddress (C union).
    IMGID ndr.DWORD
}

type IPRIP\_MIB\_GET\_OUTPUT\_DATA

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

type IPRIP_MIB_GET_OUTPUT_DATA struct {
    IMGOD_TypeID ndr.DWORD
    // IMGOD overlays IMGOD_IfIndex / IMGOD_PeerAddress (C union).
    IMGOD        ndr.DWORD
    IMGOD_Buffer [1]uint8
}

type IPRIP\_PEER\_STATS

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

type IPRIP_PEER_STATS struct {
    PS_LastPeerRouteTag           ndr.DWORD
    PS_LastPeerUpdateTickCount    ndr.DWORD
    PS_LastPeerUpdateVersion      ndr.DWORD
    PS_BadResponsePacketsFromPeer ndr.DWORD
    PS_BadResponseEntriesFromPeer ndr.DWORD
}

type IPRIP\_ROUTE\_FILTER

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

type IPRIP_ROUTE_FILTER struct {
    RF_LoAddress ndr.DWORD
    RF_HiAddress ndr.DWORD
}

type IPXMIB\_BASE

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

type IPXMIB_BASE struct {
    OperState        ndr.DWORD
    PrimaryNetNumber [4]uint8
    Node             [6]uint8
    SysName          [48]uint8
    MaxPathSplits    ndr.DWORD
    IfCount          ndr.DWORD
    DestCount        ndr.DWORD
    ServCount        ndr.DWORD
}

type IPXWAN\_IF\_INFO

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

type IPXWAN_IF_INFO struct {
    Adminstate ndr.DWORD
}

type IPX\_ADAPTER\_INFO

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

type IPX_ADAPTER_INFO struct {
    PacketType  ndr.DWORD
    AdapterName [48]uint16
}

type IPX\_GLOBAL\_INFO

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

type IPX_GLOBAL_INFO struct {
    RoutingTableHashSize ndr.DWORD
    EventLogMask         ndr.DWORD
}

type IPX\_IF\_INFO

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

type IPX_IF_INFO struct {
    AdministratorState ndr.DWORD
    NetbiosAccept      ndr.DWORD
    NetbiosDeliver     ndr.DWORD
}

type IPX\_IF\_STATS

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

type IPX_IF_STATS struct {
    IfOperState     ndr.DWORD
    MaxPacketSize   ndr.DWORD
    InHdrErrors     ndr.DWORD
    InFiltered      ndr.DWORD
    InNoRoutes      ndr.DWORD
    InDiscards      ndr.DWORD
    InDelivers      ndr.DWORD
    OutFiltered     ndr.DWORD
    OutDiscards     ndr.DWORD
    OutDelivers     ndr.DWORD
    NetbiosReceived ndr.DWORD
    NetbiosSent     ndr.DWORD
}

type IPX\_INTERFACE

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

type IPX_INTERFACE struct {
    InterfaceIndex          ndr.DWORD
    AdministratorState      ndr.DWORD
    AdapterIndex            ndr.DWORD
    InterfaceName           [48]uint8
    InterfaceType           ndr.DWORD
    MediaType               ndr.DWORD
    NetNumber               [4]uint8
    MacAddress              [6]uint8
    Delay                   ndr.DWORD
    Throughput              ndr.DWORD
    NetbiosAccept           ndr.DWORD
    NetbiosDeliver          ndr.DWORD
    EnableIpxWanNegotiation ndr.DWORD
    IfStats                 IPX_IF_STATS
}

type IPX\_MIB\_GET\_INPUT\_DATA

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

type IPX_MIB_GET_INPUT_DATA struct {
    TableId  ndr.DWORD
    MibIndex IPX_MIB_INDEX
}

type IPX\_MIB\_INDEX

IPX_MIB_INDEX ([MS-RRASM] 2.2.1.2.190) is a C union with no on-wire discriminant; the active arm is selected by the sibling TableId of the containing IPX_MIB_GET_INPUT_DATA. It is modeled by its largest arm, STATIC_SERVICES_TABLE_INDEX; the other arms (IF_TABLE_INDEX, ROUTING_TABLE_INDEX, STATIC_ROUTES_TABLE_INDEX, SERVICES_TABLE_INDEX) overlay the same bytes.

type IPX_MIB_INDEX struct {
    StaticServicesTableIndex STATIC_SERVICES_TABLE_INDEX
}

type IPX\_MIB\_ROW

IPX_MIB_ROW ([MS-RRASM] 2.2.1.2.195) is a C union with no on-wire discriminant; the active arm is selected by the sibling TableId of the containing IPX_MIB_SET_INPUT_DATA. It is modeled by its largest arm, IPX_INTERFACE; the other arms (IPX_ROUTE, IPX_SERVICE) overlay the same bytes.

type IPX_MIB_ROW struct {
    Interface IPX_INTERFACE
}

type IPX\_MIB\_SET\_INPUT\_DATA

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

type IPX_MIB_SET_INPUT_DATA struct {
    TableId ndr.DWORD
    MibRow  IPX_MIB_ROW
}

type IPX\_ROUTE

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

type IPX_ROUTE struct {
    InterfaceIndex    ndr.DWORD
    Protocol          ndr.DWORD
    Network           [4]uint8
    TickCount         uint16
    HopCount          uint16
    NextHopMacAddress [6]uint8
    Flags             ndr.DWORD
}

type IPX\_SERVER\_ENTRY

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

type IPX_SERVER_ENTRY struct {
    Type     uint16
    Name     [48]uint8
    Network  [4]uint8
    Node     [6]uint8
    Socket   [2]uint8
    HopCount uint16
}

type IPX\_SERVICE

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

type IPX_SERVICE struct {
    InterfaceIndex ndr.DWORD
    Protocol       ndr.DWORD
    Server         IPX_SERVER_ENTRY
}

type IPX\_STATIC\_NETBIOS\_NAME\_INFO

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

type IPX_STATIC_NETBIOS_NAME_INFO struct {
    Field IPX_STATIC_NETBIOS_NAME_INFO_Field
}

type IPX\_STATIC\_NETBIOS\_NAME\_INFO\_Field

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

type IPX_STATIC_NETBIOS_NAME_INFO_Field struct {
    Tag        ndr.DWORD `ndr:"switch"`
    DwordAlign ndr.DWORD `ndr:"case=TODO"`
    Name       uint8     `ndr:"case=TODO"`
}

type IPX\_STATIC\_ROUTE\_INFO

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

type IPX_STATIC_ROUTE_INFO struct {
    // Network overlays the ULONG DwordAlign arm (C union, 4 bytes).
    Network           [4]byte
    TickCount         uint16
    HopCount          uint16
    NextHopMacAddress [6]uint8
}

type IPX\_STATIC\_SERVICE\_INFO

IPX_STATIC_SERVICE_INFO is an alias for IPX_SERVER_ENTRY ([MS-RRASM]).

type IPX_STATIC_SERVICE_INFO = IPX_SERVER_ENTRY

type IPX\_TRAFFIC\_FILTER\_GLOBAL\_INFO

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

type IPX_TRAFFIC_FILTER_GLOBAL_INFO struct {
    FilterAction ndr.DWORD
}

type IPX\_TRAFFIC\_FILTER\_INFO

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

type IPX_TRAFFIC_FILTER_INFO struct {
    FilterDefinition       ndr.DWORD
    DestinationNetwork     [4]uint8
    DestinationNetworkMask [4]uint8
    DestinationNode        [6]uint8
    DestinationSocket      [2]uint8
    SourceNetwork          [4]uint8
    SourceNetworkMask      [4]uint8
    SourceNode             [6]uint8
    SourceSocket           [2]uint8
    PacketType             uint8
}

type IP\_ALG\_GLOBAL\_INFO

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

type IP_ALG_GLOBAL_INFO struct {
    LoggingLevel ndr.DWORD
    Flags        ndr.DWORD
}

type IP\_AUTO\_DHCP\_GLOBAL\_INFO

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

type IP_AUTO_DHCP_GLOBAL_INFO struct {
    LoggingLevel   ndr.DWORD
    Flags          ndr.DWORD
    LeaseTime      ndr.DWORD
    ScopeNetwork   ndr.DWORD
    ScopeMask      ndr.DWORD
    ExclusionCount ndr.DWORD
    ExclusionArray ndr.DWORD
}

type IP\_AUTO\_DHCP\_INTERFACE\_INFO

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

type IP_AUTO_DHCP_INTERFACE_INFO struct {
    Flags ndr.DWORD
}

type IP\_AUTO\_DHCP\_MIB\_QUERY

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

type IP_AUTO_DHCP_MIB_QUERY struct {
    Oid ndr.DWORD
    // Index overlays the UCHAR Data arm (C union).
    Index    ndr.DWORD
    Reserved ndr.DWORD
}

type IP\_AUTO\_DHCP\_STATISTICS

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

type IP_AUTO_DHCP_STATISTICS struct {
    MessagesIgnored   ndr.DWORD
    BootpOffersSent   ndr.DWORD
    DiscoversReceived ndr.DWORD
    InformsReceived   ndr.DWORD
    OffersSent        ndr.DWORD
    RequestsReceived  ndr.DWORD
    AcksSent          ndr.DWORD
    NaksSent          ndr.DWORD
    DeclinesReceived  ndr.DWORD
    ReleasesReceived  ndr.DWORD
}

type IP\_DNS\_PROXY\_GLOBAL\_INFO

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

type IP_DNS_PROXY_GLOBAL_INFO struct {
    LoggingLevel   ndr.DWORD
    Flags          ndr.DWORD
    TimeoutSeconds ndr.DWORD
}

type IP\_DNS\_PROXY\_INTERFACE\_INFO

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

type IP_DNS_PROXY_INTERFACE_INFO struct {
    Flags ndr.DWORD
}

type IP\_DNS\_PROXY\_MIB\_QUERY

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

type IP_DNS_PROXY_MIB_QUERY struct {
    Oid ndr.DWORD
    // Index overlays the UCHAR Data arm (C union).
    Index ndr.DWORD
}

type IP\_DNS\_PROXY\_STATISTICS

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

type IP_DNS_PROXY_STATISTICS struct {
    MessagesIgnored   ndr.DWORD
    QueriesReceived   ndr.DWORD
    ResponsesReceived ndr.DWORD
    QueriesSent       ndr.DWORD
    ResponsesSent     ndr.DWORD
}

type IP\_NAT\_ADDRESS\_MAPPING

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

type IP_NAT_ADDRESS_MAPPING struct {
    PrivateAddress       ndr.DWORD
    PublicAddress        ndr.DWORD
    AllowInboundSessions bool
}

type IP\_NAT\_ADDRESS\_RANGE

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

type IP_NAT_ADDRESS_RANGE struct {
    StartAddress ndr.DWORD
    EndAddress   ndr.DWORD
    SubnetMask   ndr.DWORD
}

type IP\_NAT\_DIRECTION

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

type IP_NAT_DIRECTION uint16
const (
    NatInboundDirection  IP_NAT_DIRECTION = 0
    NatOutboundDirection IP_NAT_DIRECTION = 1
)

type IP\_NAT\_ENUMERATE\_SESSION\_MAPPINGS

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

type IP_NAT_ENUMERATE_SESSION_MAPPINGS struct {
    Index              ndr.DWORD
    EnumerateContext   [4]ndr.DWORD
    EnumerateCount     ndr.DWORD
    EnumerateTotalHint ndr.DWORD
    EnumerateTable     [1]IP_NAT_SESSION_MAPPING
}

type IP\_NAT\_GLOBAL\_INFO

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

type IP_NAT_GLOBAL_INFO struct {
    LoggingLevel ndr.DWORD
    Flags        ndr.DWORD
    Header       RTR_INFO_BLOCK_HEADER
}

type IP\_NAT\_INTERFACE\_INFO

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

type IP_NAT_INTERFACE_INFO struct {
    Index  ndr.DWORD
    Flags  ndr.DWORD
    Header RTR_INFO_BLOCK_HEADER
}

type IP\_NAT\_INTERFACE\_STATISTICS

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

type IP_NAT_INTERFACE_STATISTICS struct {
    TotalMappings   ndr.DWORD
    InboundMappings ndr.DWORD
    BytesForward    uint64
    BytesReverse    uint64
    PacketsForward  uint64
    PacketsReverse  uint64
    RejectsForward  uint64
    RejectsReverse  uint64
}

type IP\_NAT\_MIB\_QUERY

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

type IP_NAT_MIB_QUERY struct {
    Oid ndr.DWORD
    // Index overlays the UCHAR Data arm (C union).
    Index ndr.DWORD
}

type IP\_NAT\_PORT\_MAPPING

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

type IP_NAT_PORT_MAPPING struct {
    Protocol       uint8
    PublicPort     uint16
    PublicAddress  ndr.DWORD
    PrivatePort    uint16
    PrivateAddress ndr.DWORD
}

type IP\_NAT\_SESSION\_MAPPING

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

type IP_NAT_SESSION_MAPPING struct {
    Protocol       uint8
    PrivateAddress ndr.DWORD
    PrivatePort    uint16
    PublicAddress  ndr.DWORD
    PublicPort     uint16
    RemoteAddress  ndr.DWORD
    RemotePort     uint16
    Direction      IP_NAT_DIRECTION
    IdleTime       ndr.DWORD
}

type IP\_NAT\_TIMEOUT

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

type IP_NAT_TIMEOUT struct {
    TCPTimeoutSeconds ndr.DWORD
    UDPTimeoutSeconds ndr.DWORD
}

type Info

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

type Info struct {
    // Retcode overlays the HANDLE paddingField alignment arm (C union).
    Retcode ndr.DWORD
    Info    RASMAN_INFO
}

type L2TP\_CONFIG\_PARAMS\_1

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

type L2TP_CONFIG_PARAMS_1 struct {
    DwNumPorts  ndr.DWORD
    DwPortFlags ndr.DWORD
}

type L2TP\_CONFIG\_PARAMS\_2

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

type L2TP_CONFIG_PARAMS_2 struct {
    DwNumPorts               ndr.DWORD
    DwPortFlags              ndr.DWORD
    DwTunnelConfigParamFlags ndr.DWORD
    TunnelConfigParams       L2TP_TUNNEL_CONFIG_PARAMS_1
}

type L2TP\_TUNNEL\_CONFIG\_PARAMS\_1

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

type L2TP_TUNNEL_CONFIG_PARAMS_1 struct {
    DwIdleTimeout                ndr.DWORD
    DwEncryptionType             ndr.DWORD
    DwSaLifeTime                 ndr.DWORD
    DwSaDataSizeForRenegotiation ndr.DWORD
    CustomPolicy                 *ROUTER_CUSTOM_IKEv2_POLICY_0 `ndr:"unique"`
}

type MCAST\_HBEAT\_INFO

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

type MCAST_HBEAT_INFO struct {
    PwszGroup      [64]uint16
    BActive        ndr.BOOL
    UlDeadInterval ndr.DWORD
    ByProtocol     uint8
    WPort          uint16
}

type MIBICMPINFO

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

type MIBICMPINFO struct {
    IcmpInStats  MIBICMPSTATS
    IcmpOutStats MIBICMPSTATS
}

type MIBICMPSTATS

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

type MIBICMPSTATS struct {
    DwMsgs          ndr.DWORD
    DwErrors        ndr.DWORD
    DwDestUnreachs  ndr.DWORD
    DwTimeExcds     ndr.DWORD
    DwParmProbs     ndr.DWORD
    DwSrcQuenchs    ndr.DWORD
    DwRedirects     ndr.DWORD
    DwEchos         ndr.DWORD
    DwEchoReps      ndr.DWORD
    DwTimestamps    ndr.DWORD
    DwTimestampReps ndr.DWORD
    DwAddrMasks     ndr.DWORD
    DwAddrMaskReps  ndr.DWORD
}

type MIB\_BEST\_IF

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

type MIB_BEST_IF struct {
    DwDestAddr ndr.DWORD
    DwIfIndex  ndr.DWORD
}

type MIB\_BOUNDARYROW

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

type MIB_BOUNDARYROW struct {
    DwGroupAddress ndr.DWORD
    DwGroupMask    ndr.DWORD
}

type MIB\_DA\_MSG

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

type MIB_DA_MSG struct {
    Op_code      UINT32
    Ret_code     UINT32
    In_snmp_id   [44]UINT32
    Obj_id       [17]UINT32
    Attr_id      UINT32
    Inst_id      [23]UINT32
    Next_snmp_id [44]UINT32
    Creator      UINT32
    Attr_type    UINT32
    Inst_cnt     UINT32
    Map_flag     UINT32
    Data         [32]ULONG_PTR
}

type MIB\_ICMP

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

type MIB_ICMP struct {
    Stats MIBICMPINFO
}

type MIB\_IFNUMBER

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

type MIB_IFNUMBER struct {
    DwValue ndr.DWORD
}

type MIB\_IFROW

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

type MIB_IFROW struct {
    WszName           [256]uint16
    DwIndex           ndr.DWORD
    DwType            ndr.DWORD
    DwMtu             ndr.DWORD
    DwSpeed           ndr.DWORD
    DwPhysAddrLen     ndr.DWORD
    BPhysAddr         [8]uint8
    DwAdminStatus     ndr.DWORD
    DwOperStatus      ndr.DWORD
    DwLastChange      ndr.DWORD
    DwInOctets        ndr.DWORD
    DwInUcastPkts     ndr.DWORD
    DwInNUcastPkts    ndr.DWORD
    DwInDiscards      ndr.DWORD
    DwInErrors        ndr.DWORD
    DwInUnknownProtos ndr.DWORD
    DwOutOctets       ndr.DWORD
    DwOutUcastPkts    ndr.DWORD
    DwOutNUcastPkts   ndr.DWORD
    DwOutDiscards     ndr.DWORD
    DwOutErrors       ndr.DWORD
    DwOutQLen         ndr.DWORD
    DwDescrLen        ndr.DWORD
    BDescr            [256]uint8
}

type MIB\_IFSTATUS

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

type MIB_IFSTATUS struct {
    DwIfIndex           ndr.DWORD
    DwAdminStatus       ndr.DWORD
    DwOperationalStatus ndr.DWORD
    BMHbeatActive       ndr.BOOL
    BMHbeatAlive        ndr.BOOL
}

type MIB\_IFTABLE

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

type MIB_IFTABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IFROW
}

type MIB\_IPADDRROW

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

type MIB_IPADDRROW struct {
    DwAddr      ndr.DWORD
    DwIndex     ndr.DWORD
    DwMask      ndr.DWORD
    DwBCastAddr ndr.DWORD
    DwReasmSize ndr.DWORD
    Unused1     uint16
    WType       uint16
}

type MIB\_IPADDRTABLE

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

type MIB_IPADDRTABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IPADDRROW
}

type MIB\_IPDESTROW

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

type MIB_IPDESTROW struct {
    ForwardRow          MIB_IPFORWARDROW
    DwForwardPreference ndr.DWORD
    DwForwardViewSet    ndr.DWORD
}

type MIB\_IPDESTTABLE

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

type MIB_IPDESTTABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IPDESTROW
}

type MIB\_IPFORWARDNUMBER

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

type MIB_IPFORWARDNUMBER struct {
    DwValue ndr.DWORD
}

type MIB\_IPFORWARDROW

MIB_IPFORWARDROW ([MS-RRASM] 2.2.1.2.201). DwForwardType and DwForwardProto are each the DWORD arm of a C union (with MIB_IPFORWARD_TYPE / MIB_IPFORWARD_PROTO enum overlays); both arms are 4 bytes, so the DWORD arm is modeled directly.

type MIB_IPFORWARDROW struct {
    DwForwardDest      ndr.DWORD
    DwForwardMask      ndr.DWORD
    DwForwardPolicy    ndr.DWORD
    DwForwardNextHop   ndr.DWORD
    DwForwardIfIndex   ndr.DWORD
    DwForwardType      ndr.DWORD
    DwForwardProto     ndr.DWORD
    DwForwardAge       ndr.DWORD
    DwForwardNextHopAS ndr.DWORD
    DwForwardMetric1   ndr.DWORD
    DwForwardMetric2   ndr.DWORD
    DwForwardMetric3   ndr.DWORD
    DwForwardMetric4   ndr.DWORD
    DwForwardMetric5   ndr.DWORD
}

type MIB\_IPFORWARDTABLE

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

type MIB_IPFORWARDTABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IPFORWARDROW
    Reserved     [8]uint8
}

type MIB\_IPFORWARD\_PROTO

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

type MIB_IPFORWARD_PROTO uint16
const (
    MIB_IPPROTO_OTHER             MIB_IPFORWARD_PROTO = 1
    MIB_IPPROTO_LOCAL             MIB_IPFORWARD_PROTO = 2
    MIB_IPPROTO_NETMGMT           MIB_IPFORWARD_PROTO = 3
    MIB_IPPROTO_ICMP              MIB_IPFORWARD_PROTO = 4
    MIB_IPPROTO_EGP               MIB_IPFORWARD_PROTO = 5
    MIB_IPPROTO_GGP               MIB_IPFORWARD_PROTO = 6
    MIB_IPPROTO_HELLO             MIB_IPFORWARD_PROTO = 7
    MIB_IPPROTO_RIP               MIB_IPFORWARD_PROTO = 8
    MIB_IPPROTO_IS_IS             MIB_IPFORWARD_PROTO = 9
    MIB_IPPROTO_ES_IS             MIB_IPFORWARD_PROTO = 10
    MIB_IPPROTO_CISCO             MIB_IPFORWARD_PROTO = 11
    MIB_IPPROTO_BBN               MIB_IPFORWARD_PROTO = 12
    MIB_IPPROTO_OSPF              MIB_IPFORWARD_PROTO = 13
    MIB_IPPROTO_BGP               MIB_IPFORWARD_PROTO = 14
    MIB_IPPROTO_NT_AUTOSTATIC     MIB_IPFORWARD_PROTO = 10002
    MIB_IPPROTO_NT_STATIC         MIB_IPFORWARD_PROTO = 10006
    MIB_IPPROTO_NT_STATIC_NON_DOD MIB_IPFORWARD_PROTO = 10007
)

type MIB\_IPFORWARD\_TYPE

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

type MIB_IPFORWARD_TYPE uint16
const (
    MIB_IPROUTE_TYPE_OTHER    MIB_IPFORWARD_TYPE = 1
    MIB_IPROUTE_TYPE_INVALID  MIB_IPFORWARD_TYPE = 2
    MIB_IPROUTE_TYPE_DIRECT   MIB_IPFORWARD_TYPE = 3
    MIB_IPROUTE_TYPE_INDIRECT MIB_IPFORWARD_TYPE = 4
)

type MIB\_IPMCAST\_BOUNDARY

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

type MIB_IPMCAST_BOUNDARY struct {
    DwIfIndex      ndr.DWORD
    DwGroupAddress ndr.DWORD
    DwGroupMask    ndr.DWORD
    DwStatus       ndr.DWORD
}

type MIB\_IPMCAST\_BOUNDARY\_TABLE

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

type MIB_IPMCAST_BOUNDARY_TABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IPMCAST_BOUNDARY
}

type MIB\_IPMCAST\_GLOBAL

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

type MIB_IPMCAST_GLOBAL struct {
    DwEnable ndr.DWORD
}

type MIB\_IPMCAST\_IF\_ENTRY

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

type MIB_IPMCAST_IF_ENTRY struct {
    DwIfIndex        ndr.DWORD
    DwTtl            ndr.DWORD
    DwProtocol       ndr.DWORD
    DwRateLimit      ndr.DWORD
    UlInMcastOctets  ndr.DWORD
    UlOutMcastOctets ndr.DWORD
}

type MIB\_IPMCAST\_IF\_TABLE

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

type MIB_IPMCAST_IF_TABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IPMCAST_IF_ENTRY
}

type MIB\_IPMCAST\_MFE

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

type MIB_IPMCAST_MFE struct {
    DwGroup         ndr.DWORD
    DwSource        ndr.DWORD
    DwSrcMask       ndr.DWORD
    DwUpStrmNgbr    ndr.DWORD
    DwInIfIndex     ndr.DWORD
    DwInIfProtocol  ndr.DWORD
    DwRouteProtocol ndr.DWORD
    DwRouteNetwork  ndr.DWORD
    DwRouteMask     ndr.DWORD
    UlUpTime        ndr.DWORD
    UlExpiryTime    ndr.DWORD
    UlTimeOut       ndr.DWORD
    UlNumOutIf      ndr.DWORD
    FFlags          ndr.DWORD
    DwReserved      ndr.DWORD
    RgmioOutInfo    [1]MIB_IPMCAST_OIF
}

type MIB\_IPMCAST\_MFE\_STATS

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

type MIB_IPMCAST_MFE_STATS struct {
    DwGroup           ndr.DWORD
    DwSource          ndr.DWORD
    DwSrcMask         ndr.DWORD
    DwUpStrmNgbr      ndr.DWORD
    DwInIfIndex       ndr.DWORD
    DwInIfProtocol    ndr.DWORD
    DwRouteProtocol   ndr.DWORD
    DwRouteNetwork    ndr.DWORD
    DwRouteMask       ndr.DWORD
    UlUpTime          ndr.DWORD
    UlExpiryTime      ndr.DWORD
    UlNumOutIf        ndr.DWORD
    UlInPkts          ndr.DWORD
    UlInOctets        ndr.DWORD
    UlPktsDifferentIf ndr.DWORD
    UlQueueOverflow   ndr.DWORD
    RgmiosOutStats    [1]MIB_IPMCAST_OIF_STATS
}

type MIB\_IPMCAST\_OIF

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

type MIB_IPMCAST_OIF struct {
    DwOutIfIndex  ndr.DWORD
    DwNextHopAddr ndr.DWORD
    PvReserved    PVOID
    DwReserved    ndr.DWORD
}

type MIB\_IPMCAST\_OIF\_STATS

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

type MIB_IPMCAST_OIF_STATS struct {
    DwOutIfIndex  ndr.DWORD
    DwNextHopAddr ndr.DWORD
    PvDialContext PVOID
    UlTtlTooLow   ndr.DWORD
    UlFragNeeded  ndr.DWORD
    UlOutPackets  ndr.DWORD
    UlOutDiscards ndr.DWORD
}

type MIB\_IPMCAST\_SCOPE

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

type MIB_IPMCAST_SCOPE struct {
    DwGroupAddress ndr.DWORD
    DwGroupMask    ndr.DWORD
    SnNameBuffer   [256]uint16
    DwStatus       ndr.DWORD
    Reserved       [492]uint8
}

type MIB\_IPNETROW

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

type MIB_IPNETROW struct {
    DwIndex       ndr.DWORD
    DwPhysAddrLen ndr.DWORD
    BPhysAddr     [8]uint8
    DwAddr        ndr.DWORD
    DwType        ndr.DWORD
}

type MIB\_IPNETTABLE

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

type MIB_IPNETTABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IPNETROW
    Reserved     [8]uint8
}

type MIB\_IPSTATS

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

type MIB_IPSTATS struct {
    // DwForwarding overlays the MIB_IPSTATS_FORWARDING enum arm (C union).
    DwForwarding      ndr.DWORD
    DwDefaultTTL      ndr.DWORD
    DwInReceives      ndr.DWORD
    DwInHdrErrors     ndr.DWORD
    DwInAddrErrors    ndr.DWORD
    DwForwDatagrams   ndr.DWORD
    DwInUnknownProtos ndr.DWORD
    DwInDiscards      ndr.DWORD
    DwInDelivers      ndr.DWORD
    DwOutRequests     ndr.DWORD
    DwRoutingDiscards ndr.DWORD
    DwOutDiscards     ndr.DWORD
    DwOutNoRoutes     ndr.DWORD
    DwReasmTimeout    ndr.DWORD
    DwReasmReqds      ndr.DWORD
    DwReasmOks        ndr.DWORD
    DwReasmFails      ndr.DWORD
    DwFragOks         ndr.DWORD
    DwFragFails       ndr.DWORD
    DwFragCreates     ndr.DWORD
    DwNumIf           ndr.DWORD
    DwNumAddr         ndr.DWORD
    DwNumRoutes       ndr.DWORD
}

type MIB\_IPSTATS\_FORWARDING

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

type MIB_IPSTATS_FORWARDING uint16
const (
    MIB_IP_FORWARDING     MIB_IPSTATS_FORWARDING = 1
    MIB_IP_NOT_FORWARDING MIB_IPSTATS_FORWARDING = 2
)

type MIB\_MCAST\_LIMIT\_ROW

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

type MIB_MCAST_LIMIT_ROW struct {
    DwTtl       ndr.DWORD
    DwRateLimit ndr.DWORD
}

type MIB\_MFE\_STATS\_TABLE

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

type MIB_MFE_STATS_TABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IPMCAST_MFE_STATS
}

type MIB\_MFE\_TABLE

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

type MIB_MFE_TABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_IPMCAST_MFE
}

type MIB\_OPAQUE\_INFO

MIB_OPAQUE_INFO ([MS-RRASM] 2.2.1.2.207) is a variable-length opaque MIB data container. In the IDL the trailing field is the C union {ULONGLONG ullAlign; BYTE rgbyData[1]}, which forces the payload to an 8-byte-aligned offset. UllAlign models that fixed 8-byte alignment slot; the actual rgbyData payload (whose layout depends on DwId) follows it in the buffer.

type MIB_OPAQUE_INFO struct {
    DwId     ndr.DWORD
    UllAlign uint64
}

type MIB\_OPAQUE\_QUERY

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

type MIB_OPAQUE_QUERY struct {
    DwVarId      ndr.DWORD
    RgdwVarIndex [1]ndr.DWORD
}

type MIB\_PROXYARP

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

type MIB_PROXYARP struct {
    DwAddress ndr.DWORD
    DwMask    ndr.DWORD
    DwIfIndex ndr.DWORD
}

type MIB\_ROUTESTATE

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

type MIB_ROUTESTATE struct {
    BRoutesSetToStack ndr.BOOL
}

type MIB\_TCPROW

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

type MIB_TCPROW struct {
    // DwState overlays the MIB_TCP_STATE enum arm (C union).
    DwState      ndr.DWORD
    DwLocalAddr  ndr.DWORD
    DwLocalPort  ndr.DWORD
    DwRemoteAddr ndr.DWORD
    DwRemotePort ndr.DWORD
}

type MIB\_TCPSTATS

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

type MIB_TCPSTATS struct {
    // DwRtoAlgorithm overlays the TCP_RTO_ALGORITHM enum arm (C union).
    DwRtoAlgorithm ndr.DWORD
    DwRtoMin       ndr.DWORD
    DwRtoMax       ndr.DWORD
    DwMaxConn      ndr.DWORD
    DwActiveOpens  ndr.DWORD
    DwPassiveOpens ndr.DWORD
    DwAttemptFails ndr.DWORD
    DwEstabResets  ndr.DWORD
    DwCurrEstab    ndr.DWORD
    DwInSegs       ndr.DWORD
    DwOutSegs      ndr.DWORD
    DwRetransSegs  ndr.DWORD
    DwInErrs       ndr.DWORD
    DwOutRsts      ndr.DWORD
    DwNumConns     ndr.DWORD
}

type MIB\_TCPTABLE

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

type MIB_TCPTABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_TCPROW
    Reserved     [8]uint8
}

type MIB\_TCP\_STATE

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

type MIB_TCP_STATE uint16
const (
    MIB_TCP_STATE_CLOSED     MIB_TCP_STATE = 1
    MIB_TCP_STATE_LISTEN     MIB_TCP_STATE = 2
    MIB_TCP_STATE_SYN_SENT   MIB_TCP_STATE = 3
    MIB_TCP_STATE_SYN_RCVD   MIB_TCP_STATE = 4
    MIB_TCP_STATE_ESTAB      MIB_TCP_STATE = 5
    MIB_TCP_STATE_FIN_WAIT1  MIB_TCP_STATE = 6
    MIB_TCP_STATE_FIN_WAIT2  MIB_TCP_STATE = 7
    MIB_TCP_STATE_CLOSE_WAIT MIB_TCP_STATE = 8
    MIB_TCP_STATE_CLOSING    MIB_TCP_STATE = 9
    MIB_TCP_STATE_LAST_ACK   MIB_TCP_STATE = 10
    MIB_TCP_STATE_TIME_WAIT  MIB_TCP_STATE = 11
    MIB_TCP_STATE_DELETE_TCB MIB_TCP_STATE = 12
)

type MIB\_UDPROW

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

type MIB_UDPROW struct {
    DwLocalAddr ndr.DWORD
    DwLocalPort ndr.DWORD
}

type MIB\_UDPSTATS

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

type MIB_UDPSTATS struct {
    DwInDatagrams  ndr.DWORD
    DwNoPorts      ndr.DWORD
    DwInErrors     ndr.DWORD
    DwOutDatagrams ndr.DWORD
    DwNumAddrs     ndr.DWORD
}

type MIB\_UDPTABLE

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

type MIB_UDPTABLE struct {
    DwNumEntries ndr.DWORD
    Table        [1]MIB_UDPROW
    Reserved     [8]uint8
}

type MPRAPI\_OBJECT\_HEADER\_IDL

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

type MPRAPI_OBJECT_HEADER_IDL struct {
    Revision uint8
    Type     uint8
    Size     uint16
}

type MPRAPI\_TUNNEL\_CONFIG\_PARAMS\_1

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

type MPRAPI_TUNNEL_CONFIG_PARAMS_1 struct {
    IkeConfigParams  IKEV2_CONFIG_PARAMS_1
    PptpConfigParams PPTP_CONFIG_PARAMS_1
    L2tpConfigParams L2TP_CONFIG_PARAMS_1
    SstpConfigParams SSTP_CONFIG_PARAMS_1
}

type MPRAPI\_TUNNEL\_CONFIG\_PARAMS\_2

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

type MPRAPI_TUNNEL_CONFIG_PARAMS_2 struct {
    IkeConfigParams  IKEV2_CONFIG_PARAMS_2
    PptpConfigParams PPTP_CONFIG_PARAMS_1
    L2tpConfigParams L2TP_CONFIG_PARAMS_1
    SstpConfigParams SSTP_CONFIG_PARAMS_1
}

type MPRAPI\_TUNNEL\_CONFIG\_PARAMS\_3

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

type MPRAPI_TUNNEL_CONFIG_PARAMS_3 struct {
    IkeConfigParams  IKEV2_CONFIG_PARAMS_3
    PptpConfigParams PPTP_CONFIG_PARAMS_1
    L2tpConfigParams L2TP_CONFIG_PARAMS_2
    SstpConfigParams SSTP_CONFIG_PARAMS_1
}

type MPRI\_INTERFACE\_0

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

type MPRI_INTERFACE_0 struct {
    WszInterfaceName       [257]uint16
    DwInterface            ndr.DWORD
    FEnabled               ndr.BOOL
    DwIfType               ROUTER_INTERFACE_TYPE
    DwConnectionState      ROUTER_CONNECTION_STATE
    FUnReachabilityReasons ndr.DWORD
    DwLastError            ndr.DWORD
}

type MPRI\_INTERFACE\_1

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

type MPRI_INTERFACE_1 struct {
    WszInterfaceName            [257]uint16
    DwInterface                 ndr.DWORD
    FEnabled                    ndr.BOOL
    DwIfType                    ROUTER_INTERFACE_TYPE
    DwConnectionState           ROUTER_CONNECTION_STATE
    FUnReachabilityReasons      ndr.DWORD
    DwLastError                 ndr.DWORD
    LpwsDialoutHoursRestriction *ndr.WSTR `ndr:"unique"`
}

type MPRI\_INTERFACE\_2

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

type MPRI_INTERFACE_2 struct {
    WszInterfaceName           [257]uint16
    DwInterface                ndr.DWORD
    FEnabled                   ndr.BOOL
    DwIfType                   ROUTER_INTERFACE_TYPE
    DwConnectionState          ROUTER_CONNECTION_STATE
    FUnReachabilityReasons     ndr.DWORD
    DwLastError                ndr.DWORD
    DwfOptions                 ndr.DWORD
    SzLocalPhoneNumber         [129]uint16
    SzAlternates               *ndr.WSTR `ndr:"unique"`
    Ipaddr                     ndr.DWORD
    IpaddrDns                  ndr.DWORD
    IpaddrDnsAlt               ndr.DWORD
    IpaddrWins                 ndr.DWORD
    IpaddrWinsAlt              ndr.DWORD
    DwfNetProtocols            ndr.DWORD
    SzDeviceType               [17]uint16
    SzDeviceName               [129]uint16
    SzX25PadType               [33]uint16
    SzX25Address               [201]uint16
    SzX25Facilities            [201]uint16
    SzX25UserData              [201]uint16
    DwChannels                 ndr.DWORD
    DwSubEntries               ndr.DWORD
    DwDialMode                 ndr.DWORD
    DwDialExtraPercent         ndr.DWORD
    DwDialExtraSampleSeconds   ndr.DWORD
    DwHangUpExtraPercent       ndr.DWORD
    DwHangUpExtraSampleSeconds ndr.DWORD
    DwIdleDisconnectSeconds    ndr.DWORD
    DwType                     ndr.DWORD
    DwEncryptionType           ndr.DWORD
    DwCustomAuthKey            ndr.DWORD
    DwCustomAuthDataSize       ndr.DWORD
    LpbCustomAuthData          *uint8 `ndr:"unique"`
    GuidId                     guid.GUID
    DwVpnStrategy              ndr.DWORD
}

type MPRI\_INTERFACE\_3

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

type MPRI_INTERFACE_3 struct {
    WszInterfaceName           [257]uint16
    DwInterface                ndr.DWORD
    FEnabled                   ndr.BOOL
    DwIfType                   ROUTER_INTERFACE_TYPE
    DwConnectionState          ROUTER_CONNECTION_STATE
    FUnReachabilityReasons     ndr.DWORD
    DwLastError                ndr.DWORD
    DwfOptions                 ndr.DWORD
    SzLocalPhoneNumber         [129]uint16
    SzAlternates               *ndr.WSTR `ndr:"unique"`
    Ipaddr                     ndr.DWORD
    IpaddrDns                  ndr.DWORD
    IpaddrDnsAlt               ndr.DWORD
    IpaddrWins                 ndr.DWORD
    IpaddrWinsAlt              ndr.DWORD
    DwfNetProtocols            ndr.DWORD
    SzDeviceType               [17]uint16
    SzDeviceName               [129]uint16
    SzX25PadType               [33]uint16
    SzX25Address               [201]uint16
    SzX25Facilities            [201]uint16
    SzX25UserData              [201]uint16
    DwChannels                 ndr.DWORD
    DwSubEntries               ndr.DWORD
    DwDialMode                 ndr.DWORD
    DwDialExtraPercent         ndr.DWORD
    DwDialExtraSampleSeconds   ndr.DWORD
    DwHangUpExtraPercent       ndr.DWORD
    DwHangUpExtraSampleSeconds ndr.DWORD
    DwIdleDisconnectSeconds    ndr.DWORD
    DwType                     ndr.DWORD
    DwEncryptionType           ndr.DWORD
    DwCustomAuthKey            ndr.DWORD
    DwCustomAuthDataSize       ndr.DWORD
    LpbCustomAuthData          *uint8 `ndr:"unique"`
    GuidId                     guid.GUID
    DwVpnStrategy              ndr.DWORD
    AddressCount               ndr.DWORD
    Ipv6addrDns                IN6_ADDR
    Ipv6addrDnsAlt             IN6_ADDR
    Ipv6addr                   *IN6_ADDR `ndr:"unique"`
}

type MPR\_CREDENTIALSEX\_1

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

type MPR_CREDENTIALSEX_1 struct {
    DwSize   ndr.DWORD
    DwOffset ndr.DWORD
    BData    [1]uint8
}

type MPR\_DEVICE\_0

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

type MPR_DEVICE_0 struct {
    SzDeviceType [17]uint16
    SzDeviceName [129]uint16
}

type MPR\_DEVICE\_1

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

type MPR_DEVICE_1 struct {
    SzDeviceType       [17]uint16
    SzDeviceName       [129]uint16
    SzLocalPhoneNumber [129]uint16
    SzAlternates       *ndr.WSTR `ndr:"unique"`
}

type MPR\_FILTER\_0

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

type MPR_FILTER_0 struct {
    FEnable ndr.BOOL
}

type MPR\_IF\_CUSTOMINFOEX\_0

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

type MPR_IF_CUSTOMINFOEX_0 struct {
    Header            MPRAPI_OBJECT_HEADER_IDL
    DwFlags           ndr.DWORD
    CustomIkev2Config ROUTER_IKEv2_IF_CUSTOM_CONFIG_0
}

type MPR\_IF\_CUSTOMINFOEX\_1

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

type MPR_IF_CUSTOMINFOEX_1 struct {
    Header            MPRAPI_OBJECT_HEADER_IDL
    DwFlags           ndr.DWORD
    CustomIkev2Config ROUTER_IKEv2_IF_CUSTOM_CONFIG_1
}

type MPR\_IF\_CUSTOMINFOEX\_IDL

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

type MPR_IF_CUSTOMINFOEX_IDL struct {
    Tag          uint8                 `ndr:"switch"`
    IfConfigObj1 MPR_IF_CUSTOMINFOEX_0 `ndr:"case=1"`
    IfConfigObj2 MPR_IF_CUSTOMINFOEX_1 `ndr:"case=2"`
}

type MPR\_SERVER\_0

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

type MPR_SERVER_0 struct {
    FLanOnlyMode ndr.BOOL
    DwUpTime     ndr.DWORD
    DwTotalPorts ndr.DWORD
    DwPortsInUse ndr.DWORD
}

type MPR\_SERVER\_1

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

type MPR_SERVER_1 struct {
    DwNumPptpPorts  ndr.DWORD
    DwPptpPortFlags ndr.DWORD
    DwNumL2tpPorts  ndr.DWORD
    DwL2tpPortFlags ndr.DWORD
}

type MPR\_SERVER\_2

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

type MPR_SERVER_2 struct {
    DwNumPptpPorts  ndr.DWORD
    DwPptpPortFlags ndr.DWORD
    DwNumL2tpPorts  ndr.DWORD
    DwL2tpPortFlags ndr.DWORD
    DwNumSstpPorts  ndr.DWORD
    DwSstpPortFlags ndr.DWORD
}

type MPR\_SERVER\_EX\_1

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

type MPR_SERVER_EX_1 struct {
    Header       MPRAPI_OBJECT_HEADER_IDL
    FLanOnlyMode ndr.BOOL
    DwUpTime     ndr.DWORD
    DwTotalPorts ndr.DWORD
    DwPortsInUse ndr.DWORD
    Reserved     ndr.DWORD
    ConfigParams MPRAPI_TUNNEL_CONFIG_PARAMS_1
}

type MPR\_SERVER\_EX\_2

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

type MPR_SERVER_EX_2 struct {
    Header       MPRAPI_OBJECT_HEADER_IDL
    FLanOnlyMode ndr.BOOL
    DwUpTime     ndr.DWORD
    DwTotalPorts ndr.DWORD
    DwPortsInUse ndr.DWORD
    Reserved     ndr.DWORD
    ConfigParams MPRAPI_TUNNEL_CONFIG_PARAMS_2
}

type MPR\_SERVER\_EX\_3

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

type MPR_SERVER_EX_3 struct {
    Header       MPRAPI_OBJECT_HEADER_IDL
    FLanOnlyMode ndr.BOOL
    DwUpTime     ndr.DWORD
    DwTotalPorts ndr.DWORD
    DwPortsInUse ndr.DWORD
    Reserved     ndr.DWORD
    ConfigParams MPRAPI_TUNNEL_CONFIG_PARAMS_3
}

type MPR\_SERVER\_EX\_IDL

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

type MPR_SERVER_EX_IDL struct {
    Tag           uint8           `ndr:"switch"`
    ServerConfig1 MPR_SERVER_EX_1 `ndr:"case=1"`
    ServerConfig2 MPR_SERVER_EX_2 `ndr:"case=2"`
    ServerConfig3 MPR_SERVER_EX_3 `ndr:"case=3"`
}

type MPR\_SERVER\_SET\_CONFIG\_EX\_1

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

type MPR_SERVER_SET_CONFIG_EX_1 struct {
    Header                MPRAPI_OBJECT_HEADER_IDL
    SetConfigForProtocols ndr.DWORD
    ConfigParams          MPRAPI_TUNNEL_CONFIG_PARAMS_1
}

type MPR\_SERVER\_SET\_CONFIG\_EX\_2

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

type MPR_SERVER_SET_CONFIG_EX_2 struct {
    Header                MPRAPI_OBJECT_HEADER_IDL
    SetConfigForProtocols ndr.DWORD
    ConfigParams          MPRAPI_TUNNEL_CONFIG_PARAMS_2
}

type MPR\_SERVER\_SET\_CONFIG\_EX\_3

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

type MPR_SERVER_SET_CONFIG_EX_3 struct {
    Header                MPRAPI_OBJECT_HEADER_IDL
    SetConfigForProtocols ndr.DWORD
    ConfigParams          MPRAPI_TUNNEL_CONFIG_PARAMS_3
}

type MPR\_SERVER\_SET\_CONFIG\_EX\_IDL

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

type MPR_SERVER_SET_CONFIG_EX_IDL struct {
    Tag              uint8                      `ndr:"switch"`
    ServerSetConfig1 MPR_SERVER_SET_CONFIG_EX_1 `ndr:"case=1"`
    ServerSetConfig2 MPR_SERVER_SET_CONFIG_EX_2 `ndr:"case=2"`
    ServerSetConfig3 MPR_SERVER_SET_CONFIG_EX_3 `ndr:"case=3"`
}

type OSPF\_AREA\_PARAM

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

type OSPF_AREA_PARAM struct {
    Type           ndr.DWORD
    Create         ndr.DWORD
    Enable         ndr.DWORD
    AreaId         ndr.DWORD
    AuthType       ndr.DWORD
    ImportASExtern ndr.DWORD
    StubMetric     ndr.DWORD
    ImportSumAdv   ndr.DWORD
}

type OSPF\_AREA\_RANGE\_PARAM

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

type OSPF_AREA_RANGE_PARAM struct {
    Type      ndr.DWORD
    Create    ndr.DWORD
    Enable    ndr.DWORD
    AreaId    ndr.DWORD
    RangeNet  ndr.DWORD
    RangeMask ndr.DWORD
}

type OSPF\_FILTER\_ACTION

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

type OSPF_FILTER_ACTION uint16
const (
    ACTION_DROP   OSPF_FILTER_ACTION = 0
    ACTION_ACCEPT OSPF_FILTER_ACTION = 1
)

type OSPF\_GLOBAL\_PARAM

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

type OSPF_GLOBAL_PARAM struct {
    Type      ndr.DWORD
    Create    ndr.DWORD
    Enable    ndr.DWORD
    RouterId  ndr.DWORD
    ASBrdrRtr ndr.DWORD
    LogLevel  ndr.DWORD
}

type OSPF\_INTERFACE\_PARAM

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

type OSPF_INTERFACE_PARAM struct {
    Type            ndr.DWORD
    Create          ndr.DWORD
    Enable          ndr.DWORD
    IntfIpAddr      ndr.DWORD
    IntfSubnetMask  ndr.DWORD
    AreaId          ndr.DWORD
    IntfType        ndr.DWORD
    RouterPriority  ndr.DWORD
    TransitDelay    ndr.DWORD
    RetransInterval ndr.DWORD
    HelloInterval   ndr.DWORD
    DeadInterval    ndr.DWORD
    PollInterval    ndr.DWORD
    MetricCost      ndr.DWORD
    Password        [8]uint8
    MtuSize         ndr.DWORD
}

type OSPF\_NBMA\_NEIGHBOR\_PARAM

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

type OSPF_NBMA_NEIGHBOR_PARAM struct {
    Type             ndr.DWORD
    Create           ndr.DWORD
    Enable           ndr.DWORD
    NeighborIpAddr   ndr.DWORD
    IntfIpAddr       ndr.DWORD
    NeighborPriority ndr.DWORD
}

type OSPF\_PROTO\_FILTER\_INFO

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

type OSPF_PROTO_FILTER_INFO struct {
    Type             ndr.DWORD
    OfaActionOnMatch OSPF_FILTER_ACTION
    DwNumProtoIds    ndr.DWORD
    PdwProtoId       [1]ndr.DWORD
}

type OSPF\_ROUTE\_FILTER

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

type OSPF_ROUTE_FILTER struct {
    DwAddress ndr.DWORD
    DwMask    ndr.DWORD
}

type OSPF\_ROUTE\_FILTER\_INFO

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

type OSPF_ROUTE_FILTER_INFO struct {
    Type             ndr.DWORD
    OfaActionOnMatch OSPF_FILTER_ACTION
    DwNumFilters     ndr.DWORD
    PFilters         [1]OSPF_ROUTE_FILTER
}

type OSPF\_VIRT\_INTERFACE\_PARAM

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

type OSPF_VIRT_INTERFACE_PARAM struct {
    Type                 ndr.DWORD
    Create               ndr.DWORD
    Enable               ndr.DWORD
    TransitAreaId        ndr.DWORD
    VirtNeighborRouterId ndr.DWORD
    TransitDelay         ndr.DWORD
    RetransInterval      ndr.DWORD
    HelloInterval        ndr.DWORD
    DeadInterval         ndr.DWORD
    Password             [8]uint8
}

type PMPR\_SERVER\_EX\_IDL

PMPR_SERVER_EX_IDL is an alias for MPR_SERVER_EX_IDL ([MS-RRASM]).

type PMPR_SERVER_EX_IDL = MPR_SERVER_EX_IDL

type PMPR\_SERVER\_SET\_CONFIG\_EX\_IDL

PMPR_SERVER_SET_CONFIG_EX_IDL is an alias for MPR_SERVER_SET_CONFIG_EX_IDL ([MS-RRASM]).

type PMPR_SERVER_SET_CONFIG_EX_IDL = MPR_SERVER_SET_CONFIG_EX_IDL

type PPP\_ATCP\_INFO

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

type PPP_ATCP_INFO struct {
    DwError    ndr.DWORD
    WszAddress [33]uint16
}

type PPP\_CCP\_INFO

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

type PPP_CCP_INFO struct {
    DwError                      ndr.DWORD
    DwCompressionAlgorithm       ndr.DWORD
    DwOptions                    ndr.DWORD
    DwRemoteCompressionAlgorithm ndr.DWORD
    DwRemoteOptions              ndr.DWORD
}

type PPP\_INFO

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

type PPP_INFO struct {
    Nbf PPP_NBFCP_INFO
    Ip  PPP_IPCP_INFO
    Ipx PPP_IPXCP_INFO
    At  PPP_ATCP_INFO
}

type PPP\_INFO\_2

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

type PPP_INFO_2 struct {
    Nbf PPP_NBFCP_INFO
    Ip  PPP_IPCP_INFO2
    Ipx PPP_IPXCP_INFO
    At  PPP_ATCP_INFO
    Ccp PPP_CCP_INFO
    Lcp PPP_LCP_INFO
}

type PPP\_INFO\_3

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

type PPP_INFO_3 struct {
    Nbf  PPP_NBFCP_INFO
    Ip   PPP_IPCP_INFO2
    Ipv6 PPP_IPV6_CP_INFO
    Ccp  PPP_CCP_INFO
    Lcp  PPP_LCP_INFO
}

type PPP\_IPCP\_INFO

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

type PPP_IPCP_INFO struct {
    DwError          ndr.DWORD
    WszAddress       [16]uint16
    WszRemoteAddress [16]uint16
}

type PPP\_IPCP\_INFO2

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

type PPP_IPCP_INFO2 struct {
    DwError          ndr.DWORD
    WszAddress       [16]uint16
    WszRemoteAddress [16]uint16
    DwOptions        ndr.DWORD
    DwRemoteOptons   ndr.DWORD
}

type PPP\_IPV6\_CP\_INFO

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

type PPP_IPV6_CP_INFO struct {
    DwVersion                  ndr.DWORD
    DwSize                     ndr.DWORD
    DwError                    ndr.DWORD
    BInterfaceIdentifier       [8]uint8
    BRemoteInterfaceIdentifier [8]uint8
    DwOptions                  ndr.DWORD
    DwRemoteOptions            ndr.DWORD
    BPrefix                    [8]uint8
    DwPrefixLength             ndr.DWORD
}

type PPP\_IPXCP\_INFO

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

type PPP_IPXCP_INFO struct {
    DwError    ndr.DWORD
    WszAddress [16]uint16
}

type PPP\_LCP\_INFO

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

type PPP_LCP_INFO struct {
    DwError                        ndr.DWORD
    DwAuthenticationProtocol       ndr.DWORD
    DwAuthenticationData           ndr.DWORD
    DwRemoteAuthenticationProtocol ndr.DWORD
    DwRemoteAuthenticationData     ndr.DWORD
    DwTerminateReason              ndr.DWORD
    DwRemoteTerminateReason        ndr.DWORD
    DwOptions                      ndr.DWORD
    DwRemoteOptions                ndr.DWORD
    DwEapTypeId                    ndr.DWORD
    DwRemoteEapTypeId              ndr.DWORD
}

type PPP\_NBFCP\_INFO

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

type PPP_NBFCP_INFO struct {
    DwError  ndr.DWORD
    WszWksta [17]uint16
}

type PPP\_PROJECTION\_INFO\_1

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

type PPP_PROJECTION_INFO_1 struct {
    DwIPv4NegotiationError         ndr.DWORD
    WszAddress                     [16]uint16
    WszRemoteAddress               [16]uint16
    DwIPv4Options                  ndr.DWORD
    DwIPv4RemoteOptions            ndr.DWORD
    IPv4SubInterfaceIndex          uint64
    DwIPv6NegotiationError         ndr.DWORD
    BInterfaceIdentifier           [8]uint8
    BRemoteInterfaceIdentifier     [8]uint8
    BPrefix                        [8]uint8
    DwPrefixLength                 ndr.DWORD
    IPv6SubInterfaceIndex          uint64
    DwLcpError                     ndr.DWORD
    DwAuthenticationProtocol       ndr.DWORD
    DwAuthenticationData           ndr.DWORD
    DwRemoteAuthenticationProtocol ndr.DWORD
    DwRemoteAuthenticationData     ndr.DWORD
    DwLcpTerminateReason           ndr.DWORD
    DwLcpRemoteTerminateReason     ndr.DWORD
    DwLcpOptions                   ndr.DWORD
    DwLcpRemoteOptions             ndr.DWORD
    DwEapTypeId                    ndr.DWORD
    DwRemoteEapTypeId              ndr.DWORD
    DwCcpError                     ndr.DWORD
    DwCompressionAlgorithm         ndr.DWORD
    DwCcpOptions                   ndr.DWORD
    DwRemoteCompressionAlgorithm   ndr.DWORD
    DwCcpRemoteOptions             ndr.DWORD
}

type PPP\_PROJECTION\_INFO\_2

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

type PPP_PROJECTION_INFO_2 struct {
    DwIPv4NegotiationError         ndr.DWORD
    WszAddress                     [16]uint16
    WszRemoteAddress               [16]uint16
    DwIPv4Options                  ndr.DWORD
    DwIPv4RemoteOptions            ndr.DWORD
    IPv4SubInterfaceIndex          uint64
    DwIPv6NegotiationError         ndr.DWORD
    BInterfaceIdentifier           [8]uint8
    BRemoteInterfaceIdentifier     [8]uint8
    BPrefix                        [8]uint8
    DwPrefixLength                 ndr.DWORD
    IPv6SubInterfaceIndex          uint64
    DwLcpError                     ndr.DWORD
    DwAuthenticationProtocol       ndr.DWORD
    DwAuthenticationData           ndr.DWORD
    DwRemoteAuthenticationProtocol ndr.DWORD
    DwRemoteAuthenticationData     ndr.DWORD
    DwLcpTerminateReason           ndr.DWORD
    DwLcpRemoteTerminateReason     ndr.DWORD
    DwLcpOptions                   ndr.DWORD
    DwLcpRemoteOptions             ndr.DWORD
    DwEapTypeId                    ndr.DWORD
    DwEmbeddedEAPTypeId            ndr.DWORD
    DwRemoteEapTypeId              ndr.DWORD
    DwCcpError                     ndr.DWORD
    DwCompressionAlgorithm         ndr.DWORD
    DwCcpOptions                   ndr.DWORD
    DwRemoteCompressionAlgorithm   ndr.DWORD
    DwCcpRemoteOptions             ndr.DWORD
}

type PPROJECTION\_INFO\_IDL\_1

PPROJECTION_INFO_IDL_1 is an alias for PROJECTION_INFO_IDL_1 ([MS-RRASM]).

type PPROJECTION_INFO_IDL_1 = PROJECTION_INFO_IDL_1

type PPTP\_CONFIG\_PARAMS\_1

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

type PPTP_CONFIG_PARAMS_1 struct {
    DwNumPorts  ndr.DWORD
    DwPortFlags ndr.DWORD
}

type PRAS\_CONNECTION\_EX\_IDL

PRAS_CONNECTION_EX_IDL is an alias for RAS_CONNECTION_EX_IDL ([MS-RRASM]).

type PRAS_CONNECTION_EX_IDL = RAS_CONNECTION_EX_IDL

type PRAS\_UPDATE\_CONNECTION\_1\_IDL

PRAS_UPDATE_CONNECTION_1_IDL is an alias for RAS_UPDATE_CONNECTION_1_IDL ([MS-RRASM]).

type PRAS_UPDATE_CONNECTION_1_IDL = RAS_UPDATE_CONNECTION_1_IDL

type PRAS\_UPDATE\_CONNECTION\_IDL

PRAS_UPDATE_CONNECTION_IDL is an alias for RAS_UPDATE_CONNECTION_IDL ([MS-RRASM]).

type PRAS_UPDATE_CONNECTION_IDL = RAS_UPDATE_CONNECTION_IDL

type PRIORITY\_INFO

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

type PRIORITY_INFO struct {
    DwNumProtocols    ndr.DWORD
    PpmProtocolMetric [1]PROTOCOL_METRIC
}

type PRIORITY\_INFO\_EX

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

type PRIORITY_INFO_EX struct {
    DwNumProtocols    ndr.DWORD
    PpmProtocolMetric [1]PROTOCOL_METRIC_EX
}

type PROJECTION\_INFO\_IDL\_1

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

type PROJECTION_INFO_IDL_1 struct {
    Tag                 uint8                   `ndr:"switch"`
    PppProjectionInfo   PPP_PROJECTION_INFO_1   `ndr:"case=1"`
    Ikev2ProjectionInfo IKEV2_PROJECTION_INFO_1 `ndr:"case=2"`
}

type PROJECTION\_INFO\_IDL\_2

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

type PROJECTION_INFO_IDL_2 struct {
    Tag                 uint8                   `ndr:"switch"`
    PppProjectionInfo   PPP_PROJECTION_INFO_2   `ndr:"case=1"`
    Ikev2ProjectionInfo IKEV2_PROJECTION_INFO_2 `ndr:"case=2"`
}

type PROTOCOL\_METRIC

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

type PROTOCOL_METRIC struct {
    DwProtocolId ndr.DWORD
    DwMetric     ndr.DWORD
}

type PROTOCOL\_METRIC\_EX

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

type PROTOCOL_METRIC_EX struct {
    DwProtocolId    ndr.DWORD
    DwSubProtocolId ndr.DWORD
    DwMetric        ndr.DWORD
}

type PVOID

PVOID is the [MS-DTYP] 2.2.35 PVOID (a pointer-sized value). MS-RRASM uses it only for reserved fields carried in opaque buffers (e.g. MIB_IPMCAST_OIF.PvReserved), transmitted as a 4-octet value; defined with a fixed size (not a platform-dependent uintptr) so the wire layout is identical across GOARCH.

type PVOID = uint32

type RASDEVICETYPE

RASDEVICETYPE ([MS-RRASM] 2.2.1.1.9). Widened to a 32-bit base: the RDT_Tunnel..RDT_Broadband flag values (0x00010000+) exceed the 16-bit NDR enum range, so it is transmitted as 4 octets.

type RASDEVICETYPE uint32
const (
    RDT_Modem        RASDEVICETYPE = 0
    RDT_X25          RASDEVICETYPE = 1
    RDT_Isdn         RASDEVICETYPE = 2
    RDT_Serial       RASDEVICETYPE = 3
    RDT_FrameRelay   RASDEVICETYPE = 4
    RDT_Atm          RASDEVICETYPE = 5
    RDT_Sonet        RASDEVICETYPE = 6
    RDT_Sw56         RASDEVICETYPE = 7
    RDT_Tunnel_Pptp  RASDEVICETYPE = 8
    RDT_Tunnel_L2tp  RASDEVICETYPE = 9
    RDT_Irda         RASDEVICETYPE = 10
    RDT_Parallel     RASDEVICETYPE = 11
    RDT_Other        RASDEVICETYPE = 12
    RDT_PPPoE        RASDEVICETYPE = 13
    RDT_Tunnel_Sstp  RASDEVICETYPE = 14
    RDT_Tunnel_Ikev2 RASDEVICETYPE = 15
    RDT_Tunnel       RASDEVICETYPE = 0x00010000
    RDT_Direct       RASDEVICETYPE = 0x00020000
    RDT_Null_Modem   RASDEVICETYPE = 0x00040000
    RDT_Broadband    RASDEVICETYPE = 0x00080000
)

type RASI\_CONNECTION\_0

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

type RASI_CONNECTION_0 struct {
    DwConnection      ndr.DWORD
    DwInterface       ndr.DWORD
    DwConnectDuration ndr.DWORD
    DwInterfaceType   ROUTER_INTERFACE_TYPE
    DwConnectionFlags ndr.DWORD
    WszInterfaceName  [257]uint16
    WszUserName       [257]uint16
    WszLogonDomain    [16]uint16
    WszRemoteComputer [17]uint16
}

type RASI\_CONNECTION\_1

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

type RASI_CONNECTION_1 struct {
    DwConnection          ndr.DWORD
    DwInterface           ndr.DWORD
    PppInfo               PPP_INFO
    DwBytesXmited         ndr.DWORD
    DwBytesRcved          ndr.DWORD
    DwFramesXmited        ndr.DWORD
    DwFramesRcved         ndr.DWORD
    DwCrcErr              ndr.DWORD
    DwTimeoutErr          ndr.DWORD
    DwAlignmentErr        ndr.DWORD
    DwHardwareOverrunErr  ndr.DWORD
    DwFramingErr          ndr.DWORD
    DwBufferOverrunErr    ndr.DWORD
    DwCompressionRatioIn  ndr.DWORD
    DwCompressionRatioOut ndr.DWORD
}

type RASI\_CONNECTION\_2

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

type RASI_CONNECTION_2 struct {
    DwConnection    ndr.DWORD
    WszUserName     [257]uint16
    DwInterfaceType ROUTER_INTERFACE_TYPE
    Guid            guid.GUID
    PppInfo2        PPP_INFO_2
}

type RASI\_CONNECTION\_3

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

type RASI_CONNECTION_3 struct {
    DwVersion       ndr.DWORD
    DwSize          ndr.DWORD
    DwConnection    ndr.DWORD
    WszUserName     [257]uint16
    DwInterfaceType ROUTER_INTERFACE_TYPE
    Guid            guid.GUID
    PppInfo3        PPP_INFO_3
    RasQuarState    RAS_QUARANTINE_STATE
    Timer           FILETIME
}

type RASI\_PORT\_0

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

type RASI_PORT_0 struct {
    DwPort               ndr.DWORD
    DwConnection         ndr.DWORD
    DwPortCondition      RAS_PORT_CONDITION
    DwTotalNumberOfCalls ndr.DWORD
    DwConnectDuration    ndr.DWORD
    WszPortName          [17]uint16
    WszMediaName         [17]uint16
    WszDeviceName        [129]uint16
    WszDeviceType        [17]uint16
}

type RASI\_PORT\_1

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

type RASI_PORT_1 struct {
    DwPort                ndr.DWORD
    DwConnection          ndr.DWORD
    DwHardwareCondition   RAS_HARDWARE_CONDITION
    DwLineSpeed           ndr.DWORD
    DwBytesXmited         ndr.DWORD
    DwBytesRcved          ndr.DWORD
    DwFramesXmited        ndr.DWORD
    DwFramesRcved         ndr.DWORD
    DwCrcErr              ndr.DWORD
    DwTimeoutErr          ndr.DWORD
    DwAlignmentErr        ndr.DWORD
    DwHardwareOverrunErr  ndr.DWORD
    DwFramingErr          ndr.DWORD
    DwBufferOverrunErr    ndr.DWORD
    DwCompressionRatioIn  ndr.DWORD
    DwCompressionRatioOut ndr.DWORD
}

type RASMAN\_DISCONNECT\_TYPE

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

type RASMAN_DISCONNECT_TYPE uint16
const (
    USER_REQUESTED       RASMAN_DISCONNECT_TYPE = 0
    REMOTE_DISCONNECTION RASMAN_DISCONNECT_TYPE = 1
    HARDWARE_FAILURE     RASMAN_DISCONNECT_TYPE = 2
    NOT_DISCONNECTED     RASMAN_DISCONNECT_TYPE = 3
)

type RASMAN\_INFO

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

type RASMAN_INFO struct {
    RI_PortStatus           RASMAN_STATUS
    RI_ConnState            RASMAN_STATE
    RI_LinkSpeed            ndr.DWORD
    RI_LastError            ndr.DWORD
    RI_CurrentUsage         RASMAN_USAGE
    RI_DeviceTypeConnecting [16]int8
    RI_DeviceConnecting     [129]int8
    RI_szDeviceType         [16]int8
    RI_szDeviceName         [129]int8
    RI_szPortName           [17]int8
    RI_DisconnectType       RASMAN_DISCONNECT_TYPE
    RI_OwnershipFlag        ndr.DWORD
    RI_ConnectDuration      ndr.DWORD
    RI_BytesReceived        ndr.DWORD
    RI_Phonebook            [261]int8
    RI_PhoneEntry           [257]int8
    RI_ConnectionHandle     HANDLE
    RI_SubEntry             ndr.DWORD
    RI_rdtDeviceType        RASDEVICETYPE
    RI_GuidEntry            guid.GUID
    RI_dwSessionId          ndr.DWORD
    RI_dwFlags              ndr.DWORD
    RI_CorrelationGuid      guid.GUID
}

type RASMAN\_PORT\_32

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

type RASMAN_PORT_32 struct {
    P_Port            ndr.DWORD
    P_PortName        [16]int8
    P_Status          RASMAN_STATUS
    P_rdtDeviceType   RASDEVICETYPE
    P_ConfiguredUsage RASMAN_USAGE
    P_CurrentUsage    RASMAN_USAGE
    P_MediaName       [16]int8
    P_DeviceType      [16]int8
    P_DeviceName      [129]int8
    P_LineDeviceId    ndr.DWORD
    P_AddressId       ndr.DWORD
}

type RASMAN\_STATE

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

type RASMAN_STATE uint16
const (
    CONNECTING      RASMAN_STATE = 0
    LISTENING       RASMAN_STATE = 1
    CONNECTED       RASMAN_STATE = 2
    DISCONNECTING   RASMAN_STATE = 3
    DISCONNECTED    RASMAN_STATE = 4
    LISTENCOMPLETED RASMAN_STATE = 5
)

type RASMAN\_STATUS

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

type RASMAN_STATUS uint16
const (
    OPEN        RASMAN_STATUS = 0
    CLOSED      RASMAN_STATUS = 1
    UNAVAILABLE RASMAN_STATUS = 2
    REMOVED     RASMAN_STATUS = 3
)

type RASMAN\_USAGE

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

type RASMAN_USAGE uint16
const (
    CALL_NONE            RASMAN_USAGE = 0x00
    CALL_IN              RASMAN_USAGE = 0x01
    CALL_OUT             RASMAN_USAGE = 0x02
    CALL_ROUTER          RASMAN_USAGE = 0x04
    CALL_LOGON           RASMAN_USAGE = 0x08
    CALL_OUT_ONLY        RASMAN_USAGE = 0x10
    CALL_IN_ONLY         RASMAN_USAGE = 0x20
    CALL_OUTBOUND_ROUTER RASMAN_USAGE = 0x40
)

type RASRPC\_CALLBACKLIST

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

type RASRPC_CALLBACKLIST struct {
    PszPortName   [17]uint16
    PszDeviceName [129]uint16
    PszNumber     [129]uint16
    DwDeviceType  ndr.DWORD
    PNext         *RASRPC_CALLBACKLIST `ndr:"unique"`
}

type RASRPC\_LOCATIONLIST

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

type RASRPC_LOCATIONLIST struct {
    DwLocationId ndr.DWORD
    IPrefix      ndr.DWORD
    ISuffix      ndr.DWORD
    PNext        *RASRPC_LOCATIONLIST `ndr:"unique"`
}

type RASRPC\_PBUSER

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

type RASRPC_PBUSER struct {
    FOperatorDial             ndr.BOOL
    FPreviewPhoneNumber       ndr.BOOL
    FUseLocation              ndr.BOOL
    FShowLights               ndr.BOOL
    FShowConnectStatus        ndr.BOOL
    FCloseOnDial              ndr.BOOL
    FAllowLogonPhonebookEdits ndr.BOOL
    FAllowLogonLocationEdits  ndr.BOOL
    FSkipConnectComplete      ndr.BOOL
    FNewEntryWizard           ndr.BOOL
    DwRedialAttempts          ndr.DWORD
    DwRedialSeconds           ndr.DWORD
    DwIdleDisconnectSeconds   ndr.DWORD
    FRedialOnLinkFailure      ndr.BOOL
    FPopupOnTopWhenRedialing  ndr.BOOL
    FExpandAutoDialQuery      ndr.BOOL
    DwCallbackMode            ndr.DWORD
    PCallbacks                *RASRPC_CALLBACKLIST `ndr:"unique"`
    PszLastCallbackByCaller   [129]uint16
    DwPhonebookMode           ndr.DWORD
    PszPersonalFile           [260]uint16
    PszAlternatePath          [260]uint16
    PPhonebooks               *RASRPC_STRINGLIST `ndr:"unique"`
    PAreaCodes                *RASRPC_STRINGLIST `ndr:"unique"`
    FUseAreaAndCountry        ndr.BOOL
    PPrefixes                 *RASRPC_STRINGLIST   `ndr:"unique"`
    PSuffixes                 *RASRPC_STRINGLIST   `ndr:"unique"`
    PLocations                *RASRPC_LOCATIONLIST `ndr:"unique"`
    DwXPhonebook              ndr.DWORD
    DwYPhonebook              ndr.DWORD
    PszDefaultEntry           [257]uint16
    FInitialized              ndr.BOOL
    FDirty                    ndr.BOOL
}

type RASRPC\_STRINGLIST

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

type RASRPC_STRINGLIST struct {
    Psz   [256]uint16
    PNext *RASRPC_STRINGLIST `ndr:"unique"`
}

type RAS\_CALLEDID\_INFO

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

type RAS_CALLEDID_INFO struct {
    DwSize    ndr.DWORD
    BCalledId [1]uint8
}

type RAS\_CONNECTION\_4\_IDL

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

type RAS_CONNECTION_4_IDL struct {
    DwConnectDuration        ndr.DWORD
    DwInterfaceType          ROUTER_INTERFACE_TYPE
    DwConnectionFlags        ndr.DWORD
    WszInterfaceName         [257]uint16
    WszUserName              [257]uint16
    WszLogonDomain           [16]uint16
    WszRemoteComputer        [17]uint16
    Guid                     guid.GUID
    RasQuarState             RAS_QUARANTINE_STATE
    ProbationTime            FILETIME
    ConnectionStartTime      FILETIME
    DwBytesXmited            ndr.DWORD
    DwBytesRcved             ndr.DWORD
    DwFramesXmited           ndr.DWORD
    DwFramesRcved            ndr.DWORD
    DwCrcErr                 ndr.DWORD
    DwTimeoutErr             ndr.DWORD
    DwAlignmentErr           ndr.DWORD
    DwHardwareOverrunErr     ndr.DWORD
    DwFramingErr             ndr.DWORD
    DwBufferOverrunErr       ndr.DWORD
    DwCompressionRatioIn     ndr.DWORD
    DwCompressionRatioOut    ndr.DWORD
    DwNumSwitchOvers         ndr.DWORD
    WszRemoteEndpointAddress [65]uint16
    WszLocalEndpointAddress  [65]uint16
    ProjectionInfo           PROJECTION_INFO_IDL_2
    HConnection              ndr.DWORD
    HInterface               ndr.DWORD
    DwDeviceType             ndr.DWORD
}

type RAS\_CONNECTION\_EX\_1\_IDL

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

type RAS_CONNECTION_EX_1_IDL struct {
    Header                   MPRAPI_OBJECT_HEADER_IDL
    DwConnectDuration        ndr.DWORD
    DwInterfaceType          ROUTER_INTERFACE_TYPE
    DwConnectionFlags        ndr.DWORD
    WszInterfaceName         [257]uint16
    WszUserName              [257]uint16
    WszLogonDomain           [16]uint16
    WszRemoteComputer        [17]uint16
    Guid                     guid.GUID
    RasQuarState             RAS_QUARANTINE_STATE
    ProbationTime            FILETIME
    DwBytesXmited            ndr.DWORD
    DwBytesRcved             ndr.DWORD
    DwFramesXmited           ndr.DWORD
    DwFramesRcved            ndr.DWORD
    DwCrcErr                 ndr.DWORD
    DwTimeoutErr             ndr.DWORD
    DwAlignmentErr           ndr.DWORD
    DwHardwareOverrunErr     ndr.DWORD
    DwFramingErr             ndr.DWORD
    DwBufferOverrunErr       ndr.DWORD
    DwCompressionRatioIn     ndr.DWORD
    DwCompressionRatioOut    ndr.DWORD
    DwNumSwitchOvers         ndr.DWORD
    WszRemoteEndpointAddress [65]uint16
    WszLocalEndpointAddress  [65]uint16
    ProjectionInfo           PROJECTION_INFO_IDL_1
    HConnection              ndr.DWORD
    HInterface               ndr.DWORD
}

type RAS\_CONNECTION\_EX\_IDL

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

type RAS_CONNECTION_EX_IDL struct {
    Tag            uint8                   `ndr:"switch"`
    RasConnection1 RAS_CONNECTION_EX_1_IDL `ndr:"case=1"`
}

type RAS\_DEVICE\_INFO

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

type RAS_DEVICE_INFO struct {
    DwVersion              ndr.DWORD
    FWrite                 ndr.BOOL
    FRasEnabled            ndr.BOOL
    FRouterEnabled         ndr.BOOL
    FRouterOutboundEnabled ndr.BOOL
    DwTapiLineId           ndr.DWORD
    DwError                ndr.DWORD
    DwNumEndPoints         ndr.DWORD
    DwMaxOutCalls          ndr.DWORD
    DwMaxInCalls           ndr.DWORD
    DwMinWanEndPoints      ndr.DWORD
    DwMaxWanEndPoints      ndr.DWORD
    EDeviceType            RASDEVICETYPE
    GuidDevice             guid.GUID
    SzPortName             [17]int8
    SzDeviceName           [129]int8
    WszDeviceName          [129]uint16
}

type RAS\_HARDWARE\_CONDITION

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

type RAS_HARDWARE_CONDITION uint16
const (
    RAS_HARDWARE_OPERATIONAL RAS_HARDWARE_CONDITION = 0
    RAS_HARDWARE_FAILURE     RAS_HARDWARE_CONDITION = 1
)

type RAS\_NDISWAN\_DRIVER\_INFO

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

type RAS_NDISWAN_DRIVER_INFO struct {
    DriverCaps ndr.DWORD
    Reserved   ndr.DWORD
}

type RAS\_PORT\_CONDITION

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

type RAS_PORT_CONDITION uint16
const (
    RAS_PORT_NON_OPERATIONAL RAS_PORT_CONDITION = 0
    RAS_PORT_DISCONNECTED    RAS_PORT_CONDITION = 1
    RAS_PORT_CALLING_BACK    RAS_PORT_CONDITION = 2
    RAS_PORT_LISTENING       RAS_PORT_CONDITION = 3
    RAS_PORT_AUTHENTICATING  RAS_PORT_CONDITION = 4
    RAS_PORT_AUTHENTICATED   RAS_PORT_CONDITION = 5
    RAS_PORT_INITIALIZING    RAS_PORT_CONDITION = 6
)

type RAS\_QUARANTINE\_STATE

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

type RAS_QUARANTINE_STATE uint16
const (
    RAS_QUAR_STATE_NORMAL     RAS_QUARANTINE_STATE = 0
    RAS_QUAR_STATE_QUARANTINE RAS_QUARANTINE_STATE = 1
    RAS_QUAR_STATE_PROBATION  RAS_QUARANTINE_STATE = 2
    RAS_QUAR_STATE_UNKNOWN    RAS_QUARANTINE_STATE = 3
)

type RAS\_UPDATE\_CONNECTION\_1\_IDL

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

type RAS_UPDATE_CONNECTION_1_IDL struct {
    Header                   MPRAPI_OBJECT_HEADER_IDL
    DwIfIndex                ndr.DWORD
    WszRemoteEndpointAddress [65]uint16
}

type RAS\_UPDATE\_CONNECTION\_IDL

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

type RAS_UPDATE_CONNECTION_IDL struct {
    Tag               uint8                       `ndr:"switch"`
    UpdateConnection1 RAS_UPDATE_CONNECTION_1_IDL `ndr:"case=1"`
}

type RIPMIB\_BASE

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

type RIPMIB_BASE struct {
    RIPOperState ndr.DWORD
}

type RIP\_GLOBAL\_INFO

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

type RIP_GLOBAL_INFO struct {
    EventLogMask ndr.DWORD
}

type RIP\_IF\_CONFIG

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

type RIP_IF_CONFIG struct {
    RipIfInfo    RIP_IF_INFO
    RipIfFilters RIP_IF_FILTERS
}

type RIP\_IF\_FILTERS

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

type RIP_IF_FILTERS struct {
    SupplyFilterAction ndr.DWORD
    SupplyFilterCount  ndr.DWORD
    ListenFilterAction ndr.DWORD
    ListenFilterCount  ndr.DWORD
    RouteFilter        [1]RIP_ROUTE_FILTER_INFO
}

type RIP\_IF\_INFO

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

type RIP_IF_INFO struct {
    AdminState             ndr.DWORD
    UpdateMode             ndr.DWORD
    PacketType             ndr.DWORD
    Supply                 ndr.DWORD
    Listen                 ndr.DWORD
    PeriodicUpdateInterval ndr.DWORD
    AgeIntervalMultiplier  ndr.DWORD
}

type RIP\_IF\_STATS

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

type RIP_IF_STATS struct {
    RipIfOperState     ndr.DWORD
    RipIfInputPackets  ndr.DWORD
    RipIfOutputPackets ndr.DWORD
}

type RIP\_INTERFACE

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

type RIP_INTERFACE struct {
    InterfaceIndex ndr.DWORD
    RipIfInfo      RIP_IF_INFO
    RipIfStats     RIP_IF_STATS
}

type RIP\_MIB\_GET\_INPUT\_DATA

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

type RIP_MIB_GET_INPUT_DATA struct {
    TableId        ndr.DWORD
    InterfaceIndex ndr.DWORD
}

type RIP\_MIB\_SET\_INPUT\_DATA

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

type RIP_MIB_SET_INPUT_DATA struct {
    TableId      ndr.DWORD
    RipInterface RIP_INTERFACE
}

type RIP\_ROUTE\_FILTER\_INFO

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

type RIP_ROUTE_FILTER_INFO struct {
    Network [4]uint8
    Mask    [4]uint8
}

type ROUTER\_CONNECTION\_STATE

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

type ROUTER_CONNECTION_STATE uint16
const (
    ROUTER_IF_STATE_UNREACHABLE  ROUTER_CONNECTION_STATE = 0
    ROUTER_IF_STATE_DISCONNECTED ROUTER_CONNECTION_STATE = 1
    ROUTER_IF_STATE_CONNECTING   ROUTER_CONNECTION_STATE = 2
    ROUTER_IF_STATE_CONNECTED    ROUTER_CONNECTION_STATE = 3
)

type ROUTER\_CUSTOM\_IKEv2\_POLICY\_0

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

type ROUTER_CUSTOM_IKEv2_POLICY_0 struct {
    DwIntegrityMethod         ndr.DWORD
    DwEncryptionMethod        ndr.DWORD
    DwCipherTransformConstant ndr.DWORD
    DwAuthTransformConstant   ndr.DWORD
    DwPfsGroup                ndr.DWORD
    DwDhGroup                 ndr.DWORD
}

type ROUTER\_CUSTOM\_L2TP\_POLICY\_0

ROUTER_CUSTOM_L2TP_POLICY_0 is an alias for ROUTER_CUSTOM_IKEv2_POLICY_0 (same IDL typedef).

type ROUTER_CUSTOM_L2TP_POLICY_0 = ROUTER_CUSTOM_IKEv2_POLICY_0

type ROUTER\_IKEv2\_IF\_CUSTOM\_CONFIG\_0

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

type ROUTER_IKEv2_IF_CUSTOM_CONFIG_0 struct {
    DwSaLifeTime    ndr.DWORD
    DwSaDataSize    ndr.DWORD
    CertificateName CERT_BLOB_1
    CustomPolicy    *ROUTER_CUSTOM_IKEv2_POLICY_0 `ndr:"unique"`
}

type ROUTER\_IKEv2\_IF\_CUSTOM\_CONFIG\_1

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

type ROUTER_IKEv2_IF_CUSTOM_CONFIG_1 struct {
    DwSaLifeTime    ndr.DWORD
    DwSaDataSize    ndr.DWORD
    CertificateName CERT_BLOB_1
    CustomPolicy    *ROUTER_CUSTOM_IKEv2_POLICY_0 `ndr:"unique"`
    CertificateHash CERT_BLOB_1
}

type ROUTER\_INTERFACE\_TYPE

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

type ROUTER_INTERFACE_TYPE uint16
const (
    ROUTER_IF_TYPE_CLIENT      ROUTER_INTERFACE_TYPE = 0
    ROUTER_IF_TYPE_HOME_ROUTER ROUTER_INTERFACE_TYPE = 1
    ROUTER_IF_TYPE_FULL_ROUTER ROUTER_INTERFACE_TYPE = 2
    ROUTER_IF_TYPE_DEDICATED   ROUTER_INTERFACE_TYPE = 3
    ROUTER_IF_TYPE_INTERNAL    ROUTER_INTERFACE_TYPE = 4
    ROUTER_IF_TYPE_LOOPBACK    ROUTER_INTERFACE_TYPE = 5
    ROUTER_IF_TYPE_TUNNEL1     ROUTER_INTERFACE_TYPE = 6
    ROUTER_IF_TYPE_DIALOUT     ROUTER_INTERFACE_TYPE = 7
)

type ROUTING\_TABLE\_INDEX

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

type ROUTING_TABLE_INDEX struct {
    Network [4]uint8
}

type RTR\_DISC\_INFO

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

type RTR_DISC_INFO struct {
    WMaxAdvtInterval uint16
    WMinAdvtInterval uint16
    WAdvtLifetime    uint16
    BAdvertise       ndr.BOOL
    LPrefLevel       int32
}

type RTR\_INFO\_BLOCK\_HEADER

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

type RTR_INFO_BLOCK_HEADER struct {
    Version         ndr.DWORD
    Size            ndr.DWORD
    TocEntriesCount ndr.DWORD
    TocEntry        [1]RTR_TOC_ENTRY
}

type RTR\_TOC\_ENTRY

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

type RTR_TOC_ENTRY struct {
    InfoType ndr.DWORD
    InfoSize ndr.DWORD
    Count    ndr.DWORD
    Offset   ndr.DWORD
}

type ReqTypes

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

type ReqTypes uint16
const (
    REQTYPE_PORTENUM             ReqTypes = 21
    REQTYPE_GETINFO              ReqTypes = 22
    REQTYPE_GETDEVCONFIG         ReqTypes = 73
    REQTYPE_SETDEVICECONFIGINFO  ReqTypes = 94
    REQTYPE_GETDEVICECONFIGINFO  ReqTypes = 95
    REQTYPE_GETCALLEDID          ReqTypes = 105
    REQTYPE_SETCALLEDID          ReqTypes = 106
    REQTYPE_GETNDISWANDRIVERCAPS ReqTypes = 111
)

type RequestBuffer

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

type RequestBuffer struct {
    RB_PCBIndex ndr.DWORD
    RB_Reqtype  ReqTypes
    RB_Dummy    ndr.DWORD
    RB_Done     ndr.DWORD
    Alignment   int64
    RB_Buffer   [1]uint8
}

type SAP\_GLOBAL\_INFO

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

type SAP_GLOBAL_INFO struct {
    EventLogMask ndr.DWORD
}

type SAP\_IF\_CONFIG

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

type SAP_IF_CONFIG struct {
    SapIfInfo    SAP_IF_INFO
    SapIfFilters SAP_IF_FILTERS
}

type SAP\_IF\_FILTERS

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

type SAP_IF_FILTERS struct {
    SupplyFilterAction ndr.DWORD
    SupplyFilterCount  ndr.DWORD
    ListenFilterAction ndr.DWORD
    ListenFilterCount  ndr.DWORD
    ServiceFilter      [1]SAP_SERVICE_FILTER_INFO
}

type SAP\_IF\_INFO

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

type SAP_IF_INFO struct {
    AdminState             ndr.DWORD
    UpdateMode             ndr.DWORD
    PacketType             ndr.DWORD
    Supply                 ndr.DWORD
    Listen                 ndr.DWORD
    GetNearestServerReply  ndr.DWORD
    PeriodicUpdateInterval ndr.DWORD
    AgeIntervalMultiplier  ndr.DWORD
}

type SAP\_IF\_STATS

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

type SAP_IF_STATS struct {
    SapIfOperState     ndr.DWORD
    SapIfInputPackets  ndr.DWORD
    SapIfOutputPackets ndr.DWORD
}

type SAP\_INTERFACE

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

type SAP_INTERFACE struct {
    InterfaceIndex ndr.DWORD
    SapIfInfo      SAP_IF_INFO
    SapIfStats     SAP_IF_STATS
}

type SAP\_MIB\_BASE

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

type SAP_MIB_BASE struct {
    SapOperState ndr.DWORD
}

type SAP\_MIB\_GET\_INPUT\_DATA

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

type SAP_MIB_GET_INPUT_DATA struct {
    TableId        ndr.DWORD
    InterfaceIndex ndr.DWORD
}

type SAP\_MIB\_SET\_INPUT\_DATA

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

type SAP_MIB_SET_INPUT_DATA struct {
    TableId      ndr.DWORD
    SapInterface SAP_INTERFACE
}

type SAP\_SERVICE\_FILTER\_INFO

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

type SAP_SERVICE_FILTER_INFO struct {
    // ServiceType is the 4-byte-aligned union of USHORT ServiceType / ULONG align.
    ServiceType ndr.DWORD
    ServiceName [48]uint8
}

type SERVICES\_TABLE\_INDEX

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

type SERVICES_TABLE_INDEX struct {
    ServiceType uint16
    ServiceName [48]uint8
}

type SSTP\_CERT\_INFO\_1

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

type SSTP_CERT_INFO_1 struct {
    IsDefault ndr.BOOL
    CertBlob  CERT_BLOB_1
}

type SSTP\_CONFIG\_PARAMS\_1

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

type SSTP_CONFIG_PARAMS_1 struct {
    DwNumPorts      ndr.DWORD
    DwPortFlags     ndr.DWORD
    IsUseHttps      ndr.BOOL
    CertAlgorithm   ndr.DWORD
    SstpCertDetails SSTP_CERT_INFO_1
}

type STATIC\_ROUTES\_TABLE\_INDEX

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

type STATIC_ROUTES_TABLE_INDEX struct {
    InterfaceIndex ndr.DWORD
    Network        [4]uint8
}

type STATIC\_SERVICES\_TABLE\_INDEX

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

type STATIC_SERVICES_TABLE_INDEX struct {
    InterfaceIndex ndr.DWORD
    ServiceType    uint16
    ServiceName    [48]uint8
}

type TCP\_RTO\_ALGORITHM

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

type TCP_RTO_ALGORITHM uint16
const (
    MIB_TCP_RTO_OTHER    TCP_RTO_ALGORITHM = 1
    MIB_TCP_RTO_CONSTANT TCP_RTO_ALGORITHM = 2
    MIB_TCP_RTO_RSRE     TCP_RTO_ALGORITHM = 3
    MIB_TCP_RTO_VANJ     TCP_RTO_ALGORITHM = 4
)

type UINT32

UINT32 is the [MS-DTYP] 32-bit unsigned integer, transmitted as 4 octets.

type UINT32 = uint32

type ULONG\_PTR

ULONG_PTR is the [MS-DTYP] 2.2.55 ULONG_PTR. MS-RRASM transmits it as a 4-octet value in its 32-bit representation; defined with a fixed size (not a platform-dependent uintptr) so the wire layout is identical across GOARCH.

type ULONG_PTR = uint32