Lines Matching refs:q
95 /* q is the whole pbuf chain for a packet, p is the current pbuf in the chain */
96 struct pbuf *p, *q;
118 struct pbuf *q;
135 for (q = p; q != NULL; q = q->next) {
136 for (i = 0; i < q->len; i++) {
137 c = ((u8_t *)q->payload)[i];
187 pbuf_realloc(priv->q, priv->recved);
192 t = priv->q;
193 priv->p = priv->q = NULL;
231 if (priv->q != NULL) {
233 pbuf_cat(priv->q, priv->p);
236 priv->q = priv->p;
353 priv->q = NULL;
417 struct pbuf *q = p;
418 while ((q->len != q->tot_len) && (q->next != NULL)) {
419 q = q->next;
421 priv->rxpackets = q->next;
422 q->next = NULL;
452 struct pbuf *q = p;
453 while(q->next != NULL) {
454 q = q->next;
456 q->next = p;