Home
last modified time | relevance | path

Searched refs:tcmsg (Results 1 – 25 of 42) 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-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/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()
/external/libnl/lib/route/
Dcls.c39 struct tcmsg *tchdr; in cls_build()
386 struct tcmsg tchdr = { in cls_request_update()
406 .co_hdrsize = sizeof(struct tcmsg),
Dclass.c62 struct tcmsg tchdr = { in class_request_update()
198 struct tcmsg tchdr; in rtnl_class_build_delete_request()
448 .co_hdrsize = sizeof(struct tcmsg),
Dqdisc.c52 struct tcmsg tchdr = { in qdisc_request_update()
277 struct tcmsg tchdr; in rtnl_qdisc_build_delete_request()
536 .co_hdrsize = sizeof(struct tcmsg),
/external/libnl/include/linux-private/linux/
Drtnetlink.h467 struct tcmsg { struct
492 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) argument
493 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
/external/syzkaller/sys/linux/
Dsocket_netlink_route_sched.txt37 newqdisc netlink_msg[RTM_NEWQDISC, tcmsg[AF_UNSPEC], qdisc_policy]
38 delqdisc netlink_msg[RTM_DELQDISC, tcmsg[AF_UNSPEC], qdisc_policy]
39 getqdisc netlink_msg[RTM_GETQDISC, tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]
40 newtclass netlink_msg[RTM_NEWTCLASS, tcmsg[AF_UNSPEC], tclass_policy]
41 deltclass netlink_msg[RTM_DELTCLASS, tcmsg[AF_UNSPEC], tclass_policy]
42 gettclass netlink_msg[RTM_GETTCLASS, tcmsg[AF_UNSPEC], void]
43 newtfilter netlink_msg[RTM_NEWTFILTER, tcmsg[AF_UNSPEC], filter_policy]
44 deltfilter netlink_msg[RTM_DELTFILTER, tcmsg[AF_UNSPEC], filter_policy]
45 gettfilter netlink_msg[RTM_GETTFILTER, tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]
51 type tcmsg[FAMILY] {
/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/kernel-headers/original/uapi/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))

12