Searched refs:smb_len (Results 1 - 15 of 15) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/smbfs/
H A Dsock.c138 return smb_len(header);
220 server->smb_len = result + 4;
222 if (server->smb_len < SMB_HEADER_LEN) {
228 if (server->smb_len > SMB_MAX_PACKET_SIZE) {
260 int rlen = smb_len(server->header) - server->smb_read + 4;
289 if (server->smb_read >= server->smb_len)
H A Drequest.c134 req->rq_rlen = smb_len(req->rq_header) + 4 - req->rq_bytes_recvd;
154 int len = smb_len(req->rq_header) + 4;
474 add_recv_stats(smb_len(server->header));
779 VERBOSE("smb_len: %d smb_read: %d\n",
780 server->smb_len, server->smb_read);
781 if (server->smb_read < server->smb_len)
H A Dproto.h11 extern __u32 smb_len(__u8 *p);
H A Dproc.c577 smb_len(__u8 * p) function
599 && (smb_len(packet) + 4 == SMB_HEADER_LEN
1280 req->rq_rlen = smb_len(req->rq_header) + 4 - req->rq_bytes_recvd;
1403 req->rq_rlen = smb_len(req->rq_header) + 4 - req->rq_bytes_recvd;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dsmb_fs_sb.h66 u32 smb_len; member in struct:smb_sb_info
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/libsmb/
H A Dsmb_signing.c300 smb_len(buf) - (offset_end_of_sig - 4));
321 if (smb_len(outbuf) < (smb_ss_field + 8 - 4)) {
322 DEBUG(1, ("client_sign_outgoing_message: Logic error. Can't check signature on short packet! smb_len = %u\n",
323 smb_len(outbuf) ));
371 if (smb_len(inbuf) < (smb_ss_field + 8 - 4)) {
372 DEBUG(1, ("client_check_incoming_message: Can't check signature on short packet! smb_len = %u\n", smb_len(inbuf)));
666 if (smb_len(outbuf) < (smb_ss_field + 8 - 4)) {
667 DEBUG(1, ("srv_sign_outgoing_message: Logic error. Can't send signature on short packet! smb_len = %u\n",
668 smb_len(outbu
[all...]
H A Dclientgen.c146 len = smb_len(cli->outbuf) + 4;
H A Dclireadwrite.c222 size2 = smb_len(cli->inbuf);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/smbd/
H A Dprocess.c267 timeout time [%u.%06u]\n", (unsigned int) smb_len(InBuffer)+4, (unsigned int)mid,
271 smb_len(InBuffer)+4, &tv, private, priv_len);
829 if (len < 4) len = smb_len(data)+4;
866 DEBUG(2,("Non-SMB packet of length %d. Terminating server\n",smb_len(inbuf)));
1070 int32 len = smb_len(inbuf);
1104 if (nread != smb_len(outbuf) + 4) {
1106 nread, smb_len(outbuf)));
1180 int outsize = smb_len(outbuf) + 4;
H A Dnegprot.c121 return (smb_len(outbuf)+4);
162 return (smb_len(outbuf)+4);
344 return (smb_len(outbuf)+4);
H A Dreply.c2459 /* Even though this is not an smb message, smb_len returns the generic length of an smb message */
2460 numtowrite = smb_len(inbuf);
2678 unsigned int smblen = smb_len(inbuf);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/wrepld/
H A Dserver.c277 len = smb_len(inbuf.buffer);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/include/
H A Dsmb_macros.h197 #define smb_len(buf) (PVAL(buf,3)|(PVAL(buf,2)<<8)|((PVAL(buf,1)&1)<<16)) macro
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/lib/
H A Dutil_sock.c498 len = smb_len(inbuf);
641 len = smb_len(buffer) + 4;
H A Dutil.c468 smb_len(buf),

Completed in 190 milliseconds