lull: fine congestion control data structures

This commit is contained in:
Ted Blackman 2022-02-10 11:39:31 -06:00
parent c9871ad2ef
commit a86664076d

View File

@ -547,6 +547,35 @@
rcv=(map bone message-sink-state)
nax=(set [=bone =message-num])
heeds=(set duct)
=scry-state
==
+$ scry-state
$: order=(map path @ud)
seq=@ud
keens=((mop @ud keen-state) lte)
metrics=pump-metrics
==
+$ keen-state
$: wan=(list want) :: request packets
hav=(list have) :: response packets, backward
num-fragments=@ud
num-received=@ud
==
+$ want
$: fra=@ud
=hoot
last-sent=@da
tries=@ud
skips=@ud
==
+$ have
$: fra=@ud
rawr
==
+$ rawr :: response packet ::TODO meow
$: sig=@
siz=@ud
byts
==
:: $qos: quality of service; how is our connection to a peer doing?
::