aboutsummaryrefslogtreecommitdiff
path: root/src/exit/exit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/exit.h')
-rw-r--r--src/exit/exit.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/exit/exit.h b/src/exit/exit.h
index be4f042b6..41dad6246 100644
--- a/src/exit/exit.h
+++ b/src/exit/exit.h
@@ -34,7 +34,8 @@ GNUNET_NETWORK_STRUCT_BEGIN
34 * Message send via cadet to an exit daemon to initiate forwarding of 34 * Message send via cadet to an exit daemon to initiate forwarding of
35 * TCP data to a local service. 35 * TCP data to a local service.
36 */ 36 */
37struct GNUNET_EXIT_TcpServiceStartMessage { 37struct GNUNET_EXIT_TcpServiceStartMessage
38{
38 /** 39 /**
39 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_SERVICE_START 40 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_SERVICE_START
40 */ 41 */
@@ -59,7 +60,8 @@ struct GNUNET_EXIT_TcpServiceStartMessage {
59 * Message send via cadet to an exit daemon to initiate forwarding of 60 * Message send via cadet to an exit daemon to initiate forwarding of
60 * TCP data to the Internet. 61 * TCP data to the Internet.
61 */ 62 */
62struct GNUNET_EXIT_TcpInternetStartMessage { 63struct GNUNET_EXIT_TcpInternetStartMessage
64{
63 /** 65 /**
64 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_INTERNET_START 66 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_INTERNET_START
65 */ 67 */
@@ -89,7 +91,8 @@ struct GNUNET_EXIT_TcpInternetStartMessage {
89 * format is used for both Internet-exits and service-exits and 91 * format is used for both Internet-exits and service-exits and
90 * in both directions (VPN to exit and exit to VPN). 92 * in both directions (VPN to exit and exit to VPN).
91 */ 93 */
92struct GNUNET_EXIT_TcpDataMessage { 94struct GNUNET_EXIT_TcpDataMessage
95{
93 /** 96 /**
94 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_DATA 97 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_DATA
95 */ 98 */
@@ -114,7 +117,8 @@ struct GNUNET_EXIT_TcpDataMessage {
114 * Message send via cadet to an exit daemon to send 117 * Message send via cadet to an exit daemon to send
115 * UDP data to a local service. 118 * UDP data to a local service.
116 */ 119 */
117struct GNUNET_EXIT_UdpServiceMessage { 120struct GNUNET_EXIT_UdpServiceMessage
121{
118 /** 122 /**
119 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE 123 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE
120 */ 124 */
@@ -138,7 +142,8 @@ struct GNUNET_EXIT_UdpServiceMessage {
138 * Message send via cadet to an exit daemon to forward 142 * Message send via cadet to an exit daemon to forward
139 * UDP data to the Internet. 143 * UDP data to the Internet.
140 */ 144 */
141struct GNUNET_EXIT_UdpInternetMessage { 145struct GNUNET_EXIT_UdpInternetMessage
146{
142 /** 147 /**
143 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_INTERNET 148 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_INTERNET
144 */ 149 */
@@ -170,7 +175,8 @@ struct GNUNET_EXIT_UdpInternetMessage {
170 * Message send from exit daemon back to the UDP entry point 175 * Message send from exit daemon back to the UDP entry point
171 * (used for both Internet and Service exit replies). 176 * (used for both Internet and Service exit replies).
172 */ 177 */
173struct GNUNET_EXIT_UdpReplyMessage { 178struct GNUNET_EXIT_UdpReplyMessage
179{
174 /** 180 /**
175 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_REPLY 181 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_REPLY
176 */ 182 */
@@ -196,7 +202,8 @@ struct GNUNET_EXIT_UdpReplyMessage {
196 * Message send via cadet to an exit daemon to send 202 * Message send via cadet to an exit daemon to send
197 * ICMP data to a local service. 203 * ICMP data to a local service.
198 */ 204 */
199struct GNUNET_EXIT_IcmpServiceMessage { 205struct GNUNET_EXIT_IcmpServiceMessage
206{
200 /** 207 /**
201 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_SERVICE 208 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_SERVICE
202 */ 209 */
@@ -226,7 +233,8 @@ struct GNUNET_EXIT_IcmpServiceMessage {
226 * Message send via cadet to an exit daemon to forward 233 * Message send via cadet to an exit daemon to forward
227 * ICMP data to the Internet. 234 * ICMP data to the Internet.
228 */ 235 */
229struct GNUNET_EXIT_IcmpInternetMessage { 236struct GNUNET_EXIT_IcmpInternetMessage
237{
230 /** 238 /**
231 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_INTERNET 239 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_INTERNET
232 */ 240 */
@@ -260,7 +268,8 @@ struct GNUNET_EXIT_IcmpInternetMessage {
260 * Message send via cadet to the vpn service to send 268 * Message send via cadet to the vpn service to send
261 * ICMP data to the VPN's TUN interface. 269 * ICMP data to the VPN's TUN interface.
262 */ 270 */
263struct GNUNET_EXIT_IcmpToVPNMessage { 271struct GNUNET_EXIT_IcmpToVPNMessage
272{
264 /** 273 /**
265 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_VPN 274 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_VPN
266 */ 275 */