Lines Matching refs:q
208 struct pbuf *q; /* q will be sent down the stack */
215 q = pbuf_alloc(PBUF_IP, 0, PBUF_RAM);
217 if (q == NULL) {
222 /* chain header q in front of given pbuf p */
223 pbuf_chain(q, p);
225 /* { first pbuf q points to header pbuf } */
226 LWIP_DEBUGF(RAW_DEBUG, ("raw_sendto: added header pbuf %p before given pbuf %p\n", (void *)q, (void *)p));
228 /* first pbuf q equals given pbuf */
229 q = p;
230 if(pbuf_header(q, -IP_HLEN)) {
240 if (q != p) {
241 pbuf_free(q);
251 if (q != p) {
252 pbuf_free(q);
267 err = ip_output_if (q, src_ip, ipaddr, pcb->ttl, pcb->tos, pcb->protocol, netif);
271 if (q != p) {
273 pbuf_free(q);