Lines Matching refs:OPTS_GET

284 	old_prog_fd = OPTS_GET(opts, old_prog_fd, 0);  in bpf_xdp_attach()
438 switch (OPTS_GET(hook, attach_point, 0)) { in attach_point_to_config()
442 if (OPTS_GET(hook, parent, 0)) in attach_point_to_config()
490 req.tc.tcm_ifindex = OPTS_GET(hook, ifindex, 0); in tc_qdisc_modify()
514 OPTS_GET(hook, ifindex, 0) <= 0) in bpf_tc_hook_create()
528 OPTS_GET(hook, ifindex, 0) <= 0) in bpf_tc_hook_destroy()
531 switch (OPTS_GET(hook, attach_point, 0)) { in bpf_tc_hook_destroy()
624 ifindex = OPTS_GET(hook, ifindex, 0); in bpf_tc_attach()
625 parent = OPTS_GET(hook, parent, 0); in bpf_tc_attach()
626 attach_point = OPTS_GET(hook, attach_point, 0); in bpf_tc_attach()
628 handle = OPTS_GET(opts, handle, 0); in bpf_tc_attach()
629 priority = OPTS_GET(opts, priority, 0); in bpf_tc_attach()
630 prog_fd = OPTS_GET(opts, prog_fd, 0); in bpf_tc_attach()
631 prog_id = OPTS_GET(opts, prog_id, 0); in bpf_tc_attach()
632 flags = OPTS_GET(opts, flags, 0); in bpf_tc_attach()
697 ifindex = OPTS_GET(hook, ifindex, 0); in __bpf_tc_detach()
698 parent = OPTS_GET(hook, parent, 0); in __bpf_tc_detach()
699 attach_point = OPTS_GET(hook, attach_point, 0); in __bpf_tc_detach()
701 handle = OPTS_GET(opts, handle, 0); in __bpf_tc_detach()
702 priority = OPTS_GET(opts, priority, 0); in __bpf_tc_detach()
703 prog_fd = OPTS_GET(opts, prog_fd, 0); in __bpf_tc_detach()
704 prog_id = OPTS_GET(opts, prog_id, 0); in __bpf_tc_detach()
705 flags = OPTS_GET(opts, flags, 0); in __bpf_tc_detach()
769 ifindex = OPTS_GET(hook, ifindex, 0); in bpf_tc_query()
770 parent = OPTS_GET(hook, parent, 0); in bpf_tc_query()
771 attach_point = OPTS_GET(hook, attach_point, 0); in bpf_tc_query()
773 handle = OPTS_GET(opts, handle, 0); in bpf_tc_query()
774 priority = OPTS_GET(opts, priority, 0); in bpf_tc_query()
775 prog_fd = OPTS_GET(opts, prog_fd, 0); in bpf_tc_query()
776 prog_id = OPTS_GET(opts, prog_id, 0); in bpf_tc_query()
777 flags = OPTS_GET(opts, flags, 0); in bpf_tc_query()