Searched refs:old_prog_fd (Results 1 – 14 of 14) sorted by relevance
273 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 …]
189 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()
222 int old_prog_fd, err; in bpf_xdp_attach() local227 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()
430 __u32 old_prog_fd; /* expected old program FD */ member432 #define bpf_link_update_opts__last_field old_prog_fd
882 int old_prog_fd; member885 #define bpf_xdp_attach_opts__last_field old_prog_fd
891 attr.link_update.old_prog_fd = OPTS_GET(opts, old_prog_fd, 0); in bpf_link_update()
1485 __u32 old_prog_fd; member
1551 __u32 old_prog_fd; member
25517 __u32 old_prog_fd; member
10516 __u32 old_prog_fd; member
9491 __u32 old_prog_fd; member