|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Configuration for sapi_netlink_open(). More...
#include <sapi_netlink.h>
Data Fields | |
| sapi_netlink_role_t | role |
| const char * | host |
| uint16_t | port |
| size_t | message_size |
| sapi_duration_ms_t | connect_timeout_ms |
Configuration for sapi_netlink_open().
Definition at line 73 of file sapi_netlink.h.
| sapi_netlink_role_t sapi_netlink_config_t::role |
Which side of the connection this link instance plays.
Definition at line 76 of file sapi_netlink.h.
| const char* sapi_netlink_config_t::host |
LISTEN: bind address, backend-defined interpretation of NULL (typically "any"). CONNECT: target host to dial. Must not be NULL for CONNECT. Caller-owned; only read during sapi_netlink_open().
Definition at line 80 of file sapi_netlink.h.
| uint16_t sapi_netlink_config_t::port |
LISTEN: port to bind. CONNECT: port to dial.
Definition at line 82 of file sapi_netlink.h.
| size_t sapi_netlink_config_t::message_size |
Fixed size in bytes of every message exchanged on this link.
Definition at line 84 of file sapi_netlink.h.
| sapi_duration_ms_t sapi_netlink_config_t::connect_timeout_ms |
Maximum time sapi_netlink_open() may block establishing the link (REQ-OAL-NETLINK-002).
Definition at line 87 of file sapi_netlink.h.