Lines Matching refs:p
91 * p->tot_len == p->len + (p->next? p->next->tot_len: 0)
114 typedef void (*pbuf_free_custom_fn)(struct pbuf *p);
149 struct pbuf_custom *p, void *payload_mem,
152 void pbuf_realloc(struct pbuf *p, u16_t size);
153 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
154 void pbuf_ref(struct pbuf *p);
155 u8_t pbuf_free(struct pbuf *p);
156 u8_t pbuf_clen(struct pbuf *p);
159 struct pbuf *pbuf_dechain(struct pbuf *p);
161 u16_t pbuf_copy_partial(struct pbuf *p, void *dataptr, u16_t len, u16_t offset);
163 struct pbuf *pbuf_coalesce(struct pbuf *p, pbuf_layer layer);
165 err_t pbuf_fill_chksum(struct pbuf *p, u16_t start_offset, const void *dataptr,
169 u8_t pbuf_get_at(struct pbuf* p, u16_t offset);
170 u16_t pbuf_memcmp(struct pbuf* p, u16_t offset, const void* s2, u16_t n);
171 u16_t pbuf_memfind(struct pbuf* p, const void* mem, u16_t mem_len, u16_t start_offset);
172 u16_t pbuf_strstr(struct pbuf* p, const char* substr);