66#if LWIP_NETBUF_RECVINFO || LWIP_CHECKSUM_ON_COPY
67#if LWIP_CHECKSUM_ON_COPY
70 buf->toport_chksum = 0;
71#if LWIP_NETBUF_RECVINFO
112 if (buf->
p !=
NULL) {
116 if (buf->
p ==
NULL) {
134 if (buf->
p !=
NULL) {
153 if (buf->
p !=
NULL) {
157 if (buf->
p ==
NULL) {
177 LWIP_ERROR(
"netbuf_chain: invalid tail", (tail !=
NULL),
return;);
220 LWIP_ERROR(
"netbuf_free: invalid buf", (buf !=
NULL),
return -1;);
#define LWIP_ERROR(message, expression, handler)
#define LWIP_ASSERT(message, assertion)
#define ip_addr_set_any(ipaddr)
void * memp_malloc(memp_t type)
void memp_free(memp_t type, void *mem)
void netbuf_free(struct netbuf *buf)
err_t netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len)
void * netbuf_alloc(struct netbuf *buf, u16_t size)
void netbuf_first(struct netbuf *buf)
void netbuf_chain(struct netbuf *head, struct netbuf *tail)
void netbuf_delete(struct netbuf *buf)
err_t netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size)
struct netbuf * netbuf_new(void)
s8_t netbuf_next(struct netbuf *buf)
void pbuf_cat(struct pbuf *h, struct pbuf *t)
struct pbuf * pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type)
u8_t pbuf_free(struct pbuf *p)