1 /* Generated by ./xlat/gen.sh from ./xlat/sock_options.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 #if defined(SO_DEBUG) || (defined(HAVE_DECL_SO_DEBUG) && HAVE_DECL_SO_DEBUG) 7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 8 static_assert((SO_DEBUG) == (1), "SO_DEBUG != 1"); 9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 10 #else 11 # define SO_DEBUG 1 12 #endif 13 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 14 #if defined(SO_REUSEADDR) || (defined(HAVE_DECL_SO_REUSEADDR) && HAVE_DECL_SO_REUSEADDR) 15 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 16 static_assert((SO_REUSEADDR) == (4), "SO_REUSEADDR != 4"); 17 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 18 #else 19 # define SO_REUSEADDR 4 20 #endif 21 #else 22 #if defined(SO_REUSEADDR) || (defined(HAVE_DECL_SO_REUSEADDR) && HAVE_DECL_SO_REUSEADDR) 23 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 24 static_assert((SO_REUSEADDR) == (2), "SO_REUSEADDR != 2"); 25 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 26 #else 27 # define SO_REUSEADDR 2 28 #endif 29 #endif 30 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 31 #if defined(SO_TYPE) || (defined(HAVE_DECL_SO_TYPE) && HAVE_DECL_SO_TYPE) 32 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 33 static_assert((SO_TYPE) == (4104), "SO_TYPE != 4104"); 34 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 35 #else 36 # define SO_TYPE 4104 37 #endif 38 #else 39 #if defined(SO_TYPE) || (defined(HAVE_DECL_SO_TYPE) && HAVE_DECL_SO_TYPE) 40 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 41 static_assert((SO_TYPE) == (3), "SO_TYPE != 3"); 42 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 43 #else 44 # define SO_TYPE 3 45 #endif 46 #endif 47 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 48 #if defined(SO_ERROR) || (defined(HAVE_DECL_SO_ERROR) && HAVE_DECL_SO_ERROR) 49 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 50 static_assert((SO_ERROR) == (4103), "SO_ERROR != 4103"); 51 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 52 #else 53 # define SO_ERROR 4103 54 #endif 55 #else 56 #if defined(SO_ERROR) || (defined(HAVE_DECL_SO_ERROR) && HAVE_DECL_SO_ERROR) 57 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 58 static_assert((SO_ERROR) == (4), "SO_ERROR != 4"); 59 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 60 #else 61 # define SO_ERROR 4 62 #endif 63 #endif 64 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 65 #if defined(SO_DONTROUTE) || (defined(HAVE_DECL_SO_DONTROUTE) && HAVE_DECL_SO_DONTROUTE) 66 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 67 static_assert((SO_DONTROUTE) == (16), "SO_DONTROUTE != 16"); 68 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 69 #else 70 # define SO_DONTROUTE 16 71 #endif 72 #else 73 #if defined(SO_DONTROUTE) || (defined(HAVE_DECL_SO_DONTROUTE) && HAVE_DECL_SO_DONTROUTE) 74 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 75 static_assert((SO_DONTROUTE) == (5), "SO_DONTROUTE != 5"); 76 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 77 #else 78 # define SO_DONTROUTE 5 79 #endif 80 #endif 81 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 82 #if defined(SO_BROADCAST) || (defined(HAVE_DECL_SO_BROADCAST) && HAVE_DECL_SO_BROADCAST) 83 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 84 static_assert((SO_BROADCAST) == (32), "SO_BROADCAST != 32"); 85 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 86 #else 87 # define SO_BROADCAST 32 88 #endif 89 #else 90 #if defined(SO_BROADCAST) || (defined(HAVE_DECL_SO_BROADCAST) && HAVE_DECL_SO_BROADCAST) 91 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 92 static_assert((SO_BROADCAST) == (6), "SO_BROADCAST != 6"); 93 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 94 #else 95 # define SO_BROADCAST 6 96 #endif 97 #endif 98 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 99 #if defined(SO_SNDBUF) || (defined(HAVE_DECL_SO_SNDBUF) && HAVE_DECL_SO_SNDBUF) 100 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 101 static_assert((SO_SNDBUF) == (4097), "SO_SNDBUF != 4097"); 102 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 103 #else 104 # define SO_SNDBUF 4097 105 #endif 106 #else 107 #if defined(SO_SNDBUF) || (defined(HAVE_DECL_SO_SNDBUF) && HAVE_DECL_SO_SNDBUF) 108 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 109 static_assert((SO_SNDBUF) == (7), "SO_SNDBUF != 7"); 110 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 111 #else 112 # define SO_SNDBUF 7 113 #endif 114 #endif 115 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 116 #if defined(SO_RCVBUF) || (defined(HAVE_DECL_SO_RCVBUF) && HAVE_DECL_SO_RCVBUF) 117 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 118 static_assert((SO_RCVBUF) == (4098), "SO_RCVBUF != 4098"); 119 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 120 #else 121 # define SO_RCVBUF 4098 122 #endif 123 #else 124 #if defined(SO_RCVBUF) || (defined(HAVE_DECL_SO_RCVBUF) && HAVE_DECL_SO_RCVBUF) 125 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 126 static_assert((SO_RCVBUF) == (8), "SO_RCVBUF != 8"); 127 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 128 #else 129 # define SO_RCVBUF 8 130 #endif 131 #endif 132 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 133 #if defined(SO_KEEPALIVE) || (defined(HAVE_DECL_SO_KEEPALIVE) && HAVE_DECL_SO_KEEPALIVE) 134 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 135 static_assert((SO_KEEPALIVE) == (8), "SO_KEEPALIVE != 8"); 136 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 137 #else 138 # define SO_KEEPALIVE 8 139 #endif 140 #else 141 #if defined(SO_KEEPALIVE) || (defined(HAVE_DECL_SO_KEEPALIVE) && HAVE_DECL_SO_KEEPALIVE) 142 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 143 static_assert((SO_KEEPALIVE) == (9), "SO_KEEPALIVE != 9"); 144 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 145 #else 146 # define SO_KEEPALIVE 9 147 #endif 148 #endif 149 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 150 #if defined(SO_OOBINLINE) || (defined(HAVE_DECL_SO_OOBINLINE) && HAVE_DECL_SO_OOBINLINE) 151 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 152 static_assert((SO_OOBINLINE) == (256), "SO_OOBINLINE != 256"); 153 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 154 #else 155 # define SO_OOBINLINE 256 156 #endif 157 #else 158 #if defined(SO_OOBINLINE) || (defined(HAVE_DECL_SO_OOBINLINE) && HAVE_DECL_SO_OOBINLINE) 159 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 160 static_assert((SO_OOBINLINE) == (10), "SO_OOBINLINE != 10"); 161 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 162 #else 163 # define SO_OOBINLINE 10 164 #endif 165 #endif 166 #if defined __hppa__ 167 #if defined(SO_NO_CHECK) || (defined(HAVE_DECL_SO_NO_CHECK) && HAVE_DECL_SO_NO_CHECK) 168 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 169 static_assert((SO_NO_CHECK) == (16395), "SO_NO_CHECK != 16395"); 170 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 171 #else 172 # define SO_NO_CHECK 16395 173 #endif 174 #else 175 #if defined(SO_NO_CHECK) || (defined(HAVE_DECL_SO_NO_CHECK) && HAVE_DECL_SO_NO_CHECK) 176 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 177 static_assert((SO_NO_CHECK) == (11), "SO_NO_CHECK != 11"); 178 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 179 #else 180 # define SO_NO_CHECK 11 181 #endif 182 #endif 183 #if defined __hppa__ 184 #if defined(SO_PRIORITY) || (defined(HAVE_DECL_SO_PRIORITY) && HAVE_DECL_SO_PRIORITY) 185 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 186 static_assert((SO_PRIORITY) == (16396), "SO_PRIORITY != 16396"); 187 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 188 #else 189 # define SO_PRIORITY 16396 190 #endif 191 #else 192 #if defined(SO_PRIORITY) || (defined(HAVE_DECL_SO_PRIORITY) && HAVE_DECL_SO_PRIORITY) 193 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 194 static_assert((SO_PRIORITY) == (12), "SO_PRIORITY != 12"); 195 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 196 #else 197 # define SO_PRIORITY 12 198 #endif 199 #endif 200 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 201 #if defined(SO_LINGER) || (defined(HAVE_DECL_SO_LINGER) && HAVE_DECL_SO_LINGER) 202 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 203 static_assert((SO_LINGER) == (128), "SO_LINGER != 128"); 204 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 205 #else 206 # define SO_LINGER 128 207 #endif 208 #else 209 #if defined(SO_LINGER) || (defined(HAVE_DECL_SO_LINGER) && HAVE_DECL_SO_LINGER) 210 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 211 static_assert((SO_LINGER) == (13), "SO_LINGER != 13"); 212 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 213 #else 214 # define SO_LINGER 13 215 #endif 216 #endif 217 #if defined __sparc__ 218 #if defined(SO_BSDCOMPAT) || (defined(HAVE_DECL_SO_BSDCOMPAT) && HAVE_DECL_SO_BSDCOMPAT) 219 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 220 static_assert((SO_BSDCOMPAT) == (1024), "SO_BSDCOMPAT != 1024"); 221 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 222 #else 223 # define SO_BSDCOMPAT 1024 224 #endif 225 #elif defined __hppa__ 226 #if defined(SO_BSDCOMPAT) || (defined(HAVE_DECL_SO_BSDCOMPAT) && HAVE_DECL_SO_BSDCOMPAT) 227 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 228 static_assert((SO_BSDCOMPAT) == (16398), "SO_BSDCOMPAT != 16398"); 229 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 230 #else 231 # define SO_BSDCOMPAT 16398 232 #endif 233 #else 234 #if defined(SO_BSDCOMPAT) || (defined(HAVE_DECL_SO_BSDCOMPAT) && HAVE_DECL_SO_BSDCOMPAT) 235 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 236 static_assert((SO_BSDCOMPAT) == (14), "SO_BSDCOMPAT != 14"); 237 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 238 #else 239 # define SO_BSDCOMPAT 14 240 #endif 241 #endif 242 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 243 #if defined(SO_REUSEPORT) || (defined(HAVE_DECL_SO_REUSEPORT) && HAVE_DECL_SO_REUSEPORT) 244 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 245 static_assert((SO_REUSEPORT) == (512), "SO_REUSEPORT != 512"); 246 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 247 #else 248 # define SO_REUSEPORT 512 249 #endif 250 #else 251 #if defined(SO_REUSEPORT) || (defined(HAVE_DECL_SO_REUSEPORT) && HAVE_DECL_SO_REUSEPORT) 252 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 253 static_assert((SO_REUSEPORT) == (15), "SO_REUSEPORT != 15"); 254 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 255 #else 256 # define SO_REUSEPORT 15 257 #endif 258 #endif 259 #if defined __sparc__ 260 #if defined(SO_PASSCRED) || (defined(HAVE_DECL_SO_PASSCRED) && HAVE_DECL_SO_PASSCRED) 261 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 262 static_assert((SO_PASSCRED) == (2), "SO_PASSCRED != 2"); 263 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 264 #else 265 # define SO_PASSCRED 2 266 #endif 267 #elif defined __alpha__ || defined __mips__ 268 #if defined(SO_PASSCRED) || (defined(HAVE_DECL_SO_PASSCRED) && HAVE_DECL_SO_PASSCRED) 269 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 270 static_assert((SO_PASSCRED) == (17), "SO_PASSCRED != 17"); 271 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 272 #else 273 # define SO_PASSCRED 17 274 #endif 275 #elif defined __powerpc__ 276 #if defined(SO_PASSCRED) || (defined(HAVE_DECL_SO_PASSCRED) && HAVE_DECL_SO_PASSCRED) 277 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 278 static_assert((SO_PASSCRED) == (20), "SO_PASSCRED != 20"); 279 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 280 #else 281 # define SO_PASSCRED 20 282 #endif 283 #elif defined __hppa__ 284 #if defined(SO_PASSCRED) || (defined(HAVE_DECL_SO_PASSCRED) && HAVE_DECL_SO_PASSCRED) 285 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 286 static_assert((SO_PASSCRED) == (16400), "SO_PASSCRED != 16400"); 287 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 288 #else 289 # define SO_PASSCRED 16400 290 #endif 291 #else 292 #if defined(SO_PASSCRED) || (defined(HAVE_DECL_SO_PASSCRED) && HAVE_DECL_SO_PASSCRED) 293 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 294 static_assert((SO_PASSCRED) == (16), "SO_PASSCRED != 16"); 295 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 296 #else 297 # define SO_PASSCRED 16 298 #endif 299 #endif 300 #if defined __alpha__ || defined __mips__ 301 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED) 302 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 303 static_assert((SO_PEERCRED) == (18), "SO_PEERCRED != 18"); 304 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 305 #else 306 # define SO_PEERCRED 18 307 #endif 308 #elif defined __powerpc__ 309 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED) 310 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 311 static_assert((SO_PEERCRED) == (21), "SO_PEERCRED != 21"); 312 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 313 #else 314 # define SO_PEERCRED 21 315 #endif 316 #elif defined __sparc__ 317 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED) 318 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 319 static_assert((SO_PEERCRED) == (64), "SO_PEERCRED != 64"); 320 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 321 #else 322 # define SO_PEERCRED 64 323 #endif 324 #elif defined __hppa__ 325 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED) 326 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 327 static_assert((SO_PEERCRED) == (16401), "SO_PEERCRED != 16401"); 328 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 329 #else 330 # define SO_PEERCRED 16401 331 #endif 332 #else 333 #if defined(SO_PEERCRED) || (defined(HAVE_DECL_SO_PEERCRED) && HAVE_DECL_SO_PEERCRED) 334 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 335 static_assert((SO_PEERCRED) == (17), "SO_PEERCRED != 17"); 336 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 337 #else 338 # define SO_PEERCRED 17 339 #endif 340 #endif 341 #if defined __powerpc__ 342 #if defined(SO_RCVLOWAT) || (defined(HAVE_DECL_SO_RCVLOWAT) && HAVE_DECL_SO_RCVLOWAT) 343 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 344 static_assert((SO_RCVLOWAT) == (16), "SO_RCVLOWAT != 16"); 345 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 346 #else 347 # define SO_RCVLOWAT 16 348 #endif 349 #elif defined __sparc__ 350 #if defined(SO_RCVLOWAT) || (defined(HAVE_DECL_SO_RCVLOWAT) && HAVE_DECL_SO_RCVLOWAT) 351 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 352 static_assert((SO_RCVLOWAT) == (2048), "SO_RCVLOWAT != 2048"); 353 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 354 #else 355 # define SO_RCVLOWAT 2048 356 #endif 357 #elif defined __hppa__ || defined __mips__ 358 #if defined(SO_RCVLOWAT) || (defined(HAVE_DECL_SO_RCVLOWAT) && HAVE_DECL_SO_RCVLOWAT) 359 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 360 static_assert((SO_RCVLOWAT) == (4100), "SO_RCVLOWAT != 4100"); 361 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 362 #else 363 # define SO_RCVLOWAT 4100 364 #endif 365 #elif defined __alpha__ 366 #if defined(SO_RCVLOWAT) || (defined(HAVE_DECL_SO_RCVLOWAT) && HAVE_DECL_SO_RCVLOWAT) 367 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 368 static_assert((SO_RCVLOWAT) == (4112), "SO_RCVLOWAT != 4112"); 369 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 370 #else 371 # define SO_RCVLOWAT 4112 372 #endif 373 #else 374 #if defined(SO_RCVLOWAT) || (defined(HAVE_DECL_SO_RCVLOWAT) && HAVE_DECL_SO_RCVLOWAT) 375 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 376 static_assert((SO_RCVLOWAT) == (18), "SO_RCVLOWAT != 18"); 377 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 378 #else 379 # define SO_RCVLOWAT 18 380 #endif 381 #endif 382 #if defined __powerpc__ 383 #if defined(SO_SNDLOWAT) || (defined(HAVE_DECL_SO_SNDLOWAT) && HAVE_DECL_SO_SNDLOWAT) 384 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 385 static_assert((SO_SNDLOWAT) == (17), "SO_SNDLOWAT != 17"); 386 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 387 #else 388 # define SO_SNDLOWAT 17 389 #endif 390 #elif defined __sparc__ 391 #if defined(SO_SNDLOWAT) || (defined(HAVE_DECL_SO_SNDLOWAT) && HAVE_DECL_SO_SNDLOWAT) 392 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 393 static_assert((SO_SNDLOWAT) == (4096), "SO_SNDLOWAT != 4096"); 394 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 395 #else 396 # define SO_SNDLOWAT 4096 397 #endif 398 #elif defined __hppa__ || defined __mips__ 399 #if defined(SO_SNDLOWAT) || (defined(HAVE_DECL_SO_SNDLOWAT) && HAVE_DECL_SO_SNDLOWAT) 400 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 401 static_assert((SO_SNDLOWAT) == (4099), "SO_SNDLOWAT != 4099"); 402 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 403 #else 404 # define SO_SNDLOWAT 4099 405 #endif 406 #elif defined __alpha__ 407 #if defined(SO_SNDLOWAT) || (defined(HAVE_DECL_SO_SNDLOWAT) && HAVE_DECL_SO_SNDLOWAT) 408 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 409 static_assert((SO_SNDLOWAT) == (4113), "SO_SNDLOWAT != 4113"); 410 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 411 #else 412 # define SO_SNDLOWAT 4113 413 #endif 414 #else 415 #if defined(SO_SNDLOWAT) || (defined(HAVE_DECL_SO_SNDLOWAT) && HAVE_DECL_SO_SNDLOWAT) 416 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 417 static_assert((SO_SNDLOWAT) == (19), "SO_SNDLOWAT != 19"); 418 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 419 #else 420 # define SO_SNDLOWAT 19 421 #endif 422 #endif 423 #if defined __powerpc__ 424 #if defined(SO_RCVTIMEO) || (defined(HAVE_DECL_SO_RCVTIMEO) && HAVE_DECL_SO_RCVTIMEO) 425 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 426 static_assert((SO_RCVTIMEO) == (18), "SO_RCVTIMEO != 18"); 427 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 428 #else 429 # define SO_RCVTIMEO 18 430 #endif 431 #elif defined __hppa__ || defined __mips__ 432 #if defined(SO_RCVTIMEO) || (defined(HAVE_DECL_SO_RCVTIMEO) && HAVE_DECL_SO_RCVTIMEO) 433 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 434 static_assert((SO_RCVTIMEO) == (4102), "SO_RCVTIMEO != 4102"); 435 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 436 #else 437 # define SO_RCVTIMEO 4102 438 #endif 439 #elif defined __alpha__ 440 #if defined(SO_RCVTIMEO) || (defined(HAVE_DECL_SO_RCVTIMEO) && HAVE_DECL_SO_RCVTIMEO) 441 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 442 static_assert((SO_RCVTIMEO) == (4114), "SO_RCVTIMEO != 4114"); 443 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 444 #else 445 # define SO_RCVTIMEO 4114 446 #endif 447 #elif defined __sparc__ 448 #if defined(SO_RCVTIMEO) || (defined(HAVE_DECL_SO_RCVTIMEO) && HAVE_DECL_SO_RCVTIMEO) 449 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 450 static_assert((SO_RCVTIMEO) == (8192), "SO_RCVTIMEO != 8192"); 451 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 452 #else 453 # define SO_RCVTIMEO 8192 454 #endif 455 #else 456 #if defined(SO_RCVTIMEO) || (defined(HAVE_DECL_SO_RCVTIMEO) && HAVE_DECL_SO_RCVTIMEO) 457 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 458 static_assert((SO_RCVTIMEO) == (20), "SO_RCVTIMEO != 20"); 459 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 460 #else 461 # define SO_RCVTIMEO 20 462 #endif 463 #endif 464 #if defined __powerpc__ 465 #if defined(SO_SNDTIMEO) || (defined(HAVE_DECL_SO_SNDTIMEO) && HAVE_DECL_SO_SNDTIMEO) 466 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 467 static_assert((SO_SNDTIMEO) == (19), "SO_SNDTIMEO != 19"); 468 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 469 #else 470 # define SO_SNDTIMEO 19 471 #endif 472 #elif defined __hppa__ || defined __mips__ 473 #if defined(SO_SNDTIMEO) || (defined(HAVE_DECL_SO_SNDTIMEO) && HAVE_DECL_SO_SNDTIMEO) 474 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 475 static_assert((SO_SNDTIMEO) == (4101), "SO_SNDTIMEO != 4101"); 476 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 477 #else 478 # define SO_SNDTIMEO 4101 479 #endif 480 #elif defined __alpha__ 481 #if defined(SO_SNDTIMEO) || (defined(HAVE_DECL_SO_SNDTIMEO) && HAVE_DECL_SO_SNDTIMEO) 482 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 483 static_assert((SO_SNDTIMEO) == (4115), "SO_SNDTIMEO != 4115"); 484 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 485 #else 486 # define SO_SNDTIMEO 4115 487 #endif 488 #elif defined __sparc__ 489 #if defined(SO_SNDTIMEO) || (defined(HAVE_DECL_SO_SNDTIMEO) && HAVE_DECL_SO_SNDTIMEO) 490 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 491 static_assert((SO_SNDTIMEO) == (16384), "SO_SNDTIMEO != 16384"); 492 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 493 #else 494 # define SO_SNDTIMEO 16384 495 #endif 496 #else 497 #if defined(SO_SNDTIMEO) || (defined(HAVE_DECL_SO_SNDTIMEO) && HAVE_DECL_SO_SNDTIMEO) 498 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 499 static_assert((SO_SNDTIMEO) == (21), "SO_SNDTIMEO != 21"); 500 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 501 #else 502 # define SO_SNDTIMEO 21 503 #endif 504 #endif 505 #if defined __alpha__ 506 #if defined(SO_SECURITY_AUTHENTICATION) || (defined(HAVE_DECL_SO_SECURITY_AUTHENTICATION) && HAVE_DECL_SO_SECURITY_AUTHENTICATION) 507 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 508 static_assert((SO_SECURITY_AUTHENTICATION) == (19), "SO_SECURITY_AUTHENTICATION != 19"); 509 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 510 #else 511 # define SO_SECURITY_AUTHENTICATION 19 512 #endif 513 #elif defined __hppa__ 514 #if defined(SO_SECURITY_AUTHENTICATION) || (defined(HAVE_DECL_SO_SECURITY_AUTHENTICATION) && HAVE_DECL_SO_SECURITY_AUTHENTICATION) 515 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 516 static_assert((SO_SECURITY_AUTHENTICATION) == (16406), "SO_SECURITY_AUTHENTICATION != 16406"); 517 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 518 #else 519 # define SO_SECURITY_AUTHENTICATION 16406 520 #endif 521 #elif defined __sparc__ 522 #if defined(SO_SECURITY_AUTHENTICATION) || (defined(HAVE_DECL_SO_SECURITY_AUTHENTICATION) && HAVE_DECL_SO_SECURITY_AUTHENTICATION) 523 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 524 static_assert((SO_SECURITY_AUTHENTICATION) == (20481), "SO_SECURITY_AUTHENTICATION != 20481"); 525 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 526 #else 527 # define SO_SECURITY_AUTHENTICATION 20481 528 #endif 529 #else 530 #if defined(SO_SECURITY_AUTHENTICATION) || (defined(HAVE_DECL_SO_SECURITY_AUTHENTICATION) && HAVE_DECL_SO_SECURITY_AUTHENTICATION) 531 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 532 static_assert((SO_SECURITY_AUTHENTICATION) == (22), "SO_SECURITY_AUTHENTICATION != 22"); 533 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 534 #else 535 # define SO_SECURITY_AUTHENTICATION 22 536 #endif 537 #endif 538 #if defined __alpha__ 539 #if defined(SO_SECURITY_ENCRYPTION_TRANSPORT) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) && HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) 540 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 541 static_assert((SO_SECURITY_ENCRYPTION_TRANSPORT) == (20), "SO_SECURITY_ENCRYPTION_TRANSPORT != 20"); 542 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 543 #else 544 # define SO_SECURITY_ENCRYPTION_TRANSPORT 20 545 #endif 546 #elif defined __hppa__ 547 #if defined(SO_SECURITY_ENCRYPTION_TRANSPORT) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) && HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) 548 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 549 static_assert((SO_SECURITY_ENCRYPTION_TRANSPORT) == (16407), "SO_SECURITY_ENCRYPTION_TRANSPORT != 16407"); 550 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 551 #else 552 # define SO_SECURITY_ENCRYPTION_TRANSPORT 16407 553 #endif 554 #elif defined __sparc__ 555 #if defined(SO_SECURITY_ENCRYPTION_TRANSPORT) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) && HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) 556 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 557 static_assert((SO_SECURITY_ENCRYPTION_TRANSPORT) == (20482), "SO_SECURITY_ENCRYPTION_TRANSPORT != 20482"); 558 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 559 #else 560 # define SO_SECURITY_ENCRYPTION_TRANSPORT 20482 561 #endif 562 #else 563 #if defined(SO_SECURITY_ENCRYPTION_TRANSPORT) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) && HAVE_DECL_SO_SECURITY_ENCRYPTION_TRANSPORT) 564 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 565 static_assert((SO_SECURITY_ENCRYPTION_TRANSPORT) == (23), "SO_SECURITY_ENCRYPTION_TRANSPORT != 23"); 566 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 567 #else 568 # define SO_SECURITY_ENCRYPTION_TRANSPORT 23 569 #endif 570 #endif 571 #if defined __alpha__ 572 #if defined(SO_SECURITY_ENCRYPTION_NETWORK) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) && HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) 573 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 574 static_assert((SO_SECURITY_ENCRYPTION_NETWORK) == (21), "SO_SECURITY_ENCRYPTION_NETWORK != 21"); 575 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 576 #else 577 # define SO_SECURITY_ENCRYPTION_NETWORK 21 578 #endif 579 #elif defined __hppa__ 580 #if defined(SO_SECURITY_ENCRYPTION_NETWORK) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) && HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) 581 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 582 static_assert((SO_SECURITY_ENCRYPTION_NETWORK) == (16408), "SO_SECURITY_ENCRYPTION_NETWORK != 16408"); 583 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 584 #else 585 # define SO_SECURITY_ENCRYPTION_NETWORK 16408 586 #endif 587 #elif defined __sparc__ 588 #if defined(SO_SECURITY_ENCRYPTION_NETWORK) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) && HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) 589 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 590 static_assert((SO_SECURITY_ENCRYPTION_NETWORK) == (20484), "SO_SECURITY_ENCRYPTION_NETWORK != 20484"); 591 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 592 #else 593 # define SO_SECURITY_ENCRYPTION_NETWORK 20484 594 #endif 595 #else 596 #if defined(SO_SECURITY_ENCRYPTION_NETWORK) || (defined(HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) && HAVE_DECL_SO_SECURITY_ENCRYPTION_NETWORK) 597 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 598 static_assert((SO_SECURITY_ENCRYPTION_NETWORK) == (24), "SO_SECURITY_ENCRYPTION_NETWORK != 24"); 599 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 600 #else 601 # define SO_SECURITY_ENCRYPTION_NETWORK 24 602 #endif 603 #endif 604 #if defined __sparc__ 605 #if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE) 606 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 607 static_assert((SO_BINDTODEVICE) == (13), "SO_BINDTODEVICE != 13"); 608 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 609 #else 610 # define SO_BINDTODEVICE 13 611 #endif 612 #elif defined __hppa__ 613 #if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE) 614 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 615 static_assert((SO_BINDTODEVICE) == (16409), "SO_BINDTODEVICE != 16409"); 616 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 617 #else 618 # define SO_BINDTODEVICE 16409 619 #endif 620 #else 621 #if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE) 622 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 623 static_assert((SO_BINDTODEVICE) == (25), "SO_BINDTODEVICE != 25"); 624 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 625 #else 626 # define SO_BINDTODEVICE 25 627 #endif 628 #endif 629 #if defined __hppa__ 630 #if defined(SO_DETACH_FILTER) || (defined(HAVE_DECL_SO_DETACH_FILTER) && HAVE_DECL_SO_DETACH_FILTER) 631 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 632 static_assert((SO_DETACH_FILTER) == (16411), "SO_DETACH_FILTER != 16411"); 633 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 634 #else 635 # define SO_DETACH_FILTER 16411 636 #endif 637 #else 638 #if defined(SO_DETACH_FILTER) || (defined(HAVE_DECL_SO_DETACH_FILTER) && HAVE_DECL_SO_DETACH_FILTER) 639 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 640 static_assert((SO_DETACH_FILTER) == (27), "SO_DETACH_FILTER != 27"); 641 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 642 #else 643 # define SO_DETACH_FILTER 27 644 #endif 645 #endif 646 #if defined __hppa__ 647 #if defined(SO_PEERNAME) || (defined(HAVE_DECL_SO_PEERNAME) && HAVE_DECL_SO_PEERNAME) 648 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 649 static_assert((SO_PEERNAME) == (8192), "SO_PEERNAME != 8192"); 650 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 651 #else 652 # define SO_PEERNAME 8192 653 #endif 654 #else 655 #if defined(SO_PEERNAME) || (defined(HAVE_DECL_SO_PEERNAME) && HAVE_DECL_SO_PEERNAME) 656 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 657 static_assert((SO_PEERNAME) == (28), "SO_PEERNAME != 28"); 658 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 659 #else 660 # define SO_PEERNAME 28 661 #endif 662 #endif 663 #if defined __hppa__ 664 #if defined(SO_TIMESTAMP) || (defined(HAVE_DECL_SO_TIMESTAMP) && HAVE_DECL_SO_TIMESTAMP) 665 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 666 static_assert((SO_TIMESTAMP) == (16402), "SO_TIMESTAMP != 16402"); 667 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 668 #else 669 # define SO_TIMESTAMP 16402 670 #endif 671 #else 672 #if defined(SO_TIMESTAMP) || (defined(HAVE_DECL_SO_TIMESTAMP) && HAVE_DECL_SO_TIMESTAMP) 673 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 674 static_assert((SO_TIMESTAMP) == (29), "SO_TIMESTAMP != 29"); 675 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 676 #else 677 # define SO_TIMESTAMP 29 678 #endif 679 #endif 680 #if defined __mips__ 681 #if defined(SO_ACCEPTCONN) || (defined(HAVE_DECL_SO_ACCEPTCONN) && HAVE_DECL_SO_ACCEPTCONN) 682 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 683 static_assert((SO_ACCEPTCONN) == (4105), "SO_ACCEPTCONN != 4105"); 684 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 685 #else 686 # define SO_ACCEPTCONN 4105 687 #endif 688 #elif defined __alpha__ 689 #if defined(SO_ACCEPTCONN) || (defined(HAVE_DECL_SO_ACCEPTCONN) && HAVE_DECL_SO_ACCEPTCONN) 690 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 691 static_assert((SO_ACCEPTCONN) == (4116), "SO_ACCEPTCONN != 4116"); 692 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 693 #else 694 # define SO_ACCEPTCONN 4116 695 #endif 696 #elif defined __hppa__ 697 #if defined(SO_ACCEPTCONN) || (defined(HAVE_DECL_SO_ACCEPTCONN) && HAVE_DECL_SO_ACCEPTCONN) 698 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 699 static_assert((SO_ACCEPTCONN) == (16412), "SO_ACCEPTCONN != 16412"); 700 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 701 #else 702 # define SO_ACCEPTCONN 16412 703 #endif 704 #elif defined __sparc__ 705 #if defined(SO_ACCEPTCONN) || (defined(HAVE_DECL_SO_ACCEPTCONN) && HAVE_DECL_SO_ACCEPTCONN) 706 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 707 static_assert((SO_ACCEPTCONN) == (32768), "SO_ACCEPTCONN != 32768"); 708 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 709 #else 710 # define SO_ACCEPTCONN 32768 711 #endif 712 #else 713 #if defined(SO_ACCEPTCONN) || (defined(HAVE_DECL_SO_ACCEPTCONN) && HAVE_DECL_SO_ACCEPTCONN) 714 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 715 static_assert((SO_ACCEPTCONN) == (30), "SO_ACCEPTCONN != 30"); 716 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 717 #else 718 # define SO_ACCEPTCONN 30 719 #endif 720 #endif 721 #if defined __alpha__ || defined __mips__ || defined __sparc__ 722 #if defined(SO_PEERSEC) || (defined(HAVE_DECL_SO_PEERSEC) && HAVE_DECL_SO_PEERSEC) 723 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 724 static_assert((SO_PEERSEC) == (30), "SO_PEERSEC != 30"); 725 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 726 #else 727 # define SO_PEERSEC 30 728 #endif 729 #elif defined __hppa__ 730 #if defined(SO_PEERSEC) || (defined(HAVE_DECL_SO_PEERSEC) && HAVE_DECL_SO_PEERSEC) 731 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 732 static_assert((SO_PEERSEC) == (16413), "SO_PEERSEC != 16413"); 733 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 734 #else 735 # define SO_PEERSEC 16413 736 #endif 737 #else 738 #if defined(SO_PEERSEC) || (defined(HAVE_DECL_SO_PEERSEC) && HAVE_DECL_SO_PEERSEC) 739 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 740 static_assert((SO_PEERSEC) == (31), "SO_PEERSEC != 31"); 741 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 742 #else 743 # define SO_PEERSEC 31 744 #endif 745 #endif 746 #if defined __mips__ 747 #if defined(SO_SNDBUFFORCE) || (defined(HAVE_DECL_SO_SNDBUFFORCE) && HAVE_DECL_SO_SNDBUFFORCE) 748 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 749 static_assert((SO_SNDBUFFORCE) == (31), "SO_SNDBUFFORCE != 31"); 750 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 751 #else 752 # define SO_SNDBUFFORCE 31 753 #endif 754 #elif defined __alpha__ || defined __hppa__ || defined __sparc__ 755 #if defined(SO_SNDBUFFORCE) || (defined(HAVE_DECL_SO_SNDBUFFORCE) && HAVE_DECL_SO_SNDBUFFORCE) 756 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 757 static_assert((SO_SNDBUFFORCE) == (4106), "SO_SNDBUFFORCE != 4106"); 758 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 759 #else 760 # define SO_SNDBUFFORCE 4106 761 #endif 762 #else 763 #if defined(SO_SNDBUFFORCE) || (defined(HAVE_DECL_SO_SNDBUFFORCE) && HAVE_DECL_SO_SNDBUFFORCE) 764 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 765 static_assert((SO_SNDBUFFORCE) == (32), "SO_SNDBUFFORCE != 32"); 766 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 767 #else 768 # define SO_SNDBUFFORCE 32 769 #endif 770 #endif 771 #if defined __alpha__ || defined __hppa__ || defined __sparc__ 772 #if defined(SO_RCVBUFFORCE) || (defined(HAVE_DECL_SO_RCVBUFFORCE) && HAVE_DECL_SO_RCVBUFFORCE) 773 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 774 static_assert((SO_RCVBUFFORCE) == (4107), "SO_RCVBUFFORCE != 4107"); 775 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 776 #else 777 # define SO_RCVBUFFORCE 4107 778 #endif 779 #else 780 #if defined(SO_RCVBUFFORCE) || (defined(HAVE_DECL_SO_RCVBUFFORCE) && HAVE_DECL_SO_RCVBUFFORCE) 781 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 782 static_assert((SO_RCVBUFFORCE) == (33), "SO_RCVBUFFORCE != 33"); 783 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 784 #else 785 # define SO_RCVBUFFORCE 33 786 #endif 787 #endif 788 #if defined __sparc__ 789 #if defined(SO_PASSSEC) || (defined(HAVE_DECL_SO_PASSSEC) && HAVE_DECL_SO_PASSSEC) 790 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 791 static_assert((SO_PASSSEC) == (31), "SO_PASSSEC != 31"); 792 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 793 #else 794 # define SO_PASSSEC 31 795 #endif 796 #elif defined __hppa__ 797 #if defined(SO_PASSSEC) || (defined(HAVE_DECL_SO_PASSSEC) && HAVE_DECL_SO_PASSSEC) 798 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 799 static_assert((SO_PASSSEC) == (16414), "SO_PASSSEC != 16414"); 800 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 801 #else 802 # define SO_PASSSEC 16414 803 #endif 804 #else 805 #if defined(SO_PASSSEC) || (defined(HAVE_DECL_SO_PASSSEC) && HAVE_DECL_SO_PASSSEC) 806 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 807 static_assert((SO_PASSSEC) == (34), "SO_PASSSEC != 34"); 808 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 809 #else 810 # define SO_PASSSEC 34 811 #endif 812 #endif 813 #if defined __sparc__ 814 #if defined(SO_TIMESTAMPNS) || (defined(HAVE_DECL_SO_TIMESTAMPNS) && HAVE_DECL_SO_TIMESTAMPNS) 815 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 816 static_assert((SO_TIMESTAMPNS) == (33), "SO_TIMESTAMPNS != 33"); 817 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 818 #else 819 # define SO_TIMESTAMPNS 33 820 #endif 821 #elif defined __hppa__ 822 #if defined(SO_TIMESTAMPNS) || (defined(HAVE_DECL_SO_TIMESTAMPNS) && HAVE_DECL_SO_TIMESTAMPNS) 823 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 824 static_assert((SO_TIMESTAMPNS) == (16403), "SO_TIMESTAMPNS != 16403"); 825 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 826 #else 827 # define SO_TIMESTAMPNS 16403 828 #endif 829 #else 830 #if defined(SO_TIMESTAMPNS) || (defined(HAVE_DECL_SO_TIMESTAMPNS) && HAVE_DECL_SO_TIMESTAMPNS) 831 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 832 static_assert((SO_TIMESTAMPNS) == (35), "SO_TIMESTAMPNS != 35"); 833 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 834 #else 835 # define SO_TIMESTAMPNS 35 836 #endif 837 #endif 838 #if defined __sparc__ 839 #if defined(SO_MARK) || (defined(HAVE_DECL_SO_MARK) && HAVE_DECL_SO_MARK) 840 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 841 static_assert((SO_MARK) == (34), "SO_MARK != 34"); 842 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 843 #else 844 # define SO_MARK 34 845 #endif 846 #elif defined __hppa__ 847 #if defined(SO_MARK) || (defined(HAVE_DECL_SO_MARK) && HAVE_DECL_SO_MARK) 848 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 849 static_assert((SO_MARK) == (16415), "SO_MARK != 16415"); 850 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 851 #else 852 # define SO_MARK 16415 853 #endif 854 #else 855 #if defined(SO_MARK) || (defined(HAVE_DECL_SO_MARK) && HAVE_DECL_SO_MARK) 856 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 857 static_assert((SO_MARK) == (36), "SO_MARK != 36"); 858 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 859 #else 860 # define SO_MARK 36 861 #endif 862 #endif 863 #if defined __sparc__ 864 #if defined(SO_TIMESTAMPING) || (defined(HAVE_DECL_SO_TIMESTAMPING) && HAVE_DECL_SO_TIMESTAMPING) 865 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 866 static_assert((SO_TIMESTAMPING) == (35), "SO_TIMESTAMPING != 35"); 867 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 868 #else 869 # define SO_TIMESTAMPING 35 870 #endif 871 #elif defined __hppa__ 872 #if defined(SO_TIMESTAMPING) || (defined(HAVE_DECL_SO_TIMESTAMPING) && HAVE_DECL_SO_TIMESTAMPING) 873 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 874 static_assert((SO_TIMESTAMPING) == (16416), "SO_TIMESTAMPING != 16416"); 875 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 876 #else 877 # define SO_TIMESTAMPING 16416 878 #endif 879 #else 880 #if defined(SO_TIMESTAMPING) || (defined(HAVE_DECL_SO_TIMESTAMPING) && HAVE_DECL_SO_TIMESTAMPING) 881 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 882 static_assert((SO_TIMESTAMPING) == (37), "SO_TIMESTAMPING != 37"); 883 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 884 #else 885 # define SO_TIMESTAMPING 37 886 #endif 887 #endif 888 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 889 #if defined(SO_PROTOCOL) || (defined(HAVE_DECL_SO_PROTOCOL) && HAVE_DECL_SO_PROTOCOL) 890 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 891 static_assert((SO_PROTOCOL) == (4136), "SO_PROTOCOL != 4136"); 892 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 893 #else 894 # define SO_PROTOCOL 4136 895 #endif 896 #else 897 #if defined(SO_PROTOCOL) || (defined(HAVE_DECL_SO_PROTOCOL) && HAVE_DECL_SO_PROTOCOL) 898 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 899 static_assert((SO_PROTOCOL) == (38), "SO_PROTOCOL != 38"); 900 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 901 #else 902 # define SO_PROTOCOL 38 903 #endif 904 #endif 905 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 906 #if defined(SO_DOMAIN) || (defined(HAVE_DECL_SO_DOMAIN) && HAVE_DECL_SO_DOMAIN) 907 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 908 static_assert((SO_DOMAIN) == (4137), "SO_DOMAIN != 4137"); 909 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 910 #else 911 # define SO_DOMAIN 4137 912 #endif 913 #else 914 #if defined(SO_DOMAIN) || (defined(HAVE_DECL_SO_DOMAIN) && HAVE_DECL_SO_DOMAIN) 915 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 916 static_assert((SO_DOMAIN) == (39), "SO_DOMAIN != 39"); 917 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 918 #else 919 # define SO_DOMAIN 39 920 #endif 921 #endif 922 #if defined __sparc__ 923 #if defined(SO_RXQ_OVFL) || (defined(HAVE_DECL_SO_RXQ_OVFL) && HAVE_DECL_SO_RXQ_OVFL) 924 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 925 static_assert((SO_RXQ_OVFL) == (36), "SO_RXQ_OVFL != 36"); 926 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 927 #else 928 # define SO_RXQ_OVFL 36 929 #endif 930 #elif defined __hppa__ 931 #if defined(SO_RXQ_OVFL) || (defined(HAVE_DECL_SO_RXQ_OVFL) && HAVE_DECL_SO_RXQ_OVFL) 932 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 933 static_assert((SO_RXQ_OVFL) == (16417), "SO_RXQ_OVFL != 16417"); 934 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 935 #else 936 # define SO_RXQ_OVFL 16417 937 #endif 938 #else 939 #if defined(SO_RXQ_OVFL) || (defined(HAVE_DECL_SO_RXQ_OVFL) && HAVE_DECL_SO_RXQ_OVFL) 940 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 941 static_assert((SO_RXQ_OVFL) == (40), "SO_RXQ_OVFL != 40"); 942 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 943 #else 944 # define SO_RXQ_OVFL 40 945 #endif 946 #endif 947 #if defined __sparc__ 948 #if defined(SO_WIFI_STATUS) || (defined(HAVE_DECL_SO_WIFI_STATUS) && HAVE_DECL_SO_WIFI_STATUS) 949 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 950 static_assert((SO_WIFI_STATUS) == (37), "SO_WIFI_STATUS != 37"); 951 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 952 #else 953 # define SO_WIFI_STATUS 37 954 #endif 955 #elif defined __hppa__ 956 #if defined(SO_WIFI_STATUS) || (defined(HAVE_DECL_SO_WIFI_STATUS) && HAVE_DECL_SO_WIFI_STATUS) 957 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 958 static_assert((SO_WIFI_STATUS) == (16418), "SO_WIFI_STATUS != 16418"); 959 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 960 #else 961 # define SO_WIFI_STATUS 16418 962 #endif 963 #else 964 #if defined(SO_WIFI_STATUS) || (defined(HAVE_DECL_SO_WIFI_STATUS) && HAVE_DECL_SO_WIFI_STATUS) 965 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 966 static_assert((SO_WIFI_STATUS) == (41), "SO_WIFI_STATUS != 41"); 967 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 968 #else 969 # define SO_WIFI_STATUS 41 970 #endif 971 #endif 972 #if defined __sparc__ 973 #if defined(SO_PEEK_OFF) || (defined(HAVE_DECL_SO_PEEK_OFF) && HAVE_DECL_SO_PEEK_OFF) 974 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 975 static_assert((SO_PEEK_OFF) == (38), "SO_PEEK_OFF != 38"); 976 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 977 #else 978 # define SO_PEEK_OFF 38 979 #endif 980 #elif defined __hppa__ 981 #if defined(SO_PEEK_OFF) || (defined(HAVE_DECL_SO_PEEK_OFF) && HAVE_DECL_SO_PEEK_OFF) 982 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 983 static_assert((SO_PEEK_OFF) == (16419), "SO_PEEK_OFF != 16419"); 984 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 985 #else 986 # define SO_PEEK_OFF 16419 987 #endif 988 #else 989 #if defined(SO_PEEK_OFF) || (defined(HAVE_DECL_SO_PEEK_OFF) && HAVE_DECL_SO_PEEK_OFF) 990 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 991 static_assert((SO_PEEK_OFF) == (42), "SO_PEEK_OFF != 42"); 992 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 993 #else 994 # define SO_PEEK_OFF 42 995 #endif 996 #endif 997 #if defined __sparc__ 998 #if defined(SO_NOFCS) || (defined(HAVE_DECL_SO_NOFCS) && HAVE_DECL_SO_NOFCS) 999 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1000 static_assert((SO_NOFCS) == (39), "SO_NOFCS != 39"); 1001 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1002 #else 1003 # define SO_NOFCS 39 1004 #endif 1005 #elif defined __hppa__ 1006 #if defined(SO_NOFCS) || (defined(HAVE_DECL_SO_NOFCS) && HAVE_DECL_SO_NOFCS) 1007 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1008 static_assert((SO_NOFCS) == (16420), "SO_NOFCS != 16420"); 1009 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1010 #else 1011 # define SO_NOFCS 16420 1012 #endif 1013 #else 1014 #if defined(SO_NOFCS) || (defined(HAVE_DECL_SO_NOFCS) && HAVE_DECL_SO_NOFCS) 1015 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1016 static_assert((SO_NOFCS) == (43), "SO_NOFCS != 43"); 1017 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1018 #else 1019 # define SO_NOFCS 43 1020 #endif 1021 #endif 1022 #if defined __sparc__ 1023 #if defined(SO_LOCK_FILTER) || (defined(HAVE_DECL_SO_LOCK_FILTER) && HAVE_DECL_SO_LOCK_FILTER) 1024 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1025 static_assert((SO_LOCK_FILTER) == (40), "SO_LOCK_FILTER != 40"); 1026 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1027 #else 1028 # define SO_LOCK_FILTER 40 1029 #endif 1030 #elif defined __hppa__ 1031 #if defined(SO_LOCK_FILTER) || (defined(HAVE_DECL_SO_LOCK_FILTER) && HAVE_DECL_SO_LOCK_FILTER) 1032 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1033 static_assert((SO_LOCK_FILTER) == (16421), "SO_LOCK_FILTER != 16421"); 1034 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1035 #else 1036 # define SO_LOCK_FILTER 16421 1037 #endif 1038 #else 1039 #if defined(SO_LOCK_FILTER) || (defined(HAVE_DECL_SO_LOCK_FILTER) && HAVE_DECL_SO_LOCK_FILTER) 1040 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1041 static_assert((SO_LOCK_FILTER) == (44), "SO_LOCK_FILTER != 44"); 1042 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1043 #else 1044 # define SO_LOCK_FILTER 44 1045 #endif 1046 #endif 1047 #if defined __sparc__ 1048 #if defined(SO_SELECT_ERR_QUEUE) || (defined(HAVE_DECL_SO_SELECT_ERR_QUEUE) && HAVE_DECL_SO_SELECT_ERR_QUEUE) 1049 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1050 static_assert((SO_SELECT_ERR_QUEUE) == (41), "SO_SELECT_ERR_QUEUE != 41"); 1051 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1052 #else 1053 # define SO_SELECT_ERR_QUEUE 41 1054 #endif 1055 #elif defined __hppa__ 1056 #if defined(SO_SELECT_ERR_QUEUE) || (defined(HAVE_DECL_SO_SELECT_ERR_QUEUE) && HAVE_DECL_SO_SELECT_ERR_QUEUE) 1057 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1058 static_assert((SO_SELECT_ERR_QUEUE) == (16422), "SO_SELECT_ERR_QUEUE != 16422"); 1059 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1060 #else 1061 # define SO_SELECT_ERR_QUEUE 16422 1062 #endif 1063 #else 1064 #if defined(SO_SELECT_ERR_QUEUE) || (defined(HAVE_DECL_SO_SELECT_ERR_QUEUE) && HAVE_DECL_SO_SELECT_ERR_QUEUE) 1065 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1066 static_assert((SO_SELECT_ERR_QUEUE) == (45), "SO_SELECT_ERR_QUEUE != 45"); 1067 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1068 #else 1069 # define SO_SELECT_ERR_QUEUE 45 1070 #endif 1071 #endif 1072 #if defined __sparc__ 1073 #if defined(SO_BUSY_POLL) || (defined(HAVE_DECL_SO_BUSY_POLL) && HAVE_DECL_SO_BUSY_POLL) 1074 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1075 static_assert((SO_BUSY_POLL) == (48), "SO_BUSY_POLL != 48"); 1076 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1077 #else 1078 # define SO_BUSY_POLL 48 1079 #endif 1080 #elif defined __hppa__ 1081 #if defined(SO_BUSY_POLL) || (defined(HAVE_DECL_SO_BUSY_POLL) && HAVE_DECL_SO_BUSY_POLL) 1082 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1083 static_assert((SO_BUSY_POLL) == (16423), "SO_BUSY_POLL != 16423"); 1084 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1085 #else 1086 # define SO_BUSY_POLL 16423 1087 #endif 1088 #else 1089 #if defined(SO_BUSY_POLL) || (defined(HAVE_DECL_SO_BUSY_POLL) && HAVE_DECL_SO_BUSY_POLL) 1090 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1091 static_assert((SO_BUSY_POLL) == (46), "SO_BUSY_POLL != 46"); 1092 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1093 #else 1094 # define SO_BUSY_POLL 46 1095 #endif 1096 #endif 1097 #if defined __sparc__ 1098 #if defined(SO_MAX_PACING_RATE) || (defined(HAVE_DECL_SO_MAX_PACING_RATE) && HAVE_DECL_SO_MAX_PACING_RATE) 1099 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1100 static_assert((SO_MAX_PACING_RATE) == (49), "SO_MAX_PACING_RATE != 49"); 1101 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1102 #else 1103 # define SO_MAX_PACING_RATE 49 1104 #endif 1105 #elif defined __hppa__ 1106 #if defined(SO_MAX_PACING_RATE) || (defined(HAVE_DECL_SO_MAX_PACING_RATE) && HAVE_DECL_SO_MAX_PACING_RATE) 1107 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1108 static_assert((SO_MAX_PACING_RATE) == (16424), "SO_MAX_PACING_RATE != 16424"); 1109 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1110 #else 1111 # define SO_MAX_PACING_RATE 16424 1112 #endif 1113 #else 1114 #if defined(SO_MAX_PACING_RATE) || (defined(HAVE_DECL_SO_MAX_PACING_RATE) && HAVE_DECL_SO_MAX_PACING_RATE) 1115 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1116 static_assert((SO_MAX_PACING_RATE) == (47), "SO_MAX_PACING_RATE != 47"); 1117 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1118 #else 1119 # define SO_MAX_PACING_RATE 47 1120 #endif 1121 #endif 1122 #if defined __sparc__ 1123 #if defined(SO_BPF_EXTENSIONS) || (defined(HAVE_DECL_SO_BPF_EXTENSIONS) && HAVE_DECL_SO_BPF_EXTENSIONS) 1124 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1125 static_assert((SO_BPF_EXTENSIONS) == (50), "SO_BPF_EXTENSIONS != 50"); 1126 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1127 #else 1128 # define SO_BPF_EXTENSIONS 50 1129 #endif 1130 #elif defined __hppa__ 1131 #if defined(SO_BPF_EXTENSIONS) || (defined(HAVE_DECL_SO_BPF_EXTENSIONS) && HAVE_DECL_SO_BPF_EXTENSIONS) 1132 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1133 static_assert((SO_BPF_EXTENSIONS) == (16425), "SO_BPF_EXTENSIONS != 16425"); 1134 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1135 #else 1136 # define SO_BPF_EXTENSIONS 16425 1137 #endif 1138 #else 1139 #if defined(SO_BPF_EXTENSIONS) || (defined(HAVE_DECL_SO_BPF_EXTENSIONS) && HAVE_DECL_SO_BPF_EXTENSIONS) 1140 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1141 static_assert((SO_BPF_EXTENSIONS) == (48), "SO_BPF_EXTENSIONS != 48"); 1142 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1143 #else 1144 # define SO_BPF_EXTENSIONS 48 1145 #endif 1146 #endif 1147 #if defined __sparc__ 1148 #if defined(SO_INCOMING_CPU) || (defined(HAVE_DECL_SO_INCOMING_CPU) && HAVE_DECL_SO_INCOMING_CPU) 1149 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1150 static_assert((SO_INCOMING_CPU) == (51), "SO_INCOMING_CPU != 51"); 1151 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1152 #else 1153 # define SO_INCOMING_CPU 51 1154 #endif 1155 #elif defined __hppa__ 1156 #if defined(SO_INCOMING_CPU) || (defined(HAVE_DECL_SO_INCOMING_CPU) && HAVE_DECL_SO_INCOMING_CPU) 1157 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1158 static_assert((SO_INCOMING_CPU) == (16426), "SO_INCOMING_CPU != 16426"); 1159 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1160 #else 1161 # define SO_INCOMING_CPU 16426 1162 #endif 1163 #else 1164 #if defined(SO_INCOMING_CPU) || (defined(HAVE_DECL_SO_INCOMING_CPU) && HAVE_DECL_SO_INCOMING_CPU) 1165 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1166 static_assert((SO_INCOMING_CPU) == (49), "SO_INCOMING_CPU != 49"); 1167 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1168 #else 1169 # define SO_INCOMING_CPU 49 1170 #endif 1171 #endif 1172 #if defined __sparc__ 1173 #if defined(SO_ATTACH_BPF) || (defined(HAVE_DECL_SO_ATTACH_BPF) && HAVE_DECL_SO_ATTACH_BPF) 1174 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1175 static_assert((SO_ATTACH_BPF) == (52), "SO_ATTACH_BPF != 52"); 1176 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1177 #else 1178 # define SO_ATTACH_BPF 52 1179 #endif 1180 #elif defined __hppa__ 1181 #if defined(SO_ATTACH_BPF) || (defined(HAVE_DECL_SO_ATTACH_BPF) && HAVE_DECL_SO_ATTACH_BPF) 1182 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1183 static_assert((SO_ATTACH_BPF) == (16427), "SO_ATTACH_BPF != 16427"); 1184 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1185 #else 1186 # define SO_ATTACH_BPF 16427 1187 #endif 1188 #else 1189 #if defined(SO_ATTACH_BPF) || (defined(HAVE_DECL_SO_ATTACH_BPF) && HAVE_DECL_SO_ATTACH_BPF) 1190 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1191 static_assert((SO_ATTACH_BPF) == (50), "SO_ATTACH_BPF != 50"); 1192 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1193 #else 1194 # define SO_ATTACH_BPF 50 1195 #endif 1196 #endif 1197 #if defined __sparc__ 1198 #if defined(SO_ATTACH_REUSEPORT_CBPF) || (defined(HAVE_DECL_SO_ATTACH_REUSEPORT_CBPF) && HAVE_DECL_SO_ATTACH_REUSEPORT_CBPF) 1199 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1200 static_assert((SO_ATTACH_REUSEPORT_CBPF) == (53), "SO_ATTACH_REUSEPORT_CBPF != 53"); 1201 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1202 #else 1203 # define SO_ATTACH_REUSEPORT_CBPF 53 1204 #endif 1205 #elif defined __hppa__ 1206 #if defined(SO_ATTACH_REUSEPORT_CBPF) || (defined(HAVE_DECL_SO_ATTACH_REUSEPORT_CBPF) && HAVE_DECL_SO_ATTACH_REUSEPORT_CBPF) 1207 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1208 static_assert((SO_ATTACH_REUSEPORT_CBPF) == (16428), "SO_ATTACH_REUSEPORT_CBPF != 16428"); 1209 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1210 #else 1211 # define SO_ATTACH_REUSEPORT_CBPF 16428 1212 #endif 1213 #else 1214 #if defined(SO_ATTACH_REUSEPORT_CBPF) || (defined(HAVE_DECL_SO_ATTACH_REUSEPORT_CBPF) && HAVE_DECL_SO_ATTACH_REUSEPORT_CBPF) 1215 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1216 static_assert((SO_ATTACH_REUSEPORT_CBPF) == (51), "SO_ATTACH_REUSEPORT_CBPF != 51"); 1217 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1218 #else 1219 # define SO_ATTACH_REUSEPORT_CBPF 51 1220 #endif 1221 #endif 1222 #if defined __sparc__ 1223 #if defined(SO_ATTACH_REUSEPORT_EBPF) || (defined(HAVE_DECL_SO_ATTACH_REUSEPORT_EBPF) && HAVE_DECL_SO_ATTACH_REUSEPORT_EBPF) 1224 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1225 static_assert((SO_ATTACH_REUSEPORT_EBPF) == (54), "SO_ATTACH_REUSEPORT_EBPF != 54"); 1226 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1227 #else 1228 # define SO_ATTACH_REUSEPORT_EBPF 54 1229 #endif 1230 #elif defined __hppa__ 1231 #if defined(SO_ATTACH_REUSEPORT_EBPF) || (defined(HAVE_DECL_SO_ATTACH_REUSEPORT_EBPF) && HAVE_DECL_SO_ATTACH_REUSEPORT_EBPF) 1232 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1233 static_assert((SO_ATTACH_REUSEPORT_EBPF) == (16429), "SO_ATTACH_REUSEPORT_EBPF != 16429"); 1234 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1235 #else 1236 # define SO_ATTACH_REUSEPORT_EBPF 16429 1237 #endif 1238 #else 1239 #if defined(SO_ATTACH_REUSEPORT_EBPF) || (defined(HAVE_DECL_SO_ATTACH_REUSEPORT_EBPF) && HAVE_DECL_SO_ATTACH_REUSEPORT_EBPF) 1240 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1241 static_assert((SO_ATTACH_REUSEPORT_EBPF) == (52), "SO_ATTACH_REUSEPORT_EBPF != 52"); 1242 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1243 #else 1244 # define SO_ATTACH_REUSEPORT_EBPF 52 1245 #endif 1246 #endif 1247 #if defined __sparc__ 1248 #if defined(SO_CNX_ADVICE) || (defined(HAVE_DECL_SO_CNX_ADVICE) && HAVE_DECL_SO_CNX_ADVICE) 1249 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1250 static_assert((SO_CNX_ADVICE) == (55), "SO_CNX_ADVICE != 55"); 1251 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1252 #else 1253 # define SO_CNX_ADVICE 55 1254 #endif 1255 #elif defined __hppa__ 1256 #if defined(SO_CNX_ADVICE) || (defined(HAVE_DECL_SO_CNX_ADVICE) && HAVE_DECL_SO_CNX_ADVICE) 1257 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1258 static_assert((SO_CNX_ADVICE) == (16430), "SO_CNX_ADVICE != 16430"); 1259 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1260 #else 1261 # define SO_CNX_ADVICE 16430 1262 #endif 1263 #else 1264 #if defined(SO_CNX_ADVICE) || (defined(HAVE_DECL_SO_CNX_ADVICE) && HAVE_DECL_SO_CNX_ADVICE) 1265 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1266 static_assert((SO_CNX_ADVICE) == (53), "SO_CNX_ADVICE != 53"); 1267 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1268 #else 1269 # define SO_CNX_ADVICE 53 1270 #endif 1271 #endif 1272 #if defined __sparc__ 1273 #if defined(SO_MEMINFO) || (defined(HAVE_DECL_SO_MEMINFO) && HAVE_DECL_SO_MEMINFO) 1274 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1275 static_assert((SO_MEMINFO) == (57), "SO_MEMINFO != 57"); 1276 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1277 #else 1278 # define SO_MEMINFO 57 1279 #endif 1280 #elif defined __hppa__ 1281 #if defined(SO_MEMINFO) || (defined(HAVE_DECL_SO_MEMINFO) && HAVE_DECL_SO_MEMINFO) 1282 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1283 static_assert((SO_MEMINFO) == (16432), "SO_MEMINFO != 16432"); 1284 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1285 #else 1286 # define SO_MEMINFO 16432 1287 #endif 1288 #else 1289 #if defined(SO_MEMINFO) || (defined(HAVE_DECL_SO_MEMINFO) && HAVE_DECL_SO_MEMINFO) 1290 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1291 static_assert((SO_MEMINFO) == (55), "SO_MEMINFO != 55"); 1292 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1293 #else 1294 # define SO_MEMINFO 55 1295 #endif 1296 #endif 1297 #if defined __sparc__ 1298 #if defined(SO_INCOMING_NAPI_ID) || (defined(HAVE_DECL_SO_INCOMING_NAPI_ID) && HAVE_DECL_SO_INCOMING_NAPI_ID) 1299 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1300 static_assert((SO_INCOMING_NAPI_ID) == (58), "SO_INCOMING_NAPI_ID != 58"); 1301 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1302 #else 1303 # define SO_INCOMING_NAPI_ID 58 1304 #endif 1305 #elif defined __hppa__ 1306 #if defined(SO_INCOMING_NAPI_ID) || (defined(HAVE_DECL_SO_INCOMING_NAPI_ID) && HAVE_DECL_SO_INCOMING_NAPI_ID) 1307 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1308 static_assert((SO_INCOMING_NAPI_ID) == (16433), "SO_INCOMING_NAPI_ID != 16433"); 1309 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1310 #else 1311 # define SO_INCOMING_NAPI_ID 16433 1312 #endif 1313 #else 1314 #if defined(SO_INCOMING_NAPI_ID) || (defined(HAVE_DECL_SO_INCOMING_NAPI_ID) && HAVE_DECL_SO_INCOMING_NAPI_ID) 1315 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1316 static_assert((SO_INCOMING_NAPI_ID) == (56), "SO_INCOMING_NAPI_ID != 56"); 1317 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1318 #else 1319 # define SO_INCOMING_NAPI_ID 56 1320 #endif 1321 #endif 1322 #if defined __sparc__ 1323 #if defined(SO_COOKIE) || (defined(HAVE_DECL_SO_COOKIE) && HAVE_DECL_SO_COOKIE) 1324 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1325 static_assert((SO_COOKIE) == (59), "SO_COOKIE != 59"); 1326 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1327 #else 1328 # define SO_COOKIE 59 1329 #endif 1330 #elif defined __hppa__ 1331 #if defined(SO_COOKIE) || (defined(HAVE_DECL_SO_COOKIE) && HAVE_DECL_SO_COOKIE) 1332 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1333 static_assert((SO_COOKIE) == (16434), "SO_COOKIE != 16434"); 1334 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1335 #else 1336 # define SO_COOKIE 16434 1337 #endif 1338 #else 1339 #if defined(SO_COOKIE) || (defined(HAVE_DECL_SO_COOKIE) && HAVE_DECL_SO_COOKIE) 1340 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1341 static_assert((SO_COOKIE) == (57), "SO_COOKIE != 57"); 1342 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1343 #else 1344 # define SO_COOKIE 57 1345 #endif 1346 #endif 1347 #if defined __sparc__ 1348 #if defined(SO_PEERGROUPS) || (defined(HAVE_DECL_SO_PEERGROUPS) && HAVE_DECL_SO_PEERGROUPS) 1349 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1350 static_assert((SO_PEERGROUPS) == (61), "SO_PEERGROUPS != 61"); 1351 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1352 #else 1353 # define SO_PEERGROUPS 61 1354 #endif 1355 #elif defined __hppa__ 1356 #if defined(SO_PEERGROUPS) || (defined(HAVE_DECL_SO_PEERGROUPS) && HAVE_DECL_SO_PEERGROUPS) 1357 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1358 static_assert((SO_PEERGROUPS) == (16436), "SO_PEERGROUPS != 16436"); 1359 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1360 #else 1361 # define SO_PEERGROUPS 16436 1362 #endif 1363 #else 1364 #if defined(SO_PEERGROUPS) || (defined(HAVE_DECL_SO_PEERGROUPS) && HAVE_DECL_SO_PEERGROUPS) 1365 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1366 static_assert((SO_PEERGROUPS) == (59), "SO_PEERGROUPS != 59"); 1367 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1368 #else 1369 # define SO_PEERGROUPS 59 1370 #endif 1371 #endif 1372 #if defined __sparc__ 1373 #if defined(SO_ZEROCOPY) || (defined(HAVE_DECL_SO_ZEROCOPY) && HAVE_DECL_SO_ZEROCOPY) 1374 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1375 static_assert((SO_ZEROCOPY) == (62), "SO_ZEROCOPY != 62"); 1376 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1377 #else 1378 # define SO_ZEROCOPY 62 1379 #endif 1380 #elif defined __hppa__ 1381 #if defined(SO_ZEROCOPY) || (defined(HAVE_DECL_SO_ZEROCOPY) && HAVE_DECL_SO_ZEROCOPY) 1382 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1383 static_assert((SO_ZEROCOPY) == (16437), "SO_ZEROCOPY != 16437"); 1384 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1385 #else 1386 # define SO_ZEROCOPY 16437 1387 #endif 1388 #else 1389 #if defined(SO_ZEROCOPY) || (defined(HAVE_DECL_SO_ZEROCOPY) && HAVE_DECL_SO_ZEROCOPY) 1390 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1391 static_assert((SO_ZEROCOPY) == (60), "SO_ZEROCOPY != 60"); 1392 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1393 #else 1394 # define SO_ZEROCOPY 60 1395 #endif 1396 #endif 1397 #if defined __sparc__ 1398 #if defined(SO_TXTIME) || (defined(HAVE_DECL_SO_TXTIME) && HAVE_DECL_SO_TXTIME) 1399 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1400 static_assert((SO_TXTIME) == (63), "SO_TXTIME != 63"); 1401 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1402 #else 1403 # define SO_TXTIME 63 1404 #endif 1405 #elif defined __hppa__ 1406 #if defined(SO_TXTIME) || (defined(HAVE_DECL_SO_TXTIME) && HAVE_DECL_SO_TXTIME) 1407 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1408 static_assert((SO_TXTIME) == (16438), "SO_TXTIME != 16438"); 1409 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1410 #else 1411 # define SO_TXTIME 16438 1412 #endif 1413 #else 1414 #if defined(SO_TXTIME) || (defined(HAVE_DECL_SO_TXTIME) && HAVE_DECL_SO_TXTIME) 1415 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 1416 static_assert((SO_TXTIME) == (61), "SO_TXTIME != 61"); 1417 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 1418 #else 1419 # define SO_TXTIME 61 1420 #endif 1421 #endif 1422 1423 #ifndef XLAT_MACROS_ONLY 1424 1425 # ifdef IN_MPERS 1426 1427 # error static const struct xlat sock_options in mpers mode 1428 1429 # else 1430 1431 static 1432 const struct xlat sock_options[] = { 1433 1434 1435 XLAT(SO_DEBUG), 1436 1437 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1438 XLAT(SO_REUSEADDR), 1439 #else 1440 XLAT(SO_REUSEADDR), 1441 #endif 1442 1443 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1444 XLAT(SO_TYPE), 1445 #else 1446 XLAT(SO_TYPE), 1447 #endif 1448 1449 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1450 XLAT(SO_ERROR), 1451 #else 1452 XLAT(SO_ERROR), 1453 #endif 1454 1455 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1456 XLAT(SO_DONTROUTE), 1457 #else 1458 XLAT(SO_DONTROUTE), 1459 #endif 1460 1461 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1462 XLAT(SO_BROADCAST), 1463 #else 1464 XLAT(SO_BROADCAST), 1465 #endif 1466 1467 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1468 XLAT(SO_SNDBUF), 1469 #else 1470 XLAT(SO_SNDBUF), 1471 #endif 1472 1473 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1474 XLAT(SO_RCVBUF), 1475 #else 1476 XLAT(SO_RCVBUF), 1477 #endif 1478 1479 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1480 XLAT(SO_KEEPALIVE), 1481 #else 1482 XLAT(SO_KEEPALIVE), 1483 #endif 1484 1485 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1486 XLAT(SO_OOBINLINE), 1487 #else 1488 XLAT(SO_OOBINLINE), 1489 #endif 1490 1491 #if defined __hppa__ 1492 XLAT(SO_NO_CHECK), 1493 #else 1494 XLAT(SO_NO_CHECK), 1495 #endif 1496 1497 #if defined __hppa__ 1498 XLAT(SO_PRIORITY), 1499 #else 1500 XLAT(SO_PRIORITY), 1501 #endif 1502 1503 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1504 XLAT(SO_LINGER), 1505 #else 1506 XLAT(SO_LINGER), 1507 #endif 1508 1509 #if defined __sparc__ 1510 XLAT(SO_BSDCOMPAT), 1511 #elif defined __hppa__ 1512 XLAT(SO_BSDCOMPAT), 1513 #else 1514 XLAT(SO_BSDCOMPAT), 1515 #endif 1516 1517 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1518 XLAT(SO_REUSEPORT), 1519 #else 1520 XLAT(SO_REUSEPORT), 1521 #endif 1522 1523 #if defined __sparc__ 1524 XLAT(SO_PASSCRED), 1525 #elif defined __alpha__ || defined __mips__ 1526 XLAT(SO_PASSCRED), 1527 #elif defined __powerpc__ 1528 XLAT(SO_PASSCRED), 1529 #elif defined __hppa__ 1530 XLAT(SO_PASSCRED), 1531 #else 1532 XLAT(SO_PASSCRED), 1533 #endif 1534 1535 #if defined __alpha__ || defined __mips__ 1536 XLAT(SO_PEERCRED), 1537 #elif defined __powerpc__ 1538 XLAT(SO_PEERCRED), 1539 #elif defined __sparc__ 1540 XLAT(SO_PEERCRED), 1541 #elif defined __hppa__ 1542 XLAT(SO_PEERCRED), 1543 #else 1544 XLAT(SO_PEERCRED), 1545 #endif 1546 1547 #if defined __powerpc__ 1548 XLAT(SO_RCVLOWAT), 1549 #elif defined __sparc__ 1550 XLAT(SO_RCVLOWAT), 1551 #elif defined __hppa__ || defined __mips__ 1552 XLAT(SO_RCVLOWAT), 1553 #elif defined __alpha__ 1554 XLAT(SO_RCVLOWAT), 1555 #else 1556 XLAT(SO_RCVLOWAT), 1557 #endif 1558 1559 #if defined __powerpc__ 1560 XLAT(SO_SNDLOWAT), 1561 #elif defined __sparc__ 1562 XLAT(SO_SNDLOWAT), 1563 #elif defined __hppa__ || defined __mips__ 1564 XLAT(SO_SNDLOWAT), 1565 #elif defined __alpha__ 1566 XLAT(SO_SNDLOWAT), 1567 #else 1568 XLAT(SO_SNDLOWAT), 1569 #endif 1570 1571 #if defined __powerpc__ 1572 XLAT(SO_RCVTIMEO), 1573 #elif defined __hppa__ || defined __mips__ 1574 XLAT(SO_RCVTIMEO), 1575 #elif defined __alpha__ 1576 XLAT(SO_RCVTIMEO), 1577 #elif defined __sparc__ 1578 XLAT(SO_RCVTIMEO), 1579 #else 1580 XLAT(SO_RCVTIMEO), 1581 #endif 1582 1583 #if defined __powerpc__ 1584 XLAT(SO_SNDTIMEO), 1585 #elif defined __hppa__ || defined __mips__ 1586 XLAT(SO_SNDTIMEO), 1587 #elif defined __alpha__ 1588 XLAT(SO_SNDTIMEO), 1589 #elif defined __sparc__ 1590 XLAT(SO_SNDTIMEO), 1591 #else 1592 XLAT(SO_SNDTIMEO), 1593 #endif 1594 1595 #if defined __alpha__ 1596 XLAT(SO_SECURITY_AUTHENTICATION), 1597 #elif defined __hppa__ 1598 XLAT(SO_SECURITY_AUTHENTICATION), 1599 #elif defined __sparc__ 1600 XLAT(SO_SECURITY_AUTHENTICATION), 1601 #else 1602 XLAT(SO_SECURITY_AUTHENTICATION), 1603 #endif 1604 1605 #if defined __alpha__ 1606 XLAT(SO_SECURITY_ENCRYPTION_TRANSPORT), 1607 #elif defined __hppa__ 1608 XLAT(SO_SECURITY_ENCRYPTION_TRANSPORT), 1609 #elif defined __sparc__ 1610 XLAT(SO_SECURITY_ENCRYPTION_TRANSPORT), 1611 #else 1612 XLAT(SO_SECURITY_ENCRYPTION_TRANSPORT), 1613 #endif 1614 1615 #if defined __alpha__ 1616 XLAT(SO_SECURITY_ENCRYPTION_NETWORK), 1617 #elif defined __hppa__ 1618 XLAT(SO_SECURITY_ENCRYPTION_NETWORK), 1619 #elif defined __sparc__ 1620 XLAT(SO_SECURITY_ENCRYPTION_NETWORK), 1621 #else 1622 XLAT(SO_SECURITY_ENCRYPTION_NETWORK), 1623 #endif 1624 1625 #if defined __sparc__ 1626 XLAT(SO_BINDTODEVICE), 1627 #elif defined __hppa__ 1628 XLAT(SO_BINDTODEVICE), 1629 #else 1630 XLAT(SO_BINDTODEVICE), 1631 #endif 1632 1633 #if defined __hppa__ 1634 XLAT(SO_DETACH_FILTER), 1635 #else 1636 XLAT(SO_DETACH_FILTER), 1637 #endif 1638 1639 #if defined __hppa__ 1640 XLAT(SO_PEERNAME), 1641 #else 1642 XLAT(SO_PEERNAME), 1643 #endif 1644 1645 #if defined __hppa__ 1646 XLAT(SO_TIMESTAMP), 1647 #else 1648 XLAT(SO_TIMESTAMP), 1649 #endif 1650 1651 #if defined __mips__ 1652 XLAT(SO_ACCEPTCONN), 1653 #elif defined __alpha__ 1654 XLAT(SO_ACCEPTCONN), 1655 #elif defined __hppa__ 1656 XLAT(SO_ACCEPTCONN), 1657 #elif defined __sparc__ 1658 XLAT(SO_ACCEPTCONN), 1659 #else 1660 XLAT(SO_ACCEPTCONN), 1661 #endif 1662 1663 #if defined __alpha__ || defined __mips__ || defined __sparc__ 1664 XLAT(SO_PEERSEC), 1665 #elif defined __hppa__ 1666 XLAT(SO_PEERSEC), 1667 #else 1668 XLAT(SO_PEERSEC), 1669 #endif 1670 1671 #if defined __mips__ 1672 XLAT(SO_SNDBUFFORCE), 1673 #elif defined __alpha__ || defined __hppa__ || defined __sparc__ 1674 XLAT(SO_SNDBUFFORCE), 1675 #else 1676 XLAT(SO_SNDBUFFORCE), 1677 #endif 1678 1679 #if defined __alpha__ || defined __hppa__ || defined __sparc__ 1680 XLAT(SO_RCVBUFFORCE), 1681 #else 1682 XLAT(SO_RCVBUFFORCE), 1683 #endif 1684 1685 #if defined __sparc__ 1686 XLAT(SO_PASSSEC), 1687 #elif defined __hppa__ 1688 XLAT(SO_PASSSEC), 1689 #else 1690 XLAT(SO_PASSSEC), 1691 #endif 1692 1693 #if defined __sparc__ 1694 XLAT(SO_TIMESTAMPNS), 1695 #elif defined __hppa__ 1696 XLAT(SO_TIMESTAMPNS), 1697 #else 1698 XLAT(SO_TIMESTAMPNS), 1699 #endif 1700 1701 #if defined __sparc__ 1702 XLAT(SO_MARK), 1703 #elif defined __hppa__ 1704 XLAT(SO_MARK), 1705 #else 1706 XLAT(SO_MARK), 1707 #endif 1708 1709 #if defined __sparc__ 1710 XLAT(SO_TIMESTAMPING), 1711 #elif defined __hppa__ 1712 XLAT(SO_TIMESTAMPING), 1713 #else 1714 XLAT(SO_TIMESTAMPING), 1715 #endif 1716 1717 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1718 XLAT(SO_PROTOCOL), 1719 #else 1720 XLAT(SO_PROTOCOL), 1721 #endif 1722 1723 #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ 1724 XLAT(SO_DOMAIN), 1725 #else 1726 XLAT(SO_DOMAIN), 1727 #endif 1728 1729 #if defined __sparc__ 1730 XLAT(SO_RXQ_OVFL), 1731 #elif defined __hppa__ 1732 XLAT(SO_RXQ_OVFL), 1733 #else 1734 XLAT(SO_RXQ_OVFL), 1735 #endif 1736 1737 #if defined __sparc__ 1738 XLAT(SO_WIFI_STATUS), 1739 #elif defined __hppa__ 1740 XLAT(SO_WIFI_STATUS), 1741 #else 1742 XLAT(SO_WIFI_STATUS), 1743 #endif 1744 1745 #if defined __sparc__ 1746 XLAT(SO_PEEK_OFF), 1747 #elif defined __hppa__ 1748 XLAT(SO_PEEK_OFF), 1749 #else 1750 XLAT(SO_PEEK_OFF), 1751 #endif 1752 1753 #if defined __sparc__ 1754 XLAT(SO_NOFCS), 1755 #elif defined __hppa__ 1756 XLAT(SO_NOFCS), 1757 #else 1758 XLAT(SO_NOFCS), 1759 #endif 1760 1761 #if defined __sparc__ 1762 XLAT(SO_LOCK_FILTER), 1763 #elif defined __hppa__ 1764 XLAT(SO_LOCK_FILTER), 1765 #else 1766 XLAT(SO_LOCK_FILTER), 1767 #endif 1768 1769 #if defined __sparc__ 1770 XLAT(SO_SELECT_ERR_QUEUE), 1771 #elif defined __hppa__ 1772 XLAT(SO_SELECT_ERR_QUEUE), 1773 #else 1774 XLAT(SO_SELECT_ERR_QUEUE), 1775 #endif 1776 1777 #if defined __sparc__ 1778 XLAT(SO_BUSY_POLL), 1779 #elif defined __hppa__ 1780 XLAT(SO_BUSY_POLL), 1781 #else 1782 XLAT(SO_BUSY_POLL), 1783 #endif 1784 1785 #if defined __sparc__ 1786 XLAT(SO_MAX_PACING_RATE), 1787 #elif defined __hppa__ 1788 XLAT(SO_MAX_PACING_RATE), 1789 #else 1790 XLAT(SO_MAX_PACING_RATE), 1791 #endif 1792 1793 #if defined __sparc__ 1794 XLAT(SO_BPF_EXTENSIONS), 1795 #elif defined __hppa__ 1796 XLAT(SO_BPF_EXTENSIONS), 1797 #else 1798 XLAT(SO_BPF_EXTENSIONS), 1799 #endif 1800 1801 #if defined __sparc__ 1802 XLAT(SO_INCOMING_CPU), 1803 #elif defined __hppa__ 1804 XLAT(SO_INCOMING_CPU), 1805 #else 1806 XLAT(SO_INCOMING_CPU), 1807 #endif 1808 1809 #if defined __sparc__ 1810 XLAT(SO_ATTACH_BPF), 1811 #elif defined __hppa__ 1812 XLAT(SO_ATTACH_BPF), 1813 #else 1814 XLAT(SO_ATTACH_BPF), 1815 #endif 1816 1817 #if defined __sparc__ 1818 XLAT(SO_ATTACH_REUSEPORT_CBPF), 1819 #elif defined __hppa__ 1820 XLAT(SO_ATTACH_REUSEPORT_CBPF), 1821 #else 1822 XLAT(SO_ATTACH_REUSEPORT_CBPF), 1823 #endif 1824 1825 #if defined __sparc__ 1826 XLAT(SO_ATTACH_REUSEPORT_EBPF), 1827 #elif defined __hppa__ 1828 XLAT(SO_ATTACH_REUSEPORT_EBPF), 1829 #else 1830 XLAT(SO_ATTACH_REUSEPORT_EBPF), 1831 #endif 1832 1833 #if defined __sparc__ 1834 XLAT(SO_CNX_ADVICE), 1835 #elif defined __hppa__ 1836 XLAT(SO_CNX_ADVICE), 1837 #else 1838 XLAT(SO_CNX_ADVICE), 1839 #endif 1840 1841 #if defined __sparc__ 1842 XLAT(SO_MEMINFO), 1843 #elif defined __hppa__ 1844 XLAT(SO_MEMINFO), 1845 #else 1846 XLAT(SO_MEMINFO), 1847 #endif 1848 1849 #if defined __sparc__ 1850 XLAT(SO_INCOMING_NAPI_ID), 1851 #elif defined __hppa__ 1852 XLAT(SO_INCOMING_NAPI_ID), 1853 #else 1854 XLAT(SO_INCOMING_NAPI_ID), 1855 #endif 1856 1857 #if defined __sparc__ 1858 XLAT(SO_COOKIE), 1859 #elif defined __hppa__ 1860 XLAT(SO_COOKIE), 1861 #else 1862 XLAT(SO_COOKIE), 1863 #endif 1864 1865 #if defined __sparc__ 1866 XLAT(SO_PEERGROUPS), 1867 #elif defined __hppa__ 1868 XLAT(SO_PEERGROUPS), 1869 #else 1870 XLAT(SO_PEERGROUPS), 1871 #endif 1872 1873 #if defined __sparc__ 1874 XLAT(SO_ZEROCOPY), 1875 #elif defined __hppa__ 1876 XLAT(SO_ZEROCOPY), 1877 #else 1878 XLAT(SO_ZEROCOPY), 1879 #endif 1880 1881 #if defined __sparc__ 1882 XLAT(SO_TXTIME), 1883 #elif defined __hppa__ 1884 XLAT(SO_TXTIME), 1885 #else 1886 XLAT(SO_TXTIME), 1887 #endif 1888 XLAT_END 1889 }; 1890 1891 # endif /* !IN_MPERS */ 1892 1893 #endif /* !XLAT_MACROS_ONLY */ 1894