chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
9279504
)
buffers: Introduce buf_remaining_space
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 19 Sep 2014 23:03:20 +0000
(
00:03
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 19 Sep 2014 23:07:22 +0000
(
00:07
+0100)
This calculates the remaining space available to append to a buffer.
Use it in tun_afterpoll and udp_afterpoll (no functional change),
slip_unstuff and buf_append (fixes what appear to be latent bugs).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
No differences found