Searched refs:smb_hdr (Results 1 - 13 of 13) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/cifs/ |
H A D | cifspdu.h | 331 struct smb_hdr { struct 362 /* given a pointer to an smb_hdr retrieve the value of byte count */ 363 #define BCC(smb_var) ( *(__u16 *)((char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) ) ) 364 #define BCC_LE(smb_var) ( *(__le16 *)((char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) ) ) 365 /* given a pointer to an smb_hdr retrieve the pointer to the byte area */ 366 #define pByteArea(smb_var) ((unsigned char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) + 2 ) 410 struct smb_hdr hdr; /* wct = 0 */ 420 struct smb_hdr hdr; /* wct = 13 */ 444 struct smb_hdr hdr; /* wct = 17 */ 499 struct smb_hdr hd [all...] |
H A D | misc.c | 142 struct smb_hdr * 145 struct smb_hdr *ret_buf = NULL; 152 (struct smb_hdr *) mempool_alloc(cifs_req_poolp, GFP_KERNEL | GFP_NOFS); 157 memset(ret_buf, 0, sizeof(struct smb_hdr) + 3); 181 struct smb_hdr * 184 struct smb_hdr *ret_buf = NULL; 191 (struct smb_hdr *) mempool_alloc(cifs_sm_req_poolp, GFP_KERNEL | GFP_NOFS); 194 /* memset(ret_buf, 0, sizeof(struct smb_hdr) + 27);*/ 289 header_assemble(struct smb_hdr *buffer, char smb_command /* command */ , 300 (2 * word_count) + sizeof (struct smb_hdr) [all...] |
H A D | cifsproto.h | 34 extern struct smb_hdr *cifs_buf_get(void); 36 extern struct smb_hdr *cifs_small_buf_get(void); 38 extern int smb_send(struct socket *, struct smb_hdr *, 48 struct smb_hdr * /* input */ , 49 struct smb_hdr * /* out */ , 56 struct smb_hdr * /* input */ , 57 struct smb_hdr * /* out */ , 59 extern int checkSMB(struct smb_hdr *smb, __u16 mid, unsigned int length); 60 extern int is_valid_oplock_break(struct smb_hdr *smb, struct TCP_Server_Info *); 63 extern unsigned int smbCalcSize(struct smb_hdr *pt [all...] |
H A D | cifs_debug.h | 28 void cifs_dump_detail(struct smb_hdr *); 32 void dump_smb(struct smb_hdr *, int);
|
H A D | cifssmb.c | 209 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon,wct); 222 struct smb_hdr * buffer; 228 buffer = (struct smb_hdr *)*request_buf; 355 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon, 382 sizeof(struct smb_hdr) + 443 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, 444 (struct smb_hdr *) pSMBr, &bytes_returned, 0); 656 struct smb_hdr *smb_buffer; 657 struct smb_hdr *smb_buffer_response; /* BB removeme BB */ 719 struct smb_hdr *smb_buffer_respons [all...] |
H A D | transport.c | 40 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct cifsSesInfo *ses) 146 smb_send(struct socket *ssocket, struct smb_hdr *smb_buffer, 221 struct smb_hdr *smb_buffer = iov[0].iov_base; 350 static int allocate_mid(struct cifsSesInfo *ses, struct smb_hdr *in_buf, 428 struct smb_hdr *in_buf = iov[0].iov_base; 575 sizeof (struct smb_hdr) - 598 struct smb_hdr *in_buf, struct smb_hdr *out_buf, 754 sizeof (struct smb_hdr) - 775 send_nt_cancel(struct cifsTconInfo *tcon, struct smb_hdr *in_bu [all...] |
H A D | cifsencrypt.c | 43 static int cifs_calculate_signature(const struct smb_hdr * cifs_pdu, 58 int cifs_sign_smb(struct smb_hdr * cifs_pdu, struct TCP_Server_Info * server, 125 struct smb_hdr * cifs_pdu = iov[0].iov_base; 153 int cifs_verify_signature(struct smb_hdr * cifs_pdu, const char * mac_key,
|
H A D | connect.c | 223 static int check2ndT2(struct smb_hdr * pSMB, unsigned int maxBufSize) 265 static int coalesce_t2(struct smb_hdr * psecond, struct smb_hdr *pTargetSMB) 336 struct smb_hdr *smb_buffer = NULL; 337 struct smb_hdr *bigbuf = NULL; 338 struct smb_hdr *smallbuf = NULL; 379 memset(bigbuf, 0, sizeof (struct smb_hdr)); 392 memset(smallbuf, 0, sizeof (struct smb_hdr)); 505 (pdu_length < sizeof (struct smb_hdr) - 1 - 4)) { 642 sizeof(struct smb_hdr)); [all...] |
H A D | netmisc.c | 821 map_smb_to_linux_error(struct smb_hdr *smb) 889 smbCalcSize(struct smb_hdr *ptr) 891 return (sizeof (struct smb_hdr) + (2 * ptr->WordCount) + 896 smbCalcSize_LE(struct smb_hdr *ptr) 898 return (sizeof (struct smb_hdr) + (2 * ptr->WordCount) +
|
H A D | sess.c | 317 struct smb_hdr *smb_buf; 494 smb_buf = (struct smb_hdr *)iov[0].iov_base;
|
H A D | cifsglob.h | 400 struct smb_hdr *resp_buf; /* response buffer */
|
H A D | readdir.c | 702 smbCalcSize((struct smb_hdr *) 1049 max_len = smbCalcSize((struct smb_hdr *)
|
H A D | cifs_debug.c | 61 void cifs_dump_detail(struct smb_hdr * smb)
|
Completed in 95 milliseconds