(root)/
strace-6.5/
src/
xlat/
socketlayers.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/socketlayers.in; do not edit. */
       2  
       3  #include "gcc_compat.h"
       4  #include "static_assert.h"
       5  
       6  #if defined(SOL_IP) || (defined(HAVE_DECL_SOL_IP) && HAVE_DECL_SOL_IP)
       7  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
       8  static_assert((SOL_IP) == (0), "SOL_IP != 0");
       9  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      10  #else
      11  # define SOL_IP 0
      12  #endif
      13  #if defined(SOL_IP) || (defined(HAVE_DECL_SOL_IP) && HAVE_DECL_SOL_IP)
      14  #if defined XLAT_PREV_VAL
      15  static_assert((unsigned long long) (SOL_IP)
      16        > (unsigned long long) (XLAT_PREV_VAL),
      17        "Incorrect order in #sorted xlat: SOL_IP"
      18        " is not larger than the previous value");
      19  #endif
      20  #undef XLAT_PREV_VAL
      21  #define XLAT_PREV_VAL (SOL_IP)
      22  #endif
      23  #if !(defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__)
      24  #if defined(SOL_SOCKET) || (defined(HAVE_DECL_SOL_SOCKET) && HAVE_DECL_SOL_SOCKET)
      25  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      26  static_assert((SOL_SOCKET) == (1), "SOL_SOCKET != 1");
      27  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      28  #else
      29  # define SOL_SOCKET 1
      30  #endif
      31  #if defined(SOL_SOCKET) || (defined(HAVE_DECL_SOL_SOCKET) && HAVE_DECL_SOL_SOCKET)
      32  #if defined XLAT_PREV_VAL
      33  static_assert((unsigned long long) (SOL_SOCKET)
      34        > (unsigned long long) (XLAT_PREV_VAL),
      35        "Incorrect order in #sorted xlat: SOL_SOCKET"
      36        " is not larger than the previous value");
      37  #endif
      38  #undef XLAT_PREV_VAL
      39  #define XLAT_PREV_VAL (SOL_SOCKET)
      40  #endif
      41  #endif
      42  #if defined(SOL_TCP) || (defined(HAVE_DECL_SOL_TCP) && HAVE_DECL_SOL_TCP)
      43  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      44  static_assert((SOL_TCP) == (6), "SOL_TCP != 6");
      45  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      46  #else
      47  # define SOL_TCP 6
      48  #endif
      49  #if defined(SOL_TCP) || (defined(HAVE_DECL_SOL_TCP) && HAVE_DECL_SOL_TCP)
      50  #if defined XLAT_PREV_VAL
      51  static_assert((unsigned long long) (SOL_TCP)
      52        > (unsigned long long) (XLAT_PREV_VAL),
      53        "Incorrect order in #sorted xlat: SOL_TCP"
      54        " is not larger than the previous value");
      55  #endif
      56  #undef XLAT_PREV_VAL
      57  #define XLAT_PREV_VAL (SOL_TCP)
      58  #endif
      59  #if defined(SOL_UDP) || (defined(HAVE_DECL_SOL_UDP) && HAVE_DECL_SOL_UDP)
      60  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      61  static_assert((SOL_UDP) == (17), "SOL_UDP != 17");
      62  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      63  #else
      64  # define SOL_UDP 17
      65  #endif
      66  #if defined(SOL_UDP) || (defined(HAVE_DECL_SOL_UDP) && HAVE_DECL_SOL_UDP)
      67  #if defined XLAT_PREV_VAL
      68  static_assert((unsigned long long) (SOL_UDP)
      69        > (unsigned long long) (XLAT_PREV_VAL),
      70        "Incorrect order in #sorted xlat: SOL_UDP"
      71        " is not larger than the previous value");
      72  #endif
      73  #undef XLAT_PREV_VAL
      74  #define XLAT_PREV_VAL (SOL_UDP)
      75  #endif
      76  #if defined(AF_VSOCK) || (defined(HAVE_DECL_AF_VSOCK) && HAVE_DECL_AF_VSOCK)
      77  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      78  static_assert((AF_VSOCK) == (40), "AF_VSOCK != 40");
      79  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      80  #else
      81  # define AF_VSOCK 40
      82  #endif
      83  #if defined(AF_VSOCK) || (defined(HAVE_DECL_AF_VSOCK) && HAVE_DECL_AF_VSOCK)
      84  #if defined XLAT_PREV_VAL
      85  static_assert((unsigned long long) (AF_VSOCK)
      86        > (unsigned long long) (XLAT_PREV_VAL),
      87        "Incorrect order in #sorted xlat: AF_VSOCK"
      88        " is not larger than the previous value");
      89  #endif
      90  #undef XLAT_PREV_VAL
      91  #define XLAT_PREV_VAL (AF_VSOCK)
      92  #endif
      93  #if defined(SOL_IPV6) || (defined(HAVE_DECL_SOL_IPV6) && HAVE_DECL_SOL_IPV6)
      94  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      95  static_assert((SOL_IPV6) == (41), "SOL_IPV6 != 41");
      96  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      97  #else
      98  # define SOL_IPV6 41
      99  #endif
     100  #if defined(SOL_IPV6) || (defined(HAVE_DECL_SOL_IPV6) && HAVE_DECL_SOL_IPV6)
     101  #if defined XLAT_PREV_VAL
     102  static_assert((unsigned long long) (SOL_IPV6)
     103        > (unsigned long long) (XLAT_PREV_VAL),
     104        "Incorrect order in #sorted xlat: SOL_IPV6"
     105        " is not larger than the previous value");
     106  #endif
     107  #undef XLAT_PREV_VAL
     108  #define XLAT_PREV_VAL (SOL_IPV6)
     109  #endif
     110  #if defined(SOL_ICMPV6) || (defined(HAVE_DECL_SOL_ICMPV6) && HAVE_DECL_SOL_ICMPV6)
     111  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     112  static_assert((SOL_ICMPV6) == (58), "SOL_ICMPV6 != 58");
     113  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     114  #else
     115  # define SOL_ICMPV6 58
     116  #endif
     117  #if defined(SOL_ICMPV6) || (defined(HAVE_DECL_SOL_ICMPV6) && HAVE_DECL_SOL_ICMPV6)
     118  #if defined XLAT_PREV_VAL
     119  static_assert((unsigned long long) (SOL_ICMPV6)
     120        > (unsigned long long) (XLAT_PREV_VAL),
     121        "Incorrect order in #sorted xlat: SOL_ICMPV6"
     122        " is not larger than the previous value");
     123  #endif
     124  #undef XLAT_PREV_VAL
     125  #define XLAT_PREV_VAL (SOL_ICMPV6)
     126  #endif
     127  #if defined(SOL_CAN_BASE) || (defined(HAVE_DECL_SOL_CAN_BASE) && HAVE_DECL_SOL_CAN_BASE)
     128  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     129  static_assert((SOL_CAN_BASE) == (100), "SOL_CAN_BASE != 100");
     130  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     131  #else
     132  # define SOL_CAN_BASE 100
     133  #endif
     134  #if defined(SOL_CAN_BASE) || (defined(HAVE_DECL_SOL_CAN_BASE) && HAVE_DECL_SOL_CAN_BASE)
     135  #if defined XLAT_PREV_VAL
     136  static_assert((unsigned long long) (SOL_CAN_BASE)
     137        > (unsigned long long) (XLAT_PREV_VAL),
     138        "Incorrect order in #sorted xlat: SOL_CAN_BASE"
     139        " is not larger than the previous value");
     140  #endif
     141  #undef XLAT_PREV_VAL
     142  #define XLAT_PREV_VAL (SOL_CAN_BASE)
     143  #endif
     144  #if defined(SOL_CAN_RAW) || (defined(HAVE_DECL_SOL_CAN_RAW) && HAVE_DECL_SOL_CAN_RAW)
     145  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     146  static_assert((SOL_CAN_RAW) == (101), "SOL_CAN_RAW != 101");
     147  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     148  #else
     149  # define SOL_CAN_RAW 101
     150  #endif
     151  #if defined(SOL_CAN_RAW) || (defined(HAVE_DECL_SOL_CAN_RAW) && HAVE_DECL_SOL_CAN_RAW)
     152  #if defined XLAT_PREV_VAL
     153  static_assert((unsigned long long) (SOL_CAN_RAW)
     154        > (unsigned long long) (XLAT_PREV_VAL),
     155        "Incorrect order in #sorted xlat: SOL_CAN_RAW"
     156        " is not larger than the previous value");
     157  #endif
     158  #undef XLAT_PREV_VAL
     159  #define XLAT_PREV_VAL (SOL_CAN_RAW)
     160  #endif
     161  #if defined(SOL_SCTP) || (defined(HAVE_DECL_SOL_SCTP) && HAVE_DECL_SOL_SCTP)
     162  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     163  static_assert((SOL_SCTP) == (132), "SOL_SCTP != 132");
     164  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     165  #else
     166  # define SOL_SCTP 132
     167  #endif
     168  #if defined(SOL_SCTP) || (defined(HAVE_DECL_SOL_SCTP) && HAVE_DECL_SOL_SCTP)
     169  #if defined XLAT_PREV_VAL
     170  static_assert((unsigned long long) (SOL_SCTP)
     171        > (unsigned long long) (XLAT_PREV_VAL),
     172        "Incorrect order in #sorted xlat: SOL_SCTP"
     173        " is not larger than the previous value");
     174  #endif
     175  #undef XLAT_PREV_VAL
     176  #define XLAT_PREV_VAL (SOL_SCTP)
     177  #endif
     178  #if defined(SOL_UDPLITE) || (defined(HAVE_DECL_SOL_UDPLITE) && HAVE_DECL_SOL_UDPLITE)
     179  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     180  static_assert((SOL_UDPLITE) == (136), "SOL_UDPLITE != 136");
     181  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     182  #else
     183  # define SOL_UDPLITE 136
     184  #endif
     185  #if defined(SOL_UDPLITE) || (defined(HAVE_DECL_SOL_UDPLITE) && HAVE_DECL_SOL_UDPLITE)
     186  #if defined XLAT_PREV_VAL
     187  static_assert((unsigned long long) (SOL_UDPLITE)
     188        > (unsigned long long) (XLAT_PREV_VAL),
     189        "Incorrect order in #sorted xlat: SOL_UDPLITE"
     190        " is not larger than the previous value");
     191  #endif
     192  #undef XLAT_PREV_VAL
     193  #define XLAT_PREV_VAL (SOL_UDPLITE)
     194  #endif
     195  #if defined(SOL_RAW) || (defined(HAVE_DECL_SOL_RAW) && HAVE_DECL_SOL_RAW)
     196  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     197  static_assert((SOL_RAW) == (255), "SOL_RAW != 255");
     198  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     199  #else
     200  # define SOL_RAW 255
     201  #endif
     202  #if defined(SOL_RAW) || (defined(HAVE_DECL_SOL_RAW) && HAVE_DECL_SOL_RAW)
     203  #if defined XLAT_PREV_VAL
     204  static_assert((unsigned long long) (SOL_RAW)
     205        > (unsigned long long) (XLAT_PREV_VAL),
     206        "Incorrect order in #sorted xlat: SOL_RAW"
     207        " is not larger than the previous value");
     208  #endif
     209  #undef XLAT_PREV_VAL
     210  #define XLAT_PREV_VAL (SOL_RAW)
     211  #endif
     212  #if defined(SOL_IPX) || (defined(HAVE_DECL_SOL_IPX) && HAVE_DECL_SOL_IPX)
     213  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     214  static_assert((SOL_IPX) == (256), "SOL_IPX != 256");
     215  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     216  #else
     217  # define SOL_IPX 256
     218  #endif
     219  #if defined(SOL_IPX) || (defined(HAVE_DECL_SOL_IPX) && HAVE_DECL_SOL_IPX)
     220  #if defined XLAT_PREV_VAL
     221  static_assert((unsigned long long) (SOL_IPX)
     222        > (unsigned long long) (XLAT_PREV_VAL),
     223        "Incorrect order in #sorted xlat: SOL_IPX"
     224        " is not larger than the previous value");
     225  #endif
     226  #undef XLAT_PREV_VAL
     227  #define XLAT_PREV_VAL (SOL_IPX)
     228  #endif
     229  #if defined(SOL_AX25) || (defined(HAVE_DECL_SOL_AX25) && HAVE_DECL_SOL_AX25)
     230  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     231  static_assert((SOL_AX25) == (257), "SOL_AX25 != 257");
     232  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     233  #else
     234  # define SOL_AX25 257
     235  #endif
     236  #if defined(SOL_AX25) || (defined(HAVE_DECL_SOL_AX25) && HAVE_DECL_SOL_AX25)
     237  #if defined XLAT_PREV_VAL
     238  static_assert((unsigned long long) (SOL_AX25)
     239        > (unsigned long long) (XLAT_PREV_VAL),
     240        "Incorrect order in #sorted xlat: SOL_AX25"
     241        " is not larger than the previous value");
     242  #endif
     243  #undef XLAT_PREV_VAL
     244  #define XLAT_PREV_VAL (SOL_AX25)
     245  #endif
     246  #if defined(SOL_ATALK) || (defined(HAVE_DECL_SOL_ATALK) && HAVE_DECL_SOL_ATALK)
     247  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     248  static_assert((SOL_ATALK) == (258), "SOL_ATALK != 258");
     249  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     250  #else
     251  # define SOL_ATALK 258
     252  #endif
     253  #if defined(SOL_ATALK) || (defined(HAVE_DECL_SOL_ATALK) && HAVE_DECL_SOL_ATALK)
     254  #if defined XLAT_PREV_VAL
     255  static_assert((unsigned long long) (SOL_ATALK)
     256        > (unsigned long long) (XLAT_PREV_VAL),
     257        "Incorrect order in #sorted xlat: SOL_ATALK"
     258        " is not larger than the previous value");
     259  #endif
     260  #undef XLAT_PREV_VAL
     261  #define XLAT_PREV_VAL (SOL_ATALK)
     262  #endif
     263  #if defined(SOL_NETROM) || (defined(HAVE_DECL_SOL_NETROM) && HAVE_DECL_SOL_NETROM)
     264  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     265  static_assert((SOL_NETROM) == (259), "SOL_NETROM != 259");
     266  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     267  #else
     268  # define SOL_NETROM 259
     269  #endif
     270  #if defined(SOL_NETROM) || (defined(HAVE_DECL_SOL_NETROM) && HAVE_DECL_SOL_NETROM)
     271  #if defined XLAT_PREV_VAL
     272  static_assert((unsigned long long) (SOL_NETROM)
     273        > (unsigned long long) (XLAT_PREV_VAL),
     274        "Incorrect order in #sorted xlat: SOL_NETROM"
     275        " is not larger than the previous value");
     276  #endif
     277  #undef XLAT_PREV_VAL
     278  #define XLAT_PREV_VAL (SOL_NETROM)
     279  #endif
     280  #if defined(SOL_ROSE) || (defined(HAVE_DECL_SOL_ROSE) && HAVE_DECL_SOL_ROSE)
     281  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     282  static_assert((SOL_ROSE) == (260), "SOL_ROSE != 260");
     283  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     284  #else
     285  # define SOL_ROSE 260
     286  #endif
     287  #if defined(SOL_ROSE) || (defined(HAVE_DECL_SOL_ROSE) && HAVE_DECL_SOL_ROSE)
     288  #if defined XLAT_PREV_VAL
     289  static_assert((unsigned long long) (SOL_ROSE)
     290        > (unsigned long long) (XLAT_PREV_VAL),
     291        "Incorrect order in #sorted xlat: SOL_ROSE"
     292        " is not larger than the previous value");
     293  #endif
     294  #undef XLAT_PREV_VAL
     295  #define XLAT_PREV_VAL (SOL_ROSE)
     296  #endif
     297  #if defined(SOL_DECNET) || (defined(HAVE_DECL_SOL_DECNET) && HAVE_DECL_SOL_DECNET)
     298  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     299  static_assert((SOL_DECNET) == (261), "SOL_DECNET != 261");
     300  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     301  #else
     302  # define SOL_DECNET 261
     303  #endif
     304  #if defined(SOL_DECNET) || (defined(HAVE_DECL_SOL_DECNET) && HAVE_DECL_SOL_DECNET)
     305  #if defined XLAT_PREV_VAL
     306  static_assert((unsigned long long) (SOL_DECNET)
     307        > (unsigned long long) (XLAT_PREV_VAL),
     308        "Incorrect order in #sorted xlat: SOL_DECNET"
     309        " is not larger than the previous value");
     310  #endif
     311  #undef XLAT_PREV_VAL
     312  #define XLAT_PREV_VAL (SOL_DECNET)
     313  #endif
     314  #if defined(SOL_X25) || (defined(HAVE_DECL_SOL_X25) && HAVE_DECL_SOL_X25)
     315  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     316  static_assert((SOL_X25) == (262), "SOL_X25 != 262");
     317  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     318  #else
     319  # define SOL_X25 262
     320  #endif
     321  #if defined(SOL_X25) || (defined(HAVE_DECL_SOL_X25) && HAVE_DECL_SOL_X25)
     322  #if defined XLAT_PREV_VAL
     323  static_assert((unsigned long long) (SOL_X25)
     324        > (unsigned long long) (XLAT_PREV_VAL),
     325        "Incorrect order in #sorted xlat: SOL_X25"
     326        " is not larger than the previous value");
     327  #endif
     328  #undef XLAT_PREV_VAL
     329  #define XLAT_PREV_VAL (SOL_X25)
     330  #endif
     331  #if defined(SOL_PACKET) || (defined(HAVE_DECL_SOL_PACKET) && HAVE_DECL_SOL_PACKET)
     332  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     333  static_assert((SOL_PACKET) == (263), "SOL_PACKET != 263");
     334  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     335  #else
     336  # define SOL_PACKET 263
     337  #endif
     338  #if defined(SOL_PACKET) || (defined(HAVE_DECL_SOL_PACKET) && HAVE_DECL_SOL_PACKET)
     339  #if defined XLAT_PREV_VAL
     340  static_assert((unsigned long long) (SOL_PACKET)
     341        > (unsigned long long) (XLAT_PREV_VAL),
     342        "Incorrect order in #sorted xlat: SOL_PACKET"
     343        " is not larger than the previous value");
     344  #endif
     345  #undef XLAT_PREV_VAL
     346  #define XLAT_PREV_VAL (SOL_PACKET)
     347  #endif
     348  #if defined(SOL_ATM) || (defined(HAVE_DECL_SOL_ATM) && HAVE_DECL_SOL_ATM)
     349  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     350  static_assert((SOL_ATM) == (264), "SOL_ATM != 264");
     351  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     352  #else
     353  # define SOL_ATM 264
     354  #endif
     355  #if defined(SOL_ATM) || (defined(HAVE_DECL_SOL_ATM) && HAVE_DECL_SOL_ATM)
     356  #if defined XLAT_PREV_VAL
     357  static_assert((unsigned long long) (SOL_ATM)
     358        > (unsigned long long) (XLAT_PREV_VAL),
     359        "Incorrect order in #sorted xlat: SOL_ATM"
     360        " is not larger than the previous value");
     361  #endif
     362  #undef XLAT_PREV_VAL
     363  #define XLAT_PREV_VAL (SOL_ATM)
     364  #endif
     365  #if defined(SOL_AAL) || (defined(HAVE_DECL_SOL_AAL) && HAVE_DECL_SOL_AAL)
     366  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     367  static_assert((SOL_AAL) == (265), "SOL_AAL != 265");
     368  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     369  #else
     370  # define SOL_AAL 265
     371  #endif
     372  #if defined(SOL_AAL) || (defined(HAVE_DECL_SOL_AAL) && HAVE_DECL_SOL_AAL)
     373  #if defined XLAT_PREV_VAL
     374  static_assert((unsigned long long) (SOL_AAL)
     375        > (unsigned long long) (XLAT_PREV_VAL),
     376        "Incorrect order in #sorted xlat: SOL_AAL"
     377        " is not larger than the previous value");
     378  #endif
     379  #undef XLAT_PREV_VAL
     380  #define XLAT_PREV_VAL (SOL_AAL)
     381  #endif
     382  #if defined(SOL_IRDA) || (defined(HAVE_DECL_SOL_IRDA) && HAVE_DECL_SOL_IRDA)
     383  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     384  static_assert((SOL_IRDA) == (266), "SOL_IRDA != 266");
     385  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     386  #else
     387  # define SOL_IRDA 266
     388  #endif
     389  #if defined(SOL_IRDA) || (defined(HAVE_DECL_SOL_IRDA) && HAVE_DECL_SOL_IRDA)
     390  #if defined XLAT_PREV_VAL
     391  static_assert((unsigned long long) (SOL_IRDA)
     392        > (unsigned long long) (XLAT_PREV_VAL),
     393        "Incorrect order in #sorted xlat: SOL_IRDA"
     394        " is not larger than the previous value");
     395  #endif
     396  #undef XLAT_PREV_VAL
     397  #define XLAT_PREV_VAL (SOL_IRDA)
     398  #endif
     399  #if defined(SOL_NETBEUI) || (defined(HAVE_DECL_SOL_NETBEUI) && HAVE_DECL_SOL_NETBEUI)
     400  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     401  static_assert((SOL_NETBEUI) == (267), "SOL_NETBEUI != 267");
     402  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     403  #else
     404  # define SOL_NETBEUI 267
     405  #endif
     406  #if defined(SOL_NETBEUI) || (defined(HAVE_DECL_SOL_NETBEUI) && HAVE_DECL_SOL_NETBEUI)
     407  #if defined XLAT_PREV_VAL
     408  static_assert((unsigned long long) (SOL_NETBEUI)
     409        > (unsigned long long) (XLAT_PREV_VAL),
     410        "Incorrect order in #sorted xlat: SOL_NETBEUI"
     411        " is not larger than the previous value");
     412  #endif
     413  #undef XLAT_PREV_VAL
     414  #define XLAT_PREV_VAL (SOL_NETBEUI)
     415  #endif
     416  #if defined(SOL_LLC) || (defined(HAVE_DECL_SOL_LLC) && HAVE_DECL_SOL_LLC)
     417  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     418  static_assert((SOL_LLC) == (268), "SOL_LLC != 268");
     419  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     420  #else
     421  # define SOL_LLC 268
     422  #endif
     423  #if defined(SOL_LLC) || (defined(HAVE_DECL_SOL_LLC) && HAVE_DECL_SOL_LLC)
     424  #if defined XLAT_PREV_VAL
     425  static_assert((unsigned long long) (SOL_LLC)
     426        > (unsigned long long) (XLAT_PREV_VAL),
     427        "Incorrect order in #sorted xlat: SOL_LLC"
     428        " is not larger than the previous value");
     429  #endif
     430  #undef XLAT_PREV_VAL
     431  #define XLAT_PREV_VAL (SOL_LLC)
     432  #endif
     433  #if defined(SOL_DCCP) || (defined(HAVE_DECL_SOL_DCCP) && HAVE_DECL_SOL_DCCP)
     434  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     435  static_assert((SOL_DCCP) == (269), "SOL_DCCP != 269");
     436  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     437  #else
     438  # define SOL_DCCP 269
     439  #endif
     440  #if defined(SOL_DCCP) || (defined(HAVE_DECL_SOL_DCCP) && HAVE_DECL_SOL_DCCP)
     441  #if defined XLAT_PREV_VAL
     442  static_assert((unsigned long long) (SOL_DCCP)
     443        > (unsigned long long) (XLAT_PREV_VAL),
     444        "Incorrect order in #sorted xlat: SOL_DCCP"
     445        " is not larger than the previous value");
     446  #endif
     447  #undef XLAT_PREV_VAL
     448  #define XLAT_PREV_VAL (SOL_DCCP)
     449  #endif
     450  #if defined(SOL_NETLINK) || (defined(HAVE_DECL_SOL_NETLINK) && HAVE_DECL_SOL_NETLINK)
     451  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     452  static_assert((SOL_NETLINK) == (270), "SOL_NETLINK != 270");
     453  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     454  #else
     455  # define SOL_NETLINK 270
     456  #endif
     457  #if defined(SOL_NETLINK) || (defined(HAVE_DECL_SOL_NETLINK) && HAVE_DECL_SOL_NETLINK)
     458  #if defined XLAT_PREV_VAL
     459  static_assert((unsigned long long) (SOL_NETLINK)
     460        > (unsigned long long) (XLAT_PREV_VAL),
     461        "Incorrect order in #sorted xlat: SOL_NETLINK"
     462        " is not larger than the previous value");
     463  #endif
     464  #undef XLAT_PREV_VAL
     465  #define XLAT_PREV_VAL (SOL_NETLINK)
     466  #endif
     467  #if defined(SOL_TIPC) || (defined(HAVE_DECL_SOL_TIPC) && HAVE_DECL_SOL_TIPC)
     468  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     469  static_assert((SOL_TIPC) == (271), "SOL_TIPC != 271");
     470  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     471  #else
     472  # define SOL_TIPC 271
     473  #endif
     474  #if defined(SOL_TIPC) || (defined(HAVE_DECL_SOL_TIPC) && HAVE_DECL_SOL_TIPC)
     475  #if defined XLAT_PREV_VAL
     476  static_assert((unsigned long long) (SOL_TIPC)
     477        > (unsigned long long) (XLAT_PREV_VAL),
     478        "Incorrect order in #sorted xlat: SOL_TIPC"
     479        " is not larger than the previous value");
     480  #endif
     481  #undef XLAT_PREV_VAL
     482  #define XLAT_PREV_VAL (SOL_TIPC)
     483  #endif
     484  #if defined(SOL_RXRPC) || (defined(HAVE_DECL_SOL_RXRPC) && HAVE_DECL_SOL_RXRPC)
     485  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     486  static_assert((SOL_RXRPC) == (272), "SOL_RXRPC != 272");
     487  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     488  #else
     489  # define SOL_RXRPC 272
     490  #endif
     491  #if defined(SOL_RXRPC) || (defined(HAVE_DECL_SOL_RXRPC) && HAVE_DECL_SOL_RXRPC)
     492  #if defined XLAT_PREV_VAL
     493  static_assert((unsigned long long) (SOL_RXRPC)
     494        > (unsigned long long) (XLAT_PREV_VAL),
     495        "Incorrect order in #sorted xlat: SOL_RXRPC"
     496        " is not larger than the previous value");
     497  #endif
     498  #undef XLAT_PREV_VAL
     499  #define XLAT_PREV_VAL (SOL_RXRPC)
     500  #endif
     501  #if defined(SOL_PPPOL2TP) || (defined(HAVE_DECL_SOL_PPPOL2TP) && HAVE_DECL_SOL_PPPOL2TP)
     502  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     503  static_assert((SOL_PPPOL2TP) == (273), "SOL_PPPOL2TP != 273");
     504  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     505  #else
     506  # define SOL_PPPOL2TP 273
     507  #endif
     508  #if defined(SOL_PPPOL2TP) || (defined(HAVE_DECL_SOL_PPPOL2TP) && HAVE_DECL_SOL_PPPOL2TP)
     509  #if defined XLAT_PREV_VAL
     510  static_assert((unsigned long long) (SOL_PPPOL2TP)
     511        > (unsigned long long) (XLAT_PREV_VAL),
     512        "Incorrect order in #sorted xlat: SOL_PPPOL2TP"
     513        " is not larger than the previous value");
     514  #endif
     515  #undef XLAT_PREV_VAL
     516  #define XLAT_PREV_VAL (SOL_PPPOL2TP)
     517  #endif
     518  #if defined(SOL_BLUETOOTH) || (defined(HAVE_DECL_SOL_BLUETOOTH) && HAVE_DECL_SOL_BLUETOOTH)
     519  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     520  static_assert((SOL_BLUETOOTH) == (274), "SOL_BLUETOOTH != 274");
     521  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     522  #else
     523  # define SOL_BLUETOOTH 274
     524  #endif
     525  #if defined(SOL_BLUETOOTH) || (defined(HAVE_DECL_SOL_BLUETOOTH) && HAVE_DECL_SOL_BLUETOOTH)
     526  #if defined XLAT_PREV_VAL
     527  static_assert((unsigned long long) (SOL_BLUETOOTH)
     528        > (unsigned long long) (XLAT_PREV_VAL),
     529        "Incorrect order in #sorted xlat: SOL_BLUETOOTH"
     530        " is not larger than the previous value");
     531  #endif
     532  #undef XLAT_PREV_VAL
     533  #define XLAT_PREV_VAL (SOL_BLUETOOTH)
     534  #endif
     535  #if defined(SOL_PNPIPE) || (defined(HAVE_DECL_SOL_PNPIPE) && HAVE_DECL_SOL_PNPIPE)
     536  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     537  static_assert((SOL_PNPIPE) == (275), "SOL_PNPIPE != 275");
     538  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     539  #else
     540  # define SOL_PNPIPE 275
     541  #endif
     542  #if defined(SOL_PNPIPE) || (defined(HAVE_DECL_SOL_PNPIPE) && HAVE_DECL_SOL_PNPIPE)
     543  #if defined XLAT_PREV_VAL
     544  static_assert((unsigned long long) (SOL_PNPIPE)
     545        > (unsigned long long) (XLAT_PREV_VAL),
     546        "Incorrect order in #sorted xlat: SOL_PNPIPE"
     547        " is not larger than the previous value");
     548  #endif
     549  #undef XLAT_PREV_VAL
     550  #define XLAT_PREV_VAL (SOL_PNPIPE)
     551  #endif
     552  #if defined(SOL_RDS) || (defined(HAVE_DECL_SOL_RDS) && HAVE_DECL_SOL_RDS)
     553  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     554  static_assert((SOL_RDS) == (276), "SOL_RDS != 276");
     555  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     556  #else
     557  # define SOL_RDS 276
     558  #endif
     559  #if defined(SOL_RDS) || (defined(HAVE_DECL_SOL_RDS) && HAVE_DECL_SOL_RDS)
     560  #if defined XLAT_PREV_VAL
     561  static_assert((unsigned long long) (SOL_RDS)
     562        > (unsigned long long) (XLAT_PREV_VAL),
     563        "Incorrect order in #sorted xlat: SOL_RDS"
     564        " is not larger than the previous value");
     565  #endif
     566  #undef XLAT_PREV_VAL
     567  #define XLAT_PREV_VAL (SOL_RDS)
     568  #endif
     569  #if defined(SOL_IUCV) || (defined(HAVE_DECL_SOL_IUCV) && HAVE_DECL_SOL_IUCV)
     570  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     571  static_assert((SOL_IUCV) == (277), "SOL_IUCV != 277");
     572  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     573  #else
     574  # define SOL_IUCV 277
     575  #endif
     576  #if defined(SOL_IUCV) || (defined(HAVE_DECL_SOL_IUCV) && HAVE_DECL_SOL_IUCV)
     577  #if defined XLAT_PREV_VAL
     578  static_assert((unsigned long long) (SOL_IUCV)
     579        > (unsigned long long) (XLAT_PREV_VAL),
     580        "Incorrect order in #sorted xlat: SOL_IUCV"
     581        " is not larger than the previous value");
     582  #endif
     583  #undef XLAT_PREV_VAL
     584  #define XLAT_PREV_VAL (SOL_IUCV)
     585  #endif
     586  #if defined(SOL_CAIF) || (defined(HAVE_DECL_SOL_CAIF) && HAVE_DECL_SOL_CAIF)
     587  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     588  static_assert((SOL_CAIF) == (278), "SOL_CAIF != 278");
     589  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     590  #else
     591  # define SOL_CAIF 278
     592  #endif
     593  #if defined(SOL_CAIF) || (defined(HAVE_DECL_SOL_CAIF) && HAVE_DECL_SOL_CAIF)
     594  #if defined XLAT_PREV_VAL
     595  static_assert((unsigned long long) (SOL_CAIF)
     596        > (unsigned long long) (XLAT_PREV_VAL),
     597        "Incorrect order in #sorted xlat: SOL_CAIF"
     598        " is not larger than the previous value");
     599  #endif
     600  #undef XLAT_PREV_VAL
     601  #define XLAT_PREV_VAL (SOL_CAIF)
     602  #endif
     603  #if defined(SOL_ALG) || (defined(HAVE_DECL_SOL_ALG) && HAVE_DECL_SOL_ALG)
     604  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     605  static_assert((SOL_ALG) == (279), "SOL_ALG != 279");
     606  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     607  #else
     608  # define SOL_ALG 279
     609  #endif
     610  #if defined(SOL_ALG) || (defined(HAVE_DECL_SOL_ALG) && HAVE_DECL_SOL_ALG)
     611  #if defined XLAT_PREV_VAL
     612  static_assert((unsigned long long) (SOL_ALG)
     613        > (unsigned long long) (XLAT_PREV_VAL),
     614        "Incorrect order in #sorted xlat: SOL_ALG"
     615        " is not larger than the previous value");
     616  #endif
     617  #undef XLAT_PREV_VAL
     618  #define XLAT_PREV_VAL (SOL_ALG)
     619  #endif
     620  #if defined(SOL_NFC) || (defined(HAVE_DECL_SOL_NFC) && HAVE_DECL_SOL_NFC)
     621  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     622  static_assert((SOL_NFC) == (280), "SOL_NFC != 280");
     623  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     624  #else
     625  # define SOL_NFC 280
     626  #endif
     627  #if defined(SOL_NFC) || (defined(HAVE_DECL_SOL_NFC) && HAVE_DECL_SOL_NFC)
     628  #if defined XLAT_PREV_VAL
     629  static_assert((unsigned long long) (SOL_NFC)
     630        > (unsigned long long) (XLAT_PREV_VAL),
     631        "Incorrect order in #sorted xlat: SOL_NFC"
     632        " is not larger than the previous value");
     633  #endif
     634  #undef XLAT_PREV_VAL
     635  #define XLAT_PREV_VAL (SOL_NFC)
     636  #endif
     637  #if defined(SOL_KCM) || (defined(HAVE_DECL_SOL_KCM) && HAVE_DECL_SOL_KCM)
     638  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     639  static_assert((SOL_KCM) == (281), "SOL_KCM != 281");
     640  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     641  #else
     642  # define SOL_KCM 281
     643  #endif
     644  #if defined(SOL_KCM) || (defined(HAVE_DECL_SOL_KCM) && HAVE_DECL_SOL_KCM)
     645  #if defined XLAT_PREV_VAL
     646  static_assert((unsigned long long) (SOL_KCM)
     647        > (unsigned long long) (XLAT_PREV_VAL),
     648        "Incorrect order in #sorted xlat: SOL_KCM"
     649        " is not larger than the previous value");
     650  #endif
     651  #undef XLAT_PREV_VAL
     652  #define XLAT_PREV_VAL (SOL_KCM)
     653  #endif
     654  #if defined(SOL_TLS) || (defined(HAVE_DECL_SOL_TLS) && HAVE_DECL_SOL_TLS)
     655  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     656  static_assert((SOL_TLS) == (282), "SOL_TLS != 282");
     657  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     658  #else
     659  # define SOL_TLS 282
     660  #endif
     661  #if defined(SOL_TLS) || (defined(HAVE_DECL_SOL_TLS) && HAVE_DECL_SOL_TLS)
     662  #if defined XLAT_PREV_VAL
     663  static_assert((unsigned long long) (SOL_TLS)
     664        > (unsigned long long) (XLAT_PREV_VAL),
     665        "Incorrect order in #sorted xlat: SOL_TLS"
     666        " is not larger than the previous value");
     667  #endif
     668  #undef XLAT_PREV_VAL
     669  #define XLAT_PREV_VAL (SOL_TLS)
     670  #endif
     671  #if defined(SOL_XDP) || (defined(HAVE_DECL_SOL_XDP) && HAVE_DECL_SOL_XDP)
     672  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     673  static_assert((SOL_XDP) == (283), "SOL_XDP != 283");
     674  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     675  #else
     676  # define SOL_XDP 283
     677  #endif
     678  #if defined(SOL_XDP) || (defined(HAVE_DECL_SOL_XDP) && HAVE_DECL_SOL_XDP)
     679  #if defined XLAT_PREV_VAL
     680  static_assert((unsigned long long) (SOL_XDP)
     681        > (unsigned long long) (XLAT_PREV_VAL),
     682        "Incorrect order in #sorted xlat: SOL_XDP"
     683        " is not larger than the previous value");
     684  #endif
     685  #undef XLAT_PREV_VAL
     686  #define XLAT_PREV_VAL (SOL_XDP)
     687  #endif
     688  #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
     689  #if defined(SOL_SOCKET) || (defined(HAVE_DECL_SOL_SOCKET) && HAVE_DECL_SOL_SOCKET)
     690  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
     691  static_assert((SOL_SOCKET) == (0xffff), "SOL_SOCKET != 0xffff");
     692  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
     693  #else
     694  # define SOL_SOCKET 0xffff
     695  #endif
     696  #if defined(SOL_SOCKET) || (defined(HAVE_DECL_SOL_SOCKET) && HAVE_DECL_SOL_SOCKET)
     697  #if defined XLAT_PREV_VAL
     698  static_assert((unsigned long long) (SOL_SOCKET)
     699        > (unsigned long long) (XLAT_PREV_VAL),
     700        "Incorrect order in #sorted xlat: SOL_SOCKET"
     701        " is not larger than the previous value");
     702  #endif
     703  #undef XLAT_PREV_VAL
     704  #define XLAT_PREV_VAL (SOL_SOCKET)
     705  #endif
     706  #endif
     707  #undef XLAT_PREV_VAL
     708  
     709  #ifndef XLAT_MACROS_ONLY
     710  
     711  # ifndef IN_MPERS
     712  
     713  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
     714  static const struct xlat_data socketlayers_xdata[] = {
     715   XLAT(SOL_IP),
     716   #define XLAT_VAL_0 ((unsigned) (SOL_IP))
     717   #define XLAT_STR_0 STRINGIFY(SOL_IP)
     718  #if !(defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__)
     719   XLAT(SOL_SOCKET),
     720   #define XLAT_VAL_1 ((unsigned) (SOL_SOCKET))
     721   #define XLAT_STR_1 STRINGIFY(SOL_SOCKET)
     722  #endif
     723   XLAT(SOL_TCP),
     724   #define XLAT_VAL_2 ((unsigned) (SOL_TCP))
     725   #define XLAT_STR_2 STRINGIFY(SOL_TCP)
     726   XLAT(SOL_UDP),
     727   #define XLAT_VAL_3 ((unsigned) (SOL_UDP))
     728   #define XLAT_STR_3 STRINGIFY(SOL_UDP)
     729   XLAT(AF_VSOCK),
     730   #define XLAT_VAL_4 ((unsigned) (AF_VSOCK))
     731   #define XLAT_STR_4 STRINGIFY(AF_VSOCK)
     732   XLAT(SOL_IPV6),
     733   #define XLAT_VAL_5 ((unsigned) (SOL_IPV6))
     734   #define XLAT_STR_5 STRINGIFY(SOL_IPV6)
     735   XLAT(SOL_ICMPV6),
     736   #define XLAT_VAL_6 ((unsigned) (SOL_ICMPV6))
     737   #define XLAT_STR_6 STRINGIFY(SOL_ICMPV6)
     738   XLAT(SOL_CAN_BASE),
     739   #define XLAT_VAL_7 ((unsigned) (SOL_CAN_BASE))
     740   #define XLAT_STR_7 STRINGIFY(SOL_CAN_BASE)
     741   XLAT(SOL_CAN_RAW),
     742   #define XLAT_VAL_8 ((unsigned) (SOL_CAN_RAW))
     743   #define XLAT_STR_8 STRINGIFY(SOL_CAN_RAW)
     744   XLAT(SOL_SCTP),
     745   #define XLAT_VAL_9 ((unsigned) (SOL_SCTP))
     746   #define XLAT_STR_9 STRINGIFY(SOL_SCTP)
     747   XLAT(SOL_UDPLITE),
     748   #define XLAT_VAL_10 ((unsigned) (SOL_UDPLITE))
     749   #define XLAT_STR_10 STRINGIFY(SOL_UDPLITE)
     750   XLAT(SOL_RAW),
     751   #define XLAT_VAL_11 ((unsigned) (SOL_RAW))
     752   #define XLAT_STR_11 STRINGIFY(SOL_RAW)
     753   XLAT(SOL_IPX),
     754   #define XLAT_VAL_12 ((unsigned) (SOL_IPX))
     755   #define XLAT_STR_12 STRINGIFY(SOL_IPX)
     756   XLAT(SOL_AX25),
     757   #define XLAT_VAL_13 ((unsigned) (SOL_AX25))
     758   #define XLAT_STR_13 STRINGIFY(SOL_AX25)
     759   XLAT(SOL_ATALK),
     760   #define XLAT_VAL_14 ((unsigned) (SOL_ATALK))
     761   #define XLAT_STR_14 STRINGIFY(SOL_ATALK)
     762   XLAT(SOL_NETROM),
     763   #define XLAT_VAL_15 ((unsigned) (SOL_NETROM))
     764   #define XLAT_STR_15 STRINGIFY(SOL_NETROM)
     765   XLAT(SOL_ROSE),
     766   #define XLAT_VAL_16 ((unsigned) (SOL_ROSE))
     767   #define XLAT_STR_16 STRINGIFY(SOL_ROSE)
     768   XLAT(SOL_DECNET),
     769   #define XLAT_VAL_17 ((unsigned) (SOL_DECNET))
     770   #define XLAT_STR_17 STRINGIFY(SOL_DECNET)
     771   XLAT(SOL_X25),
     772   #define XLAT_VAL_18 ((unsigned) (SOL_X25))
     773   #define XLAT_STR_18 STRINGIFY(SOL_X25)
     774   XLAT(SOL_PACKET),
     775   #define XLAT_VAL_19 ((unsigned) (SOL_PACKET))
     776   #define XLAT_STR_19 STRINGIFY(SOL_PACKET)
     777   XLAT(SOL_ATM),
     778   #define XLAT_VAL_20 ((unsigned) (SOL_ATM))
     779   #define XLAT_STR_20 STRINGIFY(SOL_ATM)
     780   XLAT(SOL_AAL),
     781   #define XLAT_VAL_21 ((unsigned) (SOL_AAL))
     782   #define XLAT_STR_21 STRINGIFY(SOL_AAL)
     783   XLAT(SOL_IRDA),
     784   #define XLAT_VAL_22 ((unsigned) (SOL_IRDA))
     785   #define XLAT_STR_22 STRINGIFY(SOL_IRDA)
     786   XLAT(SOL_NETBEUI),
     787   #define XLAT_VAL_23 ((unsigned) (SOL_NETBEUI))
     788   #define XLAT_STR_23 STRINGIFY(SOL_NETBEUI)
     789   XLAT(SOL_LLC),
     790   #define XLAT_VAL_24 ((unsigned) (SOL_LLC))
     791   #define XLAT_STR_24 STRINGIFY(SOL_LLC)
     792   XLAT(SOL_DCCP),
     793   #define XLAT_VAL_25 ((unsigned) (SOL_DCCP))
     794   #define XLAT_STR_25 STRINGIFY(SOL_DCCP)
     795   XLAT(SOL_NETLINK),
     796   #define XLAT_VAL_26 ((unsigned) (SOL_NETLINK))
     797   #define XLAT_STR_26 STRINGIFY(SOL_NETLINK)
     798   XLAT(SOL_TIPC),
     799   #define XLAT_VAL_27 ((unsigned) (SOL_TIPC))
     800   #define XLAT_STR_27 STRINGIFY(SOL_TIPC)
     801   XLAT(SOL_RXRPC),
     802   #define XLAT_VAL_28 ((unsigned) (SOL_RXRPC))
     803   #define XLAT_STR_28 STRINGIFY(SOL_RXRPC)
     804   XLAT(SOL_PPPOL2TP),
     805   #define XLAT_VAL_29 ((unsigned) (SOL_PPPOL2TP))
     806   #define XLAT_STR_29 STRINGIFY(SOL_PPPOL2TP)
     807   XLAT(SOL_BLUETOOTH),
     808   #define XLAT_VAL_30 ((unsigned) (SOL_BLUETOOTH))
     809   #define XLAT_STR_30 STRINGIFY(SOL_BLUETOOTH)
     810   XLAT(SOL_PNPIPE),
     811   #define XLAT_VAL_31 ((unsigned) (SOL_PNPIPE))
     812   #define XLAT_STR_31 STRINGIFY(SOL_PNPIPE)
     813   XLAT(SOL_RDS),
     814   #define XLAT_VAL_32 ((unsigned) (SOL_RDS))
     815   #define XLAT_STR_32 STRINGIFY(SOL_RDS)
     816   XLAT(SOL_IUCV),
     817   #define XLAT_VAL_33 ((unsigned) (SOL_IUCV))
     818   #define XLAT_STR_33 STRINGIFY(SOL_IUCV)
     819   XLAT(SOL_CAIF),
     820   #define XLAT_VAL_34 ((unsigned) (SOL_CAIF))
     821   #define XLAT_STR_34 STRINGIFY(SOL_CAIF)
     822   XLAT(SOL_ALG),
     823   #define XLAT_VAL_35 ((unsigned) (SOL_ALG))
     824   #define XLAT_STR_35 STRINGIFY(SOL_ALG)
     825   XLAT(SOL_NFC),
     826   #define XLAT_VAL_36 ((unsigned) (SOL_NFC))
     827   #define XLAT_STR_36 STRINGIFY(SOL_NFC)
     828   XLAT(SOL_KCM),
     829   #define XLAT_VAL_37 ((unsigned) (SOL_KCM))
     830   #define XLAT_STR_37 STRINGIFY(SOL_KCM)
     831   XLAT(SOL_TLS),
     832   #define XLAT_VAL_38 ((unsigned) (SOL_TLS))
     833   #define XLAT_STR_38 STRINGIFY(SOL_TLS)
     834   XLAT(SOL_XDP),
     835   #define XLAT_VAL_39 ((unsigned) (SOL_XDP))
     836   #define XLAT_STR_39 STRINGIFY(SOL_XDP)
     837  #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
     838   XLAT(SOL_SOCKET),
     839   #define XLAT_VAL_40 ((unsigned) (SOL_SOCKET))
     840   #define XLAT_STR_40 STRINGIFY(SOL_SOCKET)
     841  #endif
     842  };
     843  const struct xlat socketlayers[1] = { {
     844   .data = socketlayers_xdata,
     845   .size = ARRAY_SIZE(socketlayers_xdata),
     846   .type = XT_SORTED,
     847   .flags_mask = 0
     848  #  ifdef XLAT_VAL_0
     849    | XLAT_VAL_0
     850  #  endif
     851  #  ifdef XLAT_VAL_1
     852    | XLAT_VAL_1
     853  #  endif
     854  #  ifdef XLAT_VAL_2
     855    | XLAT_VAL_2
     856  #  endif
     857  #  ifdef XLAT_VAL_3
     858    | XLAT_VAL_3
     859  #  endif
     860  #  ifdef XLAT_VAL_4
     861    | XLAT_VAL_4
     862  #  endif
     863  #  ifdef XLAT_VAL_5
     864    | XLAT_VAL_5
     865  #  endif
     866  #  ifdef XLAT_VAL_6
     867    | XLAT_VAL_6
     868  #  endif
     869  #  ifdef XLAT_VAL_7
     870    | XLAT_VAL_7
     871  #  endif
     872  #  ifdef XLAT_VAL_8
     873    | XLAT_VAL_8
     874  #  endif
     875  #  ifdef XLAT_VAL_9
     876    | XLAT_VAL_9
     877  #  endif
     878  #  ifdef XLAT_VAL_10
     879    | XLAT_VAL_10
     880  #  endif
     881  #  ifdef XLAT_VAL_11
     882    | XLAT_VAL_11
     883  #  endif
     884  #  ifdef XLAT_VAL_12
     885    | XLAT_VAL_12
     886  #  endif
     887  #  ifdef XLAT_VAL_13
     888    | XLAT_VAL_13
     889  #  endif
     890  #  ifdef XLAT_VAL_14
     891    | XLAT_VAL_14
     892  #  endif
     893  #  ifdef XLAT_VAL_15
     894    | XLAT_VAL_15
     895  #  endif
     896  #  ifdef XLAT_VAL_16
     897    | XLAT_VAL_16
     898  #  endif
     899  #  ifdef XLAT_VAL_17
     900    | XLAT_VAL_17
     901  #  endif
     902  #  ifdef XLAT_VAL_18
     903    | XLAT_VAL_18
     904  #  endif
     905  #  ifdef XLAT_VAL_19
     906    | XLAT_VAL_19
     907  #  endif
     908  #  ifdef XLAT_VAL_20
     909    | XLAT_VAL_20
     910  #  endif
     911  #  ifdef XLAT_VAL_21
     912    | XLAT_VAL_21
     913  #  endif
     914  #  ifdef XLAT_VAL_22
     915    | XLAT_VAL_22
     916  #  endif
     917  #  ifdef XLAT_VAL_23
     918    | XLAT_VAL_23
     919  #  endif
     920  #  ifdef XLAT_VAL_24
     921    | XLAT_VAL_24
     922  #  endif
     923  #  ifdef XLAT_VAL_25
     924    | XLAT_VAL_25
     925  #  endif
     926  #  ifdef XLAT_VAL_26
     927    | XLAT_VAL_26
     928  #  endif
     929  #  ifdef XLAT_VAL_27
     930    | XLAT_VAL_27
     931  #  endif
     932  #  ifdef XLAT_VAL_28
     933    | XLAT_VAL_28
     934  #  endif
     935  #  ifdef XLAT_VAL_29
     936    | XLAT_VAL_29
     937  #  endif
     938  #  ifdef XLAT_VAL_30
     939    | XLAT_VAL_30
     940  #  endif
     941  #  ifdef XLAT_VAL_31
     942    | XLAT_VAL_31
     943  #  endif
     944  #  ifdef XLAT_VAL_32
     945    | XLAT_VAL_32
     946  #  endif
     947  #  ifdef XLAT_VAL_33
     948    | XLAT_VAL_33
     949  #  endif
     950  #  ifdef XLAT_VAL_34
     951    | XLAT_VAL_34
     952  #  endif
     953  #  ifdef XLAT_VAL_35
     954    | XLAT_VAL_35
     955  #  endif
     956  #  ifdef XLAT_VAL_36
     957    | XLAT_VAL_36
     958  #  endif
     959  #  ifdef XLAT_VAL_37
     960    | XLAT_VAL_37
     961  #  endif
     962  #  ifdef XLAT_VAL_38
     963    | XLAT_VAL_38
     964  #  endif
     965  #  ifdef XLAT_VAL_39
     966    | XLAT_VAL_39
     967  #  endif
     968  #  ifdef XLAT_VAL_40
     969    | XLAT_VAL_40
     970  #  endif
     971    ,
     972   .flags_strsz = 0
     973  #  ifdef XLAT_STR_0
     974    + sizeof(XLAT_STR_0)
     975  #  endif
     976  #  ifdef XLAT_STR_1
     977    + sizeof(XLAT_STR_1)
     978  #  endif
     979  #  ifdef XLAT_STR_2
     980    + sizeof(XLAT_STR_2)
     981  #  endif
     982  #  ifdef XLAT_STR_3
     983    + sizeof(XLAT_STR_3)
     984  #  endif
     985  #  ifdef XLAT_STR_4
     986    + sizeof(XLAT_STR_4)
     987  #  endif
     988  #  ifdef XLAT_STR_5
     989    + sizeof(XLAT_STR_5)
     990  #  endif
     991  #  ifdef XLAT_STR_6
     992    + sizeof(XLAT_STR_6)
     993  #  endif
     994  #  ifdef XLAT_STR_7
     995    + sizeof(XLAT_STR_7)
     996  #  endif
     997  #  ifdef XLAT_STR_8
     998    + sizeof(XLAT_STR_8)
     999  #  endif
    1000  #  ifdef XLAT_STR_9
    1001    + sizeof(XLAT_STR_9)
    1002  #  endif
    1003  #  ifdef XLAT_STR_10
    1004    + sizeof(XLAT_STR_10)
    1005  #  endif
    1006  #  ifdef XLAT_STR_11
    1007    + sizeof(XLAT_STR_11)
    1008  #  endif
    1009  #  ifdef XLAT_STR_12
    1010    + sizeof(XLAT_STR_12)
    1011  #  endif
    1012  #  ifdef XLAT_STR_13
    1013    + sizeof(XLAT_STR_13)
    1014  #  endif
    1015  #  ifdef XLAT_STR_14
    1016    + sizeof(XLAT_STR_14)
    1017  #  endif
    1018  #  ifdef XLAT_STR_15
    1019    + sizeof(XLAT_STR_15)
    1020  #  endif
    1021  #  ifdef XLAT_STR_16
    1022    + sizeof(XLAT_STR_16)
    1023  #  endif
    1024  #  ifdef XLAT_STR_17
    1025    + sizeof(XLAT_STR_17)
    1026  #  endif
    1027  #  ifdef XLAT_STR_18
    1028    + sizeof(XLAT_STR_18)
    1029  #  endif
    1030  #  ifdef XLAT_STR_19
    1031    + sizeof(XLAT_STR_19)
    1032  #  endif
    1033  #  ifdef XLAT_STR_20
    1034    + sizeof(XLAT_STR_20)
    1035  #  endif
    1036  #  ifdef XLAT_STR_21
    1037    + sizeof(XLAT_STR_21)
    1038  #  endif
    1039  #  ifdef XLAT_STR_22
    1040    + sizeof(XLAT_STR_22)
    1041  #  endif
    1042  #  ifdef XLAT_STR_23
    1043    + sizeof(XLAT_STR_23)
    1044  #  endif
    1045  #  ifdef XLAT_STR_24
    1046    + sizeof(XLAT_STR_24)
    1047  #  endif
    1048  #  ifdef XLAT_STR_25
    1049    + sizeof(XLAT_STR_25)
    1050  #  endif
    1051  #  ifdef XLAT_STR_26
    1052    + sizeof(XLAT_STR_26)
    1053  #  endif
    1054  #  ifdef XLAT_STR_27
    1055    + sizeof(XLAT_STR_27)
    1056  #  endif
    1057  #  ifdef XLAT_STR_28
    1058    + sizeof(XLAT_STR_28)
    1059  #  endif
    1060  #  ifdef XLAT_STR_29
    1061    + sizeof(XLAT_STR_29)
    1062  #  endif
    1063  #  ifdef XLAT_STR_30
    1064    + sizeof(XLAT_STR_30)
    1065  #  endif
    1066  #  ifdef XLAT_STR_31
    1067    + sizeof(XLAT_STR_31)
    1068  #  endif
    1069  #  ifdef XLAT_STR_32
    1070    + sizeof(XLAT_STR_32)
    1071  #  endif
    1072  #  ifdef XLAT_STR_33
    1073    + sizeof(XLAT_STR_33)
    1074  #  endif
    1075  #  ifdef XLAT_STR_34
    1076    + sizeof(XLAT_STR_34)
    1077  #  endif
    1078  #  ifdef XLAT_STR_35
    1079    + sizeof(XLAT_STR_35)
    1080  #  endif
    1081  #  ifdef XLAT_STR_36
    1082    + sizeof(XLAT_STR_36)
    1083  #  endif
    1084  #  ifdef XLAT_STR_37
    1085    + sizeof(XLAT_STR_37)
    1086  #  endif
    1087  #  ifdef XLAT_STR_38
    1088    + sizeof(XLAT_STR_38)
    1089  #  endif
    1090  #  ifdef XLAT_STR_39
    1091    + sizeof(XLAT_STR_39)
    1092  #  endif
    1093  #  ifdef XLAT_STR_40
    1094    + sizeof(XLAT_STR_40)
    1095  #  endif
    1096    ,
    1097  } };
    1098  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
    1099  
    1100  #  undef XLAT_STR_0
    1101  #  undef XLAT_VAL_0
    1102  #  undef XLAT_STR_1
    1103  #  undef XLAT_VAL_1
    1104  #  undef XLAT_STR_2
    1105  #  undef XLAT_VAL_2
    1106  #  undef XLAT_STR_3
    1107  #  undef XLAT_VAL_3
    1108  #  undef XLAT_STR_4
    1109  #  undef XLAT_VAL_4
    1110  #  undef XLAT_STR_5
    1111  #  undef XLAT_VAL_5
    1112  #  undef XLAT_STR_6
    1113  #  undef XLAT_VAL_6
    1114  #  undef XLAT_STR_7
    1115  #  undef XLAT_VAL_7
    1116  #  undef XLAT_STR_8
    1117  #  undef XLAT_VAL_8
    1118  #  undef XLAT_STR_9
    1119  #  undef XLAT_VAL_9
    1120  #  undef XLAT_STR_10
    1121  #  undef XLAT_VAL_10
    1122  #  undef XLAT_STR_11
    1123  #  undef XLAT_VAL_11
    1124  #  undef XLAT_STR_12
    1125  #  undef XLAT_VAL_12
    1126  #  undef XLAT_STR_13
    1127  #  undef XLAT_VAL_13
    1128  #  undef XLAT_STR_14
    1129  #  undef XLAT_VAL_14
    1130  #  undef XLAT_STR_15
    1131  #  undef XLAT_VAL_15
    1132  #  undef XLAT_STR_16
    1133  #  undef XLAT_VAL_16
    1134  #  undef XLAT_STR_17
    1135  #  undef XLAT_VAL_17
    1136  #  undef XLAT_STR_18
    1137  #  undef XLAT_VAL_18
    1138  #  undef XLAT_STR_19
    1139  #  undef XLAT_VAL_19
    1140  #  undef XLAT_STR_20
    1141  #  undef XLAT_VAL_20
    1142  #  undef XLAT_STR_21
    1143  #  undef XLAT_VAL_21
    1144  #  undef XLAT_STR_22
    1145  #  undef XLAT_VAL_22
    1146  #  undef XLAT_STR_23
    1147  #  undef XLAT_VAL_23
    1148  #  undef XLAT_STR_24
    1149  #  undef XLAT_VAL_24
    1150  #  undef XLAT_STR_25
    1151  #  undef XLAT_VAL_25
    1152  #  undef XLAT_STR_26
    1153  #  undef XLAT_VAL_26
    1154  #  undef XLAT_STR_27
    1155  #  undef XLAT_VAL_27
    1156  #  undef XLAT_STR_28
    1157  #  undef XLAT_VAL_28
    1158  #  undef XLAT_STR_29
    1159  #  undef XLAT_VAL_29
    1160  #  undef XLAT_STR_30
    1161  #  undef XLAT_VAL_30
    1162  #  undef XLAT_STR_31
    1163  #  undef XLAT_VAL_31
    1164  #  undef XLAT_STR_32
    1165  #  undef XLAT_VAL_32
    1166  #  undef XLAT_STR_33
    1167  #  undef XLAT_VAL_33
    1168  #  undef XLAT_STR_34
    1169  #  undef XLAT_VAL_34
    1170  #  undef XLAT_STR_35
    1171  #  undef XLAT_VAL_35
    1172  #  undef XLAT_STR_36
    1173  #  undef XLAT_VAL_36
    1174  #  undef XLAT_STR_37
    1175  #  undef XLAT_VAL_37
    1176  #  undef XLAT_STR_38
    1177  #  undef XLAT_VAL_38
    1178  #  undef XLAT_STR_39
    1179  #  undef XLAT_VAL_39
    1180  #  undef XLAT_STR_40
    1181  #  undef XLAT_VAL_40
    1182  # endif /* !IN_MPERS */
    1183  
    1184  #endif /* !XLAT_MACROS_ONLY */