summaryrefslogtreecommitdiff
path: root/src/exit/gnunet-daemon-exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/gnunet-daemon-exit.c')
-rw-r--r--src/exit/gnunet-daemon-exit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c
index 61c719e5d..dc9991422 100644
--- a/src/exit/gnunet-daemon-exit.c
+++ b/src/exit/gnunet-daemon-exit.c
@@ -1263,6 +1263,7 @@ setup_state_record (struct TunnelState *state)
1263 * TCP header, depending on protocol) 1263 * TCP header, depending on protocol)
1264 * @param payload_length number of bytes in 'payload' 1264 * @param payload_length number of bytes in 'payload'
1265 * @param protocol IPPROTO_UDP or IPPROTO_TCP 1265 * @param protocol IPPROTO_UDP or IPPROTO_TCP
1266 * @param tcp_header skeleton of the TCP header, NULL for UDP
1266 * @param src_address source address to use (IP and port) 1267 * @param src_address source address to use (IP and port)
1267 * @param dst_address destination address to use (IP and port) 1268 * @param dst_address destination address to use (IP and port)
1268 * @param pkt6 where to write the assembled packet; must 1269 * @param pkt6 where to write the assembled packet; must
@@ -1439,7 +1440,7 @@ prepare_ipv6_packet (const void *payload, size_t payload_length,
1439 * 1440 *
1440 * @param destination_address IP and port to use for the TCP packet's destination 1441 * @param destination_address IP and port to use for the TCP packet's destination
1441 * @param source_address IP and port to use for the TCP packet's source 1442 * @param source_address IP and port to use for the TCP packet's source
1442 * @param tcp header template to use 1443 * @param tcp_header header template to use
1443 * @param payload payload of the TCP packet 1444 * @param payload payload of the TCP packet
1444 * @param payload_length number of bytes in 'payload' 1445 * @param payload_length number of bytes in 'payload'
1445 */ 1446 */
@@ -1541,7 +1542,7 @@ send_tcp_packet_via_tun (const struct SocketAddress *destination_address,
1541 * GNUNET_SYSERR to close it (signal serious error) 1542 * GNUNET_SYSERR to close it (signal serious error)
1542 */ 1543 */
1543static int 1544static int
1544receive_tcp_service (void *unused GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel, 1545receive_tcp_service (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel,
1545 void **tunnel_ctx GNUNET_UNUSED, 1546 void **tunnel_ctx GNUNET_UNUSED,
1546 const struct GNUNET_PeerIdentity *sender GNUNET_UNUSED, 1547 const struct GNUNET_PeerIdentity *sender GNUNET_UNUSED,
1547 const struct GNUNET_MessageHeader *message, 1548 const struct GNUNET_MessageHeader *message,