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

msraiw

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

Index

type WINSINTF\_ACT\_E

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

type WINSINTF_ACT_E uint16
const (
    WINSINTF_E_INSERT  WINSINTF_ACT_E = 0
    WINSINTF_E_DELETE  WINSINTF_ACT_E = 1
    WINSINTF_E_RELEASE WINSINTF_ACT_E = 2
    WINSINTF_E_MODIFY  WINSINTF_ACT_E = 3
    WINSINTF_E_QUERY   WINSINTF_ACT_E = 4
)

type WINSINTF\_ADD\_T

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

type WINSINTF_ADD_T struct {
    Type  uint8
    Len   ndr.DWORD
    IPAdd ndr.DWORD
}

type WINSINTF\_ADD\_VERS\_MAP\_T

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

type WINSINTF_ADD_VERS_MAP_T struct {
    Add    WINSINTF_ADD_T
    VersNo msdtyp.LARGE_INTEGER
}

type WINSINTF\_BIND\_DATA\_T

WINSINTF_BIND_DATA_T is the binding information for the WINSIF_HANDLE customized ([handle]) binding handle ([MS-RAIW] 2.2.1.5). Its members are the [string] LPSTR server address and pipe name, modeled as unique ASCII strings. A customized handle both selects the binding and is transmitted to the server as a normal [in] data parameter ([C706] Customized Handles), so this structure appears on the wire in R_WinsGetBrowserNames (opnum 17) and R_WinsStatusWHdl (opnum 20).

type WINSINTF_BIND_DATA_T struct {
    FTcpIp     ndr.DWORD
    PServerAdd *ndr.STR `ndr:"unique"`
    PPipeName  *ndr.STR `ndr:"unique"`
}

type WINSINTF\_BROWSER\_INFO\_T

WINSINTF_BROWSER_INFO_T ([MS-RAIW] 2.2.2.4). PName is a [string] LPBYTE, i.e. a NUL-terminated OEM/ASCII byte string, modeled as a unique ndr.STR.

type WINSINTF_BROWSER_INFO_T struct {
    DwNameLen ndr.DWORD
    PName     *ndr.STR `ndr:"unique"`
}

type WINSINTF\_BROWSER\_NAMES\_T

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

type WINSINTF_BROWSER_NAMES_T struct {
    EntriesRead ndr.DWORD
    PInfo       []WINSINTF_BROWSER_INFO_T `ndr:"unique,size_is=EntriesRead"`
}

type WINSINTF\_CMD\_E

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

type WINSINTF_CMD_E uint16
const (
    WINSINTF_E_ADDVERSMAP      WINSINTF_CMD_E = 0
    WINSINTF_E_CONFIG          WINSINTF_CMD_E = 1
    WINSINTF_E_STAT            WINSINTF_CMD_E = 2
    WINSINTF_E_CONFIG_ALL_MAPS WINSINTF_CMD_E = 3
)

type WINSINTF\_PRIORITY\_CLASS\_E

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

type WINSINTF_PRIORITY_CLASS_E uint16
const (
    WINSINTF_E_NORMAL WINSINTF_PRIORITY_CLASS_E = 0
    WINSINTF_E_HIGH   WINSINTF_PRIORITY_CLASS_E = 1
)

type WINSINTF\_PULL\_RANGE\_INFO\_T

WINSINTF_PULL_RANGE_INFO_T ([MS-RAIW] 2.2.2.8). PPnr is a reserved LPVOID that MUST be ignored; it is modeled as a 4-octet value. This structure is defined by the IDL but is not carried by any interface method.

type WINSINTF_PULL_RANGE_INFO_T struct {
    PPnr      ndr.DWORD
    OwnAdd    WINSINTF_ADD_T
    MinVersNo WINSINTF_VERS_NO_T
    MaxVersNo WINSINTF_VERS_NO_T
}

type WINSINTF\_RECORD\_ACTION\_T

WINSINTF_RECORD_ACTION_T ([MS-RAIW] 2.2.2.1) is the record acted on by R_WinsRecordAction and returned by the R_WinsGetDbRecs* enumerations.

type WINSINTF_RECORD_ACTION_T struct {
    Cmd_e WINSINTF_ACT_E
    // PName is [size_is(NameLen + 1)] LPBYTE: a [unique] pointer to a conformant byte
    // buffer holding the NetBIOS name plus a trailing NUL. The size_is bound is an
    // arithmetic expression the codec cannot key on, so the maximum_count derives from
    // the slice length — callers set PName to NameLen+1 bytes and NameLen to match.
    PName      []uint8 `ndr:"unique,conformant"`
    NameLen    ndr.DWORD
    TypOfRec_e ndr.DWORD
    NoOfAdds   ndr.DWORD
    PAdd       []WINSINTF_ADD_T `ndr:"unique,size_is=NoOfAdds"`
    Add        WINSINTF_ADD_T
    VersNo     msdtyp.LARGE_INTEGER
    NodeTyp    uint8
    OwnerId    ndr.DWORD
    State_e    ndr.DWORD
    FStatic    ndr.DWORD
    // TimeStamp is IDL DWORD_PTR. Under the NDR20 transfer syntax an __int3264
    // pointer-sized integer is transmitted as a 4-octet value ([MS-RPCE] 2.2.4.1),
    // so it is modeled as a 32-bit DWORD.
    TimeStamp ndr.DWORD
}

