|
Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Configuration for rte_dual_channel_init(). More...
#include <rte_dual_channel.h>
Data Fields | |
| rte_netlink_handle_t | links [RTE_DUAL_CHANNEL_MAX_LINKS] |
| uint32_t | link_count |
| uint32_t | sender_id |
| uint32_t | expected_peer_id |
| rte_duration_ms_t | ack_timeout_ms |
| rte_dual_channel_status_callback_t | status_callback |
| void * | status_callback_ctx |
Configuration for rte_dual_channel_init().
Definition at line 113 of file rte_dual_channel.h.
| rte_netlink_handle_t rte_dual_channel_config_t::links[RTE_DUAL_CHANNEL_MAX_LINKS] |
Already-open links, config->link_count of them, each with config->link_count == the number of entries actually populated here (1..RTE_DUAL_CHANNEL_MAX_LINKS). Every link must have been opened with message_size == sizeof(rte_vital_message_t) (rte_dual_msgchannel.h). Ownership (closing them) stays with the caller.
Definition at line 121 of file rte_dual_channel.h.
| uint32_t rte_dual_channel_config_t::link_count |
Number of entries populated in links[]; 1..RTE_DUAL_CHANNEL_MAX_LINKS.
Definition at line 123 of file rte_dual_channel.h.
| uint32_t rte_dual_channel_config_t::sender_id |
This instance's own EN 50159 sender identifier, shared by every redundant link (they connect the same two logical endpoints).
Definition at line 126 of file rte_dual_channel.h.
| uint32_t rte_dual_channel_config_t::expected_peer_id |
Expected sender_id of the peer at the other end of every link.
Definition at line 128 of file rte_dual_channel.h.
| rte_duration_ms_t rte_dual_channel_config_t::ack_timeout_ms |
Per-link budget rte_dual_channel_send() waits for that link's own ACK before counting it down for this round (ADR-020 section 2).
Definition at line 131 of file rte_dual_channel.h.
| rte_dual_channel_status_callback_t rte_dual_channel_config_t::status_callback |
Optional; NULL = no callback.
Definition at line 133 of file rte_dual_channel.h.
| void* rte_dual_channel_config_t::status_callback_ctx |
Opaque context passed back to status_callback. Ignored if status_callback is NULL.
Definition at line 136 of file rte_dual_channel.h.