On Fri, 23 Mar 2018 15:01:02 +0100 GhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamur...@ericsson.com> wrote:
> For iproute 4.x > Allow TIPC socket statistics to be dumped with --tipc > and tipc specific info with --tipcinfo. > > Acked-by: Jon Maloy <jon.ma...@ericsson.com> > Signed-off-by: GhantaKrishnamurthy MohanKrishna > <mohan.krishna.ghanta.krishnamur...@ericsson.com> > Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvara...@gmail.com> > --- > 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 <linux/netlink_diag.h> > #include <linux/sctp.h> > #include <linux/vm_sockets_diag.h> > +#include <linux/net.h> > +#include <linux/tipc.h> > +#include <linux/tipc_netlink.h> > +#include <linux/tipc_sockets_diag.h> 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.