2 #if !defined(SOCK_STREAM) 3 # if defined(HAVE_CONST_SOCK_STREAM) 4 # define SOCK_STREAM SOCK_STREAM 7 #if !defined(SOCK_DGRAM) 8 # if defined(HAVE_CONST_SOCK_DGRAM) 9 # define SOCK_DGRAM SOCK_DGRAM 12 #if !defined(SOCK_RAW) 13 # if defined(HAVE_CONST_SOCK_RAW) 14 # define SOCK_RAW SOCK_RAW 17 #if !defined(SOCK_RDM) 18 # if defined(HAVE_CONST_SOCK_RDM) 19 # define SOCK_RDM SOCK_RDM 22 #if !defined(SOCK_SEQPACKET) 23 # if defined(HAVE_CONST_SOCK_SEQPACKET) 24 # define SOCK_SEQPACKET SOCK_SEQPACKET 27 #if !defined(SOCK_PACKET) 28 # if defined(HAVE_CONST_SOCK_PACKET) 29 # define SOCK_PACKET SOCK_PACKET 32 #if !defined(AF_UNSPEC) 33 # if defined(HAVE_CONST_AF_UNSPEC) 34 # define AF_UNSPEC AF_UNSPEC 37 #if !defined(PF_UNSPEC) 38 # if defined(HAVE_CONST_PF_UNSPEC) 39 # define PF_UNSPEC PF_UNSPEC 43 # if defined(HAVE_CONST_AF_INET) 44 # define AF_INET AF_INET 48 # if defined(HAVE_CONST_PF_INET) 49 # define PF_INET PF_INET 52 #if !defined(AF_INET6) 53 # if defined(HAVE_CONST_AF_INET6) 54 # define AF_INET6 AF_INET6 57 #if !defined(PF_INET6) 58 # if defined(HAVE_CONST_PF_INET6) 59 # define PF_INET6 PF_INET6 63 # if defined(HAVE_CONST_AF_UNIX) 64 # define AF_UNIX AF_UNIX 68 # if defined(HAVE_CONST_PF_UNIX) 69 # define PF_UNIX PF_UNIX 73 # if defined(HAVE_CONST_AF_AX25) 74 # define AF_AX25 AF_AX25 78 # if defined(HAVE_CONST_PF_AX25) 79 # define PF_AX25 PF_AX25 83 # if defined(HAVE_CONST_AF_IPX) 84 # define AF_IPX AF_IPX 88 # if defined(HAVE_CONST_PF_IPX) 89 # define PF_IPX PF_IPX 92 #if !defined(AF_APPLETALK) 93 # if defined(HAVE_CONST_AF_APPLETALK) 94 # define AF_APPLETALK AF_APPLETALK 97 #if !defined(PF_APPLETALK) 98 # if defined(HAVE_CONST_PF_APPLETALK) 99 # define PF_APPLETALK PF_APPLETALK 102 #if !defined(AF_LOCAL) 103 # if defined(HAVE_CONST_AF_LOCAL) 104 # define AF_LOCAL AF_LOCAL 107 #if !defined(PF_LOCAL) 108 # if defined(HAVE_CONST_PF_LOCAL) 109 # define PF_LOCAL PF_LOCAL 112 #if !defined(AF_IMPLINK) 113 # if defined(HAVE_CONST_AF_IMPLINK) 114 # define AF_IMPLINK AF_IMPLINK 117 #if !defined(PF_IMPLINK) 118 # if defined(HAVE_CONST_PF_IMPLINK) 119 # define PF_IMPLINK PF_IMPLINK 123 # if defined(HAVE_CONST_AF_PUP) 124 # define AF_PUP AF_PUP 128 # if defined(HAVE_CONST_PF_PUP) 129 # define PF_PUP PF_PUP 132 #if !defined(AF_CHAOS) 133 # if defined(HAVE_CONST_AF_CHAOS) 134 # define AF_CHAOS AF_CHAOS 137 #if !defined(PF_CHAOS) 138 # if defined(HAVE_CONST_PF_CHAOS) 139 # define PF_CHAOS PF_CHAOS 143 # if defined(HAVE_CONST_AF_NS) 148 # if defined(HAVE_CONST_PF_NS) 153 # if defined(HAVE_CONST_AF_ISO) 154 # define AF_ISO AF_ISO 158 # if defined(HAVE_CONST_PF_ISO) 159 # define PF_ISO PF_ISO 163 # if defined(HAVE_CONST_AF_OSI) 164 # define AF_OSI AF_OSI 168 # if defined(HAVE_CONST_PF_OSI) 169 # define PF_OSI PF_OSI 172 #if !defined(AF_ECMA) 173 # if defined(HAVE_CONST_AF_ECMA) 174 # define AF_ECMA AF_ECMA 177 #if !defined(PF_ECMA) 178 # if defined(HAVE_CONST_PF_ECMA) 179 # define PF_ECMA PF_ECMA 182 #if !defined(AF_DATAKIT) 183 # if defined(HAVE_CONST_AF_DATAKIT) 184 # define AF_DATAKIT AF_DATAKIT 187 #if !defined(PF_DATAKIT) 188 # if defined(HAVE_CONST_PF_DATAKIT) 189 # define PF_DATAKIT PF_DATAKIT 192 #if !defined(AF_CCITT) 193 # if defined(HAVE_CONST_AF_CCITT) 194 # define AF_CCITT AF_CCITT 197 #if !defined(PF_CCITT) 198 # if defined(HAVE_CONST_PF_CCITT) 199 # define PF_CCITT PF_CCITT 203 # if defined(HAVE_CONST_AF_SNA) 204 # define AF_SNA AF_SNA 208 # if defined(HAVE_CONST_PF_SNA) 209 # define PF_SNA PF_SNA 213 # if defined(HAVE_CONST_AF_DEC) 214 # define AF_DEC AF_DEC 218 # if defined(HAVE_CONST_PF_DEC) 219 # define PF_DEC PF_DEC 223 # if defined(HAVE_CONST_AF_DLI) 224 # define AF_DLI AF_DLI 228 # if defined(HAVE_CONST_PF_DLI) 229 # define PF_DLI PF_DLI 233 # if defined(HAVE_CONST_AF_LAT) 234 # define AF_LAT AF_LAT 238 # if defined(HAVE_CONST_PF_LAT) 239 # define PF_LAT PF_LAT 242 #if !defined(AF_HYLINK) 243 # if defined(HAVE_CONST_AF_HYLINK) 244 # define AF_HYLINK AF_HYLINK 247 #if !defined(PF_HYLINK) 248 # if defined(HAVE_CONST_PF_HYLINK) 249 # define PF_HYLINK PF_HYLINK 252 #if !defined(AF_ROUTE) 253 # if defined(HAVE_CONST_AF_ROUTE) 254 # define AF_ROUTE AF_ROUTE 257 #if !defined(PF_ROUTE) 258 # if defined(HAVE_CONST_PF_ROUTE) 259 # define PF_ROUTE PF_ROUTE 262 #if !defined(AF_LINK) 263 # if defined(HAVE_CONST_AF_LINK) 264 # define AF_LINK AF_LINK 267 #if !defined(PF_LINK) 268 # if defined(HAVE_CONST_PF_LINK) 269 # define PF_LINK PF_LINK 272 #if !defined(AF_COIP) 273 # if defined(HAVE_CONST_AF_COIP) 274 # define AF_COIP AF_COIP 277 #if !defined(PF_COIP) 278 # if defined(HAVE_CONST_PF_COIP) 279 # define PF_COIP PF_COIP 283 # if defined(HAVE_CONST_AF_CNT) 284 # define AF_CNT AF_CNT 288 # if defined(HAVE_CONST_PF_CNT) 289 # define PF_CNT PF_CNT 293 # if defined(HAVE_CONST_AF_SIP) 294 # define AF_SIP AF_SIP 298 # if defined(HAVE_CONST_PF_SIP) 299 # define PF_SIP PF_SIP 302 #if !defined(AF_NDRV) 303 # if defined(HAVE_CONST_AF_NDRV) 304 # define AF_NDRV AF_NDRV 307 #if !defined(PF_NDRV) 308 # if defined(HAVE_CONST_PF_NDRV) 309 # define PF_NDRV PF_NDRV 312 #if !defined(AF_ISDN) 313 # if defined(HAVE_CONST_AF_ISDN) 314 # define AF_ISDN AF_ISDN 317 #if !defined(PF_ISDN) 318 # if defined(HAVE_CONST_PF_ISDN) 319 # define PF_ISDN PF_ISDN 322 #if !defined(AF_NATM) 323 # if defined(HAVE_CONST_AF_NATM) 324 # define AF_NATM AF_NATM 327 #if !defined(PF_NATM) 328 # if defined(HAVE_CONST_PF_NATM) 329 # define PF_NATM PF_NATM 332 #if !defined(AF_SYSTEM) 333 # if defined(HAVE_CONST_AF_SYSTEM) 334 # define AF_SYSTEM AF_SYSTEM 337 #if !defined(PF_SYSTEM) 338 # if defined(HAVE_CONST_PF_SYSTEM) 339 # define PF_SYSTEM PF_SYSTEM 342 #if !defined(AF_NETBIOS) 343 # if defined(HAVE_CONST_AF_NETBIOS) 344 # define AF_NETBIOS AF_NETBIOS 347 #if !defined(PF_NETBIOS) 348 # if defined(HAVE_CONST_PF_NETBIOS) 349 # define PF_NETBIOS PF_NETBIOS 353 # if defined(HAVE_CONST_AF_PPP) 354 # define AF_PPP AF_PPP 358 # if defined(HAVE_CONST_PF_PPP) 359 # define PF_PPP PF_PPP 363 # if defined(HAVE_CONST_AF_ATM) 364 # define AF_ATM AF_ATM 368 # if defined(HAVE_CONST_PF_ATM) 369 # define PF_ATM PF_ATM 372 #if !defined(AF_NETGRAPH) 373 # if defined(HAVE_CONST_AF_NETGRAPH) 374 # define AF_NETGRAPH AF_NETGRAPH 377 #if !defined(PF_NETGRAPH) 378 # if defined(HAVE_CONST_PF_NETGRAPH) 379 # define PF_NETGRAPH PF_NETGRAPH 383 # if defined(HAVE_CONST_AF_MAX) 384 # define AF_MAX AF_MAX 388 # if defined(HAVE_CONST_PF_MAX) 389 # define PF_MAX PF_MAX 392 #if !defined(AF_PACKET) 393 # if defined(HAVE_CONST_AF_PACKET) 394 # define AF_PACKET AF_PACKET 397 #if !defined(PF_PACKET) 398 # if defined(HAVE_CONST_PF_PACKET) 399 # define PF_PACKET PF_PACKET 402 #if !defined(AF_E164) 403 # if defined(HAVE_CONST_AF_E164) 404 # define AF_E164 AF_E164 408 # if defined(HAVE_CONST_PF_XTP) 409 # define PF_XTP PF_XTP 412 #if !defined(PF_RTIP) 413 # if defined(HAVE_CONST_PF_RTIP) 414 # define PF_RTIP PF_RTIP 418 # if defined(HAVE_CONST_PF_PIP) 419 # define PF_PIP PF_PIP 423 # if defined(HAVE_CONST_PF_KEY) 424 # define PF_KEY PF_KEY 427 #if !defined(MSG_OOB) 428 # if defined(HAVE_CONST_MSG_OOB) 429 # define MSG_OOB MSG_OOB 432 #if !defined(MSG_PEEK) 433 # if defined(HAVE_CONST_MSG_PEEK) 434 # define MSG_PEEK MSG_PEEK 437 #if !defined(MSG_DONTROUTE) 438 # if defined(HAVE_CONST_MSG_DONTROUTE) 439 # define MSG_DONTROUTE MSG_DONTROUTE 442 #if !defined(MSG_EOR) 443 # if defined(HAVE_CONST_MSG_EOR) 444 # define MSG_EOR MSG_EOR 447 #if !defined(MSG_TRUNC) 448 # if defined(HAVE_CONST_MSG_TRUNC) 449 # define MSG_TRUNC MSG_TRUNC 452 #if !defined(MSG_CTRUNC) 453 # if defined(HAVE_CONST_MSG_CTRUNC) 454 # define MSG_CTRUNC MSG_CTRUNC 457 #if !defined(MSG_WAITALL) 458 # if defined(HAVE_CONST_MSG_WAITALL) 459 # define MSG_WAITALL MSG_WAITALL 462 #if !defined(MSG_DONTWAIT) 463 # if defined(HAVE_CONST_MSG_DONTWAIT) 464 # define MSG_DONTWAIT MSG_DONTWAIT 467 #if !defined(MSG_EOF) 468 # if defined(HAVE_CONST_MSG_EOF) 469 # define MSG_EOF MSG_EOF 472 #if !defined(MSG_FLUSH) 473 # if defined(HAVE_CONST_MSG_FLUSH) 474 # define MSG_FLUSH MSG_FLUSH 477 #if !defined(MSG_HOLD) 478 # if defined(HAVE_CONST_MSG_HOLD) 479 # define MSG_HOLD MSG_HOLD 482 #if !defined(MSG_SEND) 483 # if defined(HAVE_CONST_MSG_SEND) 484 # define MSG_SEND MSG_SEND 487 #if !defined(MSG_HAVEMORE) 488 # if defined(HAVE_CONST_MSG_HAVEMORE) 489 # define MSG_HAVEMORE MSG_HAVEMORE 492 #if !defined(MSG_RCVMORE) 493 # if defined(HAVE_CONST_MSG_RCVMORE) 494 # define MSG_RCVMORE MSG_RCVMORE 497 #if !defined(MSG_COMPAT) 498 # if defined(HAVE_CONST_MSG_COMPAT) 499 # define MSG_COMPAT MSG_COMPAT 502 #if !defined(MSG_PROXY) 503 # if defined(HAVE_CONST_MSG_PROXY) 504 # define MSG_PROXY MSG_PROXY 507 #if !defined(MSG_FIN) 508 # if defined(HAVE_CONST_MSG_FIN) 509 # define MSG_FIN MSG_FIN 512 #if !defined(MSG_SYN) 513 # if defined(HAVE_CONST_MSG_SYN) 514 # define MSG_SYN MSG_SYN 517 #if !defined(MSG_CONFIRM) 518 # if defined(HAVE_CONST_MSG_CONFIRM) 519 # define MSG_CONFIRM MSG_CONFIRM 522 #if !defined(MSG_RST) 523 # if defined(HAVE_CONST_MSG_RST) 524 # define MSG_RST MSG_RST 527 #if !defined(MSG_ERRQUEUE) 528 # if defined(HAVE_CONST_MSG_ERRQUEUE) 529 # define MSG_ERRQUEUE MSG_ERRQUEUE 532 #if !defined(MSG_NOSIGNAL) 533 # if defined(HAVE_CONST_MSG_NOSIGNAL) 534 # define MSG_NOSIGNAL MSG_NOSIGNAL 537 #if !defined(MSG_MORE) 538 # if defined(HAVE_CONST_MSG_MORE) 539 # define MSG_MORE MSG_MORE 542 #if !defined(MSG_FASTOPEN) 543 # if defined(HAVE_CONST_MSG_FASTOPEN) 544 # define MSG_FASTOPEN MSG_FASTOPEN 547 #if !defined(SOL_SOCKET) 548 # if defined(HAVE_CONST_SOL_SOCKET) 549 # define SOL_SOCKET SOL_SOCKET 553 # if defined(HAVE_CONST_SOL_IP) 554 # define SOL_IP SOL_IP 557 #if !defined(SOL_IPX) 558 # if defined(HAVE_CONST_SOL_IPX) 559 # define SOL_IPX SOL_IPX 562 #if !defined(SOL_AX25) 563 # if defined(HAVE_CONST_SOL_AX25) 564 # define SOL_AX25 SOL_AX25 567 #if !defined(SOL_ATALK) 568 # if defined(HAVE_CONST_SOL_ATALK) 569 # define SOL_ATALK SOL_ATALK 572 #if !defined(SOL_TCP) 573 # if defined(HAVE_CONST_SOL_TCP) 574 # define SOL_TCP SOL_TCP 577 #if !defined(SOL_UDP) 578 # if defined(HAVE_CONST_SOL_UDP) 579 # define SOL_UDP SOL_UDP 582 #if !defined(IPPROTO_IP) 583 # if defined(HAVE_CONST_IPPROTO_IP) 584 # define IPPROTO_IP IPPROTO_IP 586 # define IPPROTO_IP 0 589 #if !defined(IPPROTO_ICMP) 590 # if defined(HAVE_CONST_IPPROTO_ICMP) 591 # define IPPROTO_ICMP IPPROTO_ICMP 593 # define IPPROTO_ICMP 1 596 #if !defined(IPPROTO_IGMP) 597 # if defined(HAVE_CONST_IPPROTO_IGMP) 598 # define IPPROTO_IGMP IPPROTO_IGMP 601 #if !defined(IPPROTO_GGP) 602 # if defined(HAVE_CONST_IPPROTO_GGP) 603 # define IPPROTO_GGP IPPROTO_GGP 606 #if !defined(IPPROTO_TCP) 607 # if defined(HAVE_CONST_IPPROTO_TCP) 608 # define IPPROTO_TCP IPPROTO_TCP 610 # define IPPROTO_TCP 6 613 #if !defined(IPPROTO_EGP) 614 # if defined(HAVE_CONST_IPPROTO_EGP) 615 # define IPPROTO_EGP IPPROTO_EGP 618 #if !defined(IPPROTO_PUP) 619 # if defined(HAVE_CONST_IPPROTO_PUP) 620 # define IPPROTO_PUP IPPROTO_PUP 623 #if !defined(IPPROTO_UDP) 624 # if defined(HAVE_CONST_IPPROTO_UDP) 625 # define IPPROTO_UDP IPPROTO_UDP 627 # define IPPROTO_UDP 17 630 #if !defined(IPPROTO_IDP) 631 # if defined(HAVE_CONST_IPPROTO_IDP) 632 # define IPPROTO_IDP IPPROTO_IDP 635 #if !defined(IPPROTO_HELLO) 636 # if defined(HAVE_CONST_IPPROTO_HELLO) 637 # define IPPROTO_HELLO IPPROTO_HELLO 640 #if !defined(IPPROTO_ND) 641 # if defined(HAVE_CONST_IPPROTO_ND) 642 # define IPPROTO_ND IPPROTO_ND 645 #if !defined(IPPROTO_TP) 646 # if defined(HAVE_CONST_IPPROTO_TP) 647 # define IPPROTO_TP IPPROTO_TP 650 #if !defined(IPPROTO_XTP) 651 # if defined(HAVE_CONST_IPPROTO_XTP) 652 # define IPPROTO_XTP IPPROTO_XTP 655 #if !defined(IPPROTO_EON) 656 # if defined(HAVE_CONST_IPPROTO_EON) 657 # define IPPROTO_EON IPPROTO_EON 660 #if !defined(IPPROTO_BIP) 661 # if defined(HAVE_CONST_IPPROTO_BIP) 662 # define IPPROTO_BIP IPPROTO_BIP 665 #if !defined(IPPROTO_AH) 666 # if defined(HAVE_CONST_IPPROTO_AH) 667 # define IPPROTO_AH IPPROTO_AH 670 #if !defined(IPPROTO_DSTOPTS) 671 # if defined(HAVE_CONST_IPPROTO_DSTOPTS) 672 # define IPPROTO_DSTOPTS IPPROTO_DSTOPTS 675 #if !defined(IPPROTO_ESP) 676 # if defined(HAVE_CONST_IPPROTO_ESP) 677 # define IPPROTO_ESP IPPROTO_ESP 680 #if !defined(IPPROTO_FRAGMENT) 681 # if defined(HAVE_CONST_IPPROTO_FRAGMENT) 682 # define IPPROTO_FRAGMENT IPPROTO_FRAGMENT 685 #if !defined(IPPROTO_HOPOPTS) 686 # if defined(HAVE_CONST_IPPROTO_HOPOPTS) 687 # define IPPROTO_HOPOPTS IPPROTO_HOPOPTS 690 #if !defined(IPPROTO_ICMPV6) 691 # if defined(HAVE_CONST_IPPROTO_ICMPV6) 692 # define IPPROTO_ICMPV6 IPPROTO_ICMPV6 695 #if !defined(IPPROTO_IPV6) 696 # if defined(HAVE_CONST_IPPROTO_IPV6) 697 # define IPPROTO_IPV6 IPPROTO_IPV6 700 #if !defined(IPPROTO_NONE) 701 # if defined(HAVE_CONST_IPPROTO_NONE) 702 # define IPPROTO_NONE IPPROTO_NONE 705 #if !defined(IPPROTO_ROUTING) 706 # if defined(HAVE_CONST_IPPROTO_ROUTING) 707 # define IPPROTO_ROUTING IPPROTO_ROUTING 710 #if !defined(IPPROTO_RAW) 711 # if defined(HAVE_CONST_IPPROTO_RAW) 712 # define IPPROTO_RAW IPPROTO_RAW 714 # define IPPROTO_RAW 255 717 #if !defined(IPPROTO_MAX) 718 # if defined(HAVE_CONST_IPPROTO_MAX) 719 # define IPPROTO_MAX IPPROTO_MAX 722 #if !defined(IPPORT_RESERVED) 723 # if defined(HAVE_CONST_IPPORT_RESERVED) 724 # define IPPORT_RESERVED IPPORT_RESERVED 726 # define IPPORT_RESERVED 1024 729 #if !defined(IPPORT_USERRESERVED) 730 # if defined(HAVE_CONST_IPPORT_USERRESERVED) 731 # define IPPORT_USERRESERVED IPPORT_USERRESERVED 733 # define IPPORT_USERRESERVED 5000 736 #if !defined(INADDR_ANY) 737 # if defined(HAVE_CONST_INADDR_ANY) 738 # define INADDR_ANY INADDR_ANY 740 # define INADDR_ANY 0x00000000 743 #if !defined(INADDR_BROADCAST) 744 # if defined(HAVE_CONST_INADDR_BROADCAST) 745 # define INADDR_BROADCAST INADDR_BROADCAST 747 # define INADDR_BROADCAST 0xffffffff 750 #if !defined(INADDR_LOOPBACK) 751 # if defined(HAVE_CONST_INADDR_LOOPBACK) 752 # define INADDR_LOOPBACK INADDR_LOOPBACK 754 # define INADDR_LOOPBACK 0x7F000001 757 #if !defined(INADDR_UNSPEC_GROUP) 758 # if defined(HAVE_CONST_INADDR_UNSPEC_GROUP) 759 # define INADDR_UNSPEC_GROUP INADDR_UNSPEC_GROUP 761 # define INADDR_UNSPEC_GROUP 0xe0000000 764 #if !defined(INADDR_ALLHOSTS_GROUP) 765 # if defined(HAVE_CONST_INADDR_ALLHOSTS_GROUP) 766 # define INADDR_ALLHOSTS_GROUP INADDR_ALLHOSTS_GROUP 768 # define INADDR_ALLHOSTS_GROUP 0xe0000001 771 #if !defined(INADDR_MAX_LOCAL_GROUP) 772 # if defined(HAVE_CONST_INADDR_MAX_LOCAL_GROUP) 773 # define INADDR_MAX_LOCAL_GROUP INADDR_MAX_LOCAL_GROUP 775 # define INADDR_MAX_LOCAL_GROUP 0xe00000ff 778 #if !defined(INADDR_NONE) 779 # if defined(HAVE_CONST_INADDR_NONE) 780 # define INADDR_NONE INADDR_NONE 782 # define INADDR_NONE 0xffffffff 785 #if !defined(IP_OPTIONS) 786 # if defined(HAVE_CONST_IP_OPTIONS) 787 # define IP_OPTIONS IP_OPTIONS 790 #if !defined(IP_HDRINCL) 791 # if defined(HAVE_CONST_IP_HDRINCL) 792 # define IP_HDRINCL IP_HDRINCL 796 # if defined(HAVE_CONST_IP_TOS) 797 # define IP_TOS IP_TOS 801 # if defined(HAVE_CONST_IP_TTL) 802 # define IP_TTL IP_TTL 805 #if !defined(IP_RECVOPTS) 806 # if defined(HAVE_CONST_IP_RECVOPTS) 807 # define IP_RECVOPTS IP_RECVOPTS 810 #if !defined(IP_RECVRETOPTS) 811 # if defined(HAVE_CONST_IP_RECVRETOPTS) 812 # define IP_RECVRETOPTS IP_RECVRETOPTS 815 #if !defined(IP_RECVDSTADDR) 816 # if defined(HAVE_CONST_IP_RECVDSTADDR) 817 # define IP_RECVDSTADDR IP_RECVDSTADDR 820 #if !defined(IP_RETOPTS) 821 # if defined(HAVE_CONST_IP_RETOPTS) 822 # define IP_RETOPTS IP_RETOPTS 825 #if !defined(IP_MINTTL) 826 # if defined(HAVE_CONST_IP_MINTTL) 827 # define IP_MINTTL IP_MINTTL 830 #if !defined(IP_DONTFRAG) 831 # if defined(HAVE_CONST_IP_DONTFRAG) 832 # define IP_DONTFRAG IP_DONTFRAG 835 #if !defined(IP_SENDSRCADDR) 836 # if defined(HAVE_CONST_IP_SENDSRCADDR) 837 # define IP_SENDSRCADDR IP_SENDSRCADDR 840 #if !defined(IP_ONESBCAST) 841 # if defined(HAVE_CONST_IP_ONESBCAST) 842 # define IP_ONESBCAST IP_ONESBCAST 845 #if !defined(IP_RECVTTL) 846 # if defined(HAVE_CONST_IP_RECVTTL) 847 # define IP_RECVTTL IP_RECVTTL 850 #if !defined(IP_RECVIF) 851 # if defined(HAVE_CONST_IP_RECVIF) 852 # define IP_RECVIF IP_RECVIF 855 #if !defined(IP_RECVSLLA) 856 # if defined(HAVE_CONST_IP_RECVSLLA) 857 # define IP_RECVSLLA IP_RECVSLLA 860 #if !defined(IP_PORTRANGE) 861 # if defined(HAVE_CONST_IP_PORTRANGE) 862 # define IP_PORTRANGE IP_PORTRANGE 865 #if !defined(IP_MULTICAST_IF) 866 # if defined(HAVE_CONST_IP_MULTICAST_IF) 867 # define IP_MULTICAST_IF IP_MULTICAST_IF 870 #if !defined(IP_MULTICAST_TTL) 871 # if defined(HAVE_CONST_IP_MULTICAST_TTL) 872 # define IP_MULTICAST_TTL IP_MULTICAST_TTL 875 #if !defined(IP_MULTICAST_LOOP) 876 # if defined(HAVE_CONST_IP_MULTICAST_LOOP) 877 # define IP_MULTICAST_LOOP IP_MULTICAST_LOOP 880 #if !defined(IP_ADD_MEMBERSHIP) 881 # if defined(HAVE_CONST_IP_ADD_MEMBERSHIP) 882 # define IP_ADD_MEMBERSHIP IP_ADD_MEMBERSHIP 885 #if !defined(IP_DROP_MEMBERSHIP) 886 # if defined(HAVE_CONST_IP_DROP_MEMBERSHIP) 887 # define IP_DROP_MEMBERSHIP IP_DROP_MEMBERSHIP 890 #if !defined(IP_DEFAULT_MULTICAST_TTL) 891 # if defined(HAVE_CONST_IP_DEFAULT_MULTICAST_TTL) 892 # define IP_DEFAULT_MULTICAST_TTL IP_DEFAULT_MULTICAST_TTL 895 #if !defined(IP_DEFAULT_MULTICAST_LOOP) 896 # if defined(HAVE_CONST_IP_DEFAULT_MULTICAST_LOOP) 897 # define IP_DEFAULT_MULTICAST_LOOP IP_DEFAULT_MULTICAST_LOOP 900 #if !defined(IP_MAX_MEMBERSHIPS) 901 # if defined(HAVE_CONST_IP_MAX_MEMBERSHIPS) 902 # define IP_MAX_MEMBERSHIPS IP_MAX_MEMBERSHIPS 905 #if !defined(IP_ROUTER_ALERT) 906 # if defined(HAVE_CONST_IP_ROUTER_ALERT) 907 # define IP_ROUTER_ALERT IP_ROUTER_ALERT 910 #if !defined(IP_PKTINFO) 911 # if defined(HAVE_CONST_IP_PKTINFO) 912 # define IP_PKTINFO IP_PKTINFO 915 #if !defined(IP_PKTOPTIONS) 916 # if defined(HAVE_CONST_IP_PKTOPTIONS) 917 # define IP_PKTOPTIONS IP_PKTOPTIONS 920 #if !defined(IP_MTU_DISCOVER) 921 # if defined(HAVE_CONST_IP_MTU_DISCOVER) 922 # define IP_MTU_DISCOVER IP_MTU_DISCOVER 925 #if !defined(IP_RECVERR) 926 # if defined(HAVE_CONST_IP_RECVERR) 927 # define IP_RECVERR IP_RECVERR 930 #if !defined(IP_RECVTOS) 931 # if defined(HAVE_CONST_IP_RECVTOS) 932 # define IP_RECVTOS IP_RECVTOS 936 # if defined(HAVE_CONST_IP_MTU) 937 # define IP_MTU IP_MTU 940 #if !defined(IP_FREEBIND) 941 # if defined(HAVE_CONST_IP_FREEBIND) 942 # define IP_FREEBIND IP_FREEBIND 945 #if !defined(IP_IPSEC_POLICY) 946 # if defined(HAVE_CONST_IP_IPSEC_POLICY) 947 # define IP_IPSEC_POLICY IP_IPSEC_POLICY 950 #if !defined(IP_XFRM_POLICY) 951 # if defined(HAVE_CONST_IP_XFRM_POLICY) 952 # define IP_XFRM_POLICY IP_XFRM_POLICY 955 #if !defined(IP_PASSSEC) 956 # if defined(HAVE_CONST_IP_PASSSEC) 957 # define IP_PASSSEC IP_PASSSEC 960 #if !defined(IP_TRANSPARENT) 961 # if defined(HAVE_CONST_IP_TRANSPARENT) 962 # define IP_TRANSPARENT IP_TRANSPARENT 965 #if !defined(IP_PMTUDISC_DONT) 966 # if defined(HAVE_CONST_IP_PMTUDISC_DONT) 967 # define IP_PMTUDISC_DONT IP_PMTUDISC_DONT 970 #if !defined(IP_PMTUDISC_WANT) 971 # if defined(HAVE_CONST_IP_PMTUDISC_WANT) 972 # define IP_PMTUDISC_WANT IP_PMTUDISC_WANT 975 #if !defined(IP_PMTUDISC_DO) 976 # if defined(HAVE_CONST_IP_PMTUDISC_DO) 977 # define IP_PMTUDISC_DO IP_PMTUDISC_DO 980 #if !defined(IP_UNBLOCK_SOURCE) 981 # if defined(HAVE_CONST_IP_UNBLOCK_SOURCE) 982 # define IP_UNBLOCK_SOURCE IP_UNBLOCK_SOURCE 985 #if !defined(IP_BLOCK_SOURCE) 986 # if defined(HAVE_CONST_IP_BLOCK_SOURCE) 987 # define IP_BLOCK_SOURCE IP_BLOCK_SOURCE 990 #if !defined(IP_ADD_SOURCE_MEMBERSHIP) 991 # if defined(HAVE_CONST_IP_ADD_SOURCE_MEMBERSHIP) 992 # define IP_ADD_SOURCE_MEMBERSHIP IP_ADD_SOURCE_MEMBERSHIP 995 #if !defined(IP_DROP_SOURCE_MEMBERSHIP) 996 # if defined(HAVE_CONST_IP_DROP_SOURCE_MEMBERSHIP) 997 # define IP_DROP_SOURCE_MEMBERSHIP IP_DROP_SOURCE_MEMBERSHIP 1000 #if !defined(IP_MSFILTER) 1001 # if defined(HAVE_CONST_IP_MSFILTER) 1002 # define IP_MSFILTER IP_MSFILTER 1005 #if !defined(MCAST_JOIN_GROUP) 1006 # if defined(HAVE_CONST_MCAST_JOIN_GROUP) 1007 # define MCAST_JOIN_GROUP MCAST_JOIN_GROUP 1010 #if !defined(MCAST_BLOCK_SOURCE) 1011 # if defined(HAVE_CONST_MCAST_BLOCK_SOURCE) 1012 # define MCAST_BLOCK_SOURCE MCAST_BLOCK_SOURCE 1015 #if !defined(MCAST_UNBLOCK_SOURCE) 1016 # if defined(HAVE_CONST_MCAST_UNBLOCK_SOURCE) 1017 # define MCAST_UNBLOCK_SOURCE MCAST_UNBLOCK_SOURCE 1020 #if !defined(MCAST_LEAVE_GROUP) 1021 # if defined(HAVE_CONST_MCAST_LEAVE_GROUP) 1022 # define MCAST_LEAVE_GROUP MCAST_LEAVE_GROUP 1025 #if !defined(MCAST_JOIN_SOURCE_GROUP) 1026 # if defined(HAVE_CONST_MCAST_JOIN_SOURCE_GROUP) 1027 # define MCAST_JOIN_SOURCE_GROUP MCAST_JOIN_SOURCE_GROUP 1030 #if !defined(MCAST_LEAVE_SOURCE_GROUP) 1031 # if defined(HAVE_CONST_MCAST_LEAVE_SOURCE_GROUP) 1032 # define MCAST_LEAVE_SOURCE_GROUP MCAST_LEAVE_SOURCE_GROUP 1035 #if !defined(MCAST_MSFILTER) 1036 # if defined(HAVE_CONST_MCAST_MSFILTER) 1037 # define MCAST_MSFILTER MCAST_MSFILTER 1040 #if !defined(MCAST_EXCLUDE) 1041 # if defined(HAVE_CONST_MCAST_EXCLUDE) 1042 # define MCAST_EXCLUDE MCAST_EXCLUDE 1045 #if !defined(MCAST_INCLUDE) 1046 # if defined(HAVE_CONST_MCAST_INCLUDE) 1047 # define MCAST_INCLUDE MCAST_INCLUDE 1050 #if !defined(SO_DEBUG) 1051 # if defined(HAVE_CONST_SO_DEBUG) 1052 # define SO_DEBUG SO_DEBUG 1055 #if !defined(SO_REUSEADDR) 1056 # if defined(HAVE_CONST_SO_REUSEADDR) 1057 # define SO_REUSEADDR SO_REUSEADDR 1060 #if !defined(SO_REUSEPORT) 1061 # if defined(HAVE_CONST_SO_REUSEPORT) 1062 # define SO_REUSEPORT SO_REUSEPORT 1065 #if !defined(SO_TYPE) 1066 # if defined(HAVE_CONST_SO_TYPE) 1067 # define SO_TYPE SO_TYPE 1070 #if !defined(SO_ERROR) 1071 # if defined(HAVE_CONST_SO_ERROR) 1072 # define SO_ERROR SO_ERROR 1075 #if !defined(SO_DONTROUTE) 1076 # if defined(HAVE_CONST_SO_DONTROUTE) 1077 # define SO_DONTROUTE SO_DONTROUTE 1080 #if !defined(SO_BROADCAST) 1081 # if defined(HAVE_CONST_SO_BROADCAST) 1082 # define SO_BROADCAST SO_BROADCAST 1085 #if !defined(SO_SNDBUF) 1086 # if defined(HAVE_CONST_SO_SNDBUF) 1087 # define SO_SNDBUF SO_SNDBUF 1090 #if !defined(SO_RCVBUF) 1091 # if defined(HAVE_CONST_SO_RCVBUF) 1092 # define SO_RCVBUF SO_RCVBUF 1095 #if !defined(SO_SNDBUFFORCE) 1096 # if defined(HAVE_CONST_SO_SNDBUFFORCE) 1097 # define SO_SNDBUFFORCE SO_SNDBUFFORCE 1100 #if !defined(SO_RCVBUFFORCE) 1101 # if defined(HAVE_CONST_SO_RCVBUFFORCE) 1102 # define SO_RCVBUFFORCE SO_RCVBUFFORCE 1105 #if !defined(SO_KEEPALIVE) 1106 # if defined(HAVE_CONST_SO_KEEPALIVE) 1107 # define SO_KEEPALIVE SO_KEEPALIVE 1110 #if !defined(SO_OOBINLINE) 1111 # if defined(HAVE_CONST_SO_OOBINLINE) 1112 # define SO_OOBINLINE SO_OOBINLINE 1115 #if !defined(SO_NO_CHECK) 1116 # if defined(HAVE_CONST_SO_NO_CHECK) 1117 # define SO_NO_CHECK SO_NO_CHECK 1120 #if !defined(SO_PRIORITY) 1121 # if defined(HAVE_CONST_SO_PRIORITY) 1122 # define SO_PRIORITY SO_PRIORITY 1125 #if !defined(SO_LINGER) 1126 # if defined(HAVE_CONST_SO_LINGER) 1127 # define SO_LINGER SO_LINGER 1130 #if !defined(SO_PASSCRED) 1131 # if defined(HAVE_CONST_SO_PASSCRED) 1132 # define SO_PASSCRED SO_PASSCRED 1135 #if !defined(SO_PEERCRED) 1136 # if defined(HAVE_CONST_SO_PEERCRED) 1137 # define SO_PEERCRED SO_PEERCRED 1140 #if !defined(SO_RCVLOWAT) 1141 # if defined(HAVE_CONST_SO_RCVLOWAT) 1142 # define SO_RCVLOWAT SO_RCVLOWAT 1145 #if !defined(SO_SNDLOWAT) 1146 # if defined(HAVE_CONST_SO_SNDLOWAT) 1147 # define SO_SNDLOWAT SO_SNDLOWAT 1150 #if !defined(SO_RCVTIMEO) 1151 # if defined(HAVE_CONST_SO_RCVTIMEO) 1152 # define SO_RCVTIMEO SO_RCVTIMEO 1155 #if !defined(SO_SNDTIMEO) 1156 # if defined(HAVE_CONST_SO_SNDTIMEO) 1157 # define SO_SNDTIMEO SO_SNDTIMEO 1160 #if !defined(SO_ACCEPTCONN) 1161 # if defined(HAVE_CONST_SO_ACCEPTCONN) 1162 # define SO_ACCEPTCONN SO_ACCEPTCONN 1165 #if !defined(SO_USELOOPBACK) 1166 # if defined(HAVE_CONST_SO_USELOOPBACK) 1167 # define SO_USELOOPBACK SO_USELOOPBACK 1170 #if !defined(SO_ACCEPTFILTER) 1171 # if defined(HAVE_CONST_SO_ACCEPTFILTER) 1172 # define SO_ACCEPTFILTER SO_ACCEPTFILTER 1175 #if !defined(SO_DONTTRUNC) 1176 # if defined(HAVE_CONST_SO_DONTTRUNC) 1177 # define SO_DONTTRUNC SO_DONTTRUNC 1180 #if !defined(SO_WANTMORE) 1181 # if defined(HAVE_CONST_SO_WANTMORE) 1182 # define SO_WANTMORE SO_WANTMORE 1185 #if !defined(SO_WANTOOBFLAG) 1186 # if defined(HAVE_CONST_SO_WANTOOBFLAG) 1187 # define SO_WANTOOBFLAG SO_WANTOOBFLAG 1190 #if !defined(SO_NREAD) 1191 # if defined(HAVE_CONST_SO_NREAD) 1192 # define SO_NREAD SO_NREAD 1195 #if !defined(SO_NKE) 1196 # if defined(HAVE_CONST_SO_NKE) 1197 # define SO_NKE SO_NKE 1200 #if !defined(SO_NOSIGPIPE) 1201 # if defined(HAVE_CONST_SO_NOSIGPIPE) 1202 # define SO_NOSIGPIPE SO_NOSIGPIPE 1205 #if !defined(SO_SECURITY_AUTHENTICATION) 1206 # if defined(HAVE_CONST_SO_SECURITY_AUTHENTICATION) 1207 # define SO_SECURITY_AUTHENTICATION SO_SECURITY_AUTHENTICATION 1210 #if !defined(SO_SECURITY_ENCRYPTION_TRANSPORT) 1211 # if defined(HAVE_CONST_SO_SECURITY_ENCRYPTION_TRANSPORT) 1212 # define SO_SECURITY_ENCRYPTION_TRANSPORT SO_SECURITY_ENCRYPTION_TRANSPORT 1215 #if !defined(SO_SECURITY_ENCRYPTION_NETWORK) 1216 # if defined(HAVE_CONST_SO_SECURITY_ENCRYPTION_NETWORK) 1217 # define SO_SECURITY_ENCRYPTION_NETWORK SO_SECURITY_ENCRYPTION_NETWORK 1220 #if !defined(SO_BINDTODEVICE) 1221 # if defined(HAVE_CONST_SO_BINDTODEVICE) 1222 # define SO_BINDTODEVICE SO_BINDTODEVICE 1225 #if !defined(SO_ATTACH_FILTER) 1226 # if defined(HAVE_CONST_SO_ATTACH_FILTER) 1227 # define SO_ATTACH_FILTER SO_ATTACH_FILTER 1230 #if !defined(SO_DETACH_FILTER) 1231 # if defined(HAVE_CONST_SO_DETACH_FILTER) 1232 # define SO_DETACH_FILTER SO_DETACH_FILTER 1235 #if !defined(SO_GET_FILTER) 1236 # if defined(HAVE_CONST_SO_GET_FILTER) 1237 # define SO_GET_FILTER SO_GET_FILTER 1240 #if !defined(SO_PEERNAME) 1241 # if defined(HAVE_CONST_SO_PEERNAME) 1242 # define SO_PEERNAME SO_PEERNAME 1245 #if !defined(SO_TIMESTAMP) 1246 # if defined(HAVE_CONST_SO_TIMESTAMP) 1247 # define SO_TIMESTAMP SO_TIMESTAMP 1250 #if !defined(SO_TIMESTAMPNS) 1251 # if defined(HAVE_CONST_SO_TIMESTAMPNS) 1252 # define SO_TIMESTAMPNS SO_TIMESTAMPNS 1255 #if !defined(SO_BINTIME) 1256 # if defined(HAVE_CONST_SO_BINTIME) 1257 # define SO_BINTIME SO_BINTIME 1260 #if !defined(SO_RECVUCRED) 1261 # if defined(HAVE_CONST_SO_RECVUCRED) 1262 # define SO_RECVUCRED SO_RECVUCRED 1265 #if !defined(SO_MAC_EXEMPT) 1266 # if defined(HAVE_CONST_SO_MAC_EXEMPT) 1267 # define SO_MAC_EXEMPT SO_MAC_EXEMPT 1270 #if !defined(SO_ALLZONES) 1271 # if defined(HAVE_CONST_SO_ALLZONES) 1272 # define SO_ALLZONES SO_ALLZONES 1275 #if !defined(SO_PEERSEC) 1276 # if defined(HAVE_CONST_SO_PEERSEC) 1277 # define SO_PEERSEC SO_PEERSEC 1280 #if !defined(SO_PASSSEC) 1281 # if defined(HAVE_CONST_SO_PASSSEC) 1282 # define SO_PASSSEC SO_PASSSEC 1285 #if !defined(SO_MARK) 1286 # if defined(HAVE_CONST_SO_MARK) 1287 # define SO_MARK SO_MARK 1290 #if !defined(SO_TIMESTAMPING) 1291 # if defined(HAVE_CONST_SO_TIMESTAMPING) 1292 # define SO_TIMESTAMPING SO_TIMESTAMPING 1295 #if !defined(SO_PROTOCOL) 1296 # if defined(HAVE_CONST_SO_PROTOCOL) 1297 # define SO_PROTOCOL SO_PROTOCOL 1300 #if !defined(SO_DOMAIN) 1301 # if defined(HAVE_CONST_SO_DOMAIN) 1302 # define SO_DOMAIN SO_DOMAIN 1305 #if !defined(SO_RXQ_OVFL) 1306 # if defined(HAVE_CONST_SO_RXQ_OVFL) 1307 # define SO_RXQ_OVFL SO_RXQ_OVFL 1310 #if !defined(SO_WIFI_STATUS) 1311 # if defined(HAVE_CONST_SO_WIFI_STATUS) 1312 # define SO_WIFI_STATUS SO_WIFI_STATUS 1315 #if !defined(SO_PEEK_OFF) 1316 # if defined(HAVE_CONST_SO_PEEK_OFF) 1317 # define SO_PEEK_OFF SO_PEEK_OFF 1320 #if !defined(SO_NOFCS) 1321 # if defined(HAVE_CONST_SO_NOFCS) 1322 # define SO_NOFCS SO_NOFCS 1325 #if !defined(SO_LOCK_FILTER) 1326 # if defined(HAVE_CONST_SO_LOCK_FILTER) 1327 # define SO_LOCK_FILTER SO_LOCK_FILTER 1330 #if !defined(SO_SELECT_ERR_QUEUE) 1331 # if defined(HAVE_CONST_SO_SELECT_ERR_QUEUE) 1332 # define SO_SELECT_ERR_QUEUE SO_SELECT_ERR_QUEUE 1335 #if !defined(SO_BUSY_POLL) 1336 # if defined(HAVE_CONST_SO_BUSY_POLL) 1337 # define SO_BUSY_POLL SO_BUSY_POLL 1340 #if !defined(SO_MAX_PACING_RATE) 1341 # if defined(HAVE_CONST_SO_MAX_PACING_RATE) 1342 # define SO_MAX_PACING_RATE SO_MAX_PACING_RATE 1345 #if !defined(SO_BPF_EXTENSIONS) 1346 # if defined(HAVE_CONST_SO_BPF_EXTENSIONS) 1347 # define SO_BPF_EXTENSIONS SO_BPF_EXTENSIONS 1350 #if !defined(SOPRI_INTERACTIVE) 1351 # if defined(HAVE_CONST_SOPRI_INTERACTIVE) 1352 # define SOPRI_INTERACTIVE SOPRI_INTERACTIVE 1355 #if !defined(SOPRI_NORMAL) 1356 # if defined(HAVE_CONST_SOPRI_NORMAL) 1357 # define SOPRI_NORMAL SOPRI_NORMAL 1360 #if !defined(SOPRI_BACKGROUND) 1361 # if defined(HAVE_CONST_SOPRI_BACKGROUND) 1362 # define SOPRI_BACKGROUND SOPRI_BACKGROUND 1365 #if !defined(IPX_TYPE) 1366 # if defined(HAVE_CONST_IPX_TYPE) 1367 # define IPX_TYPE IPX_TYPE 1370 #if !defined(TCP_NODELAY) 1371 # if defined(HAVE_CONST_TCP_NODELAY) 1372 # define TCP_NODELAY TCP_NODELAY 1375 #if !defined(TCP_MAXSEG) 1376 # if defined(HAVE_CONST_TCP_MAXSEG) 1377 # define TCP_MAXSEG TCP_MAXSEG 1380 #if !defined(TCP_CORK) 1381 # if defined(HAVE_CONST_TCP_CORK) 1382 # define TCP_CORK TCP_CORK 1385 #if !defined(TCP_DEFER_ACCEPT) 1386 # if defined(HAVE_CONST_TCP_DEFER_ACCEPT) 1387 # define TCP_DEFER_ACCEPT TCP_DEFER_ACCEPT 1390 #if !defined(TCP_INFO) 1391 # if defined(HAVE_CONST_TCP_INFO) 1392 # define TCP_INFO TCP_INFO 1395 #if !defined(TCP_KEEPCNT) 1396 # if defined(HAVE_CONST_TCP_KEEPCNT) 1397 # define TCP_KEEPCNT TCP_KEEPCNT 1400 #if !defined(TCP_KEEPIDLE) 1401 # if defined(HAVE_CONST_TCP_KEEPIDLE) 1402 # define TCP_KEEPIDLE TCP_KEEPIDLE 1405 #if !defined(TCP_KEEPINTVL) 1406 # if defined(HAVE_CONST_TCP_KEEPINTVL) 1407 # define TCP_KEEPINTVL TCP_KEEPINTVL 1410 #if !defined(TCP_LINGER2) 1411 # if defined(HAVE_CONST_TCP_LINGER2) 1412 # define TCP_LINGER2 TCP_LINGER2 1415 #if !defined(TCP_MD5SIG) 1416 # if defined(HAVE_CONST_TCP_MD5SIG) 1417 # define TCP_MD5SIG TCP_MD5SIG 1420 #if !defined(TCP_NOOPT) 1421 # if defined(HAVE_CONST_TCP_NOOPT) 1422 # define TCP_NOOPT TCP_NOOPT 1425 #if !defined(TCP_NOPUSH) 1426 # if defined(HAVE_CONST_TCP_NOPUSH) 1427 # define TCP_NOPUSH TCP_NOPUSH 1430 #if !defined(TCP_QUICKACK) 1431 # if defined(HAVE_CONST_TCP_QUICKACK) 1432 # define TCP_QUICKACK TCP_QUICKACK 1435 #if !defined(TCP_SYNCNT) 1436 # if defined(HAVE_CONST_TCP_SYNCNT) 1437 # define TCP_SYNCNT TCP_SYNCNT 1440 #if !defined(TCP_WINDOW_CLAMP) 1441 # if defined(HAVE_CONST_TCP_WINDOW_CLAMP) 1442 # define TCP_WINDOW_CLAMP TCP_WINDOW_CLAMP 1445 #if !defined(TCP_FASTOPEN) 1446 # if defined(HAVE_CONST_TCP_FASTOPEN) 1447 # define TCP_FASTOPEN TCP_FASTOPEN 1450 #if !defined(TCP_CONGESTION) 1451 # if defined(HAVE_CONST_TCP_CONGESTION) 1452 # define TCP_CONGESTION TCP_CONGESTION 1455 #if !defined(TCP_COOKIE_TRANSACTIONS) 1456 # if defined(HAVE_CONST_TCP_COOKIE_TRANSACTIONS) 1457 # define TCP_COOKIE_TRANSACTIONS TCP_COOKIE_TRANSACTIONS 1460 #if !defined(TCP_QUEUE_SEQ) 1461 # if defined(HAVE_CONST_TCP_QUEUE_SEQ) 1462 # define TCP_QUEUE_SEQ TCP_QUEUE_SEQ 1465 #if !defined(TCP_REPAIR) 1466 # if defined(HAVE_CONST_TCP_REPAIR) 1467 # define TCP_REPAIR TCP_REPAIR 1470 #if !defined(TCP_REPAIR_OPTIONS) 1471 # if defined(HAVE_CONST_TCP_REPAIR_OPTIONS) 1472 # define TCP_REPAIR_OPTIONS TCP_REPAIR_OPTIONS 1475 #if !defined(TCP_REPAIR_QUEUE) 1476 # if defined(HAVE_CONST_TCP_REPAIR_QUEUE) 1477 # define TCP_REPAIR_QUEUE TCP_REPAIR_QUEUE 1480 #if !defined(TCP_THIN_DUPACK) 1481 # if defined(HAVE_CONST_TCP_THIN_DUPACK) 1482 # define TCP_THIN_DUPACK TCP_THIN_DUPACK 1485 #if !defined(TCP_THIN_LINEAR_TIMEOUTS) 1486 # if defined(HAVE_CONST_TCP_THIN_LINEAR_TIMEOUTS) 1487 # define TCP_THIN_LINEAR_TIMEOUTS TCP_THIN_LINEAR_TIMEOUTS 1490 #if !defined(TCP_TIMESTAMP) 1491 # if defined(HAVE_CONST_TCP_TIMESTAMP) 1492 # define TCP_TIMESTAMP TCP_TIMESTAMP 1495 #if !defined(TCP_USER_TIMEOUT) 1496 # if defined(HAVE_CONST_TCP_USER_TIMEOUT) 1497 # define TCP_USER_TIMEOUT TCP_USER_TIMEOUT 1500 #if !defined(UDP_CORK) 1501 # if defined(HAVE_CONST_UDP_CORK) 1502 # define UDP_CORK UDP_CORK 1505 #if !defined(EAI_ADDRFAMILY) 1506 # if defined(HAVE_CONST_EAI_ADDRFAMILY) 1507 # define EAI_ADDRFAMILY EAI_ADDRFAMILY 1510 #if !defined(EAI_AGAIN) 1511 # if defined(HAVE_CONST_EAI_AGAIN) 1512 # define EAI_AGAIN EAI_AGAIN 1515 #if !defined(EAI_BADFLAGS) 1516 # if defined(HAVE_CONST_EAI_BADFLAGS) 1517 # define EAI_BADFLAGS EAI_BADFLAGS 1520 #if !defined(EAI_FAIL) 1521 # if defined(HAVE_CONST_EAI_FAIL) 1522 # define EAI_FAIL EAI_FAIL 1525 #if !defined(EAI_FAMILY) 1526 # if defined(HAVE_CONST_EAI_FAMILY) 1527 # define EAI_FAMILY EAI_FAMILY 1530 #if !defined(EAI_MEMORY) 1531 # if defined(HAVE_CONST_EAI_MEMORY) 1532 # define EAI_MEMORY EAI_MEMORY 1535 #if !defined(EAI_NODATA) 1536 # if defined(HAVE_CONST_EAI_NODATA) 1537 # define EAI_NODATA EAI_NODATA 1540 #if !defined(EAI_NONAME) 1541 # if defined(HAVE_CONST_EAI_NONAME) 1542 # define EAI_NONAME EAI_NONAME 1545 #if !defined(EAI_OVERFLOW) 1546 # if defined(HAVE_CONST_EAI_OVERFLOW) 1547 # define EAI_OVERFLOW EAI_OVERFLOW 1550 #if !defined(EAI_SERVICE) 1551 # if defined(HAVE_CONST_EAI_SERVICE) 1552 # define EAI_SERVICE EAI_SERVICE 1555 #if !defined(EAI_SOCKTYPE) 1556 # if defined(HAVE_CONST_EAI_SOCKTYPE) 1557 # define EAI_SOCKTYPE EAI_SOCKTYPE 1560 #if !defined(EAI_SYSTEM) 1561 # if defined(HAVE_CONST_EAI_SYSTEM) 1562 # define EAI_SYSTEM EAI_SYSTEM 1565 #if !defined(EAI_BADHINTS) 1566 # if defined(HAVE_CONST_EAI_BADHINTS) 1567 # define EAI_BADHINTS EAI_BADHINTS 1570 #if !defined(EAI_PROTOCOL) 1571 # if defined(HAVE_CONST_EAI_PROTOCOL) 1572 # define EAI_PROTOCOL EAI_PROTOCOL 1575 #if !defined(EAI_MAX) 1576 # if defined(HAVE_CONST_EAI_MAX) 1577 # define EAI_MAX EAI_MAX 1580 #if !defined(AI_PASSIVE) 1581 # if defined(HAVE_CONST_AI_PASSIVE) 1582 # define AI_PASSIVE AI_PASSIVE 1585 #if !defined(AI_CANONNAME) 1586 # if defined(HAVE_CONST_AI_CANONNAME) 1587 # define AI_CANONNAME AI_CANONNAME 1590 #if !defined(AI_NUMERICHOST) 1591 # if defined(HAVE_CONST_AI_NUMERICHOST) 1592 # define AI_NUMERICHOST AI_NUMERICHOST 1595 #if !defined(AI_NUMERICSERV) 1596 # if defined(HAVE_CONST_AI_NUMERICSERV) 1597 # define AI_NUMERICSERV AI_NUMERICSERV 1600 #if !defined(AI_MASK) 1601 # if defined(HAVE_CONST_AI_MASK) 1602 # define AI_MASK AI_MASK 1605 #if !defined(AI_ALL) 1606 # if defined(HAVE_CONST_AI_ALL) 1607 # define AI_ALL AI_ALL 1610 #if !defined(AI_V4MAPPED_CFG) 1611 # if defined(HAVE_CONST_AI_V4MAPPED_CFG) 1612 # define AI_V4MAPPED_CFG AI_V4MAPPED_CFG 1615 #if !defined(AI_ADDRCONFIG) 1616 # if defined(HAVE_CONST_AI_ADDRCONFIG) 1617 # define AI_ADDRCONFIG AI_ADDRCONFIG 1620 #if !defined(AI_V4MAPPED) 1621 # if defined(HAVE_CONST_AI_V4MAPPED) 1622 # define AI_V4MAPPED AI_V4MAPPED 1625 #if !defined(AI_DEFAULT) 1626 # if defined(HAVE_CONST_AI_DEFAULT) 1627 # define AI_DEFAULT AI_DEFAULT 1630 #if !defined(NI_MAXHOST) 1631 # if defined(HAVE_CONST_NI_MAXHOST) 1632 # define NI_MAXHOST NI_MAXHOST 1635 #if !defined(NI_MAXSERV) 1636 # if defined(HAVE_CONST_NI_MAXSERV) 1637 # define NI_MAXSERV NI_MAXSERV 1640 #if !defined(NI_NOFQDN) 1641 # if defined(HAVE_CONST_NI_NOFQDN) 1642 # define NI_NOFQDN NI_NOFQDN 1645 #if !defined(NI_NUMERICHOST) 1646 # if defined(HAVE_CONST_NI_NUMERICHOST) 1647 # define NI_NUMERICHOST NI_NUMERICHOST 1650 #if !defined(NI_NAMEREQD) 1651 # if defined(HAVE_CONST_NI_NAMEREQD) 1652 # define NI_NAMEREQD NI_NAMEREQD 1655 #if !defined(NI_NUMERICSERV) 1656 # if defined(HAVE_CONST_NI_NUMERICSERV) 1657 # define NI_NUMERICSERV NI_NUMERICSERV 1660 #if !defined(NI_DGRAM) 1661 # if defined(HAVE_CONST_NI_DGRAM) 1662 # define NI_DGRAM NI_DGRAM 1665 #if !defined(SHUT_RD) 1666 # if defined(HAVE_CONST_SHUT_RD) 1667 # define SHUT_RD SHUT_RD 1672 #if !defined(SHUT_WR) 1673 # if defined(HAVE_CONST_SHUT_WR) 1674 # define SHUT_WR SHUT_WR 1679 #if !defined(SHUT_RDWR) 1680 # if defined(HAVE_CONST_SHUT_RDWR) 1681 # define SHUT_RDWR SHUT_RDWR 1683 # define SHUT_RDWR 2 1686 #if !defined(IPV6_JOIN_GROUP) 1687 # if defined(HAVE_CONST_IPV6_JOIN_GROUP) 1688 # define IPV6_JOIN_GROUP IPV6_JOIN_GROUP 1691 #if !defined(IPV6_LEAVE_GROUP) 1692 # if defined(HAVE_CONST_IPV6_LEAVE_GROUP) 1693 # define IPV6_LEAVE_GROUP IPV6_LEAVE_GROUP 1696 #if !defined(IPV6_MULTICAST_HOPS) 1697 # if defined(HAVE_CONST_IPV6_MULTICAST_HOPS) 1698 # define IPV6_MULTICAST_HOPS IPV6_MULTICAST_HOPS 1701 #if !defined(IPV6_MULTICAST_IF) 1702 # if defined(HAVE_CONST_IPV6_MULTICAST_IF) 1703 # define IPV6_MULTICAST_IF IPV6_MULTICAST_IF 1706 #if !defined(IPV6_MULTICAST_LOOP) 1707 # if defined(HAVE_CONST_IPV6_MULTICAST_LOOP) 1708 # define IPV6_MULTICAST_LOOP IPV6_MULTICAST_LOOP 1711 #if !defined(IPV6_UNICAST_HOPS) 1712 # if defined(HAVE_CONST_IPV6_UNICAST_HOPS) 1713 # define IPV6_UNICAST_HOPS IPV6_UNICAST_HOPS 1716 #if !defined(IPV6_V6ONLY) 1717 # if defined(HAVE_CONST_IPV6_V6ONLY) 1718 # define IPV6_V6ONLY IPV6_V6ONLY 1721 #if !defined(IPV6_CHECKSUM) 1722 # if defined(HAVE_CONST_IPV6_CHECKSUM) 1723 # define IPV6_CHECKSUM IPV6_CHECKSUM 1726 #if !defined(IPV6_DONTFRAG) 1727 # if defined(HAVE_CONST_IPV6_DONTFRAG) 1728 # define IPV6_DONTFRAG IPV6_DONTFRAG 1731 #if !defined(IPV6_DSTOPTS) 1732 # if defined(HAVE_CONST_IPV6_DSTOPTS) 1733 # define IPV6_DSTOPTS IPV6_DSTOPTS 1736 #if !defined(IPV6_HOPLIMIT) 1737 # if defined(HAVE_CONST_IPV6_HOPLIMIT) 1738 # define IPV6_HOPLIMIT IPV6_HOPLIMIT 1741 #if !defined(IPV6_HOPOPTS) 1742 # if defined(HAVE_CONST_IPV6_HOPOPTS) 1743 # define IPV6_HOPOPTS IPV6_HOPOPTS 1746 #if !defined(IPV6_NEXTHOP) 1747 # if defined(HAVE_CONST_IPV6_NEXTHOP) 1748 # define IPV6_NEXTHOP IPV6_NEXTHOP 1751 #if !defined(IPV6_PATHMTU) 1752 # if defined(HAVE_CONST_IPV6_PATHMTU) 1753 # define IPV6_PATHMTU IPV6_PATHMTU 1756 #if !defined(IPV6_PKTINFO) 1757 # if defined(HAVE_CONST_IPV6_PKTINFO) 1758 # define IPV6_PKTINFO IPV6_PKTINFO 1761 #if !defined(IPV6_RECVDSTOPTS) 1762 # if defined(HAVE_CONST_IPV6_RECVDSTOPTS) 1763 # define IPV6_RECVDSTOPTS IPV6_RECVDSTOPTS 1766 #if !defined(IPV6_RECVHOPLIMIT) 1767 # if defined(HAVE_CONST_IPV6_RECVHOPLIMIT) 1768 # define IPV6_RECVHOPLIMIT IPV6_RECVHOPLIMIT 1771 #if !defined(IPV6_RECVHOPOPTS) 1772 # if defined(HAVE_CONST_IPV6_RECVHOPOPTS) 1773 # define IPV6_RECVHOPOPTS IPV6_RECVHOPOPTS 1776 #if !defined(IPV6_RECVPKTINFO) 1777 # if defined(HAVE_CONST_IPV6_RECVPKTINFO) 1778 # define IPV6_RECVPKTINFO IPV6_RECVPKTINFO 1781 #if !defined(IPV6_RECVRTHDR) 1782 # if defined(HAVE_CONST_IPV6_RECVRTHDR) 1783 # define IPV6_RECVRTHDR IPV6_RECVRTHDR 1786 #if !defined(IPV6_RECVTCLASS) 1787 # if defined(HAVE_CONST_IPV6_RECVTCLASS) 1788 # define IPV6_RECVTCLASS IPV6_RECVTCLASS 1791 #if !defined(IPV6_RTHDR) 1792 # if defined(HAVE_CONST_IPV6_RTHDR) 1793 # define IPV6_RTHDR IPV6_RTHDR 1796 #if !defined(IPV6_RTHDRDSTOPTS) 1797 # if defined(HAVE_CONST_IPV6_RTHDRDSTOPTS) 1798 # define IPV6_RTHDRDSTOPTS IPV6_RTHDRDSTOPTS 1801 #if !defined(IPV6_RTHDR_TYPE_0) 1802 # if defined(HAVE_CONST_IPV6_RTHDR_TYPE_0) 1803 # define IPV6_RTHDR_TYPE_0 IPV6_RTHDR_TYPE_0 1806 #if !defined(IPV6_RECVPATHMTU) 1807 # if defined(HAVE_CONST_IPV6_RECVPATHMTU) 1808 # define IPV6_RECVPATHMTU IPV6_RECVPATHMTU 1811 #if !defined(IPV6_TCLASS) 1812 # if defined(HAVE_CONST_IPV6_TCLASS) 1813 # define IPV6_TCLASS IPV6_TCLASS 1816 #if !defined(IPV6_USE_MIN_MTU) 1817 # if defined(HAVE_CONST_IPV6_USE_MIN_MTU) 1818 # define IPV6_USE_MIN_MTU IPV6_USE_MIN_MTU 1821 #if !defined(INET_ADDRSTRLEN) 1822 # if defined(HAVE_CONST_INET_ADDRSTRLEN) 1823 # define INET_ADDRSTRLEN INET_ADDRSTRLEN 1825 # define INET_ADDRSTRLEN 16 1828 #if !defined(INET6_ADDRSTRLEN) 1829 # if defined(HAVE_CONST_INET6_ADDRSTRLEN) 1830 # define INET6_ADDRSTRLEN INET6_ADDRSTRLEN 1832 # define INET6_ADDRSTRLEN 46 1835 #if !defined(IFNAMSIZ) 1836 # if defined(HAVE_CONST_IFNAMSIZ) 1837 # define IFNAMSIZ IFNAMSIZ 1840 #if !defined(IF_NAMESIZE) 1841 # if defined(HAVE_CONST_IF_NAMESIZE) 1842 # define IF_NAMESIZE IF_NAMESIZE 1845 #if !defined(SOMAXCONN) 1846 # if defined(HAVE_CONST_SOMAXCONN) 1847 # define SOMAXCONN SOMAXCONN 1849 # define SOMAXCONN 5 1852 #if !defined(SCM_RIGHTS) 1853 # if defined(HAVE_CONST_SCM_RIGHTS) 1854 # define SCM_RIGHTS SCM_RIGHTS 1857 #if !defined(SCM_TIMESTAMP) 1858 # if defined(HAVE_CONST_SCM_TIMESTAMP) 1859 # define SCM_TIMESTAMP SCM_TIMESTAMP 1862 #if !defined(SCM_TIMESTAMPNS) 1863 # if defined(HAVE_CONST_SCM_TIMESTAMPNS) 1864 # define SCM_TIMESTAMPNS SCM_TIMESTAMPNS 1867 #if !defined(SCM_TIMESTAMPING) 1868 # if defined(HAVE_CONST_SCM_TIMESTAMPING) 1869 # define SCM_TIMESTAMPING SCM_TIMESTAMPING 1872 #if !defined(SCM_BINTIME) 1873 # if defined(HAVE_CONST_SCM_BINTIME) 1874 # define SCM_BINTIME SCM_BINTIME 1877 #if !defined(SCM_CREDENTIALS) 1878 # if defined(HAVE_CONST_SCM_CREDENTIALS) 1879 # define SCM_CREDENTIALS SCM_CREDENTIALS 1882 #if !defined(SCM_CREDS) 1883 # if defined(HAVE_CONST_SCM_CREDS) 1884 # define SCM_CREDS SCM_CREDS 1887 #if !defined(SCM_UCRED) 1888 # if defined(HAVE_CONST_SCM_UCRED) 1889 # define SCM_UCRED SCM_UCRED 1892 #if !defined(SCM_WIFI_STATUS) 1893 # if defined(HAVE_CONST_SCM_WIFI_STATUS) 1894 # define SCM_WIFI_STATUS SCM_WIFI_STATUS 1897 #if !defined(LOCAL_PEERCRED) 1898 # if defined(HAVE_CONST_LOCAL_PEERCRED) 1899 # define LOCAL_PEERCRED LOCAL_PEERCRED 1902 #if !defined(LOCAL_CREDS) 1903 # if defined(HAVE_CONST_LOCAL_CREDS) 1904 # define LOCAL_CREDS LOCAL_CREDS 1907 #if !defined(LOCAL_CONNWAIT) 1908 # if defined(HAVE_CONST_LOCAL_CONNWAIT) 1909 # define LOCAL_CONNWAIT LOCAL_CONNWAIT 1912 #if !defined(IFF_802_1Q_VLAN) 1913 # if defined(HAVE_CONST_IFF_802_1Q_VLAN) 1914 # define IFF_802_1Q_VLAN IFF_802_1Q_VLAN 1917 #if !defined(IFF_ALLMULTI) 1918 # if defined(HAVE_CONST_IFF_ALLMULTI) 1919 # define IFF_ALLMULTI IFF_ALLMULTI 1922 #if !defined(IFF_ALTPHYS) 1923 # if defined(HAVE_CONST_IFF_ALTPHYS) 1924 # define IFF_ALTPHYS IFF_ALTPHYS 1927 #if !defined(IFF_AUTOMEDIA) 1928 # if defined(HAVE_CONST_IFF_AUTOMEDIA) 1929 # define IFF_AUTOMEDIA IFF_AUTOMEDIA 1932 #if !defined(IFF_BONDING) 1933 # if defined(HAVE_CONST_IFF_BONDING) 1934 # define IFF_BONDING IFF_BONDING 1937 #if !defined(IFF_BRIDGE_PORT) 1938 # if defined(HAVE_CONST_IFF_BRIDGE_PORT) 1939 # define IFF_BRIDGE_PORT IFF_BRIDGE_PORT 1942 #if !defined(IFF_BROADCAST) 1943 # if defined(HAVE_CONST_IFF_BROADCAST) 1944 # define IFF_BROADCAST IFF_BROADCAST 1947 #if !defined(IFF_CANTCONFIG) 1948 # if defined(HAVE_CONST_IFF_CANTCONFIG) 1949 # define IFF_CANTCONFIG IFF_CANTCONFIG 1952 #if !defined(IFF_DEBUG) 1953 # if defined(HAVE_CONST_IFF_DEBUG) 1954 # define IFF_DEBUG IFF_DEBUG 1957 #if !defined(IFF_DISABLE_NETPOLL) 1958 # if defined(HAVE_CONST_IFF_DISABLE_NETPOLL) 1959 # define IFF_DISABLE_NETPOLL IFF_DISABLE_NETPOLL 1962 #if !defined(IFF_DONT_BRIDGE) 1963 # if defined(HAVE_CONST_IFF_DONT_BRIDGE) 1964 # define IFF_DONT_BRIDGE IFF_DONT_BRIDGE 1967 #if !defined(IFF_DORMANT) 1968 # if defined(HAVE_CONST_IFF_DORMANT) 1969 # define IFF_DORMANT IFF_DORMANT 1972 #if !defined(IFF_DRV_OACTIVE) 1973 # if defined(HAVE_CONST_IFF_DRV_OACTIVE) 1974 # define IFF_DRV_OACTIVE IFF_DRV_OACTIVE 1977 #if !defined(IFF_DRV_RUNNING) 1978 # if defined(HAVE_CONST_IFF_DRV_RUNNING) 1979 # define IFF_DRV_RUNNING IFF_DRV_RUNNING 1982 #if !defined(IFF_DYING) 1983 # if defined(HAVE_CONST_IFF_DYING) 1984 # define IFF_DYING IFF_DYING 1987 #if !defined(IFF_DYNAMIC) 1988 # if defined(HAVE_CONST_IFF_DYNAMIC) 1989 # define IFF_DYNAMIC IFF_DYNAMIC 1992 #if !defined(IFF_EBRIDGE) 1993 # if defined(HAVE_CONST_IFF_EBRIDGE) 1994 # define IFF_EBRIDGE IFF_EBRIDGE 1997 #if !defined(IFF_ECHO) 1998 # if defined(HAVE_CONST_IFF_ECHO) 1999 # define IFF_ECHO IFF_ECHO 2002 #if !defined(IFF_ISATAP) 2003 # if defined(HAVE_CONST_IFF_ISATAP) 2004 # define IFF_ISATAP IFF_ISATAP 2007 #if !defined(IFF_LINK0) 2008 # if defined(HAVE_CONST_IFF_LINK0) 2009 # define IFF_LINK0 IFF_LINK0 2012 #if !defined(IFF_LINK1) 2013 # if defined(HAVE_CONST_IFF_LINK1) 2014 # define IFF_LINK1 IFF_LINK1 2017 #if !defined(IFF_LINK2) 2018 # if defined(HAVE_CONST_IFF_LINK2) 2019 # define IFF_LINK2 IFF_LINK2 2022 #if !defined(IFF_LIVE_ADDR_CHANGE) 2023 # if defined(HAVE_CONST_IFF_LIVE_ADDR_CHANGE) 2024 # define IFF_LIVE_ADDR_CHANGE IFF_LIVE_ADDR_CHANGE 2027 #if !defined(IFF_LOOPBACK) 2028 # if defined(HAVE_CONST_IFF_LOOPBACK) 2029 # define IFF_LOOPBACK IFF_LOOPBACK 2032 #if !defined(IFF_LOWER_UP) 2033 # if defined(HAVE_CONST_IFF_LOWER_UP) 2034 # define IFF_LOWER_UP IFF_LOWER_UP 2037 #if !defined(IFF_MACVLAN_PORT) 2038 # if defined(HAVE_CONST_IFF_MACVLAN_PORT) 2039 # define IFF_MACVLAN_PORT IFF_MACVLAN_PORT 2042 #if !defined(IFF_MASTER) 2043 # if defined(HAVE_CONST_IFF_MASTER) 2044 # define IFF_MASTER IFF_MASTER 2047 #if !defined(IFF_MASTER_8023AD) 2048 # if defined(HAVE_CONST_IFF_MASTER_8023AD) 2049 # define IFF_MASTER_8023AD IFF_MASTER_8023AD 2052 #if !defined(IFF_MASTER_ALB) 2053 # if defined(HAVE_CONST_IFF_MASTER_ALB) 2054 # define IFF_MASTER_ALB IFF_MASTER_ALB 2057 #if !defined(IFF_MASTER_ARPMON) 2058 # if defined(HAVE_CONST_IFF_MASTER_ARPMON) 2059 # define IFF_MASTER_ARPMON IFF_MASTER_ARPMON 2062 #if !defined(IFF_MONITOR) 2063 # if defined(HAVE_CONST_IFF_MONITOR) 2064 # define IFF_MONITOR IFF_MONITOR 2067 #if !defined(IFF_MULTICAST) 2068 # if defined(HAVE_CONST_IFF_MULTICAST) 2069 # define IFF_MULTICAST IFF_MULTICAST 2072 #if !defined(IFF_NOARP) 2073 # if defined(HAVE_CONST_IFF_NOARP) 2074 # define IFF_NOARP IFF_NOARP 2077 #if !defined(IFF_NOTRAILERS) 2078 # if defined(HAVE_CONST_IFF_NOTRAILERS) 2079 # define IFF_NOTRAILERS IFF_NOTRAILERS 2082 #if !defined(IFF_OACTIVE) 2083 # if defined(HAVE_CONST_IFF_OACTIVE) 2084 # define IFF_OACTIVE IFF_OACTIVE 2087 #if !defined(IFF_OVS_DATAPATH) 2088 # if defined(HAVE_CONST_IFF_OVS_DATAPATH) 2089 # define IFF_OVS_DATAPATH IFF_OVS_DATAPATH 2092 #if !defined(IFF_POINTOPOINT) 2093 # if defined(HAVE_CONST_IFF_POINTOPOINT) 2094 # define IFF_POINTOPOINT IFF_POINTOPOINT 2097 #if !defined(IFF_PORTSEL) 2098 # if defined(HAVE_CONST_IFF_PORTSEL) 2099 # define IFF_PORTSEL IFF_PORTSEL 2102 #if !defined(IFF_PPROMISC) 2103 # if defined(HAVE_CONST_IFF_PPROMISC) 2104 # define IFF_PPROMISC IFF_PPROMISC 2107 #if !defined(IFF_PROMISC) 2108 # if defined(HAVE_CONST_IFF_PROMISC) 2109 # define IFF_PROMISC IFF_PROMISC 2112 #if !defined(IFF_RENAMING) 2113 # if defined(HAVE_CONST_IFF_RENAMING) 2114 # define IFF_RENAMING IFF_RENAMING 2117 #if !defined(IFF_ROUTE) 2118 # if defined(HAVE_CONST_IFF_ROUTE) 2119 # define IFF_ROUTE IFF_ROUTE 2122 #if !defined(IFF_RUNNING) 2123 # if defined(HAVE_CONST_IFF_RUNNING) 2124 # define IFF_RUNNING IFF_RUNNING 2127 #if !defined(IFF_SIMPLEX) 2128 # if defined(HAVE_CONST_IFF_SIMPLEX) 2129 # define IFF_SIMPLEX IFF_SIMPLEX 2132 #if !defined(IFF_SLAVE) 2133 # if defined(HAVE_CONST_IFF_SLAVE) 2134 # define IFF_SLAVE IFF_SLAVE 2137 #if !defined(IFF_SLAVE_INACTIVE) 2138 # if defined(HAVE_CONST_IFF_SLAVE_INACTIVE) 2139 # define IFF_SLAVE_INACTIVE IFF_SLAVE_INACTIVE 2142 #if !defined(IFF_SLAVE_NEEDARP) 2143 # if defined(HAVE_CONST_IFF_SLAVE_NEEDARP) 2144 # define IFF_SLAVE_NEEDARP IFF_SLAVE_NEEDARP 2147 #if !defined(IFF_SMART) 2148 # if defined(HAVE_CONST_IFF_SMART) 2149 # define IFF_SMART IFF_SMART 2152 #if !defined(IFF_STATICARP) 2153 # if defined(HAVE_CONST_IFF_STATICARP) 2154 # define IFF_STATICARP IFF_STATICARP 2157 #if !defined(IFF_SUPP_NOFCS) 2158 # if defined(HAVE_CONST_IFF_SUPP_NOFCS) 2159 # define IFF_SUPP_NOFCS IFF_SUPP_NOFCS 2162 #if !defined(IFF_TEAM_PORT) 2163 # if defined(HAVE_CONST_IFF_TEAM_PORT) 2164 # define IFF_TEAM_PORT IFF_TEAM_PORT 2167 #if !defined(IFF_TX_SKB_SHARING) 2168 # if defined(HAVE_CONST_IFF_TX_SKB_SHARING) 2169 # define IFF_TX_SKB_SHARING IFF_TX_SKB_SHARING 2172 #if !defined(IFF_UNICAST_FLT) 2173 # if defined(HAVE_CONST_IFF_UNICAST_FLT) 2174 # define IFF_UNICAST_FLT IFF_UNICAST_FLT 2177 #if !defined(IFF_UP) 2178 # if defined(HAVE_CONST_IFF_UP) 2179 # define IFF_UP IFF_UP 2182 #if !defined(IFF_WAN_HDLC) 2183 # if defined(HAVE_CONST_IFF_WAN_HDLC) 2184 # define IFF_WAN_HDLC IFF_WAN_HDLC 2187 #if !defined(IFF_XMIT_DST_RELEASE) 2188 # if defined(HAVE_CONST_IFF_XMIT_DST_RELEASE) 2189 # define IFF_XMIT_DST_RELEASE IFF_XMIT_DST_RELEASE 2192 #if !defined(IFF_VOLATILE) 2193 # if defined(HAVE_CONST_IFF_VOLATILE) 2194 # define IFF_VOLATILE IFF_VOLATILE 2197 #if !defined(IFF_CANTCHANGE) 2198 # if defined(HAVE_CONST_IFF_CANTCHANGE) 2199 # define IFF_CANTCHANGE IFF_CANTCHANGE 2218 int rsock_ipv6_optname_to_int(
const char *str,
long len,
int *valp);
int rsock_ip_optname_to_int(const char *str, long len, int *valp)
ID rsock_intern_socktype(int val)
int rsock_ip_level_to_int(const char *str, long len, int *valp)
ID rsock_intern_ipproto(int val)
ID rsock_intern_protocol_family(int val)
ID rsock_intern_ipv6_optname(int val)
int rsock_family_to_int(const char *str, long len, int *valp)
int rsock_udp_optname_to_int(const char *str, long len, int *valp)
ID rsock_intern_tcp_optname(int val)
ID rsock_intern_local_optname(int val)
int rsock_socktype_to_int(const char *str, long len, int *valp)
ID rsock_intern_family_noprefix(int val)
int rsock_so_optname_to_int(const char *str, long len, int *valp)
int rsock_ipproto_to_int(const char *str, long len, int *valp)
ID rsock_intern_iplevel(int val)
ID rsock_intern_udp_optname(int val)
ID rsock_intern_family(int val)
int rsock_unknown_level_to_int(const char *str, long len, int *valp)
int rsock_tcp_optname_to_int(const char *str, long len, int *valp)
register unsigned int len
int rsock_shutdown_how_to_int(const char *str, long len, int *valp)
ID rsock_intern_so_optname(int val)
ID rsock_intern_ip_optname(int val)
ID rsock_intern_scm_optname(int val)
int rsock_scm_optname_to_int(const char *str, long len, int *valp)