[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150108000620.GF21149@casper.infradead.org>
Date: Thu, 8 Jan 2015 00:06:20 +0000
From: Thomas Graf <tgraf@...g.ch>
To: Vadim Kochan <vadim4j@...il.com>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
netdev@...r.kernel.org
Subject: Re: iproute2 tc: Print qdisc, stats, class, filter info to string
rather than FILE
On 01/08/15 at 01:46am, Vadim Kochan wrote:
> I'd like to have text info from tc on screen and output on the other
> data format to be the same, just only for this.
Look at:
https://github.com/tgraf/libnl/blob/master/src/nl-tctree-list.c
It shows how to use an API to retrieve the information you want and
allows to pretty print tc entries.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists