aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/vpn.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-07 21:45:43 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-07 21:45:43 +0000
commit0f617a81c282e9897b8695612e57ca6cc70f60b7 (patch)
tree88f675e02789c5d8c9b08bd4b3982a28f20abd18 /src/vpn/vpn.h
parent63170c18741d127640a62148a0788a99c097a652 (diff)
downloadgnunet-0f617a81c282e9897b8695612e57ca6cc70f60b7.tar.gz
gnunet-0f617a81c282e9897b8695612e57ca6cc70f60b7.zip
-finishing first implementation of VPN client library
Diffstat (limited to 'src/vpn/vpn.h')
-rw-r--r--src/vpn/vpn.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/vpn/vpn.h b/src/vpn/vpn.h
index 90bcdaa61..4a80e1812 100644
--- a/src/vpn/vpn.h
+++ b/src/vpn/vpn.h
@@ -113,7 +113,7 @@ struct RedirectToServiceRequestMessage
113 /** 113 /**
114 * Service descriptor identifying the service. 114 * Service descriptor identifying the service.
115 */ 115 */
116 struct GNUNET_PeerIdentity desc; 116 GNUNET_HashCode service_descriptor;
117 117
118 /** 118 /**
119 * Unique ID to match a future response to this request. 119 * Unique ID to match a future response to this request.
@@ -132,7 +132,7 @@ struct RedirectToIpResponseMessage
132{ 132{
133 133
134 /** 134 /**
135 * Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_IP 135 * Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP
136 */ 136 */
137 struct GNUNET_MessageHeader header; 137 struct GNUNET_MessageHeader header;
138 138
@@ -142,6 +142,11 @@ struct RedirectToIpResponseMessage
142 */ 142 */
143 int32_t result_af; 143 int32_t result_af;
144 144
145 /**
146 * Unique ID to match the response to a request.
147 */
148 uint64_t request_id;
149
145 /* followed by destination address ('struct in_addr' or 'struct in6_addr') */ 150 /* followed by destination address ('struct in_addr' or 'struct in6_addr') */
146 151
147}; 152};