| /linux/tools/bpf/bpftool/ |
| A D | net.c | 202 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_class_nlmsg() 218 struct tcmsg t; in netlink_get_class() 220 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_class() 241 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_qdisc_nlmsg() 257 struct tcmsg t; in netlink_get_qdisc() 259 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_qdisc() 280 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_filter_nlmsg() 296 struct tcmsg t; in netlink_get_filter() 298 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_filter() 384 struct tcmsg *info = msg; in dump_class_qdisc_nlmsg() [all …]
|
| A D | main.h | 236 struct tcmsg; 238 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/tools/lib/bpf/ |
| A D | netlink.c | 432 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in tc_qdisc_modify() 495 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info() 523 struct tcmsg *tc = NLMSG_DATA(nh); in get_tc_info() 590 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_attach() 666 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in __bpf_tc_detach() 733 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_query()
|
| A D | nlattr.h | 60 struct tcmsg tc;
|
| /linux/include/uapi/linux/ |
| A D | rtnetlink.h | 592 struct tcmsg { struct 639 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 640 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
|
| /linux/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 | 890 struct tcmsg *tcm; in tc_fill_qdisc() 1419 struct tcmsg *tcm = nlmsg_data(n); in tc_get_qdisc() 1504 struct tcmsg *tcm; in tc_modify_qdisc() 1751 err = nlmsg_parse_deprecated(nlh, sizeof(struct tcmsg), tca, TCA_MAX, in tc_dump_qdisc() 1797 struct tcmsg *tcm; in tc_fill_tclass() 1982 struct tcmsg *tcm = nlmsg_data(n); in tc_ctl_tclass() 2132 struct tcmsg *tcm, struct netlink_callback *cb, in tc_dump_tclass_qdisc() 2161 struct tcmsg *tcm, struct netlink_callback *cb, in tc_dump_tclass_root() 2193 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tclass()
|
| A D | cls_cgroup.c | 171 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump()
|
| A D | sch_mqprio.c | 475 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() 585 struct tcmsg *tcm) in mqprio_select_queue()
|
| A D | sch_skbprio.c | 247 struct sk_buff *skb, struct tcmsg *tcm) in skbprio_dump_class()
|
| A D | cls_api.c | 1799 struct tcmsg *tcm; in tcf_fill_node() 1940 struct tcmsg *t; in tc_new_tfilter() 2172 struct tcmsg *t; in tc_del_tfilter() 2332 struct tcmsg *t; in tc_get_tfilter() 2475 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tcf_chain_dump() 2542 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tfilter() 2648 struct tcmsg *tcm; in tc_chain_fill_node() 2796 struct tcmsg *t; in tc_ctl_chain() 2932 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_chain()
|
| A D | cls_basic.c | 280 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in basic_dump()
|
| A D | sch_multiq.c | 325 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class()
|
| A D | sch_prio.c | 348 struct tcmsg *tcm) in prio_dump_class()
|
| A D | cls_matchall.c | 347 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in mall_dump()
|
| A D | cls_fw.c | 375 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_dsmark.c | 429 struct sk_buff *skb, struct tcmsg *tcm) in dsmark_dump_class()
|
| A D | sch_tbf.c | 545 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class()
|
| A D | cls_route.c | 596 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in route4_dump()
|
| A D | sch_red.c | 473 struct sk_buff *skb, struct tcmsg *tcm) in red_dump_class()
|
| A D | sch_sfb.c | 612 struct sk_buff *skb, struct tcmsg *tcm) in sfb_dump_class()
|
| /linux/include/net/ |
| A D | sch_generic.h | 258 struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *); 284 struct sk_buff *skb, struct tcmsg*); 394 struct sk_buff *skb, struct tcmsg*, 399 struct tcmsg *t, bool rtnl_held);
|