Work on bug #3031/task #7896: change pbuf->type/enum pbuf_type to be more generic (see UPGRADING)

This commit is contained in:
goldsimon
2017-05-22 22:30:55 +02:00
parent 5c65402fd6
commit 356da76cc8
4 changed files with 61 additions and 33 deletions

View File

@@ -9,7 +9,12 @@ with newer versions.
* [Enter new changes just after this line - do not remove this line]
++ Application changes:
* pbuf API: pbuf->type (an u8_t holding the enum 'pbuf_type') has changed to only hold a
description of the pbuf (e.g. data following pbuf struct, data volatile, allocation
source heap/pool/etc.). As a consequence, applications can't test pbuf->type any more.
Use pbuf_match_type(pbuf, type) instead.
* slipif: The way to pass serial port number has changed. netif->num is not
supported any more, netif->state is interpreted as an u8_t port number now
(it's not a POINTER to an u8_t any more!)