numam-spdk/lib/sock/spdk_sock.map
Alexey Marchuk 079f2d0abe sock: Add new API to set default sock implementation
When uring is enabled, uring socket implementation is
used to create sockets. We may want to use posix sockets
for some reasons (e.g. performance tests). This patch adds
a new API function to set the socket implementation which
will be used by default, e.g. when no impl_name is passed
to spdk_sock_connect/spdk_sock_listen functions.

Misc changes: include spdk_internal/log.h to register
SOCK log component. The new include header already
includes spdk/sock.h and spdk/queue.h, sow remove
direct inclusion of these headers.

Change-Id: I4abad0a59cd033b15bd43a00e3dbdf313fa6b06c
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4327
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2020-10-05 08:22:53 +00:00

49 lines
1.0 KiB
Plaintext

{
global:
# public functions in spdk/sock.h
spdk_sock_get_default_opts;
spdk_sock_getaddr;
spdk_sock_connect;
spdk_sock_connect_ext;
spdk_sock_listen;
spdk_sock_listen_ext;
spdk_sock_accept;
spdk_sock_close;
spdk_sock_flush;
spdk_sock_recv;
spdk_sock_writev;
spdk_sock_writev_async;
spdk_sock_readv;
spdk_sock_set_recvlowat;
spdk_sock_set_recvbuf;
spdk_sock_set_sendbuf;
spdk_sock_is_ipv6;
spdk_sock_is_ipv4;
spdk_sock_is_connected;
spdk_sock_group_create;
spdk_sock_group_get_ctx;
spdk_sock_group_add_sock;
spdk_sock_group_remove_sock;
spdk_sock_group_poll;
spdk_sock_group_poll_count;
spdk_sock_group_close;
spdk_sock_get_optimal_sock_group;
spdk_sock_impl_get_opts;
spdk_sock_impl_set_opts;
spdk_sock_set_default_impl;
spdk_sock_write_config_json;
# public functions in spdk/net.h
spdk_net_framework_register;
spdk_net_framework_start;
spdk_net_framework_fini;
spdk_net_framework_init_next;
spdk_net_framework_fini_next;
# internal function in spdk_internal/sock.h
spdk_net_impl_register;
local: *;
};