Searched refs:smb_hdr (Results 1 - 14 of 14) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/pcap2nbench/ |
H A D | main.cpp | 557 return !memcmp(smb_hdr.magic, magic, 4); 564 smb_hdr(data + 14 + ip_hdr.header_length + tcp_hdr.length, 574 switch (smb_hdr.command) { 576 if (smb_hdr.flags & 0x80) { 583 if (!(smb_hdr.flags & 0x80)) { 588 if (!(smb_hdr.flags & 0x80)) { 593 if (!(smb_hdr.flags & 0x80)) { 603 smb smb_hdr; member in struct:Packet 675 if (!(i->smb_hdr.flags & 0x80)) { 681 if (j->smb_hdr [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/cifs/ |
H A D | cifspdu.h | 386 struct smb_hdr { struct 417 /* given a pointer to an smb_hdr retrieve the value of byte count */ 418 #define BCC(smb_var) (*(__u16 *)((char *)(smb_var) + sizeof(struct smb_hdr) + (2 * (smb_var)->WordCount))) 419 #define BCC_LE(smb_var) (*(__le16 *)((char *)(smb_var) + sizeof(struct smb_hdr) + (2 * (smb_var)->WordCount))) 420 /* given a pointer to an smb_hdr retrieve the pointer to the byte area */ 421 #define pByteArea(smb_var) ((unsigned char *)(smb_var) + sizeof(struct smb_hdr) + (2 * (smb_var)->WordCount) + 2) 467 struct smb_hdr hdr; /* wct = 0 */ 477 struct smb_hdr hdr; /* wct = 13 */ 501 struct smb_hdr hdr; /* wct = 17 */ 557 struct smb_hdr hd [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 TCP_Server_Info *, struct smb_hdr *, 64 struct smb_hdr * /* input */ , 65 struct smb_hdr * /* out */ , 68 struct smb_hdr *in_buf, int flags); 74 struct smb_hdr *in_buf , 75 struct smb_hdr *out_buf, 77 extern int checkSMB(struct smb_hdr *smb, __u16 mid, unsigned int length); 78 extern bool is_valid_oplock_break(struct smb_hdr *sm [all...] |
H A D | misc.c | 141 struct smb_hdr * 144 struct smb_hdr *ret_buf = NULL; 155 memset(ret_buf, 0, sizeof(struct smb_hdr) + 3); 178 struct smb_hdr * 181 struct smb_hdr *ret_buf = NULL; 190 /* memset(ret_buf, 0, sizeof(struct smb_hdr) + 27);*/ 285 header_assemble(struct smb_hdr *buffer, char smb_command /* command */ , 296 (2 * word_count) + sizeof(struct smb_hdr) - 384 checkSMBhdr(struct smb_hdr *smb, __u16 mid) 411 checkSMB(struct smb_hdr *sm [all...] |
H A D | cifs_debug.h | 29 void cifs_dump_detail(struct smb_hdr *); 35 void dump_smb(struct smb_hdr *, int);
|
H A D | cifssmb.c | 237 header_assemble((struct smb_hdr *) *request_buf, smb_command, 251 struct smb_hdr *buffer; 257 buffer = (struct smb_hdr *)*request_buf; 289 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon, 341 sizeof(struct smb_hdr) + 413 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, 414 (struct smb_hdr *) pSMBr, &bytes_returned, 0); 665 struct smb_hdr *smb_buffer; 735 rc = SendReceiveNoRsp(xid, ses, (struct smb_hdr *) pSMB, 0); 808 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSM [all...] |
H A D | transport.c | 40 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) 112 struct smb_hdr *smb_buffer = iov[0].iov_base; 236 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, 289 static int allocate_mid(struct cifsSesInfo *ses, struct smb_hdr *in_buf, 370 struct smb_hdr *in_buf, int flags) 395 struct smb_hdr *in_buf = iov[0].iov_base; 558 if (receive_len >= sizeof(struct smb_hdr) - 4 582 struct smb_hdr *in_buf, struct smb_hdr *out_buf, 746 if (receive_len >= sizeof(struct smb_hdr) [all...] |
H A D | cifsencrypt.c | 44 static int cifs_calculate_signature(const struct smb_hdr *cifs_pdu, 60 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, 131 struct smb_hdr *cifs_pdu = iov[0].iov_base; 158 int cifs_verify_signature(struct smb_hdr *cifs_pdu,
|
H A D | connect.c | 217 static int check2ndT2(struct smb_hdr *pSMB, unsigned int maxBufSize) 259 static int coalesce_t2(struct smb_hdr *psecond, struct smb_hdr *pTargetSMB) 330 struct smb_hdr *smb_buffer = NULL; 331 struct smb_hdr *bigbuf = NULL; 332 struct smb_hdr *smallbuf = NULL; 367 memset(bigbuf, 0, sizeof(struct smb_hdr)); 380 memset(smallbuf, 0, sizeof(struct smb_hdr)); 483 (pdu_length < sizeof(struct smb_hdr) - 1 - 4)) { 622 sizeof(struct smb_hdr)); [all...] |
H A D | netmisc.c | 839 map_smb_to_linux_error(struct smb_hdr *smb, int logErr) 916 smbCalcSize(struct smb_hdr *ptr) 918 return (sizeof(struct smb_hdr) + (2 * ptr->WordCount) + 923 smbCalcSize_LE(struct smb_hdr *ptr) 925 return (sizeof(struct smb_hdr) + (2 * ptr->WordCount) +
|
H A D | cifsglob.h | 460 struct smb_hdr *resp_buf; /* response buffer */
|
H A D | readdir.c | 569 smbCalcSize((struct smb_hdr *) 835 max_len = smbCalcSize((struct smb_hdr *)
|
H A D | sess.c | 567 struct smb_hdr *smb_buf; 862 smb_buf = (struct smb_hdr *)iov[0].iov_base;
|
H A D | cifs_debug.c | 61 void cifs_dump_detail(struct smb_hdr *smb)
|
Completed in 104 milliseconds