Lines Matching full:family
50 static int create_ktls_pairs(int family, int sotype, int *c, int *p) in create_ktls_pairs() argument
54 err = create_pair(family, sotype, c, p); in create_ktls_pairs()
64 static void test_sockmap_ktls_update_fails_when_sock_has_ulp(int family, int map) in test_sockmap_ktls_update_fails_when_sock_has_ulp() argument
72 switch (family) { in test_sockmap_ktls_update_fails_when_sock_has_ulp()
82 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
86 s = socket(family, SOCK_STREAM, 0); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
120 static const char *fmt_test_name(const char *subtest_name, int family, in fmt_test_name() argument
134 static void test_sockmap_ktls_offload(int family, int sotype) in test_sockmap_ktls_offload() argument
141 err = create_ktls_pairs(family, sotype, &c, &p); in test_sockmap_ktls_offload()
163 static void test_sockmap_ktls_tx_cork(int family, int sotype, bool push) in test_sockmap_ktls_tx_cork() argument
178 err = create_pair(family, sotype, &c, &p); in test_sockmap_ktls_tx_cork()
243 static void test_sockmap_ktls_tx_no_buf(int family, int sotype, bool push) in test_sockmap_ktls_tx_no_buf() argument
259 err = create_pair(family, sotype, &c, &p); in test_sockmap_ktls_tx_no_buf()
317 static void test_sockmap_ktls_tx_pop(int family, int sotype) in test_sockmap_ktls_tx_pop() argument
331 err = create_pair(family, sotype, &c, &p); in test_sockmap_ktls_tx_pop()
406 static void run_tests(int family, enum bpf_map_type map_type) in run_tests() argument
414 if (test__start_subtest(fmt_test_name("update_fails_when_sock_has_ulp", family, map_type))) in run_tests()
415 test_sockmap_ktls_update_fails_when_sock_has_ulp(family, map); in run_tests()
420 static void run_ktls_test(int family, int sotype) in run_ktls_test() argument
423 test_sockmap_ktls_offload(family, sotype); in run_ktls_test()
425 test_sockmap_ktls_tx_cork(family, sotype, false); in run_ktls_test()
427 test_sockmap_ktls_tx_cork(family, sotype, true); in run_ktls_test()
429 test_sockmap_ktls_tx_no_buf(family, sotype, true); in run_ktls_test()
431 test_sockmap_ktls_tx_pop(family, sotype); in run_ktls_test()