]> granicus.if.org Git - strace/commitdiff
* net.c (socketlayers): Add more SOL_* constants from linux/socket.h
authorHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 14 Jan 2011 10:08:11 +0000 (11:08 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 14 Jan 2011 17:47:53 +0000 (17:47 +0000)
net.c

diff --git a/net.c b/net.c
index 44d397b37d6b27462c3c74258dc1350eadb9c09c..eb8168a5fd92bf7252bf1a7bd02af22b5a49cc60 100644 (file)
--- 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
@@ -403,6 +406,42 @@ static const struct xlat socketlayers[] = {
 #endif
 #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! */
 };