… | |
… | |
12 | |
12 | |
13 | print "# automatically generated from constants.pl.PL\n"; |
13 | print "# automatically generated from constants.pl.PL\n"; |
14 | } |
14 | } |
15 | |
15 | |
16 | { |
16 | { |
17 | # from common::sense 3.7 |
17 | # from common::sense 3.74 |
18 | use strict qw(vars subs); |
18 | use strict qw(vars subs); |
19 | no warnings; |
19 | no warnings; |
20 | use warnings qw(FATAL closed threads internal debugging pack malloc portable prototype |
20 | use warnings qw(FATAL closed threads internal debugging pack malloc portable prototype |
21 | inplace io pipe unpack deprecated glob digit printf |
21 | inplace io pipe unpack glob digit printf |
22 | layer reserved taint closure semicolon); |
22 | layer reserved taint closure semicolon); |
23 | no warnings qw(exec newline unopened); |
23 | no warnings qw(exec newline unopened); |
24 | |
24 | |
25 | BEGIN { |
25 | BEGIN { |
26 | print "sub AnyEvent::common_sense {\n"; |
26 | print "sub AnyEvent::common_sense {\n"; |
… | |
… | |
163 | linux TCP_WINDOW_CLAMP 10 |
163 | linux TCP_WINDOW_CLAMP 10 |
164 | linux TCP_INFO 11 |
164 | linux TCP_INFO 11 |
165 | linux TCP_QUICKACK 12 |
165 | linux TCP_QUICKACK 12 |
166 | linux TCP_CONGESTION 13 |
166 | linux TCP_CONGESTION 13 |
167 | linux TCP_MD5SIG 14 |
167 | linux TCP_MD5SIG 14 |
|
|
168 | linux TCP_FASTOPEN 23 |
|
|
169 | linux MSG_DONTWAIT 0x0040 |
|
|
170 | linux MSG_NOSIGNAL 0x4000 |
|
|
171 | linux MSG_MORE 0x8000 |
|
|
172 | linux MSG_FASTOPEN 0x20000000 |
168 | netbsd TCP_MAXSEG 2 |
173 | netbsd TCP_MAXSEG 2 |
169 | netbsd TCP_KEEPIDLE 3 |
174 | netbsd TCP_KEEPIDLE 3 |
170 | netbsd TCP_NOPUSH 4 |
175 | netbsd TCP_NOPUSH 4 |
171 | netbsd TCP_KEEPINTVL 5 |
176 | netbsd TCP_KEEPINTVL 5 |
172 | netbsd TCP_KEEPCNT 6 |
177 | netbsd TCP_KEEPCNT 6 |
173 | netbsd TCP_KEEPINIT 7 |
178 | netbsd TCP_KEEPINIT 7 |
174 | netbsd TCP_NOOPT 8 |
179 | netbsd TCP_NOOPT 8 |
175 | netbsd TCP_MD5SIG 0x10 |
180 | netbsd TCP_MD5SIG 0x10 |
176 | netbsd TCP_CONGESTION 0x20 |
181 | netbsd TCP_CONGESTION 0x20 |
|
|
182 | netbsd MSG_NOSIGNAL 0x0400 |
177 | cygwin TCP_MAXSEG 0x02 |
183 | cygwin TCP_MAXSEG 0x02 |
178 | cygwin TCP_NOPUSH 0x04 |
184 | cygwin TCP_NOPUSH 0x04 |
179 | cygwin TCP_NOOPT 0x08 |
185 | cygwin TCP_NOOPT 0x08 |
180 | freebsd TCP_MAXSEG 0x02 |
186 | freebsd TCP_MAXSEG 0x02 |
181 | freebsd TCP_NOPUSH 0x04 |
187 | freebsd TCP_NOPUSH 0x04 |
182 | freebsd TCP_NOOPT 0x08 |
188 | freebsd TCP_NOOPT 0x08 |
183 | freebsd TCP_MD5SIG 0x10 |
189 | freebsd TCP_MD5SIG 0x10 |
184 | freebsd TCP_INFO 0x20 |
190 | freebsd TCP_INFO 0x20 |
185 | freebsd TCP_CONGESTION 0x40 |
191 | freebsd TCP_CONGESTION 0x40 |
|
|
192 | freebsd MSG_NOSIGNAL 0x20000 |
186 | solaris TCP_CORK 0x18 |
193 | solaris TCP_CORK 0x18 |
187 | solaris TCP_LINGER2 0x1C |
194 | solaris TCP_LINGER2 0x1C |
188 | solaris TCP_INIT_CWND 0x15 |
195 | solaris TCP_INIT_CWND 0x15 |
189 | solaris TCP_KEEPALIVE 0x8 |
196 | solaris TCP_KEEPALIVE 0x8 |
190 | solaris TCP_MAXSEG 0x02 |
197 | solaris TCP_MAXSEG 0x02 |