diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-22 14:37:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-22 14:37:41 +0000 |
commit | f3658260ec94e9874e0c773c762b4b49fda29b8e (patch) | |
tree | c452b52f0d01316322fefabcb49f3d909666669d /src/include/gnunet_vpn_service.h | |
parent | d80bcf63863d4f2203d76edb8934cbd808ed9e77 (diff) | |
download | gnunet-f3658260ec94e9874e0c773c762b4b49fda29b8e.tar.gz gnunet-f3658260ec94e9874e0c773c762b4b49fda29b8e.zip |
remove 'nac' option from VPN, always return IP immediately, always build mesh tunnel asynchronously afterwards
Diffstat (limited to 'src/include/gnunet_vpn_service.h')
-rw-r--r-- | src/include/gnunet_vpn_service.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/gnunet_vpn_service.h b/src/include/gnunet_vpn_service.h index d7335bb71..fe21cff9b 100644 --- a/src/include/gnunet_vpn_service.h +++ b/src/include/gnunet_vpn_service.h | |||
@@ -81,9 +81,6 @@ GNUNET_VPN_cancel_request (struct GNUNET_VPN_RedirectionRequest *rr); | |||
81 | * @param protocol protocol, IPPROTO_UDP or IPPROTO_TCP | 81 | * @param protocol protocol, IPPROTO_UDP or IPPROTO_TCP |
82 | * @param peer target peer for the redirection | 82 | * @param peer target peer for the redirection |
83 | * @param serv service descriptor to give to the peer | 83 | * @param serv service descriptor to give to the peer |
84 | * @param nac GNUNET_YES to notify via callback only after completion of | ||
85 | * the MESH-level connection, | ||
86 | * GNUNET_NO to notify as soon as the IP has been reserved | ||
87 | * @param expiration_time at what time should the redirection expire? | 84 | * @param expiration_time at what time should the redirection expire? |
88 | * (this should not impact connections that are active at that time) | 85 | * (this should not impact connections that are active at that time) |
89 | * @param cb function to call with the IP | 86 | * @param cb function to call with the IP |
@@ -98,7 +95,6 @@ GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh, | |||
98 | uint8_t protocol, | 95 | uint8_t protocol, |
99 | const struct GNUNET_PeerIdentity *peer, | 96 | const struct GNUNET_PeerIdentity *peer, |
100 | const struct GNUNET_HashCode *serv, | 97 | const struct GNUNET_HashCode *serv, |
101 | int nac, | ||
102 | struct GNUNET_TIME_Absolute expiration_time, | 98 | struct GNUNET_TIME_Absolute expiration_time, |
103 | GNUNET_VPN_AllocationCallback cb, | 99 | GNUNET_VPN_AllocationCallback cb, |
104 | void *cb_cls); | 100 | void *cb_cls); |
@@ -119,9 +115,6 @@ GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh, | |||
119 | * @param addr_af address family for 'addr', AF_INET or AF_INET6 | 115 | * @param addr_af address family for 'addr', AF_INET or AF_INET6 |
120 | * @param addr destination IP address on the Internet; destination | 116 | * @param addr destination IP address on the Internet; destination |
121 | * port is to be taken from the VPN packet itself | 117 | * port is to be taken from the VPN packet itself |
122 | * @param nac GNUNET_YES to notify via callback only after completion of | ||
123 | * the MESH-level connection, | ||
124 | * GNUNET_NO to notify as soon as the IP has been reserved | ||
125 | * @param expiration_time at what time should the redirection expire? | 118 | * @param expiration_time at what time should the redirection expire? |
126 | * (this should not impact connections that are active at that time) | 119 | * (this should not impact connections that are active at that time) |
127 | * @param cb function to call with the IP | 120 | * @param cb function to call with the IP |
@@ -135,7 +128,6 @@ GNUNET_VPN_redirect_to_ip (struct GNUNET_VPN_Handle *vh, | |||
135 | int result_af, | 128 | int result_af, |
136 | int addr_af, | 129 | int addr_af, |
137 | const void *addr, | 130 | const void *addr, |
138 | int nac, | ||
139 | struct GNUNET_TIME_Absolute expiration_time, | 131 | struct GNUNET_TIME_Absolute expiration_time, |
140 | GNUNET_VPN_AllocationCallback cb, | 132 | GNUNET_VPN_AllocationCallback cb, |
141 | void *cb_cls); | 133 | void *cb_cls); |