Lines Matching defs:progfd
540 static int do_attach_detach_xdp(int progfd, enum net_attach_type attach_type,
554 return bpf_set_link_xdp_fd(ifindex, progfd, flags);
560 int progfd, ifindex, err = 0;
574 progfd = prog_parse_fd(&argc, &argv);
575 if (progfd < 0)
596 err = do_attach_detach_xdp(progfd, attach_type, ifindex,
607 close(progfd);
614 int progfd, ifindex, err = 0;
632 progfd = -1;
634 err = do_attach_detach_xdp(progfd, attach_type, ifindex, NULL);