Searched refs:create_pair (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_ktls.c | 54 err = create_pair(family, sotype, c, p); in create_ktls_pairs() 55 if (!ASSERT_OK(err, "create_pair()")) in create_ktls_pairs() 178 err = create_pair(family, sotype, &c, &p); in test_sockmap_ktls_tx_cork() 179 if (!ASSERT_OK(err, "create_pair()")) in test_sockmap_ktls_tx_cork() 259 err = create_pair(family, sotype, &c, &p); in test_sockmap_ktls_tx_no_buf() 260 if (!ASSERT_OK(err, "create_pair()")) in test_sockmap_ktls_tx_no_buf() 331 err = create_pair(family, sotype, &c, &p); in test_sockmap_ktls_tx_pop() 332 if (!ASSERT_OK(err, "create_pair()")) in test_sockmap_ktls_tx_pop()
|
H A D | socket_helpers.h | 327 static inline int create_pair(int family, int sotype, int *p0, int *p1) in create_pair() function 400 err = create_pair(family, sotype, c0, p0); in create_socket_pairs() 404 err = create_pair(family, sotype, c1, p1); in create_socket_pairs()
|
H A D | sockmap_strp.c | 181 err = create_pair(family, sotype, &c, &p); in test_sockmap_strp_multiple_pkt() 241 err = create_pair(family, sotype, &c, &p); in test_sockmap_strp_partial_read() 302 err = create_pair(family, sotype, &c, &p); in test_sockmap_strp_pass()
|
H A D | tc_change_tail.c | 30 ret = create_pair(AF_INET, SOCK_DGRAM, &c1, &p1); in test_tc_change_tail() 31 if (!ASSERT_OK(ret, "create_pair")) in test_tc_change_tail()
|
H A D | sockmap_basic.c | 121 err = create_pair(AF_VSOCK, SOCK_STREAM, &c, &p); in test_sockmap_vsock_delete_on_close() 122 if (!ASSERT_OK(err, "create_pair")) in test_sockmap_vsock_delete_on_close() 131 err = create_pair(AF_VSOCK, SOCK_STREAM, &c, &p); in test_sockmap_vsock_delete_on_close() 132 if (!ASSERT_OK(err, "create_pair")) in test_sockmap_vsock_delete_on_close() 506 err = create_pair(AF_INET, SOCK_STREAM, &c1, &p1); in test_sockmap_skb_verdict_shutdown() 617 err = create_pair(AF_INET, SOCK_STREAM, &c1, &p1); in test_sockmap_skb_verdict_change_tail() 618 if (!ASSERT_OK(err, "create_pair()")) in test_sockmap_skb_verdict_change_tail() 654 err = create_pair(AF_INET, SOCK_STREAM, &c1, &p1); in test_sockmap_skb_verdict_peek_helper() 655 if (!ASSERT_OK(err, "create_pair()")) in test_sockmap_skb_verdict_peek_helper() 986 if (create_pair(AF_VSOC in test_sockmap_skb_verdict_vsock_poll() [all...] |
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_sockmap.c | 156 static int create_pair(int *c, int *p, int type) in create_pair() function 219 err = create_pair(&ctx.c1, &ctx.p1, SOCK_STREAM); in create_sockets() 221 fprintf(stderr, "create_pair 1 error\n"); in create_sockets() 225 err = create_pair(&ctx.c2, &ctx.p2, SOCK_STREAM); in create_sockets() 227 fprintf(stderr, "create_pair 2 error\n"); in create_sockets()
|