diff options
Diffstat (limited to 'src/nat-auto/nat-auto.h')
-rw-r--r-- | src/nat-auto/nat-auto.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/nat-auto/nat-auto.h b/src/nat-auto/nat-auto.h index 76d877dd3..6ef9b7e1e 100644 --- a/src/nat-auto/nat-auto.h +++ b/src/nat-auto/nat-auto.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 src/nat-auto/nat-auto.h | 22 | * @file src/nat-auto/nat-auto.h |
@@ -36,8 +36,7 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
36 | * Request to test NAT traversal, sent to the gnunet-nat-server | 36 | * Request to test NAT traversal, sent to the gnunet-nat-server |
37 | * (not the service!). | 37 | * (not the service!). |
38 | */ | 38 | */ |
39 | struct GNUNET_NAT_AUTO_TestMessage | 39 | struct GNUNET_NAT_AUTO_TestMessage { |
40 | { | ||
41 | /** | 40 | /** |
42 | * Header with type #GNUNET_MESSAGE_TYPE_NAT_TEST | 41 | * Header with type #GNUNET_MESSAGE_TYPE_NAT_TEST |
43 | */ | 42 | */ |
@@ -62,35 +61,31 @@ struct GNUNET_NAT_AUTO_TestMessage | |||
62 | * #GNUNET_YES for TCP, #GNUNET_NO for UDP. | 61 | * #GNUNET_YES for TCP, #GNUNET_NO for UDP. |
63 | */ | 62 | */ |
64 | int32_t is_tcp; | 63 | int32_t is_tcp; |
65 | |||
66 | }; | 64 | }; |
67 | 65 | ||
68 | 66 | ||
69 | /** | 67 | /** |
70 | * Client requesting automatic configuration. | 68 | * Client requesting automatic configuration. |
71 | */ | 69 | */ |
72 | struct GNUNET_NAT_AUTO_AutoconfigRequestMessage | 70 | struct GNUNET_NAT_AUTO_AutoconfigRequestMessage { |
73 | { | ||
74 | /** | 71 | /** |
75 | * Header with type #GNUNET_MESSAGE_TYPE_NAT_REQUEST_AUTO_CFG | 72 | * Header with type #GNUNET_MESSAGE_TYPE_NAT_REQUEST_AUTO_CFG |
76 | */ | 73 | */ |
77 | struct GNUNET_MessageHeader header; | 74 | struct GNUNET_MessageHeader header; |
78 | 75 | ||
79 | /* Followed by configuration (diff, serialized, compressed) */ | 76 | /* Followed by configuration (diff, serialized, compressed) */ |
80 | |||
81 | }; | 77 | }; |
82 | 78 | ||
83 | 79 | ||
84 | /** | 80 | /** |
85 | * Service responding with proposed configuration. | 81 | * Service responding with proposed configuration. |
86 | */ | 82 | */ |
87 | struct GNUNET_NAT_AUTO_AutoconfigResultMessage | 83 | struct GNUNET_NAT_AUTO_AutoconfigResultMessage { |
88 | { | ||
89 | /** | 84 | /** |
90 | * Header with type #GNUNET_MESSAGE_TYPE_NAT_AUTO_CFG_RESULT | 85 | * Header with type #GNUNET_MESSAGE_TYPE_NAT_AUTO_CFG_RESULT |
91 | */ | 86 | */ |
92 | struct GNUNET_MessageHeader header; | 87 | struct GNUNET_MessageHeader header; |
93 | 88 | ||
94 | /** | 89 | /** |
95 | * An `enum GNUNET_NAT_StatusCode` in NBO. | 90 | * An `enum GNUNET_NAT_StatusCode` in NBO. |
96 | */ | 91 | */ |