ud3tn/include/bundle7
Felix Walter 5660d27471 bundle7: Add flag to validate if there is no BIB and no primary CRC
See: #267

This adds a compile-time flag to reject such bundles, if needed.

Making this part of the validation routines all the time breaks our
interoperability with DTN7 (at least in the configuration we are using
in our interop. test).

Note that we cannot currently check the security targets, which is an
unordered CBOR array part of the BIB payload data. Thus, bundles without
CRC and with a BIB targeting *any* block, even if this excludes the
primary block, will be accepted when the option is turned on. See
follow-up issue #273.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-03-19 18:58:07 +01:00
..
bundle7.h bundle7: Add flag to validate if there is no BIB and no primary CRC 2026-03-19 18:58:07 +01:00
bundle_age.h Insert SPDX license expression comments into our .c, .h, .py, and .sh code 2022-02-20 16:24:38 +01:00
create.h bundle: Switch all flags and length fields to 64bit and do not filter 2026-03-19 18:58:07 +01:00
eid.h Make EID a data structure 2026-02-03 09:22:53 +01:00
fragment.h bundle_fragmenter: Always create new fragments with offset + length 2024-06-21 10:36:30 +02:00
hopcount.h Insert SPDX license expression comments into our .c, .h, .py, and .sh code 2022-02-20 16:24:38 +01:00
parser.h bundle7/parser: Check for invalid block array length 2026-03-19 18:58:07 +01:00
previousnode.h Make EID a data structure 2026-02-03 09:22:53 +01:00
reports.h Make EID a data structure 2026-02-03 09:22:53 +01:00
serializer.h TX: Allow the bundle serializers to indicate failure if CLA fails 2024-06-21 12:38:15 +02:00
timestamp.h Insert SPDX license expression comments into our .c, .h, .py, and .sh code 2022-02-20 16:24:38 +01:00