aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/vpn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpn/vpn.h')
-rw-r--r--src/vpn/vpn.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/vpn/vpn.h b/src/vpn/vpn.h
index 4c106361e..38c5e88d3 100644
--- a/src/vpn/vpn.h
+++ b/src/vpn/vpn.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 vpn/vpn.h 22 * @file vpn/vpn.h
@@ -35,8 +35,7 @@ GNUNET_NETWORK_STRUCT_BEGIN
35 * the setup of a redirection from some IP via an exit node to 35 * the setup of a redirection from some IP via an exit node to
36 * some global Internet address. 36 * some global Internet address.
37 */ 37 */
38struct RedirectToIpRequestMessage 38struct RedirectToIpRequestMessage {
39{
40 /** 39 /**
41 * Type is #GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_IP 40 * Type is #GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_IP
42 */ 41 */
@@ -69,7 +68,6 @@ struct RedirectToIpRequestMessage
69 uint64_t request_id GNUNET_PACKED; 68 uint64_t request_id GNUNET_PACKED;
70 69
71 /* followed by destination address ('struct in_addr' or 'struct in6_addr') */ 70 /* followed by destination address ('struct in_addr' or 'struct in6_addr') */
72
73}; 71};
74 72
75 73
@@ -78,8 +76,7 @@ struct RedirectToIpRequestMessage
78 * the setup of a redirection from some IP to a service running 76 * the setup of a redirection from some IP to a service running
79 * at a particular peer. 77 * at a particular peer.
80 */ 78 */
81struct RedirectToServiceRequestMessage 79struct RedirectToServiceRequestMessage {
82{
83 /** 80 /**
84 * Type is #GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_SERVICE 81 * Type is #GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_SERVICE
85 */ 82 */
@@ -120,7 +117,6 @@ struct RedirectToServiceRequestMessage
120 * Picked by the client. 117 * Picked by the client.
121 */ 118 */
122 uint64_t request_id GNUNET_PACKED; 119 uint64_t request_id GNUNET_PACKED;
123
124}; 120};
125 121
126 122
@@ -128,9 +124,7 @@ struct RedirectToServiceRequestMessage
128 * Response from the VPN service to a VPN client informing about 124 * Response from the VPN service to a VPN client informing about
129 * the IP that was assigned for the requested redirection. 125 * the IP that was assigned for the requested redirection.
130 */ 126 */
131struct RedirectToIpResponseMessage 127struct RedirectToIpResponseMessage {
132{
133
134 /** 128 /**
135 * Type is #GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP 129 * Type is #GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP
136 */ 130 */
@@ -148,7 +142,6 @@ struct RedirectToIpResponseMessage
148 uint64_t request_id GNUNET_PACKED; 142 uint64_t request_id GNUNET_PACKED;
149 143
150 /* followed by destination address ('struct in_addr' or 'struct in6_addr') */ 144 /* followed by destination address ('struct in_addr' or 'struct in6_addr') */
151
152}; 145};
153 146
154GNUNET_NETWORK_STRUCT_END 147GNUNET_NETWORK_STRUCT_END