| /linux/tools/bpf/bpftool/ |
| H A D | net.c | 218 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_class_nlmsg() 234 struct tcmsg t; in netlink_get_class() 236 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_class() 257 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_qdisc_nlmsg() 273 struct tcmsg t; in netlink_get_qdisc() 275 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_qdisc() 296 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_filter_nlmsg() 312 struct tcmsg t; in netlink_get_filter() 314 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_filter() 401 struct tcmsg *inf in dump_class_qdisc_nlmsg() [all...] |
| H 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/ |
| H A D | netlink.c | 608 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in tc_qdisc_modify() 672 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info() 700 struct tcmsg *tc = NLMSG_DATA(nh); in get_tc_info() 768 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_attach() 845 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in __bpf_tc_detach() 912 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_query()
|
| H A D | nlattr.h | 61 struct tcmsg tc;
|
| /linux/tools/include/uapi/linux/ |
| H A D | rtnetlink.h | 615 struct tcmsg { struct 663 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 664 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
|
| /linux/net/sched/ |
| H A D | sch_api.c | 904 struct tcmsg *tcm; in tc_fill_qdisc() 983 const struct tcmsg *tcm) in tc_qdisc_dump_ignore() 1475 struct tcmsg *tcm) in __tc_get_qdisc() 1545 struct tcmsg *tcm = nlmsg_data(n); in tc_get_qdisc() 1589 struct tcmsg *tcm) in __tc_modify_qdisc() 1805 struct tcmsg *tcm; in tc_modify_qdisc() 1834 const struct tcmsg *tcm; in tc_dump_qdisc_root() 1894 const struct tcmsg *tcm; in tc_dump_qdisc() 1901 err = nlmsg_parse_deprecated(nlh, sizeof(struct tcmsg), tca, TCA_MAX, in tc_dump_qdisc() 1957 struct tcmsg *tc in tc_fill_tclass() [all...] |
| H A D | sch_mq.c | 203 struct tcmsg *tcm) in mq_graft() 254 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class_stats()
|
| H A D | cls_cgroup.c | 173 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump()
|
| H A D | sch_skbprio.c | 243 struct sk_buff *skb, struct tcmsg *tcm) in skbprio_dump_class()
|
| H A D | sch_mqprio.c | 654 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() 751 struct tcmsg *tcm) in mqprio_select_queue()
|
| H A D | cls_api.c | 2057 struct tcmsg *tcm; in tcf_fill_node() 2242 struct tcmsg *t; in tc_new_tfilter() 2478 struct tcmsg *t; in tc_del_tfilter() 2637 struct tcmsg *t; in tc_get_tfilter() 2783 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tcf_chain_dump() 2851 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tfilter() 2958 struct tcmsg *tcm; in tc_chain_fill_node() 3118 struct tcmsg *t; in tc_ctl_chain() 3251 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_chain()
|
| H A D | cls_basic.c | 270 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in basic_dump()
|
| H A D | sch_multiq.c | 324 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class()
|
| H A D | sch_prio.c | 346 struct tcmsg *tcm) in prio_dump_class()
|
| H A D | cls_matchall.c | 329 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in mall_dump()
|
| H A D | cls_fw.c | 383 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in fw_dump()
|
| H A D | sch_drr.c | 240 struct sk_buff *skb, struct tcmsg *tcm)
|
| H A D | sch_cbs.c | 493 struct sk_buff *skb, struct tcmsg *tcm) in cbs_dump_class()
|
| H A D | sch_tbf.c | 558 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class()
|
| H A D | cls_route.c | 605 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in route4_dump()
|
| H A D | sch_red.c | 485 struct sk_buff *skb, struct tcmsg *tcm) in red_dump_class()
|
| H A D | cls_bpf.c | 580 struct sk_buff *skb, struct tcmsg *tm, bool rtnl_held) in cls_bpf_dump()
|
| H A D | cls_flow.c | 636 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in flow_dump()
|
| H A D | sch_sfb.c | 626 struct sk_buff *skb, struct tcmsg *tcm) in sfb_dump_class()
|
| H A D | sch_fq_codel.c | 678 struct sk_buff *skb, struct tcmsg *tcm) in fq_codel_dump_class_stats()
|