Home
last modified time | relevance | path

Searched refs:smb_swap16 (Results 1 – 1 of 1) sorted by relevance

/external/curl/lib/
Dsmb.c139 static unsigned short smb_swap16(unsigned short x) in smb_swap16() function
157 # define smb_swap16(x) (x) macro
355 h->flags2 = smb_swap16(SMB_FLAGS2_IS_LONG_NAME | SMB_FLAGS2_KNOWS_LONG_NAME); in smb_format_message()
356 h->uid = smb_swap16(smbc->uid); in smb_format_message()
357 h->tid = smb_swap16(req->tid); in smb_format_message()
359 h->pid_high = smb_swap16((unsigned short)(pid >> 16)); in smb_format_message()
360 h->pid = smb_swap16((unsigned short) pid); in smb_format_message()
458 msg.max_buffer_size = smb_swap16(MAX_MESSAGE_SIZE); in smb_send_setup()
459 msg.max_mpx_count = smb_swap16(1); in smb_send_setup()
460 msg.vc_number = smb_swap16(1); in smb_send_setup()
[all …]