Commit c532163f authored by bernd's avatar bernd

Cleanup ack-class related stuff

parent ff8b9333
......@@ -101,7 +101,7 @@ $20 net2o: ack-addrtime ( utime addr -- ) \ packet at addr received at time
+net2o: send-timing ( -- ) \ request recorded timing
net2o:timing$ maxtiming umin tuck $, net2o:/timing rec-timing ;
+net2o: ack-b2btime ( utime addr -- ) \ burst-to-burst time at packet addr
parent @ .net2o:ack-b2btime ;
net2o:ack-b2btime ;
+net2o: ack-cookies ( ucookie addr umask -- ) \ acknowledge cookie
[IFUNDEF] 64bit 64>r 64>n 64r> [THEN]
parent @ >o data-map @ cookie+ 64over 64over 64= 0= IF
......
......@@ -1452,7 +1452,7 @@ timestats buffer: stat-tuple
ELSE 2drop 64drop THEN ;
: net2o:ack-b2btime ( ticks addr -- )
ack@ .>timestamp over IF + ts-ticks 64@ ack@ .b2b-timestat
>timestamp over IF + ts-ticks 64@ b2b-timestat
ELSE 2drop 64drop THEN ;
\ set rate calculation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment