[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150104103008.1648dcb8@urahara>
Date: Sun, 4 Jan 2015 10:30:08 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vadim Kochan <vadim4j@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2 v2 2/3] ss: Unify packet stats output from
netlink and proc
On Sun, 4 Jan 2015 19:20:54 +0200
Vadim Kochan <vadim4j@...il.com> wrote:
> +struct pktstat {
> + int type;
> + int prot;
> + int iface;
> + int state;
> + int rq;
> + int uid;
> + int ino;
> +};
Rather than copying the original data types, this structure should use the
correct types that already exist.
For example: type is pdiag_type which is __u8 therefore it should be __u8 or uint8_t.
Likewise uid should be uid_t etc.
--
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