Searched refs:sock_mapfd (Results 1 - 2 of 2) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_listen.c | 674 static void redir_to_connected(int family, int sotype, int sock_mapfd, argument 694 err = add_to_sockmap(sock_mapfd, p0, p1); 770 static void redir_to_listening(int family, int sotype, int sock_mapfd, argument 802 err = add_to_sockmap(sock_mapfd, s, p); 1340 int sock_mapfd, int nop_mapfd, 1351 err = add_to_sockmap(sock_mapfd, peer0, peer1); 1383 static void unix_redir_to_connected(int sotype, int sock_mapfd, argument 1397 pairs_redir_to_connected(c0, p0, c1, p1, sock_mapfd, -1, verd_mapfd, mode); 1488 static void vsock_unix_redir_connectible(int sock_mapfd, int verd_mapfd, argument 1513 err = add_to_sockmap(sock_mapfd, u 1339 pairs_redir_to_connected(int cli0, int peer0, int cli1, int peer1, int sock_mapfd, int nop_mapfd, int verd_mapfd, enum redir_mode mode) argument 1674 udp_redir_to_connected(int family, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument 1730 inet_unix_redir_to_connected(int family, int type, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument 1780 unix_inet_redir_to_connected(int family, int type, int sock_mapfd, int nop_mapfd, int verd_mapfd, enum redir_mode mode) argument [all...] |
H A D | sockmap_helpers.h | 298 static inline int add_to_sockmap(int sock_mapfd, int fd1, int fd2) argument 306 err = xbpf_map_update_elem(sock_mapfd, &key, &value, BPF_NOEXIST); 312 return xbpf_map_update_elem(sock_mapfd, &key, &value, BPF_NOEXIST);
|
Completed in 108 milliseconds