aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-daemon-vpn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn.h')
-rw-r--r--src/vpn/gnunet-daemon-vpn.h38
1 files changed, 23 insertions, 15 deletions
diff --git a/src/vpn/gnunet-daemon-vpn.h b/src/vpn/gnunet-daemon-vpn.h
index 4f4cf5a0f..701a88d63 100644
--- a/src/vpn/gnunet-daemon-vpn.h
+++ b/src/vpn/gnunet-daemon-vpn.h
@@ -35,23 +35,28 @@
35 * At the moment this means "inventing" and IPv6-Address for .gnunet-services and 35 * At the moment this means "inventing" and IPv6-Address for .gnunet-services and
36 * doing nothing for "real" services. 36 * doing nothing for "real" services.
37 */ 37 */
38void process_answer (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); 38void
39process_answer (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
39 40
40void send_icmp6_response (void *cls, 41void
41 const struct GNUNET_SCHEDULER_TaskContext *tc); 42send_icmp6_response (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
42void send_icmp4_response (void *cls, 43void
43 const struct GNUNET_SCHEDULER_TaskContext *tc); 44send_icmp4_response (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
44 45
45size_t send_udp_service (void *cls, size_t size, 46size_t
46 void *buf); 47send_udp_service (void *cls, size_t size, void *buf);
47 48
48GNUNET_HashCode *address6_mapping_exists (unsigned char addr[]); 49GNUNET_HashCode *
49GNUNET_HashCode *address4_mapping_exists (uint32_t addr); 50address6_mapping_exists (unsigned char addr[]);
51GNUNET_HashCode *
52address4_mapping_exists (uint32_t addr);
50 53
51unsigned int port_in_ports (uint64_t ports, uint16_t port); 54unsigned int
55port_in_ports (uint64_t ports, uint16_t port);
52 56
53void send_pkt_to_peer (void *cls, const struct GNUNET_PeerIdentity *peer, 57void
54 const struct GNUNET_TRANSPORT_ATS_Information *atsi); 58send_pkt_to_peer (void *cls, const struct GNUNET_PeerIdentity *peer,
59 const struct GNUNET_TRANSPORT_ATS_Information *atsi);
55 60
56/** 61/**
57 * The configuration to use 62 * The configuration to use
@@ -94,7 +99,8 @@ struct map_entry
94 * @param bitArray memory area to set the bit in 99 * @param bitArray memory area to set the bit in
95 * @param bitIdx which bit to set 100 * @param bitIdx which bit to set
96 */ 101 */
97void setBit (char *bitArray, unsigned int bitIdx); 102void
103setBit (char *bitArray, unsigned int bitIdx);
98 104
99/** 105/**
100 * Clears a bit from bitArray. 106 * Clears a bit from bitArray.
@@ -102,7 +108,8 @@ void setBit (char *bitArray, unsigned int bitIdx);
102 * @param bitArray memory area to set the bit in 108 * @param bitArray memory area to set the bit in
103 * @param bitIdx which bit to unset 109 * @param bitIdx which bit to unset
104 */ 110 */
105void clearBit (char *bitArray, unsigned int bitIdx); 111void
112clearBit (char *bitArray, unsigned int bitIdx);
106 113
107/** 114/**
108 * Checks if a bit is active in the bitArray 115 * Checks if a bit is active in the bitArray
@@ -111,7 +118,8 @@ void clearBit (char *bitArray, unsigned int bitIdx);
111 * @param bitIdx which bit to test 118 * @param bitIdx which bit to test
112 * @return GNUNET_YES if the bit is set, GNUNET_NO if not. 119 * @return GNUNET_YES if the bit is set, GNUNET_NO if not.
113 */ 120 */
114int testBit (char *bitArray, unsigned int bitIdx); 121int
122testBit (char *bitArray, unsigned int bitIdx);
115 123
116struct remote_addr 124struct remote_addr
117{ 125{