Home
last modified time | relevance | path

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

/dports/net-im/tox/c-toxcore-0.2.13/toxcore/
H A Donion.c175 VLA(uint8_t, step1, SIZE_IPPORT + length); in create_onion_packet()
359 uint8_t ip_port[SIZE_IPPORT]; in onion_send_1()
365 memcpy(data + 1 + CRYPTO_NONCE_SIZE, plain + SIZE_IPPORT, len - SIZE_IPPORT); in onion_send_1()
419 memcpy(data + 1 + CRYPTO_NONCE_SIZE, plain + SIZE_IPPORT, len - SIZE_IPPORT); in handle_send_1()
467 if (len <= SIZE_IPPORT) { in handle_send_2()
483 memcpy(data, plain + SIZE_IPPORT, len - SIZE_IPPORT); in handle_send_2()
484 uint16_t data_len = (len - SIZE_IPPORT); in handle_send_2()
526 uint8_t plain[SIZE_IPPORT + RETURN_2]; in handle_recv_3()
572 uint8_t plain[SIZE_IPPORT + RETURN_1]; in handle_recv_2()
618 uint8_t plain[SIZE_IPPORT]; in handle_recv_1()
[all …]
H A Donion.h34 #define ONION_RETURN_1 (CRYPTO_NONCE_SIZE + SIZE_IPPORT + CRYPTO_MAC_SIZE)
35 #define ONION_RETURN_2 (CRYPTO_NONCE_SIZE + SIZE_IPPORT + CRYPTO_MAC_SIZE + ONION_RETURN_1)
36 #define ONION_RETURN_3 (CRYPTO_NONCE_SIZE + SIZE_IPPORT + CRYPTO_MAC_SIZE + ONION_RETURN_2)
38 #define ONION_SEND_BASE (CRYPTO_PUBLIC_KEY_SIZE + SIZE_IPPORT + CRYPTO_MAC_SIZE)
H A Dnetwork.h199 #define SIZE_IPPORT (SIZE_IP + SIZE_PORT) macro
/dports/net-im/tox/c-toxcore-0.2.13/auto_tests/
H A Ddht_test.c768 #define PACKED_NODES_SIZE (SIZE_IPPORT + CRYPTO_PUBLIC_KEY_SIZE)