Closed bremoran closed 8 years ago
Changes UDP behaviour to inspect the struct pbuf::tot_len field to establish the size of data available, instead of struct pbuf::len. pbuf_consume is a new utility API, which frees pbufs that have been copied.
struct pbuf::tot_len
struct pbuf::len
pbuf_consume
cc @simonqhughes @niklas-arm @bogdanm
+1
Changes UDP behaviour to inspect the
struct pbuf::tot_len
field to establish the size of data available, instead ofstruct pbuf::len
.pbuf_consume
is a new utility API, which frees pbufs that have been copied.cc @simonqhughes @niklas-arm @bogdanm