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()
414 smb_format_message(conn, (struct smb_header *)conn->data->state.ulbuf, in smb_send_message()
416 memcpy(conn->data->state.ulbuf + sizeof(struct smb_header), in smb_send_message()
419 return smb_send(conn, sizeof(struct smb_header) + msg_len, 0); in smb_send_message()
646 struct smb_header *h; in smb_connection_state()
742 struct smb_header *h; in smb_request_state()
819 if(h->status || smbc->got < sizeof(struct smb_header) + 14) { in smb_request_state()
825 sizeof(struct smb_header) + 11); in smb_request_state()
827 sizeof(struct smb_header) + 13); in smb_request_state()
850 if(h->status || smbc->got < sizeof(struct smb_header) + 6) { in smb_request_state()
856 sizeof(struct smb_header) + 5); in smb_request_state()