From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sun, 22 Apr 2012 17:03:10 +0800 References: <1334618695-28338-1-git-send-email-martin@hundeboll.net> <1334934165-17430-1-git-send-email-martin@hundeboll.net> In-Reply-To: <1334934165-17430-1-git-send-email-martin@hundeboll.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201204221703.11609.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv4] batman-adv: Add get_ethtool_stats() support Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Friday, April 20, 2012 23:02:45 Martin Hundeb=C3=B8ll wrote: > Added additional counters in a bat_stats structure, which are exported > through the ethtool api. The counters are specific to batman-adv and > includes: > forwarded packets and bytes > management packets and bytes (aggregated OGMs at this point) > translation table packets > distributed arp table packets >=20 > New counters are added by extending "enum bat_counters" in types.h and > adding corresponding descriptive string(s) to bat_counters_strings in > soft-iface.c. >=20 > Counters are increased by calling add_counter() and incremented by one > by calling inc_counter(). Applied in revision 560985e. Thanks, Marek