Home
last modified time | relevance | path

Searched refs:tcmsg (Results 1 – 25 of 55) sorted by relevance

123

/external/strace/
Drtnl_tc.c304 struct tcmsg tcmsg = { .tcm_family = family }; in DECL_NETLINK_ROUTE_DECODER() local
305 size_t offset = sizeof(tcmsg.tcm_family); in DECL_NETLINK_ROUTE_DECODER()
308 PRINT_FIELD_XVAL("{", tcmsg, tcm_family, addrfams, "AF_???"); in DECL_NETLINK_ROUTE_DECODER()
311 if (len >= sizeof(tcmsg)) { in DECL_NETLINK_ROUTE_DECODER()
313 sizeof(tcmsg) - offset, in DECL_NETLINK_ROUTE_DECODER()
314 (char *) &tcmsg + offset)) { in DECL_NETLINK_ROUTE_DECODER()
315 PRINT_FIELD_IFINDEX("", tcmsg, tcm_ifindex); in DECL_NETLINK_ROUTE_DECODER()
316 PRINT_FIELD_U(", ", tcmsg, tcm_handle); in DECL_NETLINK_ROUTE_DECODER()
317 PRINT_FIELD_U(", ", tcmsg, tcm_parent); in DECL_NETLINK_ROUTE_DECODER()
318 PRINT_FIELD_U(", ", tcmsg, tcm_info); in DECL_NETLINK_ROUTE_DECODER()
[all …]
/external/bpftool/src/
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 *info = msg; in dump_class_qdisc_nlmsg()
[all …]
Dmain.h241 struct tcmsg;
243 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
/external/strace/tests-m32/
Dnlattr_tca_stab.c43 const unsigned int hdrlen = sizeof(struct tcmsg);
54 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
55 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
Dnlattr_tcmsg.c46 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
47 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
70 const unsigned int hdrlen = sizeof(struct tcmsg); in main()
Dnlattr_tc_stats.c39 const unsigned int hdrlen = sizeof(struct tcmsg);
50 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
51 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
/external/strace/tests-mx32/
Dnlattr_tca_stab.c43 const unsigned int hdrlen = sizeof(struct tcmsg);
54 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
55 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
Dnlattr_tcmsg.c46 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
47 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
70 const unsigned int hdrlen = sizeof(struct tcmsg); in main()
Dnlattr_tc_stats.c39 const unsigned int hdrlen = sizeof(struct tcmsg);
50 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
51 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
/external/strace/tests/
Dnlattr_tca_stab.c43 const unsigned int hdrlen = sizeof(struct tcmsg);
54 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
55 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
Dnlattr_tcmsg.c46 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
47 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
70 const unsigned int hdrlen = sizeof(struct tcmsg); in main()
Dnlattr_tc_stats.c39 const unsigned int hdrlen = sizeof(struct tcmsg);
50 struct tcmsg *const msg = NLMSG_DATA(nlh); in init_tcmsg()
51 SET_STRUCT(struct tcmsg, msg, in init_tcmsg()
/external/iproute2/tc/
Dtc_qdisc.c57 struct tcmsg t; in tc_qdisc_modify()
60 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in tc_qdisc_modify()
205 struct tcmsg *t = NLMSG_DATA(n); in print_qdisc()
303 struct tcmsg t = { .tcm_family = AF_UNSPEC }; in tc_qdisc_list()
344 struct tcmsg t; in tc_qdisc_list()
348 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in tc_qdisc_list()
Dtc_filter.c50 struct tcmsg t; in tc_filter_modify()
53 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in tc_filter_modify()
216 struct tcmsg *t = NLMSG_DATA(n); in print_filter()
319 struct tcmsg t; in tc_filter_get()
322 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in tc_filter_get()
501 struct tcmsg t; in tc_filter_list()
504 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in tc_filter_list()
Dtc_class.c61 struct tcmsg t; in tc_class_modify()
64 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)), in tc_class_modify()
304 struct tcmsg *t = NLMSG_DATA(n); in print_class()
391 struct tcmsg t = { .tcm_family = AF_UNSPEC }; in tc_class_list()
Df_cgroup.c28 struct tcmsg *t = NLMSG_DATA(n); in cgroup_parse_opt()
Df_basic.c42 struct tcmsg *t = NLMSG_DATA(n); in basic_parse_opt()
Df_matchall.c41 struct tcmsg *t = NLMSG_DATA(n); in matchall_parse_opt()
/external/libnl/lib/route/
Dclass.c56 struct tcmsg tchdr = { in class_request_update()
192 struct tcmsg tchdr; in rtnl_class_build_delete_request()
474 .co_hdrsize = sizeof(struct tcmsg),
Dcls.c33 struct tcmsg *tchdr; in cls_build()
471 struct tcmsg tchdr = { in cls_request_update()
491 .co_hdrsize = sizeof(struct tcmsg),
Dqdisc.c46 struct tcmsg tchdr = { in qdisc_request_update()
271 struct tcmsg tchdr; in rtnl_qdisc_build_delete_request()
562 .co_hdrsize = sizeof(struct tcmsg),
/external/libbpf/src/
Dnetlink.c483 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in tc_qdisc_modify()
546 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info()
574 struct tcmsg *tc = NLMSG_DATA(nh); in get_tc_info()
641 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_attach()
717 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in __bpf_tc_detach()
784 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); in bpf_tc_query()
/external/iproute2/include/uapi/linux/
Drtnetlink.h535 struct tcmsg { struct
563 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) argument
564 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
/external/libnl/include/linux-private/linux/
Drtnetlink.h552 struct tcmsg { struct
593 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
594 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h601 struct tcmsg { struct
648 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
649 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))

123