MCPcopy Create free account
hub / github.com/F-Stack/f-stack / create_socket_path

Function create_socket_path

dpdk/lib/eal/common/eal_common_proc.c:134–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134static void
135create_socket_path(const char *name, char *buf, int len)
136{
137 const char *prefix = eal_mp_socket_path();
138
139 if (strlen(name) > 0)
140 snprintf(buf, len, "%s_%s", prefix, name);
141 else
142 strlcpy(buf, prefix, len);
143}
144
145int
146rte_eal_primary_proc_alive(const char *config_file_path)

Callers 3

open_socket_fdFunction · 0.85
close_socket_fdFunction · 0.85
rte_mp_channel_initFunction · 0.85

Calls 3

eal_mp_socket_pathFunction · 0.85
snprintfFunction · 0.85
strlcpyFunction · 0.50

Tested by

no test coverage detected