Lines Matching refs:pcr
642 struct pbuf_custom_ref *pcr = (struct pbuf_custom_ref*)p;
643 LWIP_ASSERT("pcr != NULL", pcr != NULL);
644 LWIP_ASSERT("pcr == p", (void*)pcr == (void*)p);
645 if (pcr->original != NULL) {
646 pbuf_free(pcr->original);
648 ip_frag_free_pbuf_custom_ref(pcr);
774 struct pbuf_custom_ref *pcr;
781 pcr = ip_frag_alloc_pbuf_custom_ref();
782 if (pcr == NULL) {
787 newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, p->payload, newpbuflen);
789 ip_frag_free_pbuf_custom_ref(pcr);
794 pcr->original = p;
795 pcr->pc.custom_free_function = ipfrag_free_pbuf_custom;