Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NegotiateResponse ¶
type NegotiateResponse struct { Dialect smbdialect.Revision SecMode smbsecmode.Flags Server smbid.ID Caps smbcap.Flags MaxTransactSize uint32 MaxReadSize uint32 MaxWriteSize uint32 SystemTime time.Time SecurityBuffer []byte }
NegotiateResponse holds SMB negotiation response data that can be serialized as an SMB packet.
func (NegotiateResponse) Command ¶
func (r NegotiateResponse) Command() smbcommand.Code
Command returns the type of command of the response.
func (NegotiateResponse) Marshal ¶
func (r NegotiateResponse) Marshal(data []byte)
Marshal marshals r as an SMB negotiation response to data.
func (NegotiateResponse) Size ¶
func (r NegotiateResponse) Size() int
Size returns the number of bytes required to marshal the negotiation response. It excludes the packet header.
func (NegotiateResponse) Status ¶
func (r NegotiateResponse) Status() uint32
Status returns the status of the response.
Click to show internal directories.
Click to hide internal directories.