Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_netlink_backend.h File Reference

OS-backend adaptation surface for the Point-to-Point Network Link service (ADR-005, ADR-021). More...

Include dependency graph for sapi_netlink_backend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

 Backend vtable: an integrator's implementation of the network link service for a specific transport/target (ADR-005). Any slot may be NULL if unsupported by the backend (-> SAPI_STATUS_NOT_SUPPORTED). More...

Functions

sapi_status_t sapi_netlink_register_backend (const sapi_netlink_backend_t *backend)
 Registers the backend implementation used by every sapi_netlink_* call (ADR-005 section 2.1). Call once at startup.

Detailed Description

OS-backend adaptation surface for the Point-to-Point Network Link service (ADR-005, ADR-021).

For platform integrators implementing a sapi_netlink_backend_t and calling sapi_netlink_register_backend() - NOT part of the consumer API (safeapi/netlink/sapi_netlink.h). A real application should never include this file; only the startup code that wires a concrete backend does (e.g. safeAPIRBC2oo2's POSIX/TCP backend).

Definition in file sapi_netlink_backend.h.