Home
last modified time | relevance | path

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

/curl/lib/
H A Dsmb.c318 #define MAX_MESSAGE_SIZE (MAX_PAYLOAD_SIZE + 0x1000) macro
447 smbc->recv_buf = malloc(MAX_MESSAGE_SIZE); in smb_connect()
450 smbc->send_buf = malloc(MAX_MESSAGE_SIZE); in smb_connect()
487 size_t len = MAX_MESSAGE_SIZE - smbc->got; in smb_recv_message()
610 DEBUGASSERT((sizeof(struct smb_header) + msg_len) <= MAX_MESSAGE_SIZE); in smb_send_message()
648 msg.max_buffer_size = smb_swap16(MAX_MESSAGE_SIZE); in smb_send_setup()
809 size_t nread = smbc->upload_size > (size_t)MAX_MESSAGE_SIZE ? in smb_send_and_recv()
810 (size_t)MAX_MESSAGE_SIZE : smbc->upload_size; in smb_send_and_recv()

Completed in 9 milliseconds