]> git.meshlink.io Git - meshlink/commitdiff
Add functions to get the amount of bytes in chanenl send and receive buffers.
authorGuus Sliepen <guus@meshlink.io>
Sun, 17 Mar 2019 21:01:43 +0000 (22:01 +0100)
committerGuus Sliepen <guus@meshlink.io>
Sat, 30 Mar 2019 22:48:32 +0000 (23:48 +0100)
meshlink_channel_get_sendq() and meshlink_channel_get_recvq() call the
underlying UTCP connection's utcp_get_sendq() and utcp_get_recvq().
These return the amount of bytes waiting in the send and receive buffers.
In particular, a non-zero value for sendq means that sent data has not been
ACKed by the peer yet.


No differences found