diff options
Diffstat (limited to 'src/fragmentation/fragmentation.h')
-rw-r--r-- | src/fragmentation/fragmentation.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/fragmentation/fragmentation.h b/src/fragmentation/fragmentation.h index 9816e2116..3578cadca 100644 --- a/src/fragmentation/fragmentation.h +++ b/src/fragmentation/fragmentation.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 | * @file src/fragmentation/fragmentation.h | 21 | * @file src/fragmentation/fragmentation.h |
22 | * @brief library to help fragment messages | 22 | * @brief library to help fragment messages |
@@ -33,9 +33,7 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
33 | * Header for a message fragment. Followed by the | 33 | * Header for a message fragment. Followed by the |
34 | * original message. | 34 | * original message. |
35 | */ | 35 | */ |
36 | struct FragmentHeader | 36 | struct FragmentHeader { |
37 | { | ||
38 | |||
39 | /** | 37 | /** |
40 | * Message header. | 38 | * Message header. |
41 | */ | 39 | */ |
@@ -56,16 +54,13 @@ struct FragmentHeader | |||
56 | * message. Will be a multiple of the MTU. | 54 | * message. Will be a multiple of the MTU. |
57 | */ | 55 | */ |
58 | uint16_t offset GNUNET_PACKED; | 56 | uint16_t offset GNUNET_PACKED; |
59 | |||
60 | }; | 57 | }; |
61 | 58 | ||
62 | 59 | ||
63 | /** | 60 | /** |
64 | * Message fragment acknowledgement. | 61 | * Message fragment acknowledgement. |
65 | */ | 62 | */ |
66 | struct FragmentAcknowledgement | 63 | struct FragmentAcknowledgement { |
67 | { | ||
68 | |||
69 | /** | 64 | /** |
70 | * Message header. | 65 | * Message header. |
71 | */ | 66 | */ |
@@ -82,7 +77,6 @@ struct FragmentAcknowledgement | |||
82 | * have not yet been received). | 77 | * have not yet been received). |
83 | */ | 78 | */ |
84 | uint64_t bits GNUNET_PACKED; | 79 | uint64_t bits GNUNET_PACKED; |
85 | |||
86 | }; | 80 | }; |
87 | GNUNET_NETWORK_STRUCT_END | 81 | GNUNET_NETWORK_STRUCT_END |
88 | 82 | ||