From: Holger Hans Peter Freyther Date: Fri, 14 Jan 2011 10:08:11 +0000 (+0100) Subject: * net.c (socketlayers): Add more SOL_* constants from linux/socket.h X-Git-Tag: v4.6~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce9e0f4c7fa3159376b7d05b8527bddfef0d2305;p=strace * net.c (socketlayers): Add more SOL_* constants from linux/socket.h --- diff --git a/net.c b/net.c index 44d397b3..eb8168a5 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 @@ -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! */ };