Lines Matching refs:p
123 low_level_output(struct netif *netif, struct pbuf *p)
131 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
134 for(q = p; q != NULL; q = q->next) {
144 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
164 struct pbuf *p, *q;
176 p = pbuf_alloc(PBUF_RAW, len, PBUF_POOL);
178 if (p != NULL) {
181 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
186 for(q = p; q != NULL; q = q->next) {
200 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
210 return p;
227 struct pbuf *p;
232 p = low_level_input(netif);
234 if (p == NULL) return;
236 ethhdr = p->payload;
248 if (netif->input(p, netif)!=ERR_OK)
250 pbuf_free(p);
251 p = NULL;
256 pbuf_free(p);
257 p = NULL;