Home
last modified time | relevance | path

Searched refs:TCA_OPTIONS (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v6.6/net/sched/
Dcls_cgroup.c89 if (!tca[TCA_OPTIONS]) in cls_cgroup_change()
108 tca[TCA_OPTIONS], cgroup_policy, in cls_cgroup_change()
180 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in cls_cgroup_dump()
Dcls_basic.c183 if (tca[TCA_OPTIONS] == NULL) in basic_change()
186 err = nla_parse_nested_deprecated(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], in basic_change()
282 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in basic_dump()
Dcls_matchall.c175 if (!tca[TCA_OPTIONS]) in mall_change()
182 tca[TCA_OPTIONS], mall_policy, NULL); in mall_change()
342 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in mall_dump()
Dcls_bpf.c424 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change()
427 ret = nla_parse_nested_deprecated(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], in cls_bpf_change()
592 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in cls_bpf_dump()
Dcls_fw.c246 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change()
383 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in fw_dump()
Dsch_drr.c59 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class()
245 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in drr_dump_class()
Dsch_ets.c203 struct nlattr *opt = tca[TCA_OPTIONS]; in ets_class_change()
308 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in ets_class_dump()
744 opts = nla_nest_start_noflag(skb, TCA_OPTIONS); in ets_qdisc_dump()
Dcls_route.c481 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change()
611 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in route4_dump()
Dsch_fifo.c159 if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) in __fifo_dump()
Dsch_skbprio.c205 if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) in skbprio_dump()
Dsch_codel.c218 opts = nla_nest_start_noflag(skb, TCA_OPTIONS); in codel_dump()
Dcls_flow.c397 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change()
631 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in flow_dump()
Dsch_ingress.c138 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in ingress_dump()
Dsch_qfq.c414 if (NL_REQ_ATTR_CHECK(extack, NULL, tca, TCA_OPTIONS)) { in qfq_change_class()
419 err = nla_parse_nested_deprecated(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], in qfq_change_class()
630 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in qfq_dump_class()
Dsch_multiq.c270 if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) in multiq_dump()
Dsch_hfsc.c927 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class()
1319 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in hfsc_dump_class()
1529 if (nla_put(skb, TCA_OPTIONS, sizeof(qopt), &qopt)) in hfsc_dump_qdisc()
Dsch_prio.c276 if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) in prio_dump()
Dsch_etf.c466 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in etf_dump()
Dcls_flower.c2244 if (!tca[TCA_OPTIONS]) { in fl_change()
2262 tca[TCA_OPTIONS], fl_policy, NULL); in fl_change()
2679 if (!tca[TCA_OPTIONS]) in fl_tmplt_create()
2686 tca[TCA_OPTIONS], fl_policy, NULL); in fl_tmplt_create()
3481 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in fl_dump()
3538 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in fl_terse_dump()
3574 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in fl_tmplt_dump()
Dsch_cbs.c458 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in cbs_dump()
Dsch_pie.c466 opts = nla_nest_start_noflag(skb, TCA_OPTIONS); in pie_dump()
Dsch_choke.c445 opts = nla_nest_start_noflag(skb, TCA_OPTIONS); in choke_dump()
/Linux-v6.6/tools/bpf/bpftool/
Dnetlink_dumper.c166 if (tb[TCA_OPTIONS] && in do_filter_dump()
173 ret = do_bpf_filter_dump(tb[TCA_OPTIONS]); in do_filter_dump()
/Linux-v6.6/tools/lib/bpf/
Dnetlink.c666 if (!tb[TCA_OPTIONS]) in __get_tc_info()
669 libbpf_nla_parse_nested(tbb, TCA_BPF_MAX, tb[TCA_OPTIONS], NULL); in __get_tc_info()
769 nla = nlattr_begin_nested(&req, TCA_OPTIONS); in bpf_tc_attach()
/Linux-v6.6/include/uapi/linux/
Drtnetlink.h624 TCA_OPTIONS, enumerator

12