Searched refs:MAX_PAYLOAD (Results 1 – 4 of 4) sorted by relevance
316 size_t avail = MAX_PAYLOAD; in local_socket_event_func()339 if((avail == MAX_PAYLOAD) || (s->peer == 0)) { in local_socket_event_func()342 p->len = MAX_PAYLOAD - avail; in local_socket_event_func()506 if(len > (MAX_PAYLOAD-1)) { in connect_to_remote()606 if((s->pkt_first->len + p->len) > MAX_PAYLOAD) { in smart_socket_enqueue()
25 #define MAX_PAYLOAD 4096 macro66 unsigned char data[MAX_PAYLOAD];
133 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD); in get_apacket()220 cp->msg.arg1 = MAX_PAYLOAD; in send_connect()
799 if(p->msg.data_length > MAX_PAYLOAD) { in check_header()