diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-02 09:47:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-02 09:47:37 +0100 |
commit | 1082a8e39e4f3d9b908b14995653ac262f640adb (patch) | |
tree | 7f9228753dd499d819916f69193804406e196fba /src/nat/nat.h | |
parent | ab31d0d5b13f9361f6312c4eadbb2054922b1a61 (diff) | |
download | gnunet-1082a8e39e4f3d9b908b14995653ac262f640adb.tar.gz gnunet-1082a8e39e4f3d9b908b14995653ac262f640adb.zip |
improve/fix handling of NAT server logic for ICMP-based autonomous NAT traversal
Diffstat (limited to 'src/nat/nat.h')
-rw-r--r-- | src/nat/nat.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/nat/nat.h b/src/nat/nat.h index 3356b19ce..5cb1c1050 100644 --- a/src/nat/nat.h +++ b/src/nat/nat.h | |||
@@ -191,19 +191,7 @@ struct GNUNET_NAT_ConnectionReversalRequestedMessage | |||
191 | */ | 191 | */ |
192 | struct GNUNET_MessageHeader header; | 192 | struct GNUNET_MessageHeader header; |
193 | 193 | ||
194 | /** | 194 | /* followed by a `struct sockaddr_in` */ |
195 | * Size of the local address where we received the request, in NBO. | ||
196 | */ | ||
197 | uint16_t local_addr_size; | ||
198 | |||
199 | /** | ||
200 | * Size of the remote address making the request, in NBO. | ||
201 | */ | ||
202 | uint16_t remote_addr_size; | ||
203 | |||
204 | /* followed by a `struct sockaddr` of @e local_addr_size bytes */ | ||
205 | |||
206 | /* followed by a `struct sockaddr` of @e remote_addr_size bytes */ | ||
207 | 195 | ||
208 | }; | 196 | }; |
209 | 197 | ||