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.h31
1 files changed, 11 insertions, 20 deletions
diff --git a/src/exit/exit.h b/src/exit/exit.h
index 6214c230a..be4f042b6 100644
--- a/src/exit/exit.h
+++ b/src/exit/exit.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @file exit/exit.h 22 * @file exit/exit.h
@@ -34,8 +34,7 @@ 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{
39 /** 38 /**
40 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_SERVICE_START 39 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_SERVICE_START
41 */ 40 */
@@ -60,8 +59,7 @@ struct GNUNET_EXIT_TcpServiceStartMessage
60 * Message send via cadet to an exit daemon to initiate forwarding of 59 * Message send via cadet to an exit daemon to initiate forwarding of
61 * TCP data to the Internet. 60 * TCP data to the Internet.
62 */ 61 */
63struct GNUNET_EXIT_TcpInternetStartMessage 62struct GNUNET_EXIT_TcpInternetStartMessage {
64{
65 /** 63 /**
66 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_INTERNET_START 64 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_TO_INTERNET_START
67 */ 65 */
@@ -91,8 +89,7 @@ struct GNUNET_EXIT_TcpInternetStartMessage
91 * format is used for both Internet-exits and service-exits and 89 * format is used for both Internet-exits and service-exits and
92 * in both directions (VPN to exit and exit to VPN). 90 * in both directions (VPN to exit and exit to VPN).
93 */ 91 */
94struct GNUNET_EXIT_TcpDataMessage 92struct GNUNET_EXIT_TcpDataMessage {
95{
96 /** 93 /**
97 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_DATA 94 * Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_DATA
98 */ 95 */
@@ -117,8 +114,7 @@ struct GNUNET_EXIT_TcpDataMessage
117 * Message send via cadet to an exit daemon to send 114 * Message send via cadet to an exit daemon to send
118 * UDP data to a local service. 115 * UDP data to a local service.
119 */ 116 */
120struct GNUNET_EXIT_UdpServiceMessage 117struct GNUNET_EXIT_UdpServiceMessage {
121{
122 /** 118 /**
123 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE 119 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE
124 */ 120 */
@@ -142,8 +138,7 @@ struct GNUNET_EXIT_UdpServiceMessage
142 * Message send via cadet to an exit daemon to forward 138 * Message send via cadet to an exit daemon to forward
143 * UDP data to the Internet. 139 * UDP data to the Internet.
144 */ 140 */
145struct GNUNET_EXIT_UdpInternetMessage 141struct GNUNET_EXIT_UdpInternetMessage {
146{
147 /** 142 /**
148 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_INTERNET 143 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_TO_INTERNET
149 */ 144 */
@@ -175,8 +170,7 @@ struct GNUNET_EXIT_UdpInternetMessage
175 * Message send from exit daemon back to the UDP entry point 170 * Message send from exit daemon back to the UDP entry point
176 * (used for both Internet and Service exit replies). 171 * (used for both Internet and Service exit replies).
177 */ 172 */
178struct GNUNET_EXIT_UdpReplyMessage 173struct GNUNET_EXIT_UdpReplyMessage {
179{
180 /** 174 /**
181 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_REPLY 175 * Type is #GNUNET_MESSAGE_TYPE_VPN_UDP_REPLY
182 */ 176 */
@@ -202,8 +196,7 @@ struct GNUNET_EXIT_UdpReplyMessage
202 * Message send via cadet to an exit daemon to send 196 * Message send via cadet to an exit daemon to send
203 * ICMP data to a local service. 197 * ICMP data to a local service.
204 */ 198 */
205struct GNUNET_EXIT_IcmpServiceMessage 199struct GNUNET_EXIT_IcmpServiceMessage {
206{
207 /** 200 /**
208 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_SERVICE 201 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_SERVICE
209 */ 202 */
@@ -233,8 +226,7 @@ struct GNUNET_EXIT_IcmpServiceMessage
233 * Message send via cadet to an exit daemon to forward 226 * Message send via cadet to an exit daemon to forward
234 * ICMP data to the Internet. 227 * ICMP data to the Internet.
235 */ 228 */
236struct GNUNET_EXIT_IcmpInternetMessage 229struct GNUNET_EXIT_IcmpInternetMessage {
237{
238 /** 230 /**
239 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_INTERNET 231 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_INTERNET
240 */ 232 */
@@ -268,8 +260,7 @@ struct GNUNET_EXIT_IcmpInternetMessage
268 * Message send via cadet to the vpn service to send 260 * Message send via cadet to the vpn service to send
269 * ICMP data to the VPN's TUN interface. 261 * ICMP data to the VPN's TUN interface.
270 */ 262 */
271struct GNUNET_EXIT_IcmpToVPNMessage 263struct GNUNET_EXIT_IcmpToVPNMessage {
272{
273 /** 264 /**
274 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_VPN 265 * Type is #GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_VPN
275 */ 266 */