Home
last modified time | relevance | path

Searched refs:smbbufferputbytes (Results 1 – 11 of 11) sorted by relevance

/plan9/sys/src/cmd/aquarela/
H A Dsmbcomread.c58 if (!smbbufferputbytes(s->response, nil, 6) in smbcomreadandx()
76 if (!smbbufferputbytes(s->response, nil, nb) in smbcomreadandx()
H A Dsmbresponse.c45 return smbbufferputbytes(sess->response, nil, amount); in smbresponseskip()
69 return smbbufferputbytes(s->response, data, datalen); in smbresponsecpy()
H A Dsmbcomecho.c17 if (!smbbufferputbytes(s->response, smbbufferreadpointer(b), smbbufferreadspace(b)) in smbcomecho()
H A Dsmbconnect.c42 smbbufferputbytes(b, nil, 2); in smbconnect()
148 smbbufferputbytes(b, &mschapreply, sizeof(mschapreply)); in smbconnect()
270 assert(smbbufferputbytes(ib, nil, n)); in smbtransactionclientreceive()
H A Dsmbtransaction.c281 assert(smbbufferputbytes(ob, t->in.parameters + t->in.pcount, pthistime)); in _transactionencodeprimary()
299 assert(smbbufferputbytes(ob, t->in.data + t->in.dcount, dthistime)); in _transactionencodeprimary()
351 if (!smbbufferputbytes(ob, nil, 6 * sizeof(ushort)) in _transactionencoderesponse()
369 if (!smbbufferputbytes(ob, smbbufferreadpointer(t->out.parameters), pbytecount)) in _transactionencoderesponse()
380 if (!smbbufferputbytes(ob, smbbufferreadpointer(t->out.data), dbytecount)) in _transactionencoderesponse()
H A Dsmbnegotiate.c73 if (!smbbufferputbytes(s->response, s->cs->chal, s->cs->nchal) in smbnegotiate()
H A Dsmbcommon.c190 if (!smbbufferputbytes(b, nil, offsetof(SmbRawHeader, parameterwords[0]))) in smbbufferputheader()
224 return smbbufferputbytes(b, nil, 2); in smbbufferputandxheader()
H A Dsmbbuffer.c128 smbbufferputbytes(SmbBuffer *s, void *data, ulong datalen) in smbbufferputbytes() function
576 if (smbbufferputbytes(to, smbbufferreadpointer(from), amount)) { in smbbuffercopy()
H A Dsmbcomopen.c688 || !smbbufferputbytes(s->response, nil, 4) in smbcomntcreateandx()
690 || !smbbufferputbytes(s->response, nil, 8) in smbcomntcreateandx()
H A Dsmbtrans2query.c54 || !smbbufferputbytes(s->transaction.out.data, nil, 6) in query()
H A Dsmbfns.h113 int smbbufferputbytes(SmbBuffer *s, void *data, ulong datalen);