20 AF_INET6 = 10 ; IPv6
\r
22 PF_UNSPEC = AF_UNSPEC
\r
27 ; Flags for addrinfo
\r
32 AI_ADDRCONFIG = 0x400
\r
34 ; internal definition
\r
35 AI_SUPPORTED = 0x40F
\r
37 ; for system function 76
\r
44 API_PPPOE = 6 shl 16
\r
46 ; Socket flags for user calls
\r
54 SO_BINDTODEVICE = 1 shl 9
\r
55 SO_NONBLOCK = 1 shl 31
\r
58 sin_family dw ? ; sa_family_t
\r
59 sin_port dw ? ; in_port_t
\r
60 sin_addr dd ? ; struct in_addr
\r
61 sin_zero rb 8 ; zero
\r
65 ai_flags dd ? ; bitmask of AI_*
\r
66 ai_family dd ? ; PF_*
\r
67 ai_socktype dd ? ; SOCK_*
\r
68 ai_protocol dd ? ; 0 or IPPROTO_*
\r
69 ai_addrlen dd ? ; length of ai_addr
\r
70 ai_canonname dd ? ; char*
\r
71 ai_addr dd ? ; struct sockaddr*
\r
72 ai_next dd ? ; struct addrinfo*
\r
96 setsockopt fix 75, 8
\r
97 getsockopt fix 75, 9
\r
98 socketpair fix 75, 10
\r
109 ; Socket error codes
\r