[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1467052465-14488-1-git-send-email-dsa@cumulusnetworks.com>
Date: Mon, 27 Jun 2016 11:34:22 -0700
From: David Ahern <dsa@...ulusnetworks.com>
To: netdev@...r.kernel.org
Cc: stephen@...workplumber.org, David Ahern <dsa@...ulusnetworks.com>
Subject: [PATCH v2 iproute2 0/3] ss: Add support to filter by device
Add support for specifying device name in the filter to ss.
The kernel does not provide support for iface filtering, so if
the user specifies 'dev == NAME' or 'dev != NAME' all filtering
is done in userspace.
I will send a patch to add support for iface filtering in the kernel,
but the reality is that ss will need to accommodate both (ie., lack of
kernel support) for some time - which this set provides.
v2
- fixed checkpatch errors and warnings
David Ahern (3):
ss: Refactor inet_show_sock
ss: Allow ssfilter_bytecompile to return 0
ss: Add support to filter on device
misc/ss.c | 159 +++++++++++++++++++++++++++++++++++++++++---------------
misc/ssfilter.h | 2 +
misc/ssfilter.y | 22 +++++++-
3 files changed, 140 insertions(+), 43 deletions(-)
--
2.1.4
Powered by blists - more mailing lists