Lines Matching refs:pbuf
64 #include "lwip/pbuf.h"
95 /* q is the whole pbuf chain for a packet, p is the current pbuf in the chain */
96 struct pbuf *p, *q;
100 struct pbuf *rxpackets;
105 * Send a pbuf doing the necessary SLIP encapsulation
110 * @param p the pbuf chaing packet to send
115 slipif_output(struct netif *netif, struct pbuf *p, ip_addr_t *ipaddr)
118 struct pbuf *q;
131 /* Send pbuf out on the serial I/O device. */
169 static struct pbuf*
173 struct pbuf *t;
186 /* Trim the pbuf to the size of the received packet. */
220 /* allocate a new pbuf */
226 LWIP_DEBUGF(SLIP_DEBUG, ("slipif_input: no new pbuf! (DROP)\n"));
227 /* don't process any further since we got no pbuf to receive to */
232 /* 'chain' the pbuf to the existing chain */
235 /* p is the first pbuf in the chain */
246 /* on to the next pbuf */
252 /* p is a single pbuf, set it to NULL so next time a new
253 * pbuf is allocated */
269 struct pbuf *p;
414 struct pbuf *p = priv->rxpackets;
417 struct pbuf *q = p;
442 struct pbuf *p;
452 struct pbuf *q = p;