Hi. I have a problem trying to dump statistics from a queueing discipline. I need extra data for both print_copt and print_xstats so i tried the following code: ... rta = (struct rtattr *)b; RTA_PUT(skb, TCA_OPTIONS, 0, NULL); RTA_PUT(skb, TCA_XSTATS, 0, NULL); if (trc_dump_attr(skb, cl) < 0) goto rtattr_failure; rta->rta_len = skb->tail - b; if (qdisc_copy_stats(skb, &cl->stats)) goto rtattr_failure; ... trc_dump_attr dumps the extra data (TCA_TRC_OPTIONS, TCA_TRC_XSTATS and TCA_TRC_FLOWS). The problem is, if i add empty TCA_OPTIONS before TCA_XSTATS, the print_xstats function isn't called, if i add TCA_XSTATS first print_copt isn't called. Can someone tell me whats wrong please ? Thanks, Patrick - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html