Searched refs:smb_swap16 (Results 1 – 1 of 1) sorted by relevance
132 static unsigned short smb_swap16(unsigned short x) in smb_swap16() function157 # define smb_swap16(x) (x) macro354 h->flags2 = smb_swap16(SMB_FLAGS2_IS_LONG_NAME | SMB_FLAGS2_KNOWS_LONG_NAME); in smb_format_message()355 h->uid = smb_swap16(smbc->uid); in smb_format_message()356 h->tid = smb_swap16(req->tid); in smb_format_message()358 h->pid_high = smb_swap16((unsigned short)(pid >> 16)); in smb_format_message()359 h->pid = smb_swap16((unsigned short) pid); in smb_format_message()454 msg.max_buffer_size = smb_swap16(MAX_MESSAGE_SIZE); in smb_send_setup()455 msg.max_mpx_count = smb_swap16(1); in smb_send_setup()456 msg.vc_number = smb_swap16(1); in smb_send_setup()[all …]