Home
last modified time | relevance | path

Searched refs:tcmsg (Results 1 - 25 of 83) sorted by relevance

1234

/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dnet.c202 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 Dmain.h254 struct tcmsg;
256 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
H A Dnetlink_dumper.c161 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 Dnet.c209 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 Dmain.h237 struct tcmsg;
239 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
H A Dnetlink_dumper.c161 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 Dnetlink.c593 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 Dnlattr.h61 struct tcmsg tc;
/third_party/libbpf/src/
H A Dnetlink.c593 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 Dnlattr.h61 struct tcmsg tc;
/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/platform/unix/qdisc/
H A Dnstackx_qdisc.c54 static int32_t CheckTcMsgRecv(struct tcmsg *tcMsgRecv, int32_t ifIndex, int32_t protocol) in CheckTcMsgRecv()
73 struct tcmsg *tcMsgRecv = NLMSG_DATA(h); // h is trusted in ProcessQdiscInfo()
H A Dnstackx_nlmsg.c58 struct tcmsg t = { .tcm_family = AF_UNSPEC }; in SendNetlinkRequest()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Drtnetlink.h577 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 Drtnetlink.h601 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 Drtnetlink.h421 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 Drtnetlink.h392 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 Drtnetlink.h421 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 Dsch_mq.c208 struct tcmsg *tcm) in mq_select_queue()
256 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class()
H A Dsch_api.c889 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 Dcls_cgroup.c171 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump()
/kernel/linux/linux-6.6/net/sched/
H A Dsch_mq.c170 struct tcmsg *tcm) in mq_select_queue()
218 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class()
H A Dsch_api.c918 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 Dcls_cgroup.c173 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump()
/kernel/linux/linux-5.10/include/net/
H A Dsch_generic.h232 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 Dsch_generic.h251 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);

Completed in 34 milliseconds

1234