Searched refs:xdp_dummy (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_bonding.c | 91 struct xdp_dummy *xdp_dummy; member 162 if (xdp_attach(skeletons, skeletons->xdp_dummy->progs.xdp_dummy_prog, "veth1_2")) in bonding_setup() 176 if (xdp_attach(skeletons, skeletons->xdp_dummy->progs.xdp_dummy_prog, "bond1")) in bonding_setup() 399 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 411 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 416 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 424 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 429 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 446 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 486 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_nested() [all …]
|
| H A D | test_xdp_veth.c | 255 struct xdp_dummy *xdp_dummy; in xdp_veth_redirect() local 260 xdp_dummy = xdp_dummy__open_and_load(); in xdp_veth_redirect() 261 if (!ASSERT_OK_PTR(xdp_dummy, "xdp_dummy__open_and_load")) in xdp_veth_redirect() 280 bpf_objs[0] = xdp_dummy->obj; in xdp_veth_redirect() 316 xdp_dummy__destroy(xdp_dummy); in xdp_veth_redirect() 467 struct xdp_dummy *xdp_dummy; in xdp_veth_egress() local 471 xdp_dummy = xdp_dummy__open_and_load(); in xdp_veth_egress() 472 if (!ASSERT_OK_PTR(xdp_dummy, "xdp_dummy__open_and_load")) in xdp_veth_egress() 496 bpf_objs[0] = xdp_dummy->obj; in xdp_veth_egress() 549 xdp_dummy__destroy(xdp_dummy); in xdp_veth_egress()
|
| H A D | xdp_do_redirect.c | 336 struct xdp_dummy *skel_dummy = NULL; in ping_test()
|
| H A D | fexit_bpf2bpf.c | 531 struct xdp_dummy *tgt_skel = NULL; in test_func_replace_progmap()
|