Home
last modified time | relevance | path

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

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