Lines Matching refs:smb_swap32
330 static unsigned int smb_swap32(unsigned int x) in smb_swap32() function
338 return ((curl_off_t) smb_swap32((unsigned int) x) << 32) | in smb_swap64()
339 smb_swap32((unsigned int) (x >> 32)); in smb_swap64()
344 # define smb_swap32(x) (x) macro
651 msg.session_key = smb_swap32(smbc->session_key); in smb_send_setup()
652 msg.capabilities = smb_swap32(SMB_CAP_LARGE_FILES); in smb_send_setup()
716 msg.share_access = smb_swap32(SMB_FILE_SHARE_ALL); in smb_send_open()
718 msg.access = smb_swap32(SMB_GENERIC_READ | SMB_GENERIC_WRITE); in smb_send_open()
719 msg.create_disposition = smb_swap32(SMB_FILE_OVERWRITE_IF); in smb_send_open()
722 msg.access = smb_swap32(SMB_GENERIC_READ); in smb_send_open()
723 msg.create_disposition = smb_swap32(SMB_FILE_OPEN); in smb_send_open()
763 msg.offset = smb_swap32((unsigned int) offset); in smb_send_read()
764 msg.offset_high = smb_swap32((unsigned int) (offset >> 32)); in smb_send_read()
788 msg->offset = smb_swap32((unsigned int) offset); in smb_send_write()
789 msg->offset_high = smb_swap32((unsigned int) (offset >> 32)); in smb_send_write()
889 smbc->session_key = smb_swap32(nrsp->session_key); in smb_connection_state()
981 if(h->status == smb_swap32(SMB_ERR_NOACCESS)) in smb_request_state()
992 if(h->status == smb_swap32(SMB_ERR_NOACCESS)) in smb_request_state()