Lines Matching defs:pcr
637 struct pbuf_custom_ref *pcr = (struct pbuf_custom_ref*)p;
638 LWIP_ASSERT("pcr != NULL", pcr != NULL);
639 LWIP_ASSERT("pcr == p", (void*)pcr == (void*)p);
640 if (pcr->original != NULL) {
641 pbuf_free(pcr->original);
643 ip6_frag_free_pbuf_custom_ref(pcr);
739 struct pbuf_custom_ref *pcr;
746 pcr = ip6_frag_alloc_pbuf_custom_ref();
747 if (pcr == NULL) {
753 newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, p->payload, newpbuflen);
755 ip6_frag_free_pbuf_custom_ref(pcr);
761 pcr->original = p;
762 pcr->pc.custom_free_function = ip6_frag_free_pbuf_custom;