Ruby 1.9.2p136(2010-12-25revision30365)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# ext/socket/constdefs.h

Go to the documentation of this file.

    00001 /* autogenerated file */
    00002 #if !defined(SOCK_STREAM)
    00003 # if defined(HAVE_CONST_SOCK_STREAM)
    00004 #  define SOCK_STREAM SOCK_STREAM
    00005 # endif
    00006 #endif
    00007 #if !defined(SOCK_DGRAM)
    00008 # if defined(HAVE_CONST_SOCK_DGRAM)
    00009 #  define SOCK_DGRAM SOCK_DGRAM
    00010 # endif
    00011 #endif
    00012 #if !defined(SOCK_RAW)
    00013 # if defined(HAVE_CONST_SOCK_RAW)
    00014 #  define SOCK_RAW SOCK_RAW
    00015 # endif
    00016 #endif
    00017 #if !defined(SOCK_RDM)
    00018 # if defined(HAVE_CONST_SOCK_RDM)
    00019 #  define SOCK_RDM SOCK_RDM
    00020 # endif
    00021 #endif
    00022 #if !defined(SOCK_SEQPACKET)
    00023 # if defined(HAVE_CONST_SOCK_SEQPACKET)
    00024 #  define SOCK_SEQPACKET SOCK_SEQPACKET
    00025 # endif
    00026 #endif
    00027 #if !defined(SOCK_PACKET)
    00028 # if defined(HAVE_CONST_SOCK_PACKET)
    00029 #  define SOCK_PACKET SOCK_PACKET
    00030 # endif
    00031 #endif
    00032 #if !defined(AF_UNSPEC)
    00033 # if defined(HAVE_CONST_AF_UNSPEC)
    00034 #  define AF_UNSPEC AF_UNSPEC
    00035 # endif
    00036 #endif
    00037 #if !defined(PF_UNSPEC)
    00038 # if defined(HAVE_CONST_PF_UNSPEC)
    00039 #  define PF_UNSPEC PF_UNSPEC
    00040 # endif
    00041 #endif
    00042 #if !defined(AF_INET)
    00043 # if defined(HAVE_CONST_AF_INET)
    00044 #  define AF_INET AF_INET
    00045 # endif
    00046 #endif
    00047 #if !defined(PF_INET)
    00048 # if defined(HAVE_CONST_PF_INET)
    00049 #  define PF_INET PF_INET
    00050 # endif
    00051 #endif
    00052 #if !defined(AF_INET6)
    00053 # if defined(HAVE_CONST_AF_INET6)
    00054 #  define AF_INET6 AF_INET6
    00055 # endif
    00056 #endif
    00057 #if !defined(PF_INET6)
    00058 # if defined(HAVE_CONST_PF_INET6)
    00059 #  define PF_INET6 PF_INET6
    00060 # endif
    00061 #endif
    00062 #if !defined(AF_UNIX)
    00063 # if defined(HAVE_CONST_AF_UNIX)
    00064 #  define AF_UNIX AF_UNIX
    00065 # endif
    00066 #endif
    00067 #if !defined(PF_UNIX)
    00068 # if defined(HAVE_CONST_PF_UNIX)
    00069 #  define PF_UNIX PF_UNIX
    00070 # endif
    00071 #endif
    00072 #if !defined(AF_AX25)
    00073 # if defined(HAVE_CONST_AF_AX25)
    00074 #  define AF_AX25 AF_AX25
    00075 # endif
    00076 #endif
    00077 #if !defined(PF_AX25)
    00078 # if defined(HAVE_CONST_PF_AX25)
    00079 #  define PF_AX25 PF_AX25
    00080 # endif
    00081 #endif
    00082 #if !defined(AF_IPX)
    00083 # if defined(HAVE_CONST_AF_IPX)
    00084 #  define AF_IPX AF_IPX
    00085 # endif
    00086 #endif
    00087 #if !defined(PF_IPX)
    00088 # if defined(HAVE_CONST_PF_IPX)
    00089 #  define PF_IPX PF_IPX
    00090 # endif
    00091 #endif
    00092 #if !defined(AF_APPLETALK)
    00093 # if defined(HAVE_CONST_AF_APPLETALK)
    00094 #  define AF_APPLETALK AF_APPLETALK
    00095 # endif
    00096 #endif
    00097 #if !defined(PF_APPLETALK)
    00098 # if defined(HAVE_CONST_PF_APPLETALK)
    00099 #  define PF_APPLETALK PF_APPLETALK
    00100 # endif
    00101 #endif
    00102 #if !defined(AF_LOCAL)
    00103 # if defined(HAVE_CONST_AF_LOCAL)
    00104 #  define AF_LOCAL AF_LOCAL
    00105 # endif
    00106 #endif
    00107 #if !defined(PF_LOCAL)
    00108 # if defined(HAVE_CONST_PF_LOCAL)
    00109 #  define PF_LOCAL PF_LOCAL
    00110 # endif
    00111 #endif
    00112 #if !defined(AF_IMPLINK)
    00113 # if defined(HAVE_CONST_AF_IMPLINK)
    00114 #  define AF_IMPLINK AF_IMPLINK
    00115 # endif
    00116 #endif
    00117 #if !defined(PF_IMPLINK)
    00118 # if defined(HAVE_CONST_PF_IMPLINK)
    00119 #  define PF_IMPLINK PF_IMPLINK
    00120 # endif
    00121 #endif
    00122 #if !defined(AF_PUP)
    00123 # if defined(HAVE_CONST_AF_PUP)
    00124 #  define AF_PUP AF_PUP
    00125 # endif
    00126 #endif
    00127 #if !defined(PF_PUP)
    00128 # if defined(HAVE_CONST_PF_PUP)
    00129 #  define PF_PUP PF_PUP
    00130 # endif
    00131 #endif
    00132 #if !defined(AF_CHAOS)
    00133 # if defined(HAVE_CONST_AF_CHAOS)
    00134 #  define AF_CHAOS AF_CHAOS
    00135 # endif
    00136 #endif
    00137 #if !defined(PF_CHAOS)
    00138 # if defined(HAVE_CONST_PF_CHAOS)
    00139 #  define PF_CHAOS PF_CHAOS
    00140 # endif
    00141 #endif
    00142 #if !defined(AF_NS)
    00143 # if defined(HAVE_CONST_AF_NS)
    00144 #  define AF_NS AF_NS
    00145 # endif
    00146 #endif
    00147 #if !defined(PF_NS)
    00148 # if defined(HAVE_CONST_PF_NS)
    00149 #  define PF_NS PF_NS
    00150 # endif
    00151 #endif
    00152 #if !defined(AF_ISO)
    00153 # if defined(HAVE_CONST_AF_ISO)
    00154 #  define AF_ISO AF_ISO
    00155 # endif
    00156 #endif
    00157 #if !defined(PF_ISO)
    00158 # if defined(HAVE_CONST_PF_ISO)
    00159 #  define PF_ISO PF_ISO
    00160 # endif
    00161 #endif
    00162 #if !defined(AF_OSI)
    00163 # if defined(HAVE_CONST_AF_OSI)
    00164 #  define AF_OSI AF_OSI
    00165 # endif
    00166 #endif
    00167 #if !defined(PF_OSI)
    00168 # if defined(HAVE_CONST_PF_OSI)
    00169 #  define PF_OSI PF_OSI
    00170 # endif
    00171 #endif
    00172 #if !defined(AF_ECMA)
    00173 # if defined(HAVE_CONST_AF_ECMA)
    00174 #  define AF_ECMA AF_ECMA
    00175 # endif
    00176 #endif
    00177 #if !defined(PF_ECMA)
    00178 # if defined(HAVE_CONST_PF_ECMA)
    00179 #  define PF_ECMA PF_ECMA
    00180 # endif
    00181 #endif
    00182 #if !defined(AF_DATAKIT)
    00183 # if defined(HAVE_CONST_AF_DATAKIT)
    00184 #  define AF_DATAKIT AF_DATAKIT
    00185 # endif
    00186 #endif
    00187 #if !defined(PF_DATAKIT)
    00188 # if defined(HAVE_CONST_PF_DATAKIT)
    00189 #  define PF_DATAKIT PF_DATAKIT
    00190 # endif
    00191 #endif
    00192 #if !defined(AF_CCITT)
    00193 # if defined(HAVE_CONST_AF_CCITT)
    00194 #  define AF_CCITT AF_CCITT
    00195 # endif
    00196 #endif
    00197 #if !defined(PF_CCITT)
    00198 # if defined(HAVE_CONST_PF_CCITT)
    00199 #  define PF_CCITT PF_CCITT
    00200 # endif
    00201 #endif
    00202 #if !defined(AF_SNA)
    00203 # if defined(HAVE_CONST_AF_SNA)
    00204 #  define AF_SNA AF_SNA
    00205 # endif
    00206 #endif
    00207 #if !defined(PF_SNA)
    00208 # if defined(HAVE_CONST_PF_SNA)
    00209 #  define PF_SNA PF_SNA
    00210 # endif
    00211 #endif
    00212 #if !defined(AF_DEC)
    00213 # if defined(HAVE_CONST_AF_DEC)
    00214 #  define AF_DEC AF_DEC
    00215 # endif
    00216 #endif
    00217 #if !defined(PF_DEC)
    00218 # if defined(HAVE_CONST_PF_DEC)
    00219 #  define PF_DEC PF_DEC
    00220 # endif
    00221 #endif
    00222 #if !defined(AF_DLI)
    00223 # if defined(HAVE_CONST_AF_DLI)
    00224 #  define AF_DLI AF_DLI
    00225 # endif
    00226 #endif
    00227 #if !defined(PF_DLI)
    00228 # if defined(HAVE_CONST_PF_DLI)
    00229 #  define PF_DLI PF_DLI
    00230 # endif
    00231 #endif
    00232 #if !defined(AF_LAT)
    00233 # if defined(HAVE_CONST_AF_LAT)
    00234 #  define AF_LAT AF_LAT
    00235 # endif
    00236 #endif
    00237 #if !defined(PF_LAT)
    00238 # if defined(HAVE_CONST_PF_LAT)
    00239 #  define PF_LAT PF_LAT
    00240 # endif
    00241 #endif
    00242 #if !defined(AF_HYLINK)
    00243 # if defined(HAVE_CONST_AF_HYLINK)
    00244 #  define AF_HYLINK AF_HYLINK
    00245 # endif
    00246 #endif
    00247 #if !defined(PF_HYLINK)
    00248 # if defined(HAVE_CONST_PF_HYLINK)
    00249 #  define PF_HYLINK PF_HYLINK
    00250 # endif
    00251 #endif
    00252 #if !defined(AF_ROUTE)
    00253 # if defined(HAVE_CONST_AF_ROUTE)
    00254 #  define AF_ROUTE AF_ROUTE
    00255 # endif
    00256 #endif
    00257 #if !defined(PF_ROUTE)
    00258 # if defined(HAVE_CONST_PF_ROUTE)
    00259 #  define PF_ROUTE PF_ROUTE
    00260 # endif
    00261 #endif
    00262 #if !defined(AF_LINK)
    00263 # if defined(HAVE_CONST_AF_LINK)
    00264 #  define AF_LINK AF_LINK
    00265 # endif
    00266 #endif
    00267 #if !defined(PF_LINK)
    00268 # if defined(HAVE_CONST_PF_LINK)
    00269 #  define PF_LINK PF_LINK
    00270 # endif
    00271 #endif
    00272 #if !defined(AF_COIP)
    00273 # if defined(HAVE_CONST_AF_COIP)
    00274 #  define AF_COIP AF_COIP
    00275 # endif
    00276 #endif
    00277 #if !defined(PF_COIP)
    00278 # if defined(HAVE_CONST_PF_COIP)
    00279 #  define PF_COIP PF_COIP
    00280 # endif
    00281 #endif
    00282 #if !defined(AF_CNT)
    00283 # if defined(HAVE_CONST_AF_CNT)
    00284 #  define AF_CNT AF_CNT
    00285 # endif
    00286 #endif
    00287 #if !defined(PF_CNT)
    00288 # if defined(HAVE_CONST_PF_CNT)
    00289 #  define PF_CNT PF_CNT
    00290 # endif
    00291 #endif
    00292 #if !defined(AF_SIP)
    00293 # if defined(HAVE_CONST_AF_SIP)
    00294 #  define AF_SIP AF_SIP
    00295 # endif
    00296 #endif
    00297 #if !defined(PF_SIP)
    00298 # if defined(HAVE_CONST_PF_SIP)
    00299 #  define PF_SIP PF_SIP
    00300 # endif
    00301 #endif
    00302 #if !defined(AF_NDRV)
    00303 # if defined(HAVE_CONST_AF_NDRV)
    00304 #  define AF_NDRV AF_NDRV
    00305 # endif
    00306 #endif
    00307 #if !defined(PF_NDRV)
    00308 # if defined(HAVE_CONST_PF_NDRV)
    00309 #  define PF_NDRV PF_NDRV
    00310 # endif
    00311 #endif
    00312 #if !defined(AF_ISDN)
    00313 # if defined(HAVE_CONST_AF_ISDN)
    00314 #  define AF_ISDN AF_ISDN
    00315 # endif
    00316 #endif
    00317 #if !defined(PF_ISDN)
    00318 # if defined(HAVE_CONST_PF_ISDN)
    00319 #  define PF_ISDN PF_ISDN
    00320 # endif
    00321 #endif
    00322 #if !defined(AF_NATM)
    00323 # if defined(HAVE_CONST_AF_NATM)
    00324 #  define AF_NATM AF_NATM
    00325 # endif
    00326 #endif
    00327 #if !defined(PF_NATM)
    00328 # if defined(HAVE_CONST_PF_NATM)
    00329 #  define PF_NATM PF_NATM
    00330 # endif
    00331 #endif
    00332 #if !defined(AF_SYSTEM)
    00333 # if defined(HAVE_CONST_AF_SYSTEM)
    00334 #  define AF_SYSTEM AF_SYSTEM
    00335 # endif
    00336 #endif
    00337 #if !defined(PF_SYSTEM)
    00338 # if defined(HAVE_CONST_PF_SYSTEM)
    00339 #  define PF_SYSTEM PF_SYSTEM
    00340 # endif
    00341 #endif
    00342 #if !defined(AF_NETBIOS)
    00343 # if defined(HAVE_CONST_AF_NETBIOS)
    00344 #  define AF_NETBIOS AF_NETBIOS
    00345 # endif
    00346 #endif
    00347 #if !defined(PF_NETBIOS)
    00348 # if defined(HAVE_CONST_PF_NETBIOS)
    00349 #  define PF_NETBIOS PF_NETBIOS
    00350 # endif
    00351 #endif
    00352 #if !defined(AF_PPP)
    00353 # if defined(HAVE_CONST_AF_PPP)
    00354 #  define AF_PPP AF_PPP
    00355 # endif
    00356 #endif
    00357 #if !defined(PF_PPP)
    00358 # if defined(HAVE_CONST_PF_PPP)
    00359 #  define PF_PPP PF_PPP
    00360 # endif
    00361 #endif
    00362 #if !defined(AF_ATM)
    00363 # if defined(HAVE_CONST_AF_ATM)
    00364 #  define AF_ATM AF_ATM
    00365 # endif
    00366 #endif
    00367 #if !defined(PF_ATM)
    00368 # if defined(HAVE_CONST_PF_ATM)
    00369 #  define PF_ATM PF_ATM
    00370 # endif
    00371 #endif
    00372 #if !defined(AF_NETGRAPH)
    00373 # if defined(HAVE_CONST_AF_NETGRAPH)
    00374 #  define AF_NETGRAPH AF_NETGRAPH
    00375 # endif
    00376 #endif
    00377 #if !defined(PF_NETGRAPH)
    00378 # if defined(HAVE_CONST_PF_NETGRAPH)
    00379 #  define PF_NETGRAPH PF_NETGRAPH
    00380 # endif
    00381 #endif
    00382 #if !defined(AF_MAX)
    00383 # if defined(HAVE_CONST_AF_MAX)
    00384 #  define AF_MAX AF_MAX
    00385 # endif
    00386 #endif
    00387 #if !defined(PF_MAX)
    00388 # if defined(HAVE_CONST_PF_MAX)
    00389 #  define PF_MAX PF_MAX
    00390 # endif
    00391 #endif
    00392 #if !defined(AF_PACKET)
    00393 # if defined(HAVE_CONST_AF_PACKET)
    00394 #  define AF_PACKET AF_PACKET
    00395 # endif
    00396 #endif
    00397 #if !defined(PF_PACKET)
    00398 # if defined(HAVE_CONST_PF_PACKET)
    00399 #  define PF_PACKET PF_PACKET
    00400 # endif
    00401 #endif
    00402 #if !defined(AF_E164)
    00403 # if defined(HAVE_CONST_AF_E164)
    00404 #  define AF_E164 AF_E164
    00405 # endif
    00406 #endif
    00407 #if !defined(PF_XTP)
    00408 # if defined(HAVE_CONST_PF_XTP)
    00409 #  define PF_XTP PF_XTP
    00410 # endif
    00411 #endif
    00412 #if !defined(PF_RTIP)
    00413 # if defined(HAVE_CONST_PF_RTIP)
    00414 #  define PF_RTIP PF_RTIP
    00415 # endif
    00416 #endif
    00417 #if !defined(PF_PIP)
    00418 # if defined(HAVE_CONST_PF_PIP)
    00419 #  define PF_PIP PF_PIP
    00420 # endif
    00421 #endif
    00422 #if !defined(PF_KEY)
    00423 # if defined(HAVE_CONST_PF_KEY)
    00424 #  define PF_KEY PF_KEY
    00425 # endif
    00426 #endif
    00427 #if !defined(MSG_OOB)
    00428 # if defined(HAVE_CONST_MSG_OOB)
    00429 #  define MSG_OOB MSG_OOB
    00430 # endif
    00431 #endif
    00432 #if !defined(MSG_PEEK)
    00433 # if defined(HAVE_CONST_MSG_PEEK)
    00434 #  define MSG_PEEK MSG_PEEK
    00435 # endif
    00436 #endif
    00437 #if !defined(MSG_DONTROUTE)
    00438 # if defined(HAVE_CONST_MSG_DONTROUTE)
    00439 #  define MSG_DONTROUTE MSG_DONTROUTE
    00440 # endif
    00441 #endif
    00442 #if !defined(MSG_EOR)
    00443 # if defined(HAVE_CONST_MSG_EOR)
    00444 #  define MSG_EOR MSG_EOR
    00445 # endif
    00446 #endif
    00447 #if !defined(MSG_TRUNC)
    00448 # if defined(HAVE_CONST_MSG_TRUNC)
    00449 #  define MSG_TRUNC MSG_TRUNC
    00450 # endif
    00451 #endif
    00452 #if !defined(MSG_CTRUNC)
    00453 # if defined(HAVE_CONST_MSG_CTRUNC)
    00454 #  define MSG_CTRUNC MSG_CTRUNC
    00455 # endif
    00456 #endif
    00457 #if !defined(MSG_WAITALL)
    00458 # if defined(HAVE_CONST_MSG_WAITALL)
    00459 #  define MSG_WAITALL MSG_WAITALL
    00460 # endif
    00461 #endif
    00462 #if !defined(MSG_DONTWAIT)
    00463 # if defined(HAVE_CONST_MSG_DONTWAIT)
    00464 #  define MSG_DONTWAIT MSG_DONTWAIT
    00465 # endif
    00466 #endif
    00467 #if !defined(MSG_EOF)
    00468 # if defined(HAVE_CONST_MSG_EOF)
    00469 #  define MSG_EOF MSG_EOF
    00470 # endif
    00471 #endif
    00472 #if !defined(MSG_FLUSH)
    00473 # if defined(HAVE_CONST_MSG_FLUSH)
    00474 #  define MSG_FLUSH MSG_FLUSH
    00475 # endif
    00476 #endif
    00477 #if !defined(MSG_HOLD)
    00478 # if defined(HAVE_CONST_MSG_HOLD)
    00479 #  define MSG_HOLD MSG_HOLD
    00480 # endif
    00481 #endif
    00482 #if !defined(MSG_SEND)
    00483 # if defined(HAVE_CONST_MSG_SEND)
    00484 #  define MSG_SEND MSG_SEND
    00485 # endif
    00486 #endif
    00487 #if !defined(MSG_HAVEMORE)
    00488 # if defined(HAVE_CONST_MSG_HAVEMORE)
    00489 #  define MSG_HAVEMORE MSG_HAVEMORE
    00490 # endif
    00491 #endif
    00492 #if !defined(MSG_RCVMORE)
    00493 # if defined(HAVE_CONST_MSG_RCVMORE)
    00494 #  define MSG_RCVMORE MSG_RCVMORE
    00495 # endif
    00496 #endif
    00497 #if !defined(MSG_COMPAT)
    00498 # if defined(HAVE_CONST_MSG_COMPAT)
    00499 #  define MSG_COMPAT MSG_COMPAT
    00500 # endif
    00501 #endif
    00502 #if !defined(MSG_PROXY)
    00503 # if defined(HAVE_CONST_MSG_PROXY)
    00504 #  define MSG_PROXY MSG_PROXY
    00505 # endif
    00506 #endif
    00507 #if !defined(MSG_FIN)
    00508 # if defined(HAVE_CONST_MSG_FIN)
    00509 #  define MSG_FIN MSG_FIN
    00510 # endif
    00511 #endif
    00512 #if !defined(MSG_SYN)
    00513 # if defined(HAVE_CONST_MSG_SYN)
    00514 #  define MSG_SYN MSG_SYN
    00515 # endif
    00516 #endif
    00517 #if !defined(MSG_CONFIRM)
    00518 # if defined(HAVE_CONST_MSG_CONFIRM)
    00519 #  define MSG_CONFIRM MSG_CONFIRM
    00520 # endif
    00521 #endif
    00522 #if !defined(MSG_RST)
    00523 # if defined(HAVE_CONST_MSG_RST)
    00524 #  define MSG_RST MSG_RST
    00525 # endif
    00526 #endif
    00527 #if !defined(MSG_ERRQUEUE)
    00528 # if defined(HAVE_CONST_MSG_ERRQUEUE)
    00529 #  define MSG_ERRQUEUE MSG_ERRQUEUE
    00530 # endif
    00531 #endif
    00532 #if !defined(MSG_NOSIGNAL)
    00533 # if defined(HAVE_CONST_MSG_NOSIGNAL)
    00534 #  define MSG_NOSIGNAL MSG_NOSIGNAL
    00535 # endif
    00536 #endif
    00537 #if !defined(MSG_MORE)
    00538 # if defined(HAVE_CONST_MSG_MORE)
    00539 #  define MSG_MORE MSG_MORE
    00540 # endif
    00541 #endif
    00542 #if !defined(SOL_SOCKET)
    00543 # if defined(HAVE_CONST_SOL_SOCKET)
    00544 #  define SOL_SOCKET SOL_SOCKET
    00545 # endif
    00546 #endif
    00547 #if !defined(SOL_IP)
    00548 # if defined(HAVE_CONST_SOL_IP)
    00549 #  define SOL_IP SOL_IP
    00550 # endif
    00551 #endif
    00552 #if !defined(SOL_IPX)
    00553 # if defined(HAVE_CONST_SOL_IPX)
    00554 #  define SOL_IPX SOL_IPX
    00555 # endif
    00556 #endif
    00557 #if !defined(SOL_AX25)
    00558 # if defined(HAVE_CONST_SOL_AX25)
    00559 #  define SOL_AX25 SOL_AX25
    00560 # endif
    00561 #endif
    00562 #if !defined(SOL_ATALK)
    00563 # if defined(HAVE_CONST_SOL_ATALK)
    00564 #  define SOL_ATALK SOL_ATALK
    00565 # endif
    00566 #endif
    00567 #if !defined(SOL_TCP)
    00568 # if defined(HAVE_CONST_SOL_TCP)
    00569 #  define SOL_TCP SOL_TCP
    00570 # endif
    00571 #endif
    00572 #if !defined(SOL_UDP)
    00573 # if defined(HAVE_CONST_SOL_UDP)
    00574 #  define SOL_UDP SOL_UDP
    00575 # endif
    00576 #endif
    00577 #if !defined(IPPROTO_IP)
    00578 # if defined(HAVE_CONST_IPPROTO_IP)
    00579 #  define IPPROTO_IP IPPROTO_IP
    00580 # else
    00581 #  define IPPROTO_IP 0
    00582 # endif
    00583 #endif
    00584 #if !defined(IPPROTO_ICMP)
    00585 # if defined(HAVE_CONST_IPPROTO_ICMP)
    00586 #  define IPPROTO_ICMP IPPROTO_ICMP
    00587 # else
    00588 #  define IPPROTO_ICMP 1
    00589 # endif
    00590 #endif
    00591 #if !defined(IPPROTO_IGMP)
    00592 # if defined(HAVE_CONST_IPPROTO_IGMP)
    00593 #  define IPPROTO_IGMP IPPROTO_IGMP
    00594 # endif
    00595 #endif
    00596 #if !defined(IPPROTO_GGP)
    00597 # if defined(HAVE_CONST_IPPROTO_GGP)
    00598 #  define IPPROTO_GGP IPPROTO_GGP
    00599 # endif
    00600 #endif
    00601 #if !defined(IPPROTO_TCP)
    00602 # if defined(HAVE_CONST_IPPROTO_TCP)
    00603 #  define IPPROTO_TCP IPPROTO_TCP
    00604 # else
    00605 #  define IPPROTO_TCP 6
    00606 # endif
    00607 #endif
    00608 #if !defined(IPPROTO_EGP)
    00609 # if defined(HAVE_CONST_IPPROTO_EGP)
    00610 #  define IPPROTO_EGP IPPROTO_EGP
    00611 # endif
    00612 #endif
    00613 #if !defined(IPPROTO_PUP)
    00614 # if defined(HAVE_CONST_IPPROTO_PUP)
    00615 #  define IPPROTO_PUP IPPROTO_PUP
    00616 # endif
    00617 #endif
    00618 #if !defined(IPPROTO_UDP)
    00619 # if defined(HAVE_CONST_IPPROTO_UDP)
    00620 #  define IPPROTO_UDP IPPROTO_UDP
    00621 # else
    00622 #  define IPPROTO_UDP 17
    00623 # endif
    00624 #endif
    00625 #if !defined(IPPROTO_IDP)
    00626 # if defined(HAVE_CONST_IPPROTO_IDP)
    00627 #  define IPPROTO_IDP IPPROTO_IDP
    00628 # endif
    00629 #endif
    00630 #if !defined(IPPROTO_HELLO)
    00631 # if defined(HAVE_CONST_IPPROTO_HELLO)
    00632 #  define IPPROTO_HELLO IPPROTO_HELLO
    00633 # endif
    00634 #endif
    00635 #if !defined(IPPROTO_ND)
    00636 # if defined(HAVE_CONST_IPPROTO_ND)
    00637 #  define IPPROTO_ND IPPROTO_ND
    00638 # endif
    00639 #endif
    00640 #if !defined(IPPROTO_TP)
    00641 # if defined(HAVE_CONST_IPPROTO_TP)
    00642 #  define IPPROTO_TP IPPROTO_TP
    00643 # endif
    00644 #endif
    00645 #if !defined(IPPROTO_XTP)
    00646 # if defined(HAVE_CONST_IPPROTO_XTP)
    00647 #  define IPPROTO_XTP IPPROTO_XTP
    00648 # endif
    00649 #endif
    00650 #if !defined(IPPROTO_EON)
    00651 # if defined(HAVE_CONST_IPPROTO_EON)
    00652 #  define IPPROTO_EON IPPROTO_EON
    00653 # endif
    00654 #endif
    00655 #if !defined(IPPROTO_BIP)
    00656 # if defined(HAVE_CONST_IPPROTO_BIP)
    00657 #  define IPPROTO_BIP IPPROTO_BIP
    00658 # endif
    00659 #endif
    00660 #if !defined(IPPROTO_AH)
    00661 # if defined(HAVE_CONST_IPPROTO_AH)
    00662 #  define IPPROTO_AH IPPROTO_AH
    00663 # endif
    00664 #endif
    00665 #if !defined(IPPROTO_DSTOPTS)
    00666 # if defined(HAVE_CONST_IPPROTO_DSTOPTS)
    00667 #  define IPPROTO_DSTOPTS IPPROTO_DSTOPTS
    00668 # endif
    00669 #endif
    00670 #if !defined(IPPROTO_ESP)
    00671 # if defined(HAVE_CONST_IPPROTO_ESP)
    00672 #  define IPPROTO_ESP IPPROTO_ESP
    00673 # endif
    00674 #endif
    00675 #if !defined(IPPROTO_FRAGMENT)
    00676 # if defined(HAVE_CONST_IPPROTO_FRAGMENT)
    00677 #  define IPPROTO_FRAGMENT IPPROTO_FRAGMENT
    00678 # endif
    00679 #endif
    00680 #if !defined(IPPROTO_HOPOPTS)
    00681 # if defined(HAVE_CONST_IPPROTO_HOPOPTS)
    00682 #  define IPPROTO_HOPOPTS IPPROTO_HOPOPTS
    00683 # endif
    00684 #endif
    00685 #if !defined(IPPROTO_ICMPV6)
    00686 # if defined(HAVE_CONST_IPPROTO_ICMPV6)
    00687 #  define IPPROTO_ICMPV6 IPPROTO_ICMPV6
    00688 # endif
    00689 #endif
    00690 #if !defined(IPPROTO_IPV6)
    00691 # if defined(HAVE_CONST_IPPROTO_IPV6)
    00692 #  define IPPROTO_IPV6 IPPROTO_IPV6
    00693 # endif
    00694 #endif
    00695 #if !defined(IPPROTO_NONE)
    00696 # if defined(HAVE_CONST_IPPROTO_NONE)
    00697 #  define IPPROTO_NONE IPPROTO_NONE
    00698 # endif
    00699 #endif
    00700 #if !defined(IPPROTO_ROUTING)
    00701 # if defined(HAVE_CONST_IPPROTO_ROUTING)
    00702 #  define IPPROTO_ROUTING IPPROTO_ROUTING
    00703 # endif
    00704 #endif
    00705 #if !defined(IPPROTO_RAW)
    00706 # if defined(HAVE_CONST_IPPROTO_RAW)
    00707 #  define IPPROTO_RAW IPPROTO_RAW
    00708 # else
    00709 #  define IPPROTO_RAW 255
    00710 # endif
    00711 #endif
    00712 #if !defined(IPPROTO_MAX)
    00713 # if defined(HAVE_CONST_IPPROTO_MAX)
    00714 #  define IPPROTO_MAX IPPROTO_MAX
    00715 # endif
    00716 #endif
    00717 #if !defined(IPPORT_RESERVED)
    00718 # if defined(HAVE_CONST_IPPORT_RESERVED)
    00719 #  define IPPORT_RESERVED IPPORT_RESERVED
    00720 # else
    00721 #  define IPPORT_RESERVED 1024
    00722 # endif
    00723 #endif
    00724 #if !defined(IPPORT_USERRESERVED)
    00725 # if defined(HAVE_CONST_IPPORT_USERRESERVED)
    00726 #  define IPPORT_USERRESERVED IPPORT_USERRESERVED
    00727 # else
    00728 #  define IPPORT_USERRESERVED 5000
    00729 # endif
    00730 #endif
    00731 #if !defined(INADDR_ANY)
    00732 # if defined(HAVE_CONST_INADDR_ANY)
    00733 #  define INADDR_ANY INADDR_ANY
    00734 # else
    00735 #  define INADDR_ANY 0x00000000
    00736 # endif
    00737 #endif
    00738 #if !defined(INADDR_BROADCAST)
    00739 # if defined(HAVE_CONST_INADDR_BROADCAST)
    00740 #  define INADDR_BROADCAST INADDR_BROADCAST
    00741 # else
    00742 #  define INADDR_BROADCAST 0xffffffff
    00743 # endif
    00744 #endif
    00745 #if !defined(INADDR_LOOPBACK)
    00746 # if defined(HAVE_CONST_INADDR_LOOPBACK)
    00747 #  define INADDR_LOOPBACK INADDR_LOOPBACK
    00748 # else
    00749 #  define INADDR_LOOPBACK 0x7F000001
    00750 # endif
    00751 #endif
    00752 #if !defined(INADDR_UNSPEC_GROUP)
    00753 # if defined(HAVE_CONST_INADDR_UNSPEC_GROUP)
    00754 #  define INADDR_UNSPEC_GROUP INADDR_UNSPEC_GROUP
    00755 # else
    00756 #  define INADDR_UNSPEC_GROUP 0xe0000000
    00757 # endif
    00758 #endif
    00759 #if !defined(INADDR_ALLHOSTS_GROUP)
    00760 # if defined(HAVE_CONST_INADDR_ALLHOSTS_GROUP)
    00761 #  define INADDR_ALLHOSTS_GROUP INADDR_ALLHOSTS_GROUP
    00762 # else
    00763 #  define INADDR_ALLHOSTS_GROUP 0xe0000001
    00764 # endif
    00765 #endif
    00766 #if !defined(INADDR_MAX_LOCAL_GROUP)
    00767 # if defined(HAVE_CONST_INADDR_MAX_LOCAL_GROUP)
    00768 #  define INADDR_MAX_LOCAL_GROUP INADDR_MAX_LOCAL_GROUP
    00769 # else
    00770 #  define INADDR_MAX_LOCAL_GROUP 0xe00000ff
    00771 # endif
    00772 #endif
    00773 #if !defined(INADDR_NONE)
    00774 # if defined(HAVE_CONST_INADDR_NONE)
    00775 #  define INADDR_NONE INADDR_NONE
    00776 # else
    00777 #  define INADDR_NONE 0xffffffff
    00778 # endif
    00779 #endif
    00780 #if !defined(IP_OPTIONS)
    00781 # if defined(HAVE_CONST_IP_OPTIONS)
    00782 #  define IP_OPTIONS IP_OPTIONS
    00783 # endif
    00784 #endif
    00785 #if !defined(IP_HDRINCL)
    00786 # if defined(HAVE_CONST_IP_HDRINCL)
    00787 #  define IP_HDRINCL IP_HDRINCL
    00788 # endif
    00789 #endif
    00790 #if !defined(IP_TOS)
    00791 # if defined(HAVE_CONST_IP_TOS)
    00792 #  define IP_TOS IP_TOS
    00793 # endif
    00794 #endif
    00795 #if !defined(IP_TTL)
    00796 # if defined(HAVE_CONST_IP_TTL)
    00797 #  define IP_TTL IP_TTL
    00798 # endif
    00799 #endif
    00800 #if !defined(IP_RECVOPTS)
    00801 # if defined(HAVE_CONST_IP_RECVOPTS)
    00802 #  define IP_RECVOPTS IP_RECVOPTS
    00803 # endif
    00804 #endif
    00805 #if !defined(IP_RECVRETOPTS)
    00806 # if defined(HAVE_CONST_IP_RECVRETOPTS)
    00807 #  define IP_RECVRETOPTS IP_RECVRETOPTS
    00808 # endif
    00809 #endif
    00810 #if !defined(IP_RECVDSTADDR)
    00811 # if defined(HAVE_CONST_IP_RECVDSTADDR)
    00812 #  define IP_RECVDSTADDR IP_RECVDSTADDR
    00813 # endif
    00814 #endif
    00815 #if !defined(IP_RETOPTS)
    00816 # if defined(HAVE_CONST_IP_RETOPTS)
    00817 #  define IP_RETOPTS IP_RETOPTS
    00818 # endif
    00819 #endif
    00820 #if !defined(IP_MINTTL)
    00821 # if defined(HAVE_CONST_IP_MINTTL)
    00822 #  define IP_MINTTL IP_MINTTL
    00823 # endif
    00824 #endif
    00825 #if !defined(IP_DONTFRAG)
    00826 # if defined(HAVE_CONST_IP_DONTFRAG)
    00827 #  define IP_DONTFRAG IP_DONTFRAG
    00828 # endif
    00829 #endif
    00830 #if !defined(IP_SENDSRCADDR)
    00831 # if defined(HAVE_CONST_IP_SENDSRCADDR)
    00832 #  define IP_SENDSRCADDR IP_SENDSRCADDR
    00833 # endif
    00834 #endif
    00835 #if !defined(IP_ONESBCAST)
    00836 # if defined(HAVE_CONST_IP_ONESBCAST)
    00837 #  define IP_ONESBCAST IP_ONESBCAST
    00838 # endif
    00839 #endif
    00840 #if !defined(IP_RECVTTL)
    00841 # if defined(HAVE_CONST_IP_RECVTTL)
    00842 #  define IP_RECVTTL IP_RECVTTL
    00843 # endif
    00844 #endif
    00845 #if !defined(IP_RECVIF)
    00846 # if defined(HAVE_CONST_IP_RECVIF)
    00847 #  define IP_RECVIF IP_RECVIF
    00848 # endif
    00849 #endif
    00850 #if !defined(IP_RECVSLLA)
    00851 # if defined(HAVE_CONST_IP_RECVSLLA)
    00852 #  define IP_RECVSLLA IP_RECVSLLA
    00853 # endif
    00854 #endif
    00855 #if !defined(IP_PORTRANGE)
    00856 # if defined(HAVE_CONST_IP_PORTRANGE)
    00857 #  define IP_PORTRANGE IP_PORTRANGE
    00858 # endif
    00859 #endif
    00860 #if !defined(IP_MULTICAST_IF)
    00861 # if defined(HAVE_CONST_IP_MULTICAST_IF)
    00862 #  define IP_MULTICAST_IF IP_MULTICAST_IF
    00863 # endif
    00864 #endif
    00865 #if !defined(IP_MULTICAST_TTL)
    00866 # if defined(HAVE_CONST_IP_MULTICAST_TTL)
    00867 #  define IP_MULTICAST_TTL IP_MULTICAST_TTL
    00868 # endif
    00869 #endif
    00870 #if !defined(IP_MULTICAST_LOOP)
    00871 # if defined(HAVE_CONST_IP_MULTICAST_LOOP)
    00872 #  define IP_MULTICAST_LOOP IP_MULTICAST_LOOP
    00873 # endif
    00874 #endif
    00875 #if !defined(IP_ADD_MEMBERSHIP)
    00876 # if defined(HAVE_CONST_IP_ADD_MEMBERSHIP)
    00877 #  define IP_ADD_MEMBERSHIP IP_ADD_MEMBERSHIP
    00878 # endif
    00879 #endif
    00880 #if !defined(IP_DROP_MEMBERSHIP)
    00881 # if defined(HAVE_CONST_IP_DROP_MEMBERSHIP)
    00882 #  define IP_DROP_MEMBERSHIP IP_DROP_MEMBERSHIP
    00883 # endif
    00884 #endif
    00885 #if !defined(IP_DEFAULT_MULTICAST_TTL)
    00886 # if defined(HAVE_CONST_IP_DEFAULT_MULTICAST_TTL)
    00887 #  define IP_DEFAULT_MULTICAST_TTL IP_DEFAULT_MULTICAST_TTL
    00888 # endif
    00889 #endif
    00890 #if !defined(IP_DEFAULT_MULTICAST_LOOP)
    00891 # if defined(HAVE_CONST_IP_DEFAULT_MULTICAST_LOOP)
    00892 #  define IP_DEFAULT_MULTICAST_LOOP IP_DEFAULT_MULTICAST_LOOP
    00893 # endif
    00894 #endif
    00895 #if !defined(IP_MAX_MEMBERSHIPS)
    00896 # if defined(HAVE_CONST_IP_MAX_MEMBERSHIPS)
    00897 #  define IP_MAX_MEMBERSHIPS IP_MAX_MEMBERSHIPS
    00898 # endif
    00899 #endif
    00900 #if !defined(IP_ROUTER_ALERT)
    00901 # if defined(HAVE_CONST_IP_ROUTER_ALERT)
    00902 #  define IP_ROUTER_ALERT IP_ROUTER_ALERT
    00903 # endif
    00904 #endif
    00905 #if !defined(IP_PKTINFO)
    00906 # if defined(HAVE_CONST_IP_PKTINFO)
    00907 #  define IP_PKTINFO IP_PKTINFO
    00908 # endif
    00909 #endif
    00910 #if !defined(IP_PKTOPTIONS)
    00911 # if defined(HAVE_CONST_IP_PKTOPTIONS)
    00912 #  define IP_PKTOPTIONS IP_PKTOPTIONS
    00913 # endif
    00914 #endif
    00915 #if !defined(IP_MTU_DISCOVER)
    00916 # if defined(HAVE_CONST_IP_MTU_DISCOVER)
    00917 #  define IP_MTU_DISCOVER IP_MTU_DISCOVER
    00918 # endif
    00919 #endif
    00920 #if !defined(IP_RECVERR)
    00921 # if defined(HAVE_CONST_IP_RECVERR)
    00922 #  define IP_RECVERR IP_RECVERR
    00923 # endif
    00924 #endif
    00925 #if !defined(IP_RECVTOS)
    00926 # if defined(HAVE_CONST_IP_RECVTOS)
    00927 #  define IP_RECVTOS IP_RECVTOS
    00928 # endif
    00929 #endif
    00930 #if !defined(IP_MTU)
    00931 # if defined(HAVE_CONST_IP_MTU)
    00932 #  define IP_MTU IP_MTU
    00933 # endif
    00934 #endif
    00935 #if !defined(IP_FREEBIND)
    00936 # if defined(HAVE_CONST_IP_FREEBIND)
    00937 #  define IP_FREEBIND IP_FREEBIND
    00938 # endif
    00939 #endif
    00940 #if !defined(IP_IPSEC_POLICY)
    00941 # if defined(HAVE_CONST_IP_IPSEC_POLICY)
    00942 #  define IP_IPSEC_POLICY IP_IPSEC_POLICY
    00943 # endif
    00944 #endif
    00945 #if !defined(IP_XFRM_POLICY)
    00946 # if defined(HAVE_CONST_IP_XFRM_POLICY)
    00947 #  define IP_XFRM_POLICY IP_XFRM_POLICY
    00948 # endif
    00949 #endif
    00950 #if !defined(IP_PASSSEC)
    00951 # if defined(HAVE_CONST_IP_PASSSEC)
    00952 #  define IP_PASSSEC IP_PASSSEC
    00953 # endif
    00954 #endif
    00955 #if !defined(IP_PMTUDISC_DONT)
    00956 # if defined(HAVE_CONST_IP_PMTUDISC_DONT)
    00957 #  define IP_PMTUDISC_DONT IP_PMTUDISC_DONT
    00958 # endif
    00959 #endif
    00960 #if !defined(IP_PMTUDISC_WANT)
    00961 # if defined(HAVE_CONST_IP_PMTUDISC_WANT)
    00962 #  define IP_PMTUDISC_WANT IP_PMTUDISC_WANT
    00963 # endif
    00964 #endif
    00965 #if !defined(IP_PMTUDISC_DO)
    00966 # if defined(HAVE_CONST_IP_PMTUDISC_DO)
    00967 #  define IP_PMTUDISC_DO IP_PMTUDISC_DO
    00968 # endif
    00969 #endif
    00970 #if !defined(IP_UNBLOCK_SOURCE)
    00971 # if defined(HAVE_CONST_IP_UNBLOCK_SOURCE)
    00972 #  define IP_UNBLOCK_SOURCE IP_UNBLOCK_SOURCE
    00973 # endif
    00974 #endif
    00975 #if !defined(IP_BLOCK_SOURCE)
    00976 # if defined(HAVE_CONST_IP_BLOCK_SOURCE)
    00977 #  define IP_BLOCK_SOURCE IP_BLOCK_SOURCE
    00978 # endif
    00979 #endif
    00980 #if !defined(IP_ADD_SOURCE_MEMBERSHIP)
    00981 # if defined(HAVE_CONST_IP_ADD_SOURCE_MEMBERSHIP)
    00982 #  define IP_ADD_SOURCE_MEMBERSHIP IP_ADD_SOURCE_MEMBERSHIP
    00983 # endif
    00984 #endif
    00985 #if !defined(IP_DROP_SOURCE_MEMBERSHIP)
    00986 # if defined(HAVE_CONST_IP_DROP_SOURCE_MEMBERSHIP)
    00987 #  define IP_DROP_SOURCE_MEMBERSHIP IP_DROP_SOURCE_MEMBERSHIP
    00988 # endif
    00989 #endif
    00990 #if !defined(IP_MSFILTER)
    00991 # if defined(HAVE_CONST_IP_MSFILTER)
    00992 #  define IP_MSFILTER IP_MSFILTER
    00993 # endif
    00994 #endif
    00995 #if !defined(MCAST_JOIN_GROUP)
    00996 # if defined(HAVE_CONST_MCAST_JOIN_GROUP)
    00997 #  define MCAST_JOIN_GROUP MCAST_JOIN_GROUP
    00998 # endif
    00999 #endif
    01000 #if !defined(MCAST_BLOCK_SOURCE)
    01001 # if defined(HAVE_CONST_MCAST_BLOCK_SOURCE)
    01002 #  define MCAST_BLOCK_SOURCE MCAST_BLOCK_SOURCE
    01003 # endif
    01004 #endif
    01005 #if !defined(MCAST_UNBLOCK_SOURCE)
    01006 # if defined(HAVE_CONST_MCAST_UNBLOCK_SOURCE)
    01007 #  define MCAST_UNBLOCK_SOURCE MCAST_UNBLOCK_SOURCE
    01008 # endif
    01009 #endif
    01010 #if !defined(MCAST_LEAVE_GROUP)
    01011 # if defined(HAVE_CONST_MCAST_LEAVE_GROUP)
    01012 #  define MCAST_LEAVE_GROUP MCAST_LEAVE_GROUP
    01013 # endif
    01014 #endif
    01015 #if !defined(MCAST_JOIN_SOURCE_GROUP)
    01016 # if defined(HAVE_CONST_MCAST_JOIN_SOURCE_GROUP)
    01017 #  define MCAST_JOIN_SOURCE_GROUP MCAST_JOIN_SOURCE_GROUP
    01018 # endif
    01019 #endif
    01020 #if !defined(MCAST_LEAVE_SOURCE_GROUP)
    01021 # if defined(HAVE_CONST_MCAST_LEAVE_SOURCE_GROUP)
    01022 #  define MCAST_LEAVE_SOURCE_GROUP MCAST_LEAVE_SOURCE_GROUP
    01023 # endif
    01024 #endif
    01025 #if !defined(MCAST_MSFILTER)
    01026 # if defined(HAVE_CONST_MCAST_MSFILTER)
    01027 #  define MCAST_MSFILTER MCAST_MSFILTER
    01028 # endif
    01029 #endif
    01030 #if !defined(MCAST_EXCLUDE)
    01031 # if defined(HAVE_CONST_MCAST_EXCLUDE)
    01032 #  define MCAST_EXCLUDE MCAST_EXCLUDE
    01033 # endif
    01034 #endif
    01035 #if !defined(MCAST_INCLUDE)
    01036 # if defined(HAVE_CONST_MCAST_INCLUDE)
    01037 #  define MCAST_INCLUDE MCAST_INCLUDE
    01038 # endif
    01039 #endif
    01040 #if !defined(SO_DEBUG)
    01041 # if defined(HAVE_CONST_SO_DEBUG)
    01042 #  define SO_DEBUG SO_DEBUG
    01043 # endif
    01044 #endif
    01045 #if !defined(SO_REUSEADDR)
    01046 # if defined(HAVE_CONST_SO_REUSEADDR)
    01047 #  define SO_REUSEADDR SO_REUSEADDR
    01048 # endif
    01049 #endif
    01050 #if !defined(SO_REUSEPORT)
    01051 # if defined(HAVE_CONST_SO_REUSEPORT)
    01052 #  define SO_REUSEPORT SO_REUSEPORT
    01053 # endif
    01054 #endif
    01055 #if !defined(SO_TYPE)
    01056 # if defined(HAVE_CONST_SO_TYPE)
    01057 #  define SO_TYPE SO_TYPE
    01058 # endif
    01059 #endif
    01060 #if !defined(SO_ERROR)
    01061 # if defined(HAVE_CONST_SO_ERROR)
    01062 #  define SO_ERROR SO_ERROR
    01063 # endif
    01064 #endif
    01065 #if !defined(SO_DONTROUTE)
    01066 # if defined(HAVE_CONST_SO_DONTROUTE)
    01067 #  define SO_DONTROUTE SO_DONTROUTE
    01068 # endif
    01069 #endif
    01070 #if !defined(SO_BROADCAST)
    01071 # if defined(HAVE_CONST_SO_BROADCAST)
    01072 #  define SO_BROADCAST SO_BROADCAST
    01073 # endif
    01074 #endif
    01075 #if !defined(SO_SNDBUF)
    01076 # if defined(HAVE_CONST_SO_SNDBUF)
    01077 #  define SO_SNDBUF SO_SNDBUF
    01078 # endif
    01079 #endif
    01080 #if !defined(SO_RCVBUF)
    01081 # if defined(HAVE_CONST_SO_RCVBUF)
    01082 #  define SO_RCVBUF SO_RCVBUF
    01083 # endif
    01084 #endif
    01085 #if !defined(SO_KEEPALIVE)
    01086 # if defined(HAVE_CONST_SO_KEEPALIVE)
    01087 #  define SO_KEEPALIVE SO_KEEPALIVE
    01088 # endif
    01089 #endif
    01090 #if !defined(SO_OOBINLINE)
    01091 # if defined(HAVE_CONST_SO_OOBINLINE)
    01092 #  define SO_OOBINLINE SO_OOBINLINE
    01093 # endif
    01094 #endif
    01095 #if !defined(SO_NO_CHECK)
    01096 # if defined(HAVE_CONST_SO_NO_CHECK)
    01097 #  define SO_NO_CHECK SO_NO_CHECK
    01098 # endif
    01099 #endif
    01100 #if !defined(SO_PRIORITY)
    01101 # if defined(HAVE_CONST_SO_PRIORITY)
    01102 #  define SO_PRIORITY SO_PRIORITY
    01103 # endif
    01104 #endif
    01105 #if !defined(SO_LINGER)
    01106 # if defined(HAVE_CONST_SO_LINGER)
    01107 #  define SO_LINGER SO_LINGER
    01108 # endif
    01109 #endif
    01110 #if !defined(SO_PASSCRED)
    01111 # if defined(HAVE_CONST_SO_PASSCRED)
    01112 #  define SO_PASSCRED SO_PASSCRED
    01113 # endif
    01114 #endif
    01115 #if !defined(SO_PEERCRED)
    01116 # if defined(HAVE_CONST_SO_PEERCRED)
    01117 #  define SO_PEERCRED SO_PEERCRED
    01118 # endif
    01119 #endif
    01120 #if !defined(SO_RCVLOWAT)
    01121 # if defined(HAVE_CONST_SO_RCVLOWAT)
    01122 #  define SO_RCVLOWAT SO_RCVLOWAT
    01123 # endif
    01124 #endif
    01125 #if !defined(SO_SNDLOWAT)
    01126 # if defined(HAVE_CONST_SO_SNDLOWAT)
    01127 #  define SO_SNDLOWAT SO_SNDLOWAT
    01128 # endif
    01129 #endif
    01130 #if !defined(SO_RCVTIMEO)
    01131 # if defined(HAVE_CONST_SO_RCVTIMEO)
    01132 #  define SO_RCVTIMEO SO_RCVTIMEO
    01133 # endif
    01134 #endif
    01135 #if !defined(SO_SNDTIMEO)
    01136 # if defined(HAVE_CONST_SO_SNDTIMEO)
    01137 #  define SO_SNDTIMEO SO_SNDTIMEO
    01138 # endif
    01139 #endif
    01140 #if !defined(SO_ACCEPTCONN)
    01141 # if defined(HAVE_CONST_SO_ACCEPTCONN)
    01142 #  define SO_ACCEPTCONN SO_ACCEPTCONN
    01143 # endif
    01144 #endif
    01145 #if !defined(SO_USELOOPBACK)
    01146 # if defined(HAVE_CONST_SO_USELOOPBACK)
    01147 #  define SO_USELOOPBACK SO_USELOOPBACK
    01148 # endif
    01149 #endif
    01150 #if !defined(SO_ACCEPTFILTER)
    01151 # if defined(HAVE_CONST_SO_ACCEPTFILTER)
    01152 #  define SO_ACCEPTFILTER SO_ACCEPTFILTER
    01153 # endif
    01154 #endif
    01155 #if !defined(SO_DONTTRUNC)
    01156 # if defined(HAVE_CONST_SO_DONTTRUNC)
    01157 #  define SO_DONTTRUNC SO_DONTTRUNC
    01158 # endif
    01159 #endif
    01160 #if !defined(SO_WANTMORE)
    01161 # if defined(HAVE_CONST_SO_WANTMORE)
    01162 #  define SO_WANTMORE SO_WANTMORE
    01163 # endif
    01164 #endif
    01165 #if !defined(SO_WANTOOBFLAG)
    01166 # if defined(HAVE_CONST_SO_WANTOOBFLAG)
    01167 #  define SO_WANTOOBFLAG SO_WANTOOBFLAG
    01168 # endif
    01169 #endif
    01170 #if !defined(SO_NREAD)
    01171 # if defined(HAVE_CONST_SO_NREAD)
    01172 #  define SO_NREAD SO_NREAD
    01173 # endif
    01174 #endif
    01175 #if !defined(SO_NKE)
    01176 # if defined(HAVE_CONST_SO_NKE)
    01177 #  define SO_NKE SO_NKE
    01178 # endif
    01179 #endif
    01180 #if !defined(SO_NOSIGPIPE)
    01181 # if defined(HAVE_CONST_SO_NOSIGPIPE)
    01182 #  define SO_NOSIGPIPE SO_NOSIGPIPE
    01183 # endif
    01184 #endif
    01185 #if !defined(SO_SECURITY_AUTHENTICATION)
    01186 # if defined(HAVE_CONST_SO_SECURITY_AUTHENTICATION)
    01187 #  define SO_SECURITY_AUTHENTICATION SO_SECURITY_AUTHENTICATION
    01188 # endif
    01189 #endif
    01190 #if !defined(SO_SECURITY_ENCRYPTION_TRANSPORT)
    01191 # if defined(HAVE_CONST_SO_SECURITY_ENCRYPTION_TRANSPORT)
    01192 #  define SO_SECURITY_ENCRYPTION_TRANSPORT SO_SECURITY_ENCRYPTION_TRANSPORT
    01193 # endif
    01194 #endif
    01195 #if !defined(SO_SECURITY_ENCRYPTION_NETWORK)
    01196 # if defined(HAVE_CONST_SO_SECURITY_ENCRYPTION_NETWORK)
    01197 #  define SO_SECURITY_ENCRYPTION_NETWORK SO_SECURITY_ENCRYPTION_NETWORK
    01198 # endif
    01199 #endif
    01200 #if !defined(SO_BINDTODEVICE)
    01201 # if defined(HAVE_CONST_SO_BINDTODEVICE)
    01202 #  define SO_BINDTODEVICE SO_BINDTODEVICE
    01203 # endif
    01204 #endif
    01205 #if !defined(SO_ATTACH_FILTER)
    01206 # if defined(HAVE_CONST_SO_ATTACH_FILTER)
    01207 #  define SO_ATTACH_FILTER SO_ATTACH_FILTER
    01208 # endif
    01209 #endif
    01210 #if !defined(SO_DETACH_FILTER)
    01211 # if defined(HAVE_CONST_SO_DETACH_FILTER)
    01212 #  define SO_DETACH_FILTER SO_DETACH_FILTER
    01213 # endif
    01214 #endif
    01215 #if !defined(SO_PEERNAME)
    01216 # if defined(HAVE_CONST_SO_PEERNAME)
    01217 #  define SO_PEERNAME SO_PEERNAME
    01218 # endif
    01219 #endif
    01220 #if !defined(SO_TIMESTAMP)
    01221 # if defined(HAVE_CONST_SO_TIMESTAMP)
    01222 #  define SO_TIMESTAMP SO_TIMESTAMP
    01223 # endif
    01224 #endif
    01225 #if !defined(SO_TIMESTAMPNS)
    01226 # if defined(HAVE_CONST_SO_TIMESTAMPNS)
    01227 #  define SO_TIMESTAMPNS SO_TIMESTAMPNS
    01228 # endif
    01229 #endif
    01230 #if !defined(SO_BINTIME)
    01231 # if defined(HAVE_CONST_SO_BINTIME)
    01232 #  define SO_BINTIME SO_BINTIME
    01233 # endif
    01234 #endif
    01235 #if !defined(SO_RECVUCRED)
    01236 # if defined(HAVE_CONST_SO_RECVUCRED)
    01237 #  define SO_RECVUCRED SO_RECVUCRED
    01238 # endif
    01239 #endif
    01240 #if !defined(SO_MAC_EXEMPT)
    01241 # if defined(HAVE_CONST_SO_MAC_EXEMPT)
    01242 #  define SO_MAC_EXEMPT SO_MAC_EXEMPT
    01243 # endif
    01244 #endif
    01245 #if !defined(SO_ALLZONES)
    01246 # if defined(HAVE_CONST_SO_ALLZONES)
    01247 #  define SO_ALLZONES SO_ALLZONES
    01248 # endif
    01249 #endif
    01250 #if !defined(SOPRI_INTERACTIVE)
    01251 # if defined(HAVE_CONST_SOPRI_INTERACTIVE)
    01252 #  define SOPRI_INTERACTIVE SOPRI_INTERACTIVE
    01253 # endif
    01254 #endif
    01255 #if !defined(SOPRI_NORMAL)
    01256 # if defined(HAVE_CONST_SOPRI_NORMAL)
    01257 #  define SOPRI_NORMAL SOPRI_NORMAL
    01258 # endif
    01259 #endif
    01260 #if !defined(SOPRI_BACKGROUND)
    01261 # if defined(HAVE_CONST_SOPRI_BACKGROUND)
    01262 #  define SOPRI_BACKGROUND SOPRI_BACKGROUND
    01263 # endif
    01264 #endif
    01265 #if !defined(IPX_TYPE)
    01266 # if defined(HAVE_CONST_IPX_TYPE)
    01267 #  define IPX_TYPE IPX_TYPE
    01268 # endif
    01269 #endif
    01270 #if !defined(TCP_NODELAY)
    01271 # if defined(HAVE_CONST_TCP_NODELAY)
    01272 #  define TCP_NODELAY TCP_NODELAY
    01273 # endif
    01274 #endif
    01275 #if !defined(TCP_MAXSEG)
    01276 # if defined(HAVE_CONST_TCP_MAXSEG)
    01277 #  define TCP_MAXSEG TCP_MAXSEG
    01278 # endif
    01279 #endif
    01280 #if !defined(TCP_CORK)
    01281 # if defined(HAVE_CONST_TCP_CORK)
    01282 #  define TCP_CORK TCP_CORK
    01283 # endif
    01284 #endif
    01285 #if !defined(TCP_DEFER_ACCEPT)
    01286 # if defined(HAVE_CONST_TCP_DEFER_ACCEPT)
    01287 #  define TCP_DEFER_ACCEPT TCP_DEFER_ACCEPT
    01288 # endif
    01289 #endif
    01290 #if !defined(TCP_INFO)
    01291 # if defined(HAVE_CONST_TCP_INFO)
    01292 #  define TCP_INFO TCP_INFO
    01293 # endif
    01294 #endif
    01295 #if !defined(TCP_KEEPCNT)
    01296 # if defined(HAVE_CONST_TCP_KEEPCNT)
    01297 #  define TCP_KEEPCNT TCP_KEEPCNT
    01298 # endif
    01299 #endif
    01300 #if !defined(TCP_KEEPIDLE)
    01301 # if defined(HAVE_CONST_TCP_KEEPIDLE)
    01302 #  define TCP_KEEPIDLE TCP_KEEPIDLE
    01303 # endif
    01304 #endif
    01305 #if !defined(TCP_KEEPINTVL)
    01306 # if defined(HAVE_CONST_TCP_KEEPINTVL)
    01307 #  define TCP_KEEPINTVL TCP_KEEPINTVL
    01308 # endif
    01309 #endif
    01310 #if !defined(TCP_LINGER2)
    01311 # if defined(HAVE_CONST_TCP_LINGER2)
    01312 #  define TCP_LINGER2 TCP_LINGER2
    01313 # endif
    01314 #endif
    01315 #if !defined(TCP_MD5SIG)
    01316 # if defined(HAVE_CONST_TCP_MD5SIG)
    01317 #  define TCP_MD5SIG TCP_MD5SIG
    01318 # endif
    01319 #endif
    01320 #if !defined(TCP_NOOPT)
    01321 # if defined(HAVE_CONST_TCP_NOOPT)
    01322 #  define TCP_NOOPT TCP_NOOPT
    01323 # endif
    01324 #endif
    01325 #if !defined(TCP_NOPUSH)
    01326 # if defined(HAVE_CONST_TCP_NOPUSH)
    01327 #  define TCP_NOPUSH TCP_NOPUSH
    01328 # endif
    01329 #endif
    01330 #if !defined(TCP_QUICKACK)
    01331 # if defined(HAVE_CONST_TCP_QUICKACK)
    01332 #  define TCP_QUICKACK TCP_QUICKACK
    01333 # endif
    01334 #endif
    01335 #if !defined(TCP_SYNCNT)
    01336 # if defined(HAVE_CONST_TCP_SYNCNT)
    01337 #  define TCP_SYNCNT TCP_SYNCNT
    01338 # endif
    01339 #endif
    01340 #if !defined(TCP_WINDOW_CLAMP)
    01341 # if defined(HAVE_CONST_TCP_WINDOW_CLAMP)
    01342 #  define TCP_WINDOW_CLAMP TCP_WINDOW_CLAMP
    01343 # endif
    01344 #endif
    01345 #if !defined(UDP_CORK)
    01346 # if defined(HAVE_CONST_UDP_CORK)
    01347 #  define UDP_CORK UDP_CORK
    01348 # endif
    01349 #endif
    01350 #if !defined(EAI_ADDRFAMILY)
    01351 # if defined(HAVE_CONST_EAI_ADDRFAMILY)
    01352 #  define EAI_ADDRFAMILY EAI_ADDRFAMILY
    01353 # endif
    01354 #endif
    01355 #if !defined(EAI_AGAIN)
    01356 # if defined(HAVE_CONST_EAI_AGAIN)
    01357 #  define EAI_AGAIN EAI_AGAIN
    01358 # endif
    01359 #endif
    01360 #if !defined(EAI_BADFLAGS)
    01361 # if defined(HAVE_CONST_EAI_BADFLAGS)
    01362 #  define EAI_BADFLAGS EAI_BADFLAGS
    01363 # endif
    01364 #endif
    01365 #if !defined(EAI_FAIL)
    01366 # if defined(HAVE_CONST_EAI_FAIL)
    01367 #  define EAI_FAIL EAI_FAIL
    01368 # endif
    01369 #endif
    01370 #if !defined(EAI_FAMILY)
    01371 # if defined(HAVE_CONST_EAI_FAMILY)
    01372 #  define EAI_FAMILY EAI_FAMILY
    01373 # endif
    01374 #endif
    01375 #if !defined(EAI_MEMORY)
    01376 # if defined(HAVE_CONST_EAI_MEMORY)
    01377 #  define EAI_MEMORY EAI_MEMORY
    01378 # endif
    01379 #endif
    01380 #if !defined(EAI_NODATA)
    01381 # if defined(HAVE_CONST_EAI_NODATA)
    01382 #  define EAI_NODATA EAI_NODATA
    01383 # endif
    01384 #endif
    01385 #if !defined(EAI_NONAME)
    01386 # if defined(HAVE_CONST_EAI_NONAME)
    01387 #  define EAI_NONAME EAI_NONAME
    01388 # endif
    01389 #endif
    01390 #if !defined(EAI_OVERFLOW)
    01391 # if defined(HAVE_CONST_EAI_OVERFLOW)
    01392 #  define EAI_OVERFLOW EAI_OVERFLOW
    01393 # endif
    01394 #endif
    01395 #if !defined(EAI_SERVICE)
    01396 # if defined(HAVE_CONST_EAI_SERVICE)
    01397 #  define EAI_SERVICE EAI_SERVICE
    01398 # endif
    01399 #endif
    01400 #if !defined(EAI_SOCKTYPE)
    01401 # if defined(HAVE_CONST_EAI_SOCKTYPE)
    01402 #  define EAI_SOCKTYPE EAI_SOCKTYPE
    01403 # endif
    01404 #endif
    01405 #if !defined(EAI_SYSTEM)
    01406 # if defined(HAVE_CONST_EAI_SYSTEM)
    01407 #  define EAI_SYSTEM EAI_SYSTEM
    01408 # endif
    01409 #endif
    01410 #if !defined(EAI_BADHINTS)
    01411 # if defined(HAVE_CONST_EAI_BADHINTS)
    01412 #  define EAI_BADHINTS EAI_BADHINTS
    01413 # endif
    01414 #endif
    01415 #if !defined(EAI_PROTOCOL)
    01416 # if defined(HAVE_CONST_EAI_PROTOCOL)
    01417 #  define EAI_PROTOCOL EAI_PROTOCOL
    01418 # endif
    01419 #endif
    01420 #if !defined(EAI_MAX)
    01421 # if defined(HAVE_CONST_EAI_MAX)
    01422 #  define EAI_MAX EAI_MAX
    01423 # endif
    01424 #endif
    01425 #if !defined(AI_PASSIVE)
    01426 # if defined(HAVE_CONST_AI_PASSIVE)
    01427 #  define AI_PASSIVE AI_PASSIVE
    01428 # endif
    01429 #endif
    01430 #if !defined(AI_CANONNAME)
    01431 # if defined(HAVE_CONST_AI_CANONNAME)
    01432 #  define AI_CANONNAME AI_CANONNAME
    01433 # endif
    01434 #endif
    01435 #if !defined(AI_NUMERICHOST)
    01436 # if defined(HAVE_CONST_AI_NUMERICHOST)
    01437 #  define AI_NUMERICHOST AI_NUMERICHOST
    01438 # endif
    01439 #endif
    01440 #if !defined(AI_NUMERICSERV)
    01441 # if defined(HAVE_CONST_AI_NUMERICSERV)
    01442 #  define AI_NUMERICSERV AI_NUMERICSERV
    01443 # endif
    01444 #endif
    01445 #if !defined(AI_MASK)
    01446 # if defined(HAVE_CONST_AI_MASK)
    01447 #  define AI_MASK AI_MASK
    01448 # endif
    01449 #endif
    01450 #if !defined(AI_ALL)
    01451 # if defined(HAVE_CONST_AI_ALL)
    01452 #  define AI_ALL AI_ALL
    01453 # endif
    01454 #endif
    01455 #if !defined(AI_V4MAPPED_CFG)
    01456 # if defined(HAVE_CONST_AI_V4MAPPED_CFG)
    01457 #  define AI_V4MAPPED_CFG AI_V4MAPPED_CFG
    01458 # endif
    01459 #endif
    01460 #if !defined(AI_ADDRCONFIG)
    01461 # if defined(HAVE_CONST_AI_ADDRCONFIG)
    01462 #  define AI_ADDRCONFIG AI_ADDRCONFIG
    01463 # endif
    01464 #endif
    01465 #if !defined(AI_V4MAPPED)
    01466 # if defined(HAVE_CONST_AI_V4MAPPED)
    01467 #  define AI_V4MAPPED AI_V4MAPPED
    01468 # endif
    01469 #endif
    01470 #if !defined(AI_DEFAULT)
    01471 # if defined(HAVE_CONST_AI_DEFAULT)
    01472 #  define AI_DEFAULT AI_DEFAULT
    01473 # endif
    01474 #endif
    01475 #if !defined(NI_MAXHOST)
    01476 # if defined(HAVE_CONST_NI_MAXHOST)
    01477 #  define NI_MAXHOST NI_MAXHOST
    01478 # endif
    01479 #endif
    01480 #if !defined(NI_MAXSERV)
    01481 # if defined(HAVE_CONST_NI_MAXSERV)
    01482 #  define NI_MAXSERV NI_MAXSERV
    01483 # endif
    01484 #endif
    01485 #if !defined(NI_NOFQDN)
    01486 # if defined(HAVE_CONST_NI_NOFQDN)
    01487 #  define NI_NOFQDN NI_NOFQDN
    01488 # endif
    01489 #endif
    01490 #if !defined(NI_NUMERICHOST)
    01491 # if defined(HAVE_CONST_NI_NUMERICHOST)
    01492 #  define NI_NUMERICHOST NI_NUMERICHOST
    01493 # endif
    01494 #endif
    01495 #if !defined(NI_NAMEREQD)
    01496 # if defined(HAVE_CONST_NI_NAMEREQD)
    01497 #  define NI_NAMEREQD NI_NAMEREQD
    01498 # endif
    01499 #endif
    01500 #if !defined(NI_NUMERICSERV)
    01501 # if defined(HAVE_CONST_NI_NUMERICSERV)
    01502 #  define NI_NUMERICSERV NI_NUMERICSERV
    01503 # endif
    01504 #endif
    01505 #if !defined(NI_DGRAM)
    01506 # if defined(HAVE_CONST_NI_DGRAM)
    01507 #  define NI_DGRAM NI_DGRAM
    01508 # endif
    01509 #endif
    01510 #if !defined(SHUT_RD)
    01511 # if defined(HAVE_CONST_SHUT_RD)
    01512 #  define SHUT_RD SHUT_RD
    01513 # else
    01514 #  define SHUT_RD 0
    01515 # endif
    01516 #endif
    01517 #if !defined(SHUT_WR)
    01518 # if defined(HAVE_CONST_SHUT_WR)
    01519 #  define SHUT_WR SHUT_WR
    01520 # else
    01521 #  define SHUT_WR 1
    01522 # endif
    01523 #endif
    01524 #if !defined(SHUT_RDWR)
    01525 # if defined(HAVE_CONST_SHUT_RDWR)
    01526 #  define SHUT_RDWR SHUT_RDWR
    01527 # else
    01528 #  define SHUT_RDWR 2
    01529 # endif
    01530 #endif
    01531 #if !defined(IPV6_JOIN_GROUP)
    01532 # if defined(HAVE_CONST_IPV6_JOIN_GROUP)
    01533 #  define IPV6_JOIN_GROUP IPV6_JOIN_GROUP
    01534 # endif
    01535 #endif
    01536 #if !defined(IPV6_LEAVE_GROUP)
    01537 # if defined(HAVE_CONST_IPV6_LEAVE_GROUP)
    01538 #  define IPV6_LEAVE_GROUP IPV6_LEAVE_GROUP
    01539 # endif
    01540 #endif
    01541 #if !defined(IPV6_MULTICAST_HOPS)
    01542 # if defined(HAVE_CONST_IPV6_MULTICAST_HOPS)
    01543 #  define IPV6_MULTICAST_HOPS IPV6_MULTICAST_HOPS
    01544 # endif
    01545 #endif
    01546 #if !defined(IPV6_MULTICAST_IF)
    01547 # if defined(HAVE_CONST_IPV6_MULTICAST_IF)
    01548 #  define IPV6_MULTICAST_IF IPV6_MULTICAST_IF
    01549 # endif
    01550 #endif
    01551 #if !defined(IPV6_MULTICAST_LOOP)
    01552 # if defined(HAVE_CONST_IPV6_MULTICAST_LOOP)
    01553 #  define IPV6_MULTICAST_LOOP IPV6_MULTICAST_LOOP
    01554 # endif
    01555 #endif
    01556 #if !defined(IPV6_UNICAST_HOPS)
    01557 # if defined(HAVE_CONST_IPV6_UNICAST_HOPS)
    01558 #  define IPV6_UNICAST_HOPS IPV6_UNICAST_HOPS
    01559 # endif
    01560 #endif
    01561 #if !defined(IPV6_V6ONLY)
    01562 # if defined(HAVE_CONST_IPV6_V6ONLY)
    01563 #  define IPV6_V6ONLY IPV6_V6ONLY
    01564 # endif
    01565 #endif
    01566 #if !defined(IPV6_CHECKSUM)
    01567 # if defined(HAVE_CONST_IPV6_CHECKSUM)
    01568 #  define IPV6_CHECKSUM IPV6_CHECKSUM
    01569 # endif
    01570 #endif
    01571 #if !defined(IPV6_DONTFRAG)
    01572 # if defined(HAVE_CONST_IPV6_DONTFRAG)
    01573 #  define IPV6_DONTFRAG IPV6_DONTFRAG
    01574 # endif
    01575 #endif
    01576 #if !defined(IPV6_DSTOPTS)
    01577 # if defined(HAVE_CONST_IPV6_DSTOPTS)
    01578 #  define IPV6_DSTOPTS IPV6_DSTOPTS
    01579 # endif
    01580 #endif
    01581 #if !defined(IPV6_HOPLIMIT)
    01582 # if defined(HAVE_CONST_IPV6_HOPLIMIT)
    01583 #  define IPV6_HOPLIMIT IPV6_HOPLIMIT
    01584 # endif
    01585 #endif
    01586 #if !defined(IPV6_HOPOPTS)
    01587 # if defined(HAVE_CONST_IPV6_HOPOPTS)
    01588 #  define IPV6_HOPOPTS IPV6_HOPOPTS
    01589 # endif
    01590 #endif
    01591 #if !defined(IPV6_NEXTHOP)
    01592 # if defined(HAVE_CONST_IPV6_NEXTHOP)
    01593 #  define IPV6_NEXTHOP IPV6_NEXTHOP
    01594 # endif
    01595 #endif
    01596 #if !defined(IPV6_PATHMTU)
    01597 # if defined(HAVE_CONST_IPV6_PATHMTU)
    01598 #  define IPV6_PATHMTU IPV6_PATHMTU
    01599 # endif
    01600 #endif
    01601 #if !defined(IPV6_PKTINFO)
    01602 # if defined(HAVE_CONST_IPV6_PKTINFO)
    01603 #  define IPV6_PKTINFO IPV6_PKTINFO
    01604 # endif
    01605 #endif
    01606 #if !defined(IPV6_RECVDSTOPTS)
    01607 # if defined(HAVE_CONST_IPV6_RECVDSTOPTS)
    01608 #  define IPV6_RECVDSTOPTS IPV6_RECVDSTOPTS
    01609 # endif
    01610 #endif
    01611 #if !defined(IPV6_RECVHOPLIMIT)
    01612 # if defined(HAVE_CONST_IPV6_RECVHOPLIMIT)
    01613 #  define IPV6_RECVHOPLIMIT IPV6_RECVHOPLIMIT
    01614 # endif
    01615 #endif
    01616 #if !defined(IPV6_RECVHOPOPTS)
    01617 # if defined(HAVE_CONST_IPV6_RECVHOPOPTS)
    01618 #  define IPV6_RECVHOPOPTS IPV6_RECVHOPOPTS
    01619 # endif
    01620 #endif
    01621 #if !defined(IPV6_RECVPKTINFO)
    01622 # if defined(HAVE_CONST_IPV6_RECVPKTINFO)
    01623 #  define IPV6_RECVPKTINFO IPV6_RECVPKTINFO
    01624 # endif
    01625 #endif
    01626 #if !defined(IPV6_RECVRTHDR)
    01627 # if defined(HAVE_CONST_IPV6_RECVRTHDR)
    01628 #  define IPV6_RECVRTHDR IPV6_RECVRTHDR
    01629 # endif
    01630 #endif
    01631 #if !defined(IPV6_RECVTCLASS)
    01632 # if defined(HAVE_CONST_IPV6_RECVTCLASS)
    01633 #  define IPV6_RECVTCLASS IPV6_RECVTCLASS
    01634 # endif
    01635 #endif
    01636 #if !defined(IPV6_RTHDR)
    01637 # if defined(HAVE_CONST_IPV6_RTHDR)
    01638 #  define IPV6_RTHDR IPV6_RTHDR
    01639 # endif
    01640 #endif
    01641 #if !defined(IPV6_RTHDRDSTOPTS)
    01642 # if defined(HAVE_CONST_IPV6_RTHDRDSTOPTS)
    01643 #  define IPV6_RTHDRDSTOPTS IPV6_RTHDRDSTOPTS
    01644 # endif
    01645 #endif
    01646 #if !defined(IPV6_RTHDR_TYPE_0)
    01647 # if defined(HAVE_CONST_IPV6_RTHDR_TYPE_0)
    01648 #  define IPV6_RTHDR_TYPE_0 IPV6_RTHDR_TYPE_0
    01649 # endif
    01650 #endif
    01651 #if !defined(IPV6_RECVPATHMTU)
    01652 # if defined(HAVE_CONST_IPV6_RECVPATHMTU)
    01653 #  define IPV6_RECVPATHMTU IPV6_RECVPATHMTU
    01654 # endif
    01655 #endif
    01656 #if !defined(IPV6_TCLASS)
    01657 # if defined(HAVE_CONST_IPV6_TCLASS)
    01658 #  define IPV6_TCLASS IPV6_TCLASS
    01659 # endif
    01660 #endif
    01661 #if !defined(IPV6_USE_MIN_MTU)
    01662 # if defined(HAVE_CONST_IPV6_USE_MIN_MTU)
    01663 #  define IPV6_USE_MIN_MTU IPV6_USE_MIN_MTU
    01664 # endif
    01665 #endif
    01666 #if !defined(INET_ADDRSTRLEN)
    01667 # if defined(HAVE_CONST_INET_ADDRSTRLEN)
    01668 #  define INET_ADDRSTRLEN INET_ADDRSTRLEN
    01669 # endif
    01670 #endif
    01671 #if !defined(INET6_ADDRSTRLEN)
    01672 # if defined(HAVE_CONST_INET6_ADDRSTRLEN)
    01673 #  define INET6_ADDRSTRLEN INET6_ADDRSTRLEN
    01674 # endif
    01675 #endif
    01676 #if !defined(IFNAMSIZ)
    01677 # if defined(HAVE_CONST_IFNAMSIZ)
    01678 #  define IFNAMSIZ IFNAMSIZ
    01679 # endif
    01680 #endif
    01681 #if !defined(SOMAXCONN)
    01682 # if defined(HAVE_CONST_SOMAXCONN)
    01683 #  define SOMAXCONN SOMAXCONN
    01684 # endif
    01685 #endif
    01686 #if !defined(SCM_RIGHTS)
    01687 # if defined(HAVE_CONST_SCM_RIGHTS)
    01688 #  define SCM_RIGHTS SCM_RIGHTS
    01689 # endif
    01690 #endif
    01691 #if !defined(SCM_TIMESTAMP)
    01692 # if defined(HAVE_CONST_SCM_TIMESTAMP)
    01693 #  define SCM_TIMESTAMP SCM_TIMESTAMP
    01694 # endif
    01695 #endif
    01696 #if !defined(SCM_TIMESTAMPNS)
    01697 # if defined(HAVE_CONST_SCM_TIMESTAMPNS)
    01698 #  define SCM_TIMESTAMPNS SCM_TIMESTAMPNS
    01699 # endif
    01700 #endif
    01701 #if !defined(SCM_BINTIME)
    01702 # if defined(HAVE_CONST_SCM_BINTIME)
    01703 #  define SCM_BINTIME SCM_BINTIME
    01704 # endif
    01705 #endif
    01706 #if !defined(SCM_CREDENTIALS)
    01707 # if defined(HAVE_CONST_SCM_CREDENTIALS)
    01708 #  define SCM_CREDENTIALS SCM_CREDENTIALS
    01709 # endif
    01710 #endif
    01711 #if !defined(SCM_CREDS)
    01712 # if defined(HAVE_CONST_SCM_CREDS)
    01713 #  define SCM_CREDS SCM_CREDS
    01714 # endif
    01715 #endif
    01716 #if !defined(SCM_UCRED)
    01717 # if defined(HAVE_CONST_SCM_UCRED)
    01718 #  define SCM_UCRED SCM_UCRED
    01719 # endif
    01720 #endif
    01721 #if !defined(LOCAL_PEERCRED)
    01722 # if defined(HAVE_CONST_LOCAL_PEERCRED)
    01723 #  define LOCAL_PEERCRED LOCAL_PEERCRED
    01724 # endif
    01725 #endif
    01726 #if !defined(LOCAL_CREDS)
    01727 # if defined(HAVE_CONST_LOCAL_CREDS)
    01728 #  define LOCAL_CREDS LOCAL_CREDS
    01729 # endif
    01730 #endif
    01731 #if !defined(LOCAL_CONNWAIT)
    01732 # if defined(HAVE_CONST_LOCAL_CONNWAIT)
    01733 #  define LOCAL_CONNWAIT LOCAL_CONNWAIT
    01734 # endif
    01735 #endif
    01736
    01737 int rsock_family_to_int(const char *str, long len, int *valp);
    01738
    01739 int rsock_socktype_to_int(const char *str, long len, int *valp);
    01740
    01741 int rsock_ipproto_to_int(const char *str, long len, int *valp);
    01742
    01743 int rsock_unknown_level_to_int(const char *str, long len, int *valp);
    01744
    01745 int rsock_ip_level_to_int(const char *str, long len, int *valp);
    01746
    01747 int rsock_so_optname_to_int(const char *str, long len, int *valp);
    01748
    01749 int rsock_ip_optname_to_int(const char *str, long len, int *valp);
    01750
    01751 #ifdef IPPROTO_IPV6
    01752 int rsock_ipv6_optname_to_int(const char *str, long len, int *valp);
    01753 #endif
    01754
    01755 int rsock_tcp_optname_to_int(const char *str, long len, int *valp);
    01756
    01757 int rsock_udp_optname_to_int(const char *str, long len, int *valp);
    01758
    01759 int rsock_shutdown_how_to_int(const char *str, long len, int *valp);
    01760
    01761 int rsock_scm_optname_to_int(const char *str, long len, int *valp);
    01762
    01763 ID rsock_intern_family(int val);
    01764
    01765 ID rsock_intern_family_noprefix(int val);
    01766
    01767 ID rsock_intern_protocol_family(int val);
    01768
    01769 ID rsock_intern_socktype(int val);
    01770
    01771 ID rsock_intern_ipproto(int val);
    01772
    01773 ID rsock_intern_iplevel(int val);
    01774
    01775 ID rsock_intern_so_optname(int val);
    01776
    01777 ID rsock_intern_ip_optname(int val);
    01778
    01779 ID rsock_intern_ipv6_optname(int val);
    01780
    01781 ID rsock_intern_tcp_optname(int val);
    01782
    01783 ID rsock_intern_udp_optname(int val);
    01784
    01785 ID rsock_intern_scm_optname(int val);
    01786
    01787 ID rsock_intern_local_optname(int val);
    01788
    01789