The first patch in this series adds the new functionality, the remaining two refactor the code a bit.
Note that Patch 1 creates warnings with checkpatch due to overlong lines, but patch 2 removes them again so for the sake of readability I left this as is. Changes since v1: - Fixed checkpatch errors in patch 2/3. Phil Sutter (3): ss: Allow excluding a socket table from being queried ss: Put filter DB parsing into a separate function ss: Drop filter_default_dbs() man/man8/ss.8 | 8 +++- misc/ss.c | 147 +++++++++++++++++++++++++++------------------------------- 2 files changed, 76 insertions(+), 79 deletions(-) -- 2.16.1