Displaying 1 result from an estimated 1 matches for "smb_maxcnt".
2003 Dec 01
0
No subject
...,int bufsize)
{
/*added to support sendfile start */
int outsize;
off_t sbytes;
struct sf_hdtr smb_sf_hdtr;
struct iovec smb_hdr[1];
int smb_com2;
/*added to support sendfile end */
files_struct *fsp = file_fsp(inbuf,smb_vwv2);
SMB_OFF_T startpos = IVAL(inbuf,smb_vwv3);
size_t smb_maxcnt = SVAL(inbuf,smb_vwv5);
size_t smb_mincnt = SVAL(inbuf,smb_vwv6);
ssize_t nread = -1;
char *data;
START_PROFILE(SMBreadX);
/* If it's an IPC, pass off the pipe handler. */
if (IS_IPC(conn)) {
END_PROFILE(SMBreadX);
return reply_pipe_read_and_X(inbuf,outbuf,length,bufsize);...