… | |
… | |
59 | "Coro::Event 2.1" \ |
59 | "Coro::Event 2.1" \ |
60 | "Crossfire 0.99" \ |
60 | "Crossfire 0.99" \ |
61 | "Digest::MD5 2.0" \ |
61 | "Digest::MD5 2.0" \ |
62 | "Event 1.08" \ |
62 | "Event 1.08" \ |
63 | "IO::AIO 2.4" \ |
63 | "IO::AIO 2.4" \ |
64 | "JSON::XS 1.21" \ |
64 | "JSON::XS 1.41" \ |
65 | "Pod::POM 0.17" \ |
65 | "Pod::POM 0.17" \ |
66 | "Safe::Hole 0.10" \ |
66 | "Safe::Hole 0.10" \ |
67 | "Storable 2.0" \ |
67 | "Storable 2.0" \ |
68 | "Time::HiRes 1.0" \ |
68 | "Time::HiRes 1.0" \ |
69 | "YAML::Syck 0.71" \ |
69 | "YAML::Syck 0.71" \ |
… | |
… | |
72 | module=$1 |
72 | module=$1 |
73 | minvers=$2 |
73 | minvers=$2 |
74 | AC_MSG_CHECKING(for $module perl module version $minvers or higher) |
74 | AC_MSG_CHECKING(for $module perl module version $minvers or higher) |
75 | if $PERL -M$module -e0 >/dev/null 2>&1; then |
75 | if $PERL -M$module -e0 >/dev/null 2>&1; then |
76 | version=`$PERL -M$module -e "print \\$$module::VERSION"` |
76 | version=`$PERL -M$module -e "print \\$$module::VERSION"` |
77 | if $PERL -M$module=$minvers -e0 >/dev/null 2>&1; then |
77 | if $PERL -M$module -e "VERSION $module $minvers" >/dev/null 2>&1; then |
78 | AC_MSG_RESULT([ok, version $version]) |
78 | AC_MSG_RESULT([ok, version $version]) |
79 | else |
79 | else |
80 | AC_MSG_ERROR([no, installed version is $version]) |
80 | AC_MSG_ERROR([no, installed version is $version]) |
81 | fi |
81 | fi |
82 | else |
82 | else |
… | |
… | |
177 | int fd; |
177 | int fd; |
178 | struct tcp_info tcpi; |
178 | struct tcp_info tcpi; |
179 | socklen_t len = sizeof (tcpi); |
179 | socklen_t len = sizeof (tcpi); |
180 | getsockopt (fd, IPPROTO_TCP, TCP_INFO, &tcpi, &len); |
180 | getsockopt (fd, IPPROTO_TCP, TCP_INFO, &tcpi, &len); |
181 | fd = 0 |
181 | fd = 0 |
|
|
182 | + tcpi.tcpi_snd_mss |
182 | + tcpi.tcpi_rtt |
183 | + tcpi.tcpi_rtt |
183 | + tcpi.tcpi_rttvar |
184 | + tcpi.tcpi_rttvar |
184 | + tcpi.tcpi_last_ack_recv |
185 | + tcpi.tcpi_last_ack_recv |
185 | + tcpi.tcpi_last_data_sent |
186 | + tcpi.tcpi_last_data_sent |
186 | + tcpi.tcpi_unacked; |
187 | + tcpi.tcpi_unacked; |