Hi,
a minor patch to make 'socket(PF_INET, SOCK_STREAM, 0x84 /* IPPROTO_??? */)'
show the right IPPROTO.
regards
holger
>From 86f24da61235d15e7a6a64fcb41fcd5ab5de9673 Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <[email protected]>
Date: Fri, 7 Jan 2011 19:04:27 +0100
Subject: [PATCH] Add IPPROTO_ for UDPLITE, SCTP and GRE
* net.c (protocols): Add values for GRE, UDPLITE and SCTP.
---
net.c | 9 +++++++++
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[] = {
--
1.7.3.4
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel