summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@freyther.de>2011-01-07 19:10:41 +0100
committerDmitry V. Levin <ldv@altlinux.org>2011-01-10 00:28:55 +0000
commitefa8bda2e7c06831de5262873d4da5749ea33302 (patch)
tree1ce4bed972a33aff2adc18f5b4d7a5fac5798609 /net.c
parentd64184f9aa1b42e22e91b0dee902484ccdb08c4f (diff)
downloadstrace-efa8bda2e7c06831de5262873d4da5749ea33302.tar.gz
strace-efa8bda2e7c06831de5262873d4da5749ea33302.tar.bz2
strace-efa8bda2e7c06831de5262873d4da5749ea33302.tar.xz
* net.c (protocols): Add IPPROTO_GRE, IPPROTO_SCTP and IPPROTO_UDPLITE.
Diffstat (limited to 'net.c')
-rw-r--r--net.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net.c b/net.c
index 72e10f1..2ca9cad 100644
--- a/net.c
+++ b/net.c
@@ -449,6 +449,15 @@ static const struct xlat protocols[] = {
#ifdef IPPROTO_IPIP
{ IPPROTO_IPIP, "IPPROTO_IPIP" },
#endif
+#ifdef IPPROTO_UDPLITE
+ { IPPROTO_UDPLITE, "IPPROTO_UDPLITE" },
+#endif
+#ifdef IPPROTO_SCTP
+ { IPPROTO_SCTP, "IPPROTO_SCTP" },
+#endif
+#ifdef IPPROTO_GRE
+ { IPPROTO_GRE, "IPPROTO_GRE" },
+#endif
{ 0, NULL },
};
static const struct xlat msg_flags[] = {