]> git.meshlink.io Git - utcp/commit
Allocate a persistent packet buffer.
authorGuus Sliepen <guus@sliepen.org>
Thu, 19 Mar 2020 21:17:34 +0000 (22:17 +0100)
committerGuus Sliepen <guus@sliepen.org>
Sat, 28 Mar 2020 21:06:43 +0000 (22:06 +0100)
commitd41728102f197003c7db2db6f679e1ca5e26535d
tree289d8cbeffa7c42324a3b31ffcc5a9afe426167c
parent36994569d1ba6839207761591964189d189c92d1
Allocate a persistent packet buffer.

Instead of allocating a new packet buffer every time we generate a packet,
we pre-allocate it and keep it around. We only reallocate when the MTU
increases.
utcp.c
utcp_priv.h