[279] | 1 | #ifdef AF_INET
|
---|
| 2 | define_const(AF_INET);
|
---|
| 3 | #endif
|
---|
| 4 | #ifdef PF_INET
|
---|
| 5 | define_const(PF_INET);
|
---|
| 6 | #endif
|
---|
| 7 | #ifdef AF_INET6
|
---|
| 8 | define_const(AF_INET6);
|
---|
| 9 | #endif
|
---|
| 10 | #ifdef PF_INET6
|
---|
| 11 | define_const(PF_INET6);
|
---|
| 12 | #endif
|
---|
| 13 | #ifdef AF_LINK
|
---|
| 14 | define_const(AF_LINK);
|
---|
| 15 | #endif
|
---|
| 16 | #ifdef PF_LINK
|
---|
| 17 | define_const(PF_LINK);
|
---|
| 18 | #endif
|
---|
| 19 | #ifdef AF_LOCAL
|
---|
| 20 | define_const(AF_LOCAL);
|
---|
| 21 | #endif
|
---|
| 22 | #ifdef PF_LOCAL
|
---|
| 23 | define_const(PF_LOCAL);
|
---|
| 24 | #endif
|
---|
| 25 | #ifdef AF_UNIX
|
---|
| 26 | define_const(AF_UNIX);
|
---|
| 27 | #endif
|
---|
| 28 | #ifdef PF_UNIX
|
---|
| 29 | define_const(PF_UNIX);
|
---|
| 30 | #endif
|
---|
| 31 | #ifdef AF_MAX
|
---|
| 32 | define_const(AF_MAX);
|
---|
| 33 | #endif
|
---|
| 34 | #ifdef AF_UNSPEC
|
---|
| 35 | define_const(AF_UNSPEC);
|
---|
| 36 | #endif
|
---|
| 37 | #ifdef PF_UNSPEC
|
---|
| 38 | define_const(PF_UNSPEC);
|
---|
| 39 | #endif
|
---|
| 40 | #ifdef AF_ROUTE
|
---|
| 41 | define_const(AF_ROUTE);
|
---|
| 42 | #endif
|
---|
| 43 | #ifdef PF_ROUTE
|
---|
| 44 | define_const(PF_ROUTE);
|
---|
| 45 | #endif
|
---|
| 46 | #ifdef AI_CANONNAME
|
---|
| 47 | define_const(AI_CANONNAME);
|
---|
| 48 | #endif
|
---|
| 49 | #ifdef AI_FQDN
|
---|
| 50 | define_const(AI_FQDN);
|
---|
| 51 | #endif
|
---|
| 52 | #ifdef AI_NUMERICHOST
|
---|
| 53 | define_const(AI_NUMERICHOST);
|
---|
| 54 | #endif
|
---|
| 55 | #ifdef AI_NUMERICSERV
|
---|
| 56 | define_const(AI_NUMERICSERV);
|
---|
| 57 | #endif
|
---|
| 58 | #ifdef AI_PASSIVE
|
---|
| 59 | define_const(AI_PASSIVE);
|
---|
| 60 | #endif
|
---|
| 61 | #ifdef IP_ADD_MEMBERSHIP
|
---|
| 62 | define_const(IP_ADD_MEMBERSHIP);
|
---|
| 63 | #endif
|
---|
| 64 | #ifdef IP_ADD_SOURCE_MEMBERSHIP
|
---|
| 65 | define_const(IP_ADD_SOURCE_MEMBERSHIP);
|
---|
| 66 | #endif
|
---|
| 67 | #ifdef IP_BLOCK_SOURCE
|
---|
| 68 | define_const(IP_BLOCK_SOURCE);
|
---|
| 69 | #endif
|
---|
| 70 | #ifdef IP_DROP_MEMBERSHIP
|
---|
| 71 | define_const(IP_DROP_MEMBERSHIP);
|
---|
| 72 | #endif
|
---|
| 73 | #ifdef IP_DROP_SOURCE_MEMBERSHIP
|
---|
| 74 | define_const(IP_DROP_SOURCE_MEMBERSHIP);
|
---|
| 75 | #endif
|
---|
| 76 | #ifdef IP_FREEBIND
|
---|
| 77 | define_const(IP_FREEBIND);
|
---|
| 78 | #endif
|
---|
| 79 | #ifdef IP_HDRINCL
|
---|
| 80 | define_const(IP_HDRINCL);
|
---|
| 81 | #endif
|
---|
| 82 | #ifdef IP_IPSEC_POLICY
|
---|
| 83 | define_const(IP_IPSEC_POLICY);
|
---|
| 84 | #endif
|
---|
| 85 | #ifdef IP_MINTTL
|
---|
| 86 | define_const(IP_MINTTL);
|
---|
| 87 | #endif
|
---|
| 88 | #ifdef IP_MSFILTER
|
---|
| 89 | define_const(IP_MSFILTER);
|
---|
| 90 | #endif
|
---|
| 91 | #ifdef IP_MTU
|
---|
| 92 | define_const(IP_MTU);
|
---|
| 93 | #endif
|
---|
| 94 | #ifdef IP_MTU_DISCOVER
|
---|
| 95 | define_const(IP_MTU_DISCOVER);
|
---|
| 96 | #endif
|
---|
| 97 | #ifdef IP_MULTICAST_ALL
|
---|
| 98 | define_const(IP_MULTICAST_ALL);
|
---|
| 99 | #endif
|
---|
| 100 | #ifdef IP_MULTICAST_IF
|
---|
| 101 | define_const(IP_MULTICAST_IF);
|
---|
| 102 | #endif
|
---|
| 103 | #ifdef IP_MULTICAST_LOOP
|
---|
| 104 | define_const(IP_MULTICAST_LOOP);
|
---|
| 105 | #endif
|
---|
| 106 | #ifdef IP_MULTICAST_TTL
|
---|
| 107 | define_const(IP_MULTICAST_TTL);
|
---|
| 108 | #endif
|
---|
| 109 | #ifdef IP_OPTIONS
|
---|
| 110 | define_const(IP_OPTIONS);
|
---|
| 111 | #endif
|
---|
| 112 | #ifdef IP_ORIGDSTADDR
|
---|
| 113 | define_const(IP_ORIGDSTADDR);
|
---|
| 114 | #endif
|
---|
| 115 | #ifdef IP_PASSSEC
|
---|
| 116 | define_const(IP_PASSSEC);
|
---|
| 117 | #endif
|
---|
| 118 | #ifdef IP_PKTINFO
|
---|
| 119 | define_const(IP_PKTINFO);
|
---|
| 120 | #endif
|
---|
| 121 | #ifdef IP_PKTOPTIONS
|
---|
| 122 | define_const(IP_PKTOPTIONS);
|
---|
| 123 | #endif
|
---|
| 124 | #ifdef IP_PMTUDISC_DO
|
---|
| 125 | define_const(IP_PMTUDISC_DO);
|
---|
| 126 | #endif
|
---|
| 127 | #ifdef IP_PMTUDISC_DONT
|
---|
| 128 | define_const(IP_PMTUDISC_DONT);
|
---|
| 129 | #endif
|
---|
| 130 | #ifdef IP_PMTUDISC_PROBE
|
---|
| 131 | define_const(IP_PMTUDISC_PROBE);
|
---|
| 132 | #endif
|
---|
| 133 | #ifdef IP_PMTUDISC_WANT
|
---|
| 134 | define_const(IP_PMTUDISC_WANT);
|
---|
| 135 | #endif
|
---|
| 136 | #ifdef IP_RECVDSTADDR
|
---|
| 137 | define_const(IP_RECVDSTADDR);
|
---|
| 138 | #endif
|
---|
| 139 | #ifdef IP_RECVERR
|
---|
| 140 | define_const(IP_RECVERR);
|
---|
| 141 | #endif
|
---|
| 142 | #ifdef IP_RECVOPTS
|
---|
| 143 | define_const(IP_RECVOPTS);
|
---|
| 144 | #endif
|
---|
| 145 | #ifdef IP_RECVORIGDSTADDR
|
---|
| 146 | define_const(IP_RECVORIGDSTADDR);
|
---|
| 147 | #endif
|
---|
| 148 | #ifdef IP_RECVRETOPTS
|
---|
| 149 | define_const(IP_RECVRETOPTS);
|
---|
| 150 | #endif
|
---|
| 151 | #ifdef IP_RECVTOS
|
---|
| 152 | define_const(IP_RECVTOS);
|
---|
| 153 | #endif
|
---|
| 154 | #ifdef IP_RECVTTL
|
---|
| 155 | define_const(IP_RECVTTL);
|
---|
| 156 | #endif
|
---|
| 157 | #ifdef IP_RETOPTS
|
---|
| 158 | define_const(IP_RETOPTS);
|
---|
| 159 | #endif
|
---|
| 160 | #ifdef IP_ROUTER_ALERT
|
---|
| 161 | define_const(IP_ROUTER_ALERT);
|
---|
| 162 | #endif
|
---|
| 163 | #ifdef IP_TOS
|
---|
| 164 | define_const(IP_TOS);
|
---|
| 165 | #endif
|
---|
| 166 | #ifdef IP_TRANSPARENT
|
---|
| 167 | define_const(IP_TRANSPARENT);
|
---|
| 168 | #endif
|
---|
| 169 | #ifdef IP_TTL
|
---|
| 170 | define_const(IP_TTL);
|
---|
| 171 | #endif
|
---|
| 172 | #ifdef IP_UNBLOCK_SOURCE
|
---|
| 173 | define_const(IP_UNBLOCK_SOURCE);
|
---|
| 174 | #endif
|
---|
| 175 | #ifdef IP_XFRM_POLICY
|
---|
| 176 | define_const(IP_XFRM_POLICY);
|
---|
| 177 | #endif
|
---|
| 178 | #ifdef IPV6_JOIN_GROUP
|
---|
| 179 | define_const(IPV6_JOIN_GROUP);
|
---|
| 180 | #endif
|
---|
| 181 | #ifdef IPV6_LEAVE_GROUP
|
---|
| 182 | define_const(IPV6_LEAVE_GROUP);
|
---|
| 183 | #endif
|
---|
| 184 | #ifdef IPV6_MULTICAST_HOPS
|
---|
| 185 | define_const(IPV6_MULTICAST_HOPS);
|
---|
| 186 | #endif
|
---|
| 187 | #ifdef IPV6_MULTICAST_IF
|
---|
| 188 | define_const(IPV6_MULTICAST_IF);
|
---|
| 189 | #endif
|
---|
| 190 | #ifdef IPV6_MULTICAST_LOOP
|
---|
| 191 | define_const(IPV6_MULTICAST_LOOP);
|
---|
| 192 | #endif
|
---|
| 193 | #ifdef IPV6_UNICAST_HOPS
|
---|
| 194 | define_const(IPV6_UNICAST_HOPS);
|
---|
| 195 | #endif
|
---|
| 196 | #ifdef IPV6_V6ONLY
|
---|
| 197 | define_const(IPV6_V6ONLY);
|
---|
| 198 | #endif
|
---|
| 199 | #ifdef IPPROTO_AH
|
---|
| 200 | define_const(IPPROTO_AH);
|
---|
| 201 | #endif
|
---|
| 202 | #ifdef IPPROTO_DSTOPTS
|
---|
| 203 | define_const(IPPROTO_DSTOPTS);
|
---|
| 204 | #endif
|
---|
| 205 | #ifdef IPPROTO_ESP
|
---|
| 206 | define_const(IPPROTO_ESP);
|
---|
| 207 | #endif
|
---|
| 208 | #ifdef IPPROTO_FRAGMENT
|
---|
| 209 | define_const(IPPROTO_FRAGMENT);
|
---|
| 210 | #endif
|
---|
| 211 | #ifdef IPPROTO_ICMP
|
---|
| 212 | define_const(IPPROTO_ICMP);
|
---|
| 213 | #endif
|
---|
| 214 | #ifdef IPPROTO_ICMPV6
|
---|
| 215 | define_const(IPPROTO_ICMPV6);
|
---|
| 216 | #endif
|
---|
| 217 | #ifdef IPPROTO_IP
|
---|
| 218 | define_const(IPPROTO_IP);
|
---|
| 219 | #endif
|
---|
| 220 | #ifdef IPPROTO_IPV6
|
---|
| 221 | define_const(IPPROTO_IPV6);
|
---|
| 222 | #endif
|
---|
| 223 | #ifdef IPPROTO_NONE
|
---|
| 224 | define_const(IPPROTO_NONE);
|
---|
| 225 | #endif
|
---|
| 226 | #ifdef IPPROTO_RAW
|
---|
| 227 | define_const(IPPROTO_RAW);
|
---|
| 228 | #endif
|
---|
| 229 | #ifdef IPPROTO_ROUTING
|
---|
| 230 | define_const(IPPROTO_ROUTING);
|
---|
| 231 | #endif
|
---|
| 232 | #ifdef IPPROTO_TCP
|
---|
| 233 | define_const(IPPROTO_TCP);
|
---|
| 234 | #endif
|
---|
| 235 | #ifdef IPPROTO_UDP
|
---|
| 236 | define_const(IPPROTO_UDP);
|
---|
| 237 | #endif
|
---|
| 238 | #ifdef MCAST_BLOCK_SOURCE
|
---|
| 239 | define_const(MCAST_BLOCK_SOURCE);
|
---|
| 240 | #endif
|
---|
| 241 | #ifdef MCAST_JOIN_GROUP
|
---|
| 242 | define_const(MCAST_JOIN_GROUP);
|
---|
| 243 | #endif
|
---|
| 244 | #ifdef MCAST_JOIN_SOURCE_GROUP
|
---|
| 245 | define_const(MCAST_JOIN_SOURCE_GROUP);
|
---|
| 246 | #endif
|
---|
| 247 | #ifdef MCAST_LEAVE_GROUP
|
---|
| 248 | define_const(MCAST_LEAVE_GROUP);
|
---|
| 249 | #endif
|
---|
| 250 | #ifdef MCAST_LEAVE_SOURCE_GROUP
|
---|
| 251 | define_const(MCAST_LEAVE_SOURCE_GROUP);
|
---|
| 252 | #endif
|
---|
| 253 | #ifdef MCAST_MSFILTER
|
---|
| 254 | define_const(MCAST_MSFILTER);
|
---|
| 255 | #endif
|
---|
| 256 | #ifdef MCAST_UNBLOCK_SOURCE
|
---|
| 257 | define_const(MCAST_UNBLOCK_SOURCE);
|
---|
| 258 | #endif
|
---|
| 259 | #ifdef MSG_BCAST
|
---|
| 260 | define_const(MSG_BCAST);
|
---|
| 261 | #endif
|
---|
| 262 | #ifdef MSG_CTRUNC
|
---|
| 263 | define_const(MSG_CTRUNC);
|
---|
| 264 | #endif
|
---|
| 265 | #ifdef MSG_DONTROUTE
|
---|
| 266 | define_const(MSG_DONTROUTE);
|
---|
| 267 | #endif
|
---|
| 268 | #ifdef MSG_DONTWAIT
|
---|
| 269 | define_const(MSG_DONTWAIT);
|
---|
| 270 | #endif
|
---|
| 271 | #ifdef MSG_EOR
|
---|
| 272 | define_const(MSG_EOR);
|
---|
| 273 | #endif
|
---|
| 274 | #ifdef MSG_MCAST
|
---|
| 275 | define_const(MSG_MCAST);
|
---|
| 276 | #endif
|
---|
| 277 | #ifdef MSG_NOSIGNAL
|
---|
| 278 | define_const(MSG_NOSIGNAL);
|
---|
| 279 | #endif
|
---|
| 280 | #ifdef MSG_OOB
|
---|
| 281 | define_const(MSG_OOB);
|
---|
| 282 | #endif
|
---|
| 283 | #ifdef MSG_PEEK
|
---|
| 284 | define_const(MSG_PEEK);
|
---|
| 285 | #endif
|
---|
| 286 | #ifdef MSG_TRUNC
|
---|
| 287 | define_const(MSG_TRUNC);
|
---|
| 288 | #endif
|
---|
| 289 | #ifdef MSG_WAITALL
|
---|
| 290 | define_const(MSG_WAITALL);
|
---|
| 291 | #endif
|
---|
| 292 | #ifdef NI_DGRAM
|
---|
| 293 | define_const(NI_DGRAM);
|
---|
| 294 | #endif
|
---|
| 295 | #ifdef NI_MAXHOST
|
---|
| 296 | define_const(NI_MAXHOST);
|
---|
| 297 | #endif
|
---|
| 298 | #ifdef NI_MAXSERV
|
---|
| 299 | define_const(NI_MAXSERV);
|
---|
| 300 | #endif
|
---|
| 301 | #ifdef NI_NAMEREQD
|
---|
| 302 | define_const(NI_NAMEREQD);
|
---|
| 303 | #endif
|
---|
| 304 | #ifdef NI_NOFQDN
|
---|
| 305 | define_const(NI_NOFQDN);
|
---|
| 306 | #endif
|
---|
| 307 | #ifdef NI_NUMERICHOST
|
---|
| 308 | define_const(NI_NUMERICHOST);
|
---|
| 309 | #endif
|
---|
| 310 | #ifdef NI_NUMERICSERV
|
---|
| 311 | define_const(NI_NUMERICSERV);
|
---|
| 312 | #endif
|
---|
| 313 | #ifdef SHUT_RD
|
---|
| 314 | define_const(SHUT_RD);
|
---|
| 315 | #endif
|
---|
| 316 | #ifdef SHUT_WR
|
---|
| 317 | define_const(SHUT_WR);
|
---|
| 318 | #endif
|
---|
| 319 | #ifdef SHUT_RDWR
|
---|
| 320 | define_const(SHUT_RDWR);
|
---|
| 321 | #endif
|
---|
| 322 | #ifdef SO_BINDANY
|
---|
| 323 | define_const(SO_BINDANY);
|
---|
| 324 | #endif
|
---|
| 325 | #ifdef SO_BROADCAST
|
---|
| 326 | define_const(SO_BROADCAST);
|
---|
| 327 | #endif
|
---|
| 328 | #ifdef SO_DEBUG
|
---|
| 329 | define_const(SO_DEBUG);
|
---|
| 330 | #endif
|
---|
| 331 | #ifdef SO_DONTROUTE
|
---|
| 332 | define_const(SO_DONTROUTE);
|
---|
| 333 | #endif
|
---|
| 334 | #ifdef SO_ERROR
|
---|
| 335 | define_const(SO_ERROR);
|
---|
| 336 | #endif
|
---|
| 337 | #ifdef SO_KEEPALIVE
|
---|
| 338 | define_const(SO_KEEPALIVE);
|
---|
| 339 | #endif
|
---|
| 340 | #ifdef SO_LINGER
|
---|
| 341 | define_const(SO_LINGER);
|
---|
| 342 | #endif
|
---|
| 343 | #ifdef SO_NOSIGPIPE
|
---|
| 344 | define_const(SO_NOSIGPIPE);
|
---|
| 345 | #endif
|
---|
| 346 | #ifdef SO_OOBINLINE
|
---|
| 347 | define_const(SO_OOBINLINE);
|
---|
| 348 | #endif
|
---|
| 349 | #ifdef SO_PEERCRED
|
---|
| 350 | define_const(SO_PEERCRED);
|
---|
| 351 | #endif
|
---|
| 352 | #ifdef SO_RCVBUF
|
---|
| 353 | define_const(SO_RCVBUF);
|
---|
| 354 | #endif
|
---|
| 355 | #ifdef SO_RCVLOWAT
|
---|
| 356 | define_const(SO_RCVLOWAT);
|
---|
| 357 | #endif
|
---|
| 358 | #ifdef SO_RCVTIMEO
|
---|
| 359 | define_const(SO_RCVTIMEO);
|
---|
| 360 | #endif
|
---|
| 361 | #ifdef SO_REUSEADDR
|
---|
| 362 | define_const(SO_REUSEADDR);
|
---|
| 363 | #endif
|
---|
| 364 | #ifdef SO_REUSEPORT
|
---|
| 365 | define_const(SO_REUSEPORT);
|
---|
| 366 | #endif
|
---|
| 367 | #ifdef SO_RTABLE
|
---|
| 368 | define_const(SO_RTABLE);
|
---|
| 369 | #endif
|
---|
| 370 | #ifdef SO_SNDBUF
|
---|
| 371 | define_const(SO_SNDBUF);
|
---|
| 372 | #endif
|
---|
| 373 | #ifdef SO_SNDLOWAT
|
---|
| 374 | define_const(SO_SNDLOWAT);
|
---|
| 375 | #endif
|
---|
| 376 | #ifdef SO_SNDTIMEO
|
---|
| 377 | define_const(SO_SNDTIMEO);
|
---|
| 378 | #endif
|
---|
| 379 | #ifdef SO_SPLICE
|
---|
| 380 | define_const(SO_SPLICE);
|
---|
| 381 | #endif
|
---|
| 382 | #ifdef SO_TIMESTAMP
|
---|
| 383 | define_const(SO_TIMESTAMP);
|
---|
| 384 | #endif
|
---|
| 385 | #ifdef SO_TYPE
|
---|
| 386 | define_const(SO_TYPE);
|
---|
| 387 | #endif
|
---|
| 388 | #ifdef SOCK_DGRAM
|
---|
| 389 | define_const(SOCK_DGRAM);
|
---|
| 390 | #endif
|
---|
| 391 | #ifdef SOCK_RAW
|
---|
| 392 | define_const(SOCK_RAW);
|
---|
| 393 | #endif
|
---|
| 394 | #ifdef SOCK_SEQPACKET
|
---|
| 395 | define_const(SOCK_SEQPACKET);
|
---|
| 396 | #endif
|
---|
| 397 | #ifdef SOCK_STREAM
|
---|
| 398 | define_const(SOCK_STREAM);
|
---|
| 399 | #endif
|
---|
| 400 | #ifdef SOL_SOCKET
|
---|
| 401 | define_const(SOL_SOCKET);
|
---|
| 402 | #endif
|
---|
| 403 | #ifdef TCP_CONGCTL
|
---|
| 404 | define_const(TCP_CONGCTL);
|
---|
| 405 | #endif
|
---|
| 406 | #ifdef TCP_CONGESTION
|
---|
| 407 | define_const(TCP_CONGESTION);
|
---|
| 408 | #endif
|
---|
| 409 | #ifdef TCP_CORK
|
---|
| 410 | define_const(TCP_CORK);
|
---|
| 411 | #endif
|
---|
| 412 | #ifdef TCP_DEFER_ACCEPT
|
---|
| 413 | define_const(TCP_DEFER_ACCEPT);
|
---|
| 414 | #endif
|
---|
| 415 | #ifdef TCP_INFO
|
---|
| 416 | define_const(TCP_INFO);
|
---|
| 417 | #endif
|
---|
| 418 | #ifdef TCP_KEEPCNT
|
---|
| 419 | define_const(TCP_KEEPCNT);
|
---|
| 420 | #endif
|
---|
| 421 | #ifdef TCP_KEEPIDLE
|
---|
| 422 | define_const(TCP_KEEPIDLE);
|
---|
| 423 | #endif
|
---|
| 424 | #ifdef TCP_KEEPINIT
|
---|
| 425 | define_const(TCP_KEEPINIT);
|
---|
| 426 | #endif
|
---|
| 427 | #ifdef TCP_KEEPINTVL
|
---|
| 428 | define_const(TCP_KEEPINTVL);
|
---|
| 429 | #endif
|
---|
| 430 | #ifdef TCP_LINGER2
|
---|
| 431 | define_const(TCP_LINGER2);
|
---|
| 432 | #endif
|
---|
| 433 | #ifdef TCP_MAXSEG
|
---|
| 434 | define_const(TCP_MAXSEG);
|
---|
| 435 | #endif
|
---|
| 436 | #ifdef TCP_MD5SIG
|
---|
| 437 | define_const(TCP_MD5SIG);
|
---|
| 438 | #endif
|
---|
| 439 | #ifdef TCP_NODELAY
|
---|
| 440 | define_const(TCP_NODELAY);
|
---|
| 441 | #endif
|
---|
| 442 | #ifdef TCP_QUICKACK
|
---|
| 443 | define_const(TCP_QUICKACK);
|
---|
| 444 | #endif
|
---|
| 445 | #ifdef TCP_SACK_ENABLE
|
---|
| 446 | define_const(TCP_SACK_ENABLE);
|
---|
| 447 | #endif
|
---|
| 448 | #ifdef TCP_SYNCNT
|
---|
| 449 | define_const(TCP_SYNCNT);
|
---|
| 450 | #endif
|
---|
| 451 | #ifdef TCP_WINDOW_CLAMP
|
---|
| 452 | define_const(TCP_WINDOW_CLAMP);
|
---|
| 453 | #endif
|
---|