Searched refs:TCA_KIND (Results 1 – 7 of 7) sorted by relevance
/linux/tools/lib/bpf/ |
A D | netlink.c | 378 return nlattr_add(req, TCA_KIND, "clsact", sizeof("clsact")); in clsact_config() 529 if (!tb[TCA_KIND]) in get_tc_info() 604 ret = nlattr_add(&req, TCA_KIND, "bpf", sizeof("bpf")); in bpf_tc_attach() 682 ret = nlattr_add(&req, TCA_KIND, "bpf", sizeof("bpf")); in __bpf_tc_detach() 746 ret = nlattr_add(&req, TCA_KIND, "bpf", sizeof("bpf")); in bpf_tc_query()
|
/linux/net/sched/ |
A D | sch_api.c | 910 if (nla_put_string(skb, TCA_KIND, q->ops->id)) in tc_fill_qdisc() 1171 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create() 1401 [TCA_KIND] = { .type = NLA_STRING }, 1473 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id)) { in tc_get_qdisc() 1567 if (tca[TCA_KIND] && in tc_modify_qdisc() 1568 nla_strcmp(tca[TCA_KIND], q->ops->id)) { in tc_modify_qdisc() 1605 (tca[TCA_KIND] && in tc_modify_qdisc() 1606 nla_strcmp(tca[TCA_KIND], q->ops->id)))) in tc_modify_qdisc() 1627 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id)) { in tc_modify_qdisc() 1815 if (nla_put_string(skb, TCA_KIND, q->ops->id)) in tc_fill_tclass()
|
A D | cls_api.c | 1818 if (nla_put_string(skb, TCA_KIND, tp->ops->kind)) in tcf_fill_node() 1998 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_new_tfilter() 2059 if (tca[TCA_KIND] == NULL || !protocol) { in tc_new_tfilter() 2094 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter() 2211 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_del_tfilter() 2273 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_del_tfilter() 2368 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_get_tfilter() 2415 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_get_tfilter() 2674 if (nla_put_string(skb, TCA_KIND, ops->kind)) in tc_chain_fill_node() 2752 if (!tca[TCA_KIND]) in tc_chain_tmplt_add() [all …]
|
A D | act_api.c | 251 if (nla_put_string(skb, TCA_KIND, a->ops->kind)) in tcf_action_dump_terse() 366 if (nla_put_string(skb, TCA_KIND, ops->kind)) in tcf_del_walker()
|
/linux/tools/bpf/bpftool/ |
A D | net.c | 388 if (tb[TCA_KIND] && in dump_class_qdisc_nlmsg() 389 strcmp(libbpf_nla_data(tb[TCA_KIND]), "clsact") == 0) in dump_class_qdisc_nlmsg() 407 tb[TCA_KIND] in dump_class_qdisc_nlmsg() 408 ? libbpf_nla_getattr_str(tb[TCA_KIND]) in dump_class_qdisc_nlmsg()
|
A D | netlink_dumper.c | 167 strcmp(libbpf_nla_data(tb[TCA_KIND]), "bpf") == 0) { in do_filter_dump()
|
/linux/include/uapi/linux/ |
A D | rtnetlink.h | 614 TCA_KIND, enumerator
|
Completed in 25 milliseconds