From 56dee73ea1ab3084ba804e5afc1efe3b6cafad97 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Wed, 8 Jan 2014 20:13:48 +0900 Subject: [PATCH] ss: add unix_seqpacket to the help message and the man page Signed-off-by: Masatake YAMATO --- man/man8/ss.8 | 2 +- misc/ss.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/man8/ss.8 b/man/man8/ss.8 index e55dd0c9..807d9dc9 100644 --- a/man/man8/ss.8 +++ b/man/man8/ss.8 @@ -87,7 +87,7 @@ Currently the following families are supported: unix, inet, inet6, link, netlink .B \-A QUERY, \-\-query=QUERY, \-\-socket=QUERY List of socket tables to dump, separated by commas. The following identifiers are understood: all, inet, tcp, udp, raw, unix, packet, netlink, unix_dgram, -unix_stream, packet_raw, packet_dgram. +unix_stream, unix_seqpacket, packet_raw, packet_dgram. .TP .B \-D FILE, \-\-diag=FILE Do not display anything, just dump raw information about TCP sockets to FILE after applying filters. If FILE is - stdout is used. diff --git a/misc/ss.c b/misc/ss.c index 887152ad..764ffe25 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -3072,7 +3072,7 @@ static void _usage(FILE *dest) " -f, --family=FAMILY display sockets of type FAMILY\n" "\n" " -A, --query=QUERY, --socket=QUERY\n" -" QUERY := {all|inet|tcp|udp|raw|unix|packet|netlink}[,QUERY]\n" +" QUERY := {all|inet|tcp|udp|raw|unix|unix_dgram|unix_stream|unix_seqpacket|packet|netlink}[,QUERY]\n" "\n" " -D, --diag=FILE Dump raw information about TCP sockets to FILE\n" " -F, --filter=FILE read filter information from FILE\n"