aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-06 23:05:28 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-06 23:05:28 +0000
commit83060639d2a7872260a26da20a5c87d12ad6b1f8 (patch)
treec908b85f47ec0b5e6cdf96242fdbd95c5e7810c2 /lib
parentifconfig: fix no output when if_readlist_proc() fails (diff)
downloadnet-tools-83060639d2a7872260a26da20a5c87d12ad6b1f8.tar.gz
net-tools-83060639d2a7872260a26da20a5c87d12ad6b1f8.tar.bz2
net-tools-83060639d2a7872260a26da20a5c87d12ad6b1f8.zip
netstat: add sctp connection decoding (Debian #306428 and Gentoo #258714)
Diffstat (limited to 'lib')
-rw-r--r--lib/pathnames.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pathnames.h b/lib/pathnames.h
index dd487f7..9bf0a82 100644
--- a/lib/pathnames.h
+++ b/lib/pathnames.h
@@ -18,6 +18,10 @@
#define _PATH_PROCNET_UDP6 "/proc/net/udp6"
#define _PATH_PROCNET_UDPLITE "/proc/net/udplite"
#define _PATH_PROCNET_UDPLITE6 "/proc/net/udplite6"
+#define _PATH_PROCNET_SCTPEPTS "/proc/net/sctp/eps"
+#define _PATH_PROCNET_SCTP6EPTS "/proc/net/sctp6/eps"
+#define _PATH_PROCNET_SCTPASSOCS "/proc/net/sctp/assocs"
+#define _PATH_PROCNET_SCTP6ASSOCS "/proc/net/sctp6/assocs"
#define _PATH_PROCNET_RAW "/proc/net/raw"
#define _PATH_PROCNET_RAW6 "/proc/net/raw6"
#define _PATH_PROCNET_UNIX "/proc/net/unix"