]> 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>
Thu, 19 Mar 2020 21:17:34 +0000 (22:17 +0100)
commitd63d8afc7a6e95965331d9cac9d4a405d8cd0e8f
treee12e6369454df0e0386a7653c720690e52fd4d4e
parent96b97ab1291e339a36952532db8ce72e7efc45a1
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