/external/strace/ |
D | rtnl_tc.c | 304 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/ |
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 *info = msg; in dump_class_qdisc_nlmsg() [all …]
|
D | main.h | 241 struct tcmsg; 243 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
|
/external/strace/tests-m32/ |
D | nlattr_tca_stab.c | 43 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()
|
D | nlattr_tcmsg.c | 46 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()
|
D | nlattr_tc_stats.c | 39 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/ |
D | nlattr_tca_stab.c | 43 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()
|
D | nlattr_tcmsg.c | 46 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()
|
D | nlattr_tc_stats.c | 39 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/ |
D | nlattr_tca_stab.c | 43 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()
|
D | nlattr_tcmsg.c | 46 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()
|
D | nlattr_tc_stats.c | 39 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/ |
D | tc_qdisc.c | 57 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()
|
D | tc_filter.c | 50 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()
|
D | tc_class.c | 61 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()
|
D | f_cgroup.c | 28 struct tcmsg *t = NLMSG_DATA(n); in cgroup_parse_opt()
|
D | f_basic.c | 42 struct tcmsg *t = NLMSG_DATA(n); in basic_parse_opt()
|
D | f_matchall.c | 41 struct tcmsg *t = NLMSG_DATA(n); in matchall_parse_opt()
|
/external/libnl/lib/route/ |
D | class.c | 56 struct tcmsg tchdr = { in class_request_update() 192 struct tcmsg tchdr; in rtnl_class_build_delete_request() 474 .co_hdrsize = sizeof(struct tcmsg),
|
D | cls.c | 33 struct tcmsg *tchdr; in cls_build() 471 struct tcmsg tchdr = { in cls_request_update() 491 .co_hdrsize = sizeof(struct tcmsg),
|
D | qdisc.c | 46 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/ |
D | netlink.c | 483 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/ |
D | rtnetlink.h | 535 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/ |
D | rtnetlink.h | 552 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/ |
D | rtnetlink.h | 601 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))
|