[PATCH 1/2] * net.c (socketlayers): Add SOLs from linux/socket.h
Holger Hans Peter Freyther
zecke at selfish.org
Fri Jan 14 10:08:11 UTC 2011
---
net.c | 45 ++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 42 insertions(+), 3 deletions(-)
diff --git a/net.c b/net.c
index 44d397b..eb8168a 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
--
1.7.3.4
More information about the Strace-devel
mailing list