Lines Matching refs:smb_header
316 msg_size = sizeof(struct smb_header); in smb_recv_message()
341 static void smb_format_message(struct connectdata *conn, struct smb_header *h, in smb_format_message()
411 smb_format_message(conn, (struct smb_header *)conn->data->state.uploadbuffer, in smb_send_message()
413 memcpy(conn->data->state.uploadbuffer + sizeof(struct smb_header), in smb_send_message()
416 return smb_send(conn, sizeof(struct smb_header) + msg_len, 0); in smb_send_message()
637 struct smb_header *h; in smb_connection_state()
714 struct smb_header *h; in smb_request_state()
779 if(h->status || smbc->got < sizeof(struct smb_header) + 14) { in smb_request_state()
785 sizeof(struct smb_header) + 11); in smb_request_state()
787 sizeof(struct smb_header) + 13); in smb_request_state()
810 if(h->status || smbc->got < sizeof(struct smb_header) + 6) { in smb_request_state()
816 sizeof(struct smb_header) + 5); in smb_request_state()