summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-14 11:08:11 +0100
committerDmitry V. Levin <ldv@altlinux.org>2011-01-14 17:47:53 +0000
commitce9e0f4c7fa3159376b7d05b8527bddfef0d2305 (patch)
tree8134a1e1dfde9bd70b5fd046512e071c010899ec
parent1c3031b1f047d9e4f9026a52404bb2b3f29bdd1a (diff)
downloadstrace-ce9e0f4c7fa3159376b7d05b8527bddfef0d2305.tar.gz
* net.c (socketlayers): Add more SOL_* constants from linux/socket.h
-rw-r--r--net.c45
1 files changed, 42 insertions, 3 deletions
diff --git a/net.c b/net.c
index 44d397b37..eb8168a5f 100644
--- a/net.c
+++ b/net.c
@@ -365,15 +365,18 @@ static const struct xlat socketlayers[] = {
#if defined(SOL_ICMPV6)
{ SOL_ICMPV6, "SOL_ICMPV6" },
#endif
+#if defined(SOL_SCTP)
+ { SOL_SCTP, "SOL_SCTP" },
+#endif
+#if defined(SOL_UDPLITE)
+ { SOL_UDPLITE, "SOL_UDPLITE" },
+#endif
#if defined(SOL_RAW)
{ SOL_RAW, "SOL_RAW" },
#endif
#if defined(SOL_IPX)
{ SOL_IPX, "SOL_IPX" },
#endif
-#if defined(SOL_IPX)
- { SOL_IPX, "SOL_IPX" },
-#endif
#if defined(SOL_AX25)
{ SOL_AX25, "SOL_AX25" },
#endif
@@ -404,6 +407,42 @@ static const struct xlat socketlayers[] = {
#if defined(SOL_IRDA)
{ SOL_IRDA, "SOL_IRDA" },
#endif
+#if defined(SOL_NETBEUI)
+ { SOL_NETBEUI, "SOL_NETBEUI" },
+#endif
+#if defined(SOL_LLC)
+ { SOL_LLC, "SOL_LLC" },
+#endif
+#if defined(SOL_DCCP)
+ { SOL_DCCP, "SOL_DCCP" },
+#endif
+#if defined(SOL_NETLINK)
+ { SOL_NETLINK, "SOL_NETLINK" },
+#endif
+#if defined(SOL_TIPC)
+ { SOL_TIPC, "SOL_TIPC" },
+#endif
+#if defined(SOL_RXRPC)
+ { SOL_RXRPC, "SOL_RXRPC" },
+#endif
+#if defined(SOL_PPPOL2TP)
+ { SOL_PPPOL2TP, "SOL_PPPOL2TP" },
+#endif
+#if defined(SOL_BLUETOOTH)
+ { SOL_BLUETOOTH,"SOL_BLUETOOTH" },
+#endif
+#if defined(SOL_PNPIPE)
+ { SOL_PNPIPE, "SOL_PNPIPE" },
+#endif
+#if defined(SOL_RDS)
+ { SOL_RDS, "SOL_RDS" },
+#endif
+#if defined(SOL_IUVC)
+ { SOL_IUCV, "SOL_IUCV" },
+#endif
+#if defined(SOL_CAIF)
+ { SOL_CAIF, "SOL_CAIF" },
+#endif
{ SOL_SOCKET, "SOL_SOCKET" }, /* Never used! */
};
/*** WARNING: DANGER WILL ROBINSON: NOTE "socketlayers" array above