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

One remote endpoint to open internally - replaces a caller- supplied sapi_netlink_handle_t (ADR-022 section 2.2). More...

#include <sapi_safechannel.h>

Data Fields

sapi_netlink_role_t role
const char * host
uint16_t port

Detailed Description

One remote endpoint to open internally - replaces a caller- supplied sapi_netlink_handle_t (ADR-022 section 2.2).

Definition at line 82 of file sapi_safechannel.h.

Field Documentation

◆ role

sapi_netlink_role_t sapi_safechannel_endpoint_t::role

LISTEN (bind+accept) or CONNECT (dial).

Definition at line 85 of file sapi_safechannel.h.

◆ host

const char* sapi_safechannel_endpoint_t::host

CONNECT: target host, must not be NULL. LISTEN: bind address, NULL = any (same convention as sapi_netlink_config_t::host).

Definition at line 88 of file sapi_safechannel.h.

◆ port

uint16_t sapi_safechannel_endpoint_t::port

Port to bind (LISTEN) or dial (CONNECT).

Definition at line 90 of file sapi_safechannel.h.


The documentation for this struct was generated from the following file: