commit | 2d29321256168e13e10fbde3c57f33e70dcb6cc8 | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Mon Jun 27 11:34:25 2016 -0700 |
committer | Stephen Hemminger <shemming@brocade.com> | Tue Jun 28 12:09:01 2016 -0700 |
tree | 89d361538a45b9873f36c50fab0e04d7b732a5fa | |
parent | 376fb86872c06a34e59d681661b8f66adaeb6815 [diff] |
ss: Add support to filter on device Add support for device names in the filter. Example: root@kenny:~# ss -t 'sport == :22 && dev == red' State Recv-Q Send-Q Local Address:Port Peer Address:Port ESTAB 0 0 10.100.1.2%red:ssh 10.100.1.254:47814 ESTAB 0 0 2100:1::2%red:ssh 2100:1::64:49406 Since kernel does not support iface in the filter specifying a device name means all filtering is done in userspace. Signed-off-by: David Ahern <dsa@cumulusnetworks.com>