Lines Matching refs:pbuf
66 #include "lwip/pbuf.h"
97 /* q is the whole pbuf chain for a packet, p is the current pbuf in the chain */
98 struct pbuf *p, *q;
102 struct pbuf *rxpackets;
107 * Send a pbuf doing the necessary SLIP encapsulation
112 * @param p the pbuf chain packet to send
116 slipif_output(struct netif *netif, struct pbuf *p)
119 struct pbuf *q;
130 /* Send pbuf out on the serial I/O device. */
162 * Send a pbuf doing the necessary SLIP encapsulation
167 * @param p the pbuf chain packet to send
172 slipif_output_v4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr)
181 * Send a pbuf doing the necessary SLIP encapsulation
186 * @param p the pbuf chain packet to send
191 slipif_output_v6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr)
206 static struct pbuf *
210 struct pbuf *t;
223 /* Trim the pbuf to the size of the received packet. */
263 /* allocate a new pbuf */
269 LWIP_DEBUGF(SLIP_DEBUG, ("slipif_input: no new pbuf! (DROP)\n"));
270 /* don't process any further since we got no pbuf to receive to */
275 /* 'chain' the pbuf to the existing chain */
278 /* p is the first pbuf in the chain */
289 /* on to the next pbuf */
295 /* p is a single pbuf, set it to NULL so next time a new
296 * pbuf is allocated */
312 struct pbuf *p;
461 struct pbuf *p = priv->rxpackets;
464 struct pbuf *q = p;
490 struct pbuf *p;
500 struct pbuf *q = p;