| /plan9/sys/src/cmd/aquarela/ |
| H A D | smbtransaction.c | 16 …deprimary(SmbTransaction *t, SmbHeader *h, uchar *pdata, SmbBuffer *b, int hasname, char **errmsgp) in _smbtransactiondecodeprimary() argument 21 smbstringprint(errmsgp, "word count less than 14"); in _smbtransactiondecodeprimary() 26 smbstringprint(errmsgp, "smbcomtransaction: word count invalid\n"); in _smbtransactiondecodeprimary() 55 smbstringprint(errmsgp, "not enough bdata for name"); in _smbtransactiondecodeprimary() 59 smbstringprint(errmsgp, "not enough bdata for parameters"); in _smbtransactiondecodeprimary() 63 smbstringprint(errmsgp, "too many parameters"); in _smbtransactiondecodeprimary() 70 smbstringprint(errmsgp, "not enough bdata for data"); in _smbtransactiondecodeprimary() 74 smbstringprint(errmsgp, "too much data"); in _smbtransactiondecodeprimary() 86 decoderesponse(SmbTransaction *t, Args *a, SmbBuffer *b, char **errmsgp) in decoderesponse() argument 89 smbstringprint(errmsgp, "decoderesponse: too many parameters for buffer"); in decoderesponse() [all …]
|
| H A D | smbconnect.c | 4 smbconnect(char *to, char *share, char **errmsgp) in smbconnect() argument 54 smbstringprint(errmsgp, "smbconnect: read error: %r"); in smbconnect() 59 if (!smbbuffergetandcheckheader(b, &rh, h.command, 1, &pdata, &bytecount, errmsgp)) in smbconnect() 61 if (!smbsuccess(&rh, errmsgp)) in smbconnect() 64 smbstringprint(errmsgp, "no parameters in negotiate response"); in smbconnect() 69 smbstringprint(errmsgp, "no agreement on protocol"); in smbconnect() 73 smbstringprint(errmsgp, "wrong number of parameters for negotiate response"); in smbconnect() 100 smbstringprint(errmsgp, "not enough data for encryption key"); in smbconnect() 108 smbstringprint(errmsgp, "not enough data for oemdomainname"); in smbconnect() 113 smbstringprint(errmsgp, "server wants extended security"); in smbconnect() [all …]
|
| H A D | smbrap2client.c | 11 …lientrap(SmbClient *c, SmbBuffer *inparam, SmbBuffer *outparam, SmbBuffer *outdata, char **errmsgp) in smbclientrap() argument 26 …ransactionexecute(&transaction, &h, &c->peerinfo, c->b, &smbtransactionmethodrap, c, nil, errmsgp); in smbclientrap() 30 …m2(SmbClient *c, ulong stype, char *domain, int *entriesp, SmbRapServerInfo1 **sip, char **errmsgp) in smbnetserverenum2() argument 45 rv = !smbclientrap(c, ipb, opb, odb, errmsgp); in smbnetserverenum2() 55 smbstringprint(errmsgp, "smbnetserverenum2: not enough return parameters"); in smbnetserverenum2() 64 smbstringprint(errmsgp, "smbnetserverenum2: not enough return data"); in smbnetserverenum2() 82 smbstringprint(errmsgp, "smbnetserverenum2: invalid string offset"); in smbnetserverenum2()
|
| H A D | smbfns.h | 149 SmbClient *smbconnect(char *to, char *share, char **errmsgp); 151 int smbsuccess(SmbHeader *h, char **errmsgp); 153 …nsactiondecodeprimary(SmbTransaction *t, SmbHeader *h, uchar *pdata, SmbBuffer *b, char **errmsgp); 154 …sactiondecodeprimary2(SmbTransaction *t, SmbHeader *h, uchar *pdata, SmbBuffer *b, char **errmsgp); 156 …tionencoderesponse(SmbTransaction *t, SmbHeader *h, SmbPeerInfo *p, SmbBuffer *ob, char **errmsgp); 157 …ionencoderesponse2(SmbTransaction *t, SmbHeader *h, SmbPeerInfo *p, SmbBuffer *ob, char **errmsgp); 159 uchar *wordcountp, ushort *bytecountp, char **errmsgp); 161 uchar *wordcountp, ushort *bytecountp, char **errmsgp); 162 …sactiondecoderesponse(SmbTransaction *t, SmbHeader *h, uchar *pdata, SmbBuffer *b, char **errmsgp); 163 …actiondecoderesponse2(SmbTransaction *t, SmbHeader *h, uchar *pdata, SmbBuffer *b, char **errmsgp); [all …]
|
| H A D | smbbrowse.c | 4 smbmailslotsend(NbDgramSendParameters *p, SmbBuffer *msg, char **errmsgp) in smbmailslotsend() argument 22 rv = smbtransactionexecute(&transaction, &h, nil, b, &smbtransactionmethoddgram, p, nil, errmsgp); in smbmailslotsend() 28 smbbrowsesendhostannouncement(char *name, ulong periodms, ulong type, char *comment, char **errmsgp) in smbbrowsesendhostannouncement() argument 53 rv = smbmailslotsend(&p, b, errmsgp); in smbbrowsesendhostannouncement()
|
| H A D | smbtrans2client.c | 11 …*setup, SmbBuffer *inparam, SmbBuffer *outparam, SmbBuffer *outdata, SmbHeader *rh, char **errmsgp) in smbclienttrans2() argument 27 return smbtransactionexecute(&transaction, &h, &c->peerinfo, c->b, &method, c, rh, errmsgp); in smbclienttrans2() 32 …*sidp, ushort *searchcountp, ushort *endofsearchp,SmbFindFileBothDirectoryInfo *ip, char **errmsgp) in smbclienttrans2findfirst2() argument 50 rv = smbclienttrans2(c, 1, &setup, inparam, outparam, outdata, &rh, errmsgp); in smbclienttrans2findfirst2() 62 smbstringprint(errmsgp, "smbclienttrans2findfirst2: not enough parameters returned"); in smbclienttrans2findfirst2() 75 smbstringprint(errmsgp, "smbclientrans2findfirst2: not enough data returned"); in smbclienttrans2findfirst2()
|
| H A D | smbdat.h | 209 SmbBuffer *ob, uchar *wordcount, ushort *bytecount, char **errmsgp); 210 int (*encodesecondary)(SmbTransaction *t, SmbHeader *h, SmbBuffer *ob, char **errmsgp); 211 int (*sendrequest)(void *magic, SmbBuffer *ob, char **errmsgp); 212 int (*receiveintermediate)(void *magic, uchar *wordcountp, ushort *bytecountp, char **errmsgp); 213 int (*receiveresponse)(void *magic, SmbBuffer *ib, char **errmsgp); 214 int (*decoderesponse)(SmbTransaction *t, SmbHeader *h, uchar *pdata, SmbBuffer *b, char **errmsgp); 216 SmbBuffer *ob, char **errmsgp); 217 int (*sendresponse)(void *magic, SmbBuffer *ob, char **errmsgp);
|
| H A D | smbcommon.c | 133 smbcheckheaderdirection(SmbHeader *h, int response, char **errmsgp) in smbcheckheaderdirection() argument 136 smbstringprint(errmsgp, "unexpected %s", response ? "request" : "response"); in smbcheckheaderdirection() 143 smbcheckheader(SmbHeader *h, uchar command, int response, char **errmsgp) in smbcheckheader() argument 146 smbstringprint(errmsgp, "sent %.2uc request, got %.2ux response", command, h->command); in smbcheckheader() 149 if (!smbcheckheaderdirection(h, response, errmsgp)) in smbcheckheader() 155 … *b, SmbHeader *h, uchar command, int response, uchar **pdatap, ushort *bytecountp, char **errmsgp) in smbbuffergetandcheckheader() argument 158 smbstringprint(errmsgp, "smbbuffergetandcheckheader: not enough data for header"); in smbbuffergetandcheckheader() 161 return smbcheckheader(h, command, response, errmsgp); in smbbuffergetandcheckheader() 165 smbsuccess(SmbHeader *h, char **errmsgp) in smbsuccess() argument 168 …smbstringprint(errmsgp, "%s returned error %d/%d", smboptable[h->command].name, h->errclass, h->er… in smbsuccess()
|
| H A D | smbclientopen.c | 5 ushort *fidp, ushort *attrp, ulong *mtimep, ulong *sizep, ushort *accessallowedp, char **errmsgp) in smbclientopen() argument 31 smbstringprint(errmsgp, "read error: %r"); in smbclientopen() 36 if (!smbbuffergetandcheckheader(b, &h, h.command, 7, &pdata, &bytecount, errmsgp)) { in smbclientopen()
|
| H A D | smbcomtransaction.c | 4 sendresponse(void *magic, SmbBuffer *, char **errmsgp) in sendresponse() argument 10 smbstringprint(errmsgp, "sendresponse failed"); in sendresponse()
|