Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
S
Sources
SystemRes
InetRes
Commits
80883c03
Commit
80883c03
authored
Jul 19, 1999
by
Kevin Bracey
Browse files
Now reports round trip times with microsecond accuracy.
parent
a10e99af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
Sources/ping/c/Ping
Sources/ping/c/Ping
+0
-4
Sources/traceroute/c/TraceRoute
Sources/traceroute/c/TraceRoute
+0
-4
No files found.
Sources/ping/c/Ping
View file @
80883c03
...
...
@@ -618,11 +618,7 @@ pr_pack(buf, cc, from)
icp
->
icmp_seq
);
(
void
)
printf
(
" ttl=%d"
,
ip
->
ip_ttl
);
if
(
timing
)
#ifdef __riscos
(
void
)
printf
(
" time=%.0f ms"
,
triptime
);
#else
(
void
)
printf
(
" time=%.3f ms"
,
triptime
);
#endif
if
(
dupflag
)
(
void
)
printf
(
" (DUP!)"
);
/* check the data */
...
...
Sources/traceroute/c/TraceRoute
View file @
80883c03
...
...
@@ -535,11 +535,7 @@ main(argc, argv)
print
(
packet
,
cc
,
&
from
);
lastaddr
=
from
.
sin_addr
.
s_addr
;
}
#ifdef __riscos
Printf
(
" %.0f ms"
,
deltaT
(
&
t1
,
&
t2
));
#else
Printf
(
" %.3f ms"
,
deltaT
(
&
t1
,
&
t2
));
#endif
switch
(
i
-
1
)
{
case
ICMP_UNREACH_PORT
:
#ifndef ARCHAIC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment