Lines Matching refs:progfd
633 static int do_attach_detach_xdp(int progfd, enum net_attach_type attach_type,
647 return bpf_xdp_attach(ifindex, progfd, flags, NULL);
653 int progfd, ifindex, err = 0;
667 progfd = prog_parse_fd(&argc, &argv);
668 if (progfd < 0)
689 err = do_attach_detach_xdp(progfd, attach_type, ifindex,
700 close(progfd);
707 int progfd, ifindex, err = 0;
725 progfd = -1;
727 err = do_attach_detach_xdp(progfd, attach_type, ifindex, NULL);