Documentation ¶
Index ¶
- Constants
- Variables
- type Bind
- type BindAckDecoder
- func (c BindAckDecoder) AssocGroupId() uint32
- func (c BindAckDecoder) AuthLength() uint16
- func (c BindAckDecoder) CallId() uint32
- func (c BindAckDecoder) DataRepresentation() []byte
- func (c BindAckDecoder) FragLength() uint16
- func (c BindAckDecoder) IsInvalid() bool
- func (c BindAckDecoder) MaxRecvFrag() uint16
- func (c BindAckDecoder) MaxXmitFrag() uint16
- func (c BindAckDecoder) PacketFlags() uint8
- func (c BindAckDecoder) PacketType() uint8
- func (c BindAckDecoder) Version() uint8
- func (c BindAckDecoder) VersionMinor() uint8
- type NetShareEnumAllRequest
- type NetShareEnumAllResponseDecoder
- func (c NetShareEnumAllResponseDecoder) AllocHint() uint32
- func (c NetShareEnumAllResponseDecoder) AuthLength() uint16
- func (c NetShareEnumAllResponseDecoder) Buffer() []byte
- func (c NetShareEnumAllResponseDecoder) CallId() uint32
- func (c NetShareEnumAllResponseDecoder) CancelCount() uint8
- func (c NetShareEnumAllResponseDecoder) ContextId() uint16
- func (c NetShareEnumAllResponseDecoder) DataRepresentation() []byte
- func (c NetShareEnumAllResponseDecoder) FragLength() uint16
- func (c NetShareEnumAllResponseDecoder) IsIncomplete() bool
- func (c NetShareEnumAllResponseDecoder) IsInvalid() bool
- func (c NetShareEnumAllResponseDecoder) PacketFlags() uint8
- func (c NetShareEnumAllResponseDecoder) PacketType() uint8
- func (c NetShareEnumAllResponseDecoder) ShareNameList() []string
- func (c NetShareEnumAllResponseDecoder) Version() uint8
- func (c NetShareEnumAllResponseDecoder) VersionMinor() uint8
Constants ¶
View Source
const ( RPC_VERSION = 5 RPC_VERSION_MINOR = 0 RPC_TYPE_REQUEST = 0 RPC_TYPE_RESPONSE = 2 RPC_TYPE_BIND = 11 RPC_TYPE_BIND_ACK = 12 RPC_PACKET_FLAG_FIRST = 0x01 RPC_PACKET_FLAG_LAST = 0x02 SRVSVC_VERSION = 3 SRVSVC_VERSION_MINOR = 0 NDR_VERSION = 2 OP_NET_SHARE_ENUM = 15 )
Variables ¶
View Source
var ( SRVSVC_UUID = []byte("c84f324b7016d30112785a47bf6ee188") NDR_UUID = []byte("045d888aeb1cc9119fe808002b104860") )
Functions ¶
This section is empty.
Types ¶
type BindAckDecoder ¶
type BindAckDecoder []byte
func (BindAckDecoder) AssocGroupId ¶
func (c BindAckDecoder) AssocGroupId() uint32
func (BindAckDecoder) AuthLength ¶
func (c BindAckDecoder) AuthLength() uint16
func (BindAckDecoder) CallId ¶
func (c BindAckDecoder) CallId() uint32
func (BindAckDecoder) DataRepresentation ¶
func (c BindAckDecoder) DataRepresentation() []byte
func (BindAckDecoder) FragLength ¶
func (c BindAckDecoder) FragLength() uint16
func (BindAckDecoder) IsInvalid ¶
func (c BindAckDecoder) IsInvalid() bool
func (BindAckDecoder) MaxRecvFrag ¶
func (c BindAckDecoder) MaxRecvFrag() uint16
func (BindAckDecoder) MaxXmitFrag ¶
func (c BindAckDecoder) MaxXmitFrag() uint16
func (BindAckDecoder) PacketFlags ¶
func (c BindAckDecoder) PacketFlags() uint8
func (BindAckDecoder) PacketType ¶
func (c BindAckDecoder) PacketType() uint8
func (BindAckDecoder) Version ¶
func (c BindAckDecoder) Version() uint8
func (BindAckDecoder) VersionMinor ¶
func (c BindAckDecoder) VersionMinor() uint8
type NetShareEnumAllRequest ¶
type NetShareEnumAllRequest struct {}
func (*NetShareEnumAllRequest) Encode ¶
func (r *NetShareEnumAllRequest) Encode(b []byte)
func (*NetShareEnumAllRequest) Size ¶
func (r *NetShareEnumAllRequest) Size() int
type NetShareEnumAllResponseDecoder ¶
type NetShareEnumAllResponseDecoder []byte
func (NetShareEnumAllResponseDecoder) AllocHint ¶
func (c NetShareEnumAllResponseDecoder) AllocHint() uint32
func (NetShareEnumAllResponseDecoder) AuthLength ¶
func (c NetShareEnumAllResponseDecoder) AuthLength() uint16
func (NetShareEnumAllResponseDecoder) Buffer ¶
func (c NetShareEnumAllResponseDecoder) Buffer() []byte
func (NetShareEnumAllResponseDecoder) CallId ¶
func (c NetShareEnumAllResponseDecoder) CallId() uint32
func (NetShareEnumAllResponseDecoder) CancelCount ¶
func (c NetShareEnumAllResponseDecoder) CancelCount() uint8
func (NetShareEnumAllResponseDecoder) ContextId ¶
func (c NetShareEnumAllResponseDecoder) ContextId() uint16
func (NetShareEnumAllResponseDecoder) DataRepresentation ¶
func (c NetShareEnumAllResponseDecoder) DataRepresentation() []byte
func (NetShareEnumAllResponseDecoder) FragLength ¶
func (c NetShareEnumAllResponseDecoder) FragLength() uint16
func (NetShareEnumAllResponseDecoder) IsIncomplete ¶
func (c NetShareEnumAllResponseDecoder) IsIncomplete() bool
func (NetShareEnumAllResponseDecoder) IsInvalid ¶
func (c NetShareEnumAllResponseDecoder) IsInvalid() bool
func (NetShareEnumAllResponseDecoder) PacketFlags ¶
func (c NetShareEnumAllResponseDecoder) PacketFlags() uint8
func (NetShareEnumAllResponseDecoder) PacketType ¶
func (c NetShareEnumAllResponseDecoder) PacketType() uint8
func (NetShareEnumAllResponseDecoder) ShareNameList ¶
func (c NetShareEnumAllResponseDecoder) ShareNameList() []string
func (NetShareEnumAllResponseDecoder) Version ¶
func (c NetShareEnumAllResponseDecoder) Version() uint8
func (NetShareEnumAllResponseDecoder) VersionMinor ¶
func (c NetShareEnumAllResponseDecoder) VersionMinor() uint8
Click to show internal directories.
Click to hide internal directories.