Home
last modified time | relevance | path

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

12

/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/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/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-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/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()
Df_fw.c45 struct tcmsg *t = NLMSG_DATA(n); in fw_parse_opt()
Df_tcindex.c28 struct tcmsg *t = NLMSG_DATA(n); in tcindex_parse_opt()
Df_route.c39 struct tcmsg *t = NLMSG_DATA(n); in route_parse_opt()
/external/libnl/lib/route/
Dcls.c40 struct tcmsg *tchdr; in cls_build()
406 struct tcmsg tchdr = { in cls_request_update()
426 .co_hdrsize = sizeof(struct tcmsg),
Dclass.c63 struct tcmsg tchdr = { in class_request_update()
199 struct tcmsg tchdr; in rtnl_class_build_delete_request()
481 .co_hdrsize = sizeof(struct tcmsg),
Dqdisc.c53 struct tcmsg tchdr = { in qdisc_request_update()
278 struct tcmsg tchdr; in rtnl_qdisc_build_delete_request()
537 .co_hdrsize = sizeof(struct tcmsg),
/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.h584 struct tcmsg { struct
631 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
632 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))

12