3rd fix for bug #11400 (arp-queuing): More pbufs than previously thought need to be copied (everything but PBUF_ROM!). Cleaned up pbuf.c: removed functions no needed any more (by etharp).

This commit is contained in:
goldsimon
2007-04-11 18:50:45 +00:00
parent e8b055b8d3
commit e54f3fdaac
4 changed files with 93 additions and 226 deletions

View File

@@ -105,9 +105,9 @@ u8_t pbuf_free(struct pbuf *p);
u8_t pbuf_clen(struct pbuf *p);
void pbuf_cat(struct pbuf *h, struct pbuf *t);
void pbuf_chain(struct pbuf *h, struct pbuf *t);
struct pbuf *pbuf_take(struct pbuf *f);
struct pbuf *pbuf_dechain(struct pbuf *p);
void pbuf_queue(struct pbuf *p, struct pbuf *n);
struct pbuf * pbuf_dequeue(struct pbuf *p);
#if ARP_QUEUEING
struct pbuf *pbuf_copy(struct pbuf *f);
#endif
#endif /* __LWIP_PBUF_H__ */