mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
Made pbuf flags unsigned. Added "incoming broadcast" flag.
This commit is contained in:
parent
03bc7c868b
commit
7e73e4728d
@ -55,10 +55,13 @@ typedef enum {
|
|||||||
|
|
||||||
/* Definitions for the pbuf flag field (these are not the flags that
|
/* Definitions for the pbuf flag field (these are not the flags that
|
||||||
are passed to pbuf_alloc()). */
|
are passed to pbuf_alloc()). */
|
||||||
#define PBUF_FLAG_RAM 0x00 /* Flags that pbuf data is stored in RAM */
|
#define PBUF_FLAG_RAM 0x00U /* Flags that pbuf data is stored in RAM */
|
||||||
#define PBUF_FLAG_ROM 0x01 /* Flags that pbuf data is stored in ROM */
|
#define PBUF_FLAG_ROM 0x01U /* Flags that pbuf data is stored in ROM */
|
||||||
#define PBUF_FLAG_POOL 0x02 /* Flags that the pbuf comes from the pbuf pool */
|
#define PBUF_FLAG_POOL 0x02U /* Flags that the pbuf comes from the pbuf pool */
|
||||||
#define PBUF_FLAG_REF 0x04 /* Flags thet the pbuf payload refers to RAM */
|
#define PBUF_FLAG_REF 0x04U /* Flags thet the pbuf payload refers to RAM */
|
||||||
|
|
||||||
|
/** indicates this packet was broadcast on the link */
|
||||||
|
#define PBUF_FLAG_LINK_BROADCAST 0x80U
|
||||||
|
|
||||||
struct pbuf {
|
struct pbuf {
|
||||||
/** next pbuf in singly linked pbuf chain */
|
/** next pbuf in singly linked pbuf chain */
|
||||||
|
Loading…
Reference in New Issue
Block a user