Branch: refs/heads/main Home: https://github.com/kronosnet/kronosnet Commit: 08e8fa7e97b97aca8bd90f49bcc08b925f1dce44 https://github.com/kronosnet/kronosnet/commit/08e8fa7e97b97aca8bd90f49bcc08b... Author: Chrissie Caulfield ccaulfie@redhat.com Date: 2024-11-25 (Mon, 25 Nov 2024)
Changed paths: M libknet/bindings/rust/src/knet_bindings.rs M libknet/bindings/rust/tests/src/bin/knet-test.rs M libknet/handle_api.c M libknet/internals.h M libknet/libknet.h M libknet/tests/Makefile.am M libknet/tests/api_knet_handle_add_datafd.c M libknet/tests/api_knet_handle_clear_stats.c M libknet/tests/api_knet_handle_get_channel.c M libknet/tests/api_knet_handle_get_datafd.c M libknet/tests/api_knet_handle_pmtud_set.c M libknet/tests/api_knet_handle_remove_datafd.c M libknet/tests/api_knet_recv.c M libknet/tests/api_knet_send.c M libknet/tests/api_knet_send_compress.c M libknet/tests/api_knet_send_crypto.c M libknet/tests/api_knet_send_loopback.c M libknet/tests/api_knet_send_sync.c M libknet/tests/fun_acl_check.c M libknet/tests/fun_pmtud_crypto.c M libknet/tests/knet_bench.c M libknet/threads_rx.c M libknet/threads_tx.c M libknet/transport_common.c M libknet/transport_common.h
Log Message: ----------- Add optional header to messages sent back to the application (#433)
If enabled in (the new API call) knet_handle_add_datafd_new(), knet will add a header to the message with extra details. Currently this is just the nodeid, but other things could, concievably, be added as the structure is extensible.
This allows the receiving application to double-check that the message has come from the right node - and also means that it doesn't need to be added to the application's message header.
Signed-off-by: Christine Caulfield ccaulfie@redhat.com
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications