Searched refs:sendbuf (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/smbclnt/test/
H A Dsrvinfo.c89 static uchar_t sendbuf[1024]; variable
318 p = sendbuf;
326 sendbuf[INFO_SLEN1_OFF] = len / 2;
327 sendbuf[INFO_SLEN2_OFF] = len / 2;
330 for (len = (p - sendbuf) & 3; len; len--)
338 len = p - sendbuf;
339 sendbuf[INFO_RPCLEN_OFF] = len;
345 wlen = smb_fh_write(fid, 0, len, (char *)sendbuf);
H A Dsrvenum.c96 static uchar_t sendbuf[1024]; variable
349 p = sendbuf;
357 sendbuf[ENUM_SLEN1_OFF] = len / 2;
358 sendbuf[ENUM_SLEN2_OFF] = len / 2;
361 for (len = (p - sendbuf) & 3; len; len--)
370 len = p - sendbuf;
371 sendbuf[ENUM_RPCLEN_OFF] = len;
377 wlen = smb_fh_write(fid, 0, len, (char *)sendbuf);

Completed in 44 milliseconds