Home
last modified time | relevance | path

Searched refs:test_params (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/tools/testing/selftests/net/
Dreuseport_bpf.c31 struct test_params { struct
152 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group()
188 static void send_from(struct test_params p, uint16_t sport, char *buf, in send_from()
213 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order()
273 static void test_reuseport_ebpf(struct test_params p) in test_reuseport_ebpf()
290 static void test_reuseport_cbpf(struct test_params p) in test_reuseport_cbpf()
307 static void test_extra_filter(const struct test_params p) in test_extra_filter()
339 static void test_filter_no_reuseport(const struct test_params p) in test_filter_no_reuseport()
466 test_reuseport_ebpf((struct test_params) { in main()
473 test_reuseport_ebpf((struct test_params) { in main()
[all …]
/Linux-v5.4/samples/bpf/
Dmap_perf_test_kern.c169 } test_params; in stress_lru_hmap_alloc() local
182 ret = bpf_probe_read(test_params.dst6, sizeof(test_params.dst6), in stress_lru_hmap_alloc()
187 if (test_params.magic0 != 0xdead || in stress_lru_hmap_alloc()
188 test_params.magic1 != 0xbeef) in stress_lru_hmap_alloc()
191 test_case = test_params.tcase; in stress_lru_hmap_alloc()
216 key = test_params.key; in stress_lru_hmap_alloc()