diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-05 21:23:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-05 21:23:02 +0100 |
commit | 1b7f6eea0a06abab9b75b30f021aa6313fccfcd4 (patch) | |
tree | 0d726dbd6650997c22a7c17ce833ce53c23bde9e /src/nat/nat.h | |
parent | 07d7291d64688ecf9ef0bf2b663b10a168d5fff2 (diff) | |
download | gnunet-1b7f6eea0a06abab9b75b30f021aa6313fccfcd4.tar.gz gnunet-1b7f6eea0a06abab9b75b30f021aa6313fccfcd4.zip |
pass section name instead of specific option via IPC
Diffstat (limited to 'src/nat/nat.h')
-rw-r--r-- | src/nat/nat.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nat/nat.h b/src/nat/nat.h index af418c7c2..02bae71e9 100644 --- a/src/nat/nat.h +++ b/src/nat/nat.h | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
30 | 30 | ||
31 | 31 | ||
32 | |||
32 | GNUNET_NETWORK_STRUCT_BEGIN | 33 | GNUNET_NETWORK_STRUCT_BEGIN |
33 | 34 | ||
34 | /** | 35 | /** |
@@ -111,10 +112,9 @@ struct GNUNET_NAT_RegisterMessage | |||
111 | 112 | ||
112 | /** | 113 | /** |
113 | * Number of bytes in the string that follow which | 114 | * Number of bytes in the string that follow which |
114 | * specify the hostname and port of a manually punched | 115 | * specifies a section name in the configuration. |
115 | * hole for this client. | ||
116 | */ | 116 | */ |
117 | uint16_t hole_external_len GNUNET_PACKED; | 117 | uint16_t str_len GNUNET_PACKED; |
118 | 118 | ||
119 | /** | 119 | /** |
120 | * Number of addresses that this service is bound to that follow. | 120 | * Number of addresses that this service is bound to that follow. |
@@ -126,8 +126,7 @@ struct GNUNET_NAT_RegisterMessage | |||
126 | /* Followed by @e num_addrs addresses of type 'struct | 126 | /* Followed by @e num_addrs addresses of type 'struct |
127 | sockaddr' */ | 127 | sockaddr' */ |
128 | 128 | ||
129 | /* Followed by @e hole_external_len bytes giving a hostname | 129 | /* Followed by @e str_len section name to use for options */ |
130 | and port */ | ||
131 | 130 | ||
132 | }; | 131 | }; |
133 | 132 | ||