} 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;
#endif /* PBUF_POOL_FREE_OOSEQ */
#if NO_SYS && PBUF_POOL_FREE_OOSEQ
extern volatile u8_t pbuf_free_ooseq_pending;
-void pbuf_free_ooseq();
+void pbuf_free_ooseq(void);
/** When not using sys_check_timeouts(), call PBUF_CHECK_FREE_OOSEQ()
at regular intervals from main level to check if ooseq pbufs need to be
freed! */