RTE OSAdapter POSIX 0.1.0 build 41b3eb3
POSIX/Linux OAL OSAdapter for Platform_RTE
Loading...
Searching...
No Matches
rte_posix_osadapter_channel_service.h
Go to the documentation of this file.
1#ifndef RTE_POSIX_OSADAPTER_CHANNEL_SERVICE_H
2#define RTE_POSIX_OSADAPTER_CHANNEL_SERVICE_H
3
5
6#include "rte/redundancy/channel_service/rte_channel_service.h"
7#include "rte/oal/netlink/rte_netlink.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
24typedef rte_status_t (*rte_posix_channel_resolve_fn)(const char *channel_name,
25 rte_netlink_config_t *out_config,
26 void *context);
27
36 void *context);
37
46const rte_osadapter_channel_service_t *rte_posix_osadapter_channel_service(void);
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif
rte_status_t rte_posix_osadapter_channel_service_register_resolver(rte_posix_channel_resolve_fn resolver, void *context)
Registers the channel-name resolver and the POSIX channel service OSAdapter (ADR-005 seam).
const rte_osadapter_channel_service_t * rte_posix_osadapter_channel_service(void)
The POSIX channel service OSAdapter vtable (UDP; setup binds or dials and returns,...
rte_status_t(*) rte_posix_channel_resolve_fn(const char *channel_name, rte_netlink_config_t *out_config, void *context)
Resolves a channel name to its link configuration (integrator-supplied).