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

Class socket

dpdk/lib/telemetry/telemetry.c:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43#ifndef RTE_EXEC_ENV_WINDOWS
44struct socket {
45 int sock;
46 char path[sizeof(((struct sockaddr_un *)0)->sun_path)];
47 handler fn;
48 RTE_ATOMIC(uint16_t) *num_clients;
49};
50static struct socket v2_socket; /* socket for v2 telemetry */
51static struct socket v1_socket; /* socket for v1 telemetry */
52#endif /* !RTE_EXEC_ENV_WINDOWS */

Callers 15

create_socketFunction · 0.70
register_clientFunction · 0.70
create_unix_socketFunction · 0.50
open_socket_fdFunction · 0.50
dev_uev_socket_fd_createFunction · 0.50
kernel_tx_node_initFunction · 0.50
kernel_rx_node_initFunction · 0.50
memif_socket_createFunction · 0.50
memif_connect_clientFunction · 0.50
mlx4_ifreqFunction · 0.50
vhost_user_setupFunction · 0.50
mana_ifreqFunction · 0.50

Calls

no outgoing calls

Tested by 2

mlx5_test_extend_devargsFunction · 0.40
connect_to_socketFunction · 0.40