ud3tn/test/unit
Felix Walter 87be9749af Re-integrate v0.13.0 routing code as "integrated default BDM"
This makes µD3TN behave the same as v0.13.0 when executed without an
additional commandline argument. A new commandline argument `-d` /
`--external-dispatch` is added, which enables the use of external BDMs.
The default forwarding implementation is now again provided using the
v0.13 code, extracted from e1621765a4 and
adapted to the new agent-based forwarding implementation.

Central changes to the old code include:

- A new "Routing Agent" that handles incoming configuration commands,
  FIB updates, and BDM dispatch requests.
- The use of the BDM authorization flag to authorize contact
  configuration commands.
- The Contact Manager now only triggers the creation and removal of
  links / FIB entries; bundle dispatch is triggered through the FIB and
  BDM callback functions of the Routing Agent.
- The fragmentation logic is adapted to store the original bundle along
  with an offset and length value, instead of pre-creating and storing
  the fragments.
- The bundle re-scheduling logic integrated into the Routing Agent is
  simplified and does not support changing the fragmentation parameters.
  A new function is added to the Router that searches for a new route
  for such fragments that were already scheduled at some point,
  considering them as un-fragmentable bundle with overridden fragment
  offset and length.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2024-07-15 00:46:14 +02:00
..
bundle7Data.c Insert SPDX license expression comments into our .c, .h, .py, and .sh code 2022-02-20 16:24:38 +01:00
main.c test/unit: Disable logging during tests 2024-06-17 13:33:31 +02:00
test.c Re-integrate v0.13.0 routing code as "integrated default BDM" 2024-07-15 00:46:14 +02:00
test_aap.c Move definition of _POSIX_C_SOURCE and _DEFAULT_SOURCE to posix.mk 2023-10-25 15:56:57 +02:00
test_aap_parser.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_aap_serializer.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_agent_manager.c Merge branch 'hotfix/agent-null-registration-allows-all' 2024-06-26 13:33:55 +02:00
test_bibe_encoder.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_bibe_parser.c style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
test_bibe_validation.c style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
test_bundle.c aap2: Secure the control of the storage and BDMs through AAP 2.0 2024-06-26 10:23:17 +02:00
test_bundle6Create.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_bundle6Fragmentation.c bundle_fragmenter: Always create new fragments with offset + length 2024-06-21 10:36:30 +02:00
test_bundle6ParserSerializer.c TX: Allow the bundle serializers to indicate failure if CLA fails 2024-06-21 12:38:15 +02:00
test_bundle7Create.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_bundle7Fragmentation.c bundle_fragmenter: Always create new fragments with offset + length 2024-06-21 10:36:30 +02:00
test_bundle7Parser.c style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
test_bundle7Reports.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_bundle7Serializer.c TX: Allow the bundle serializers to indicate failure if CLA fails 2024-06-21 12:38:15 +02:00
test_crc.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_eid.c Apply first suggestions from !126 2023-11-08 15:11:53 +01:00
test_fib.c aap2, FIB: Implement direct dispatch 2024-06-21 12:39:59 +02:00
test_node.c Re-integrate v0.13.0 routing code as "integrated default BDM" 2024-07-15 00:46:14 +02:00
test_routingTable.c Re-integrate v0.13.0 routing code as "integrated default BDM" 2024-07-15 00:46:14 +02:00
test_sdnv.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_simple_queue.c style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
test_simplehtab.c simplehtab: Implement an update method and document interface 2024-06-17 13:33:31 +02:00
test_spp.c style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
test_spp_parser.c test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00
test_spp_timecodes.c style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
testud3tn_unity.h test: Remove the Unity wrappers for memory allocation functions 2023-05-15 11:39:29 +02:00