} pbuf_layer;
typedef enum {
- PBUF_RAM, /* pbuf data is stored in RAM */
- PBUF_ROM, /* pbuf data is stored in ROM */
- PBUF_REF, /* pbuf comes from the pbuf pool */
- PBUF_POOL /* pbuf payload refers to RAM */
+ PBUF_RAM = 0, /* pbuf data is stored in RAM */
+ PBUF_ROM = 1, /* pbuf data is stored in ROM */
+ PBUF_REF = 2, /* pbuf comes from the pbuf pool */
+ PBUF_POOL = 3 /* pbuf payload refers to RAM */
} pbuf_type;