From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute2 1/1] ss: Add support for TIPC socket diag in ss tool Date: Tue, 27 Mar 2018 11:39:44 -0700 Message-ID: <20180327113944.11636b07@xeon-e3> References: <1521813662-9954-1-git-send-email-mohan.krishna.ghanta.krishnamurthy@ericsson.com> <1521813662-9954-2-git-send-email-mohan.krishna.ghanta.krishnamurthy@ericsson.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: , , , , , Parthasarathy Bhuvaragan To: GhantaKrishnamurthy MohanKrishna Return-path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:34758 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750966AbeC0Sjr (ORCPT ); Tue, 27 Mar 2018 14:39:47 -0400 Received: by mail-pf0-f196.google.com with SMTP id q9so2479526pff.1 for ; Tue, 27 Mar 2018 11:39:47 -0700 (PDT) In-Reply-To: <1521813662-9954-2-git-send-email-mohan.krishna.ghanta.krishnamurthy@ericsson.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 23 Mar 2018 15:01:02 +0100 GhantaKrishnamurthy MohanKrishna wrote: > For iproute 4.x > Allow TIPC socket statistics to be dumped with --tipc > and tipc specific info with --tipcinfo. > > Acked-by: Jon Maloy > Signed-off-by: GhantaKrishnamurthy MohanKrishna > Signed-off-by: Parthasarathy Bhuvaragan > --- > misc/ss.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 164 insertions(+), 2 deletions(-) > > diff --git a/misc/ss.c b/misc/ss.c > index e047f9c04582..812f45717af9 100644 > --- a/misc/ss.c > +++ b/misc/ss.c > @@ -45,6 +45,10 @@ > #include > #include > #include > +#include > +#include > +#include > +#include This needs to be against iproute2-next, not master since there is no tipc_sockets_diag.h in Linus's tree. All the header files for iproute2 include/uapi/linux come from upstream kernel via 'make headers_install'. Therefore you need to have tipc_sockets_diag.h in kernel already.