Searched refs:sendbuf (Results 1 – 2 of 2) sorted by relevance
89 static uchar_t sendbuf[1024]; variable318 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()
96 static uchar_t sendbuf[1024]; variable349 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()