Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_osadapter_netlink.h
Go to the documentation of this file.
1
7#ifndef RTE_OSADAPTER_NETLINK_H
8#define RTE_OSADAPTER_NETLINK_H
9
10#include <stddef.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
22typedef struct rte_osadapter_netlink_s
23{
24 rte_status_t (*open)(rte_netlink_storage_t *storage,
25 const rte_netlink_config_t *config,
26 rte_netlink_handle_t *out_handle);
27 rte_status_t (*send)(rte_netlink_handle_t handle, const void *message,
28 size_t message_size, rte_duration_ms_t timeout_ms);
29 rte_status_t (*receive)(rte_netlink_handle_t handle, void *out_message,
30 size_t buffer_size, rte_duration_ms_t timeout_ms);
31 rte_status_t (*close)(rte_netlink_handle_t handle);
33
41
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* RTE_OSADAPTER_NETLINK_H */
rte_status_t
Common result/status codes.
Definition rte_status.h:27
uint32_t rte_duration_ms_t
Definition rte_types.h:27
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
Common fixed-width types and the caller-owned-storage handle pattern used by every OAL service (see A...