type WINSINTF\_RECS\_T

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

type WINSINTF_RECS_T struct {
    BuffSize      ndr.DWORD
    PRow          []WINSINTF_RECORD_ACTION_T `ndr:"unique,size_is=NoOfRecs"`
    NoOfRecs      ndr.DWORD
    TotalNoOfRecs ndr.DWORD
}

type WINSINTF\_RESULTS\_NEW\_T

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

type WINSINTF_RESULTS_NEW_T struct {
    NoOfOwners        ndr.DWORD
    PAddVersMaps      []WINSINTF_ADD_VERS_MAP_T `ndr:"unique,size_is=NoOfOwners"`
    MyMaxVersNo       msdtyp.LARGE_INTEGER
    RefreshInterval   ndr.DWORD
    TombstoneInterval ndr.DWORD
    TombstoneTimeout  ndr.DWORD
    VerifyInterval    ndr.DWORD
    WINSPriorityClass ndr.DWORD
    NoOfWorkerThds    ndr.DWORD
    WINSStat          WINSINTF_STAT_T
}

type WINSINTF\_RESULTS\_T

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

type WINSINTF_RESULTS_T struct {
    NoOfOwners        ndr.DWORD
    AddVersMaps       [25]WINSINTF_ADD_VERS_MAP_T
    MyMaxVersNo       msdtyp.LARGE_INTEGER
    RefreshInterval   ndr.DWORD
    TombstoneInterval ndr.DWORD
    TombstoneTimeout  ndr.DWORD
    VerifyInterval    ndr.DWORD
    WINSPriorityClass ndr.DWORD
    NoOfWorkerThds    ndr.DWORD
    WINSStat          WINSINTF_STAT_T
}

type WINSINTF\_RPL\_COUNTERS\_T

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

type WINSINTF_RPL_COUNTERS_T struct {
    Add           WINSINTF_ADD_T
    NoOfRpls      ndr.DWORD
    NoOfCommFails ndr.DWORD
}

type WINSINTF\_SCV\_OPC\_E

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

type WINSINTF_SCV_OPC_E uint16
const (
    WINSINTF_E_SCV_GENERAL WINSINTF_SCV_OPC_E = 0
    WINSINTF_E_SCV_VERIFY  WINSINTF_SCV_OPC_E = 1
)

type WINSINTF\_SCV\_REQ\_T

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

type WINSINTF_SCV_REQ_T struct {
    Opcode_e WINSINTF_SCV_OPC_E
    Age      ndr.DWORD
    FForce   ndr.DWORD
}

type WINSINTF\_STAT\_T

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

type WINSINTF_STAT_T struct {
    Counters   WINSINTF_STAT_T_Counters
    TimeStamps WINSINTF_STAT_T_TimeStamps
    NoOfPnrs   ndr.DWORD
    PRplPnrs   []WINSINTF_RPL_COUNTERS_T `ndr:"unique,size_is=NoOfPnrs"`
}

type WINSINTF\_STAT\_T\_Counters

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

type WINSINTF_STAT_T_Counters struct {
    NoOfUniqueReg   ndr.DWORD
    NoOfGroupReg    ndr.DWORD
    NoOfQueries     ndr.DWORD
    NoOfSuccQueries ndr.DWORD
    NoOfFailQueries ndr.DWORD
    NoOfUniqueRef   ndr.DWORD
    NoOfGroupRef    ndr.DWORD
    NoOfRel         ndr.DWORD
    NoOfSuccRel     ndr.DWORD
    NoOfFailRel     ndr.DWORD
    NoOfUniqueCnf   ndr.DWORD
    NoOfGroupCnf    ndr.DWORD
}

type WINSINTF\_STAT\_T\_TimeStamps

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

type WINSINTF_STAT_T_TimeStamps struct {
    WINSStartTime     msdtyp.SYSTEMTIME
    LastPScvTime      msdtyp.SYSTEMTIME
    LastATScvTime     msdtyp.SYSTEMTIME
    LastTombScvTime   msdtyp.SYSTEMTIME
    LastVerifyScvTime msdtyp.SYSTEMTIME
    LastPRplTime      msdtyp.SYSTEMTIME
    LastATRplTime     msdtyp.SYSTEMTIME
    LastNTRplTime     msdtyp.SYSTEMTIME
    LastACTRplTime    msdtyp.SYSTEMTIME
    LastInitDbTime    msdtyp.SYSTEMTIME
    CounterResetTime  msdtyp.SYSTEMTIME
}

type WINSINTF\_TRIG\_TYPE\_E

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

type WINSINTF_TRIG_TYPE_E uint16
const (
    WINSINTF_E_PULL      WINSINTF_TRIG_TYPE_E = 0
    WINSINTF_E_PUSH      WINSINTF_TRIG_TYPE_E = 1
    WINSINTF_E_PUSH_PROP WINSINTF_TRIG_TYPE_E = 2
)

type WINSINTF\_VERS\_NO\_T

WINSINTF_VERS_NO_T is an alias for LARGE_INTEGER ([MS-RAIW]).

type WINSINTF_VERS_NO_T = msdtyp.LARGE_INTEGER