Home
last modified time | relevance | path

Searched refs:old_prog_fd (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_reattach.c273 update_opts.old_prog_fd = 0; in test_link_update_no_old_prog()
298 update_opts.old_prog_fd = prog1; in test_link_update_replace_old_prog()
323 update_opts.old_prog_fd = 0; in test_link_update_same_prog()
349 update_opts.old_prog_fd = prog1; in test_link_update_invalid_opts()
360 update_opts.old_prog_fd = prog2; in test_link_update_invalid_opts()
371 update_opts.old_prog_fd = -1; in test_link_update_invalid_opts()
382 update_opts.old_prog_fd = 0; in test_link_update_invalid_opts()
409 update_opts.old_prog_fd = 0; in test_link_update_invalid_prog()
424 update_opts.old_prog_fd = 0; in test_link_update_invalid_prog()
465 update_opts.old_prog_fd = 0; in test_link_update_netns_gone()
[all …]
Dcgroup_link.c189 link_upd_opts.old_prog_fd = bpf_program__fd(skel->progs.egress_alt); in test_cgroup_link()
199 link_upd_opts.old_prog_fd = bpf_program__fd(skel->progs.egress); in test_cgroup_link()
/tools/lib/bpf/
Dbpf.h198 __u32 old_prog_fd; /* expected old program FD */ member
200 #define bpf_link_update_opts__last_field old_prog_fd
Dbpf.c753 attr.link_update.old_prog_fd = OPTS_GET(opts, old_prog_fd, 0); in bpf_link_update()
/tools/include/uapi/linux/
Dbpf.h1468 __u32 old_prog_fd; member