/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | net.c | 204 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_class_nlmsg() 220 struct tcmsg t; in netlink_get_class() 222 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_class() 243 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_qdisc_nlmsg() 259 struct tcmsg t; in netlink_get_qdisc() 261 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_qdisc() 282 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_filter_nlmsg() 298 struct tcmsg t; in netlink_get_filter() 300 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_filter() 386 struct tcmsg *info = msg; in dump_class_qdisc_nlmsg() [all …]
|
A D | main.h | 235 struct tcmsg; 237 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
|
A D | netlink_dumper.c | 161 int do_filter_dump(struct tcmsg *info, struct nlattr **tb, const char *kind, in do_filter_dump()
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | netlink.c | 582 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in tc_qdisc_modify() 645 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info() 673 struct tcmsg *tc = NLMSG_DATA(nh); in get_tc_info() 741 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_attach() 818 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in __bpf_tc_detach() 885 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_query()
|
A D | nlattr.h | 61 struct tcmsg tc;
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | rtnetlink.h | 601 struct tcmsg { struct 649 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 650 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
|
/linux-6.3-rc2/net/sched/ |
A D | sch_mq.c | 170 struct tcmsg *tcm) in mq_select_queue() 218 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class()
|
A D | sch_api.c | 910 struct tcmsg *tcm; in tc_fill_qdisc() 1446 struct tcmsg *tcm = nlmsg_data(n); in tc_get_qdisc() 1527 struct tcmsg *tcm; in tc_modify_qdisc() 1771 err = nlmsg_parse_deprecated(nlh, sizeof(struct tcmsg), tca, TCA_MAX, in tc_dump_qdisc() 1818 struct tcmsg *tcm; in tc_fill_tclass() 2008 struct tcmsg *tcm = nlmsg_data(n); in tc_ctl_tclass() 2154 struct tcmsg *tcm, struct netlink_callback *cb, in tc_dump_tclass_qdisc() 2183 struct tcmsg *tcm, struct netlink_callback *cb, in tc_dump_tclass_root() 2215 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tclass()
|
A D | cls_cgroup.c | 173 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump()
|
A D | sch_mqprio.c | 488 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() 595 struct tcmsg *tcm) in mqprio_select_queue()
|
A D | sch_skbprio.c | 244 struct sk_buff *skb, struct tcmsg *tcm) in skbprio_dump_class()
|
A D | cls_api.c | 1970 struct tcmsg *tcm; in tcf_fill_node() 2123 struct tcmsg *t; in tc_new_tfilter() 2357 struct tcmsg *t; in tc_del_tfilter() 2514 struct tcmsg *t; in tc_get_tfilter() 2657 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tcf_chain_dump() 2724 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tfilter() 2831 struct tcmsg *tcm; in tc_chain_fill_node() 2985 struct tcmsg *t; in tc_ctl_chain() 3118 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_chain()
|
A D | cls_basic.c | 270 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in basic_dump()
|
A D | sch_multiq.c | 324 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class()
|
A D | cls_matchall.c | 338 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in mall_dump()
|
A D | sch_prio.c | 346 struct tcmsg *tcm) in prio_dump_class()
|
A D | cls_fw.c | 370 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in fw_dump()
|
A D | sch_cbs.c | 479 struct sk_buff *skb, struct tcmsg *tcm) in cbs_dump_class()
|
A D | sch_drr.c | 235 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class()
|
A D | sch_red.c | 469 struct sk_buff *skb, struct tcmsg *tcm) in red_dump_class()
|
A D | sch_tbf.c | 545 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class()
|
A D | cls_route.c | 601 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in route4_dump()
|
A D | cls_bpf.c | 583 struct sk_buff *skb, struct tcmsg *tm, bool rtnl_held) in cls_bpf_dump()
|
A D | cls_flow.c | 621 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in flow_dump()
|
/linux-6.3-rc2/include/net/ |
A D | sch_generic.h | 244 struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *); 270 struct sk_buff *skb, struct tcmsg*); 377 struct sk_buff *skb, struct tcmsg*, 382 struct tcmsg *t, bool rtnl_held);
|