diff options
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn.h')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn.h | 38 |
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 | */ |
38 | void process_answer (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | 38 | void |
39 | process_answer (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | ||
39 | 40 | ||
40 | void send_icmp6_response (void *cls, | 41 | void |
41 | const struct GNUNET_SCHEDULER_TaskContext *tc); | 42 | send_icmp6_response (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); |
42 | void send_icmp4_response (void *cls, | 43 | void |
43 | const struct GNUNET_SCHEDULER_TaskContext *tc); | 44 | send_icmp4_response (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); |
44 | 45 | ||
45 | size_t send_udp_service (void *cls, size_t size, | 46 | size_t |
46 | void *buf); | 47 | send_udp_service (void *cls, size_t size, void *buf); |
47 | 48 | ||
48 | GNUNET_HashCode *address6_mapping_exists (unsigned char addr[]); | 49 | GNUNET_HashCode * |
49 | GNUNET_HashCode *address4_mapping_exists (uint32_t addr); | 50 | address6_mapping_exists (unsigned char addr[]); |
51 | GNUNET_HashCode * | ||
52 | address4_mapping_exists (uint32_t addr); | ||
50 | 53 | ||
51 | unsigned int port_in_ports (uint64_t ports, uint16_t port); | 54 | unsigned int |
55 | port_in_ports (uint64_t ports, uint16_t port); | ||
52 | 56 | ||
53 | void send_pkt_to_peer (void *cls, const struct GNUNET_PeerIdentity *peer, | 57 | void |
54 | const struct GNUNET_TRANSPORT_ATS_Information *atsi); | 58 | send_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 | */ |
97 | void setBit (char *bitArray, unsigned int bitIdx); | 102 | void |
103 | setBit (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 | */ |
105 | void clearBit (char *bitArray, unsigned int bitIdx); | 111 | void |
112 | clearBit (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 | */ |
114 | int testBit (char *bitArray, unsigned int bitIdx); | 121 | int |
122 | testBit (char *bitArray, unsigned int bitIdx); | ||
115 | 123 | ||
116 | struct remote_addr | 124 | struct remote_addr |
117 | { | 125 | { |