Home
last modified time | relevance | path

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

/external/linux-kselftest/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 serial_test_cgroup_link()
199 link_upd_opts.old_prog_fd = bpf_program__fd(skel->progs.egress); in serial_test_cgroup_link()
/external/libbpf/src/
Dnetlink.c222 int old_prog_fd, err; in bpf_xdp_attach() local
227 old_prog_fd = OPTS_GET(opts, old_prog_fd, 0); in bpf_xdp_attach()
228 if (old_prog_fd) in bpf_xdp_attach()
231 old_prog_fd = -1; in bpf_xdp_attach()
233 err = __bpf_set_link_xdp_fd_replace(ifindex, prog_fd, old_prog_fd, flags); in bpf_xdp_attach()
Dbpf.h430 __u32 old_prog_fd; /* expected old program FD */ member
432 #define bpf_link_update_opts__last_field old_prog_fd
Dlibbpf.h882 int old_prog_fd; member
885 #define bpf_xdp_attach_opts__last_field old_prog_fd
Dbpf.c891 attr.link_update.old_prog_fd = OPTS_GET(opts, old_prog_fd, 0); in bpf_link_update()
/external/bpftool/include/uapi/linux/
Dbpf.h1485 __u32 old_prog_fd; member
/external/libbpf/include/uapi/linux/
Dbpf.h1485 __u32 old_prog_fd; member
/external/kernel-headers/original/uapi/linux/
Dbpf.h1551 __u32 old_prog_fd; member
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h25517 __u32 old_prog_fd; member
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h10516 __u32 old_prog_fd; member
Dvmlinux.h10516 __u32 old_prog_fd; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h9491 __u32 old_prog_fd; member
Dvmlinux_510.h9491 __u32 old_prog_fd; member