/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H 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 *inf in dump_class_qdisc_nlmsg() [all...] |
H A D | main.h | 254 struct tcmsg; 256 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
|
H A D | netlink_dumper.c | 161 int do_filter_dump(struct tcmsg *info, struct nlattr **tb, const char *kind, in do_filter_dump()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | net.c | 209 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_class_nlmsg() 225 struct tcmsg t; in netlink_get_class() 227 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_class() 248 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_qdisc_nlmsg() 264 struct tcmsg t; in netlink_get_qdisc() 266 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_qdisc() 287 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_filter_nlmsg() 303 struct tcmsg t; in netlink_get_filter() 305 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in netlink_get_filter() 391 struct tcmsg *inf in dump_class_qdisc_nlmsg() [all...] |
H A D | main.h | 237 struct tcmsg; 239 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
|
H A D | netlink_dumper.c | 161 int do_filter_dump(struct tcmsg *info, struct nlattr **tb, const char *kind, in do_filter_dump()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | netlink.c | 593 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in tc_qdisc_modify() 656 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info() 684 struct tcmsg *tc = NLMSG_DATA(nh); in get_tc_info() 752 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_attach() 829 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in __bpf_tc_detach() 896 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_query()
|
H A D | nlattr.h | 61 struct tcmsg tc;
|
/third_party/libbpf/src/ |
H A D | netlink.c | 593 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in tc_qdisc_modify() 656 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info() 684 struct tcmsg *tc = NLMSG_DATA(nh); in get_tc_info() 752 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_attach() 829 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in __bpf_tc_detach() 896 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_query()
|
H A D | nlattr.h | 61 struct tcmsg tc;
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | rtnetlink.h | 577 struct tcmsg { struct 624 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 625 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H 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))
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 421 struct tcmsg { struct 453 #define TCA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 454 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct tcmsg))
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 392 struct tcmsg { struct 422 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 423 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 421 struct tcmsg { struct 453 #define TCA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 454 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct tcmsg))
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_mq.c | 208 struct tcmsg *tcm) in mq_select_queue() 256 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class()
|
H A D | sch_api.c | 889 struct tcmsg *tcm; in tc_fill_qdisc() 1439 struct tcmsg *tcm = nlmsg_data(n); in tc_get_qdisc() 1542 struct tcmsg *tcm; in tc_modify_qdisc() 1807 err = nlmsg_parse_deprecated(nlh, sizeof(struct tcmsg), tca, TCA_MAX, in tc_dump_qdisc() 1854 struct tcmsg *tcm; in tc_fill_tclass() 2044 struct tcmsg *tcm = nlmsg_data(n); in tc_ctl_tclass() 2194 struct tcmsg *tcm, struct netlink_callback *cb, in tc_dump_tclass_qdisc() 2223 struct tcmsg *tcm, struct netlink_callback *cb, in tc_dump_tclass_root() 2255 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tclass()
|
H A D | cls_cgroup.c | 171 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump()
|
H A D | sch_mqprio.c | 553 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() 674 struct tcmsg *tcm) in mqprio_select_queue()
|
H A D | cls_api.c | 1805 struct tcmsg *tcm; in tcf_fill_node() 1952 struct tcmsg *t; in tc_new_tfilter() 2182 struct tcmsg *t; in tc_del_tfilter() 2342 struct tcmsg *t; in tc_get_tfilter() 2485 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tcf_chain_dump() 2552 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tfilter() 2658 struct tcmsg *tcm; in tc_chain_fill_node() 2809 struct tcmsg *t; in tc_ctl_chain() 2946 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_chain()
|
/kernel/linux/linux-6.6/net/sched/ |
H 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()
|
H A D | sch_api.c | 918 struct tcmsg *tcm; in tc_fill_qdisc() 1477 struct tcmsg *tcm = nlmsg_data(n); in tc_get_qdisc() 1576 struct tcmsg *tcm; in tc_modify_qdisc() 1838 err = nlmsg_parse_deprecated(nlh, sizeof(struct tcmsg), tca, TCA_MAX, in tc_dump_qdisc() 1885 struct tcmsg *tcm; in tc_fill_tclass() 2075 struct tcmsg *tcm = nlmsg_data(n); in tc_ctl_tclass() 2221 struct tcmsg *tcm, struct netlink_callback *cb, in tc_dump_tclass_qdisc() 2250 struct tcmsg *tcm, struct netlink_callback *cb, in tc_dump_tclass_root() 2282 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tclass()
|
H A D | cls_cgroup.c | 173 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | sch_generic.h | 232 struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *); 257 struct sk_buff *skb, struct tcmsg*); 367 struct sk_buff *skb, struct tcmsg*, 372 struct tcmsg *t, bool rtnl_held);
|
/kernel/linux/linux-6.6/include/net/ |
H A D | sch_generic.h | 251 struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *); 277 struct sk_buff *skb, struct tcmsg*); 388 struct sk_buff *skb, struct tcmsg*, 393 struct tcmsg *t, bool rtnl_held);
|