Lines Matching refs:pcr
662 struct pbuf_custom_ref *pcr = (struct pbuf_custom_ref*)p;
663 LWIP_ASSERT("pcr != NULL", pcr != NULL);
664 LWIP_ASSERT("pcr == p", (void*)pcr == (void*)p);
665 if (pcr->original != NULL) {
666 pbuf_free(pcr->original);
668 ip_frag_free_pbuf_custom_ref(pcr);
750 struct pbuf_custom_ref *pcr;
759 pcr = ip_frag_alloc_pbuf_custom_ref();
760 if (pcr == NULL) {
765 newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc,
768 ip_frag_free_pbuf_custom_ref(pcr);
773 pcr->original = p;
774 pcr->pc.custom_free_function = ipfrag_free_pbuf_custom;