Home
last modified time | relevance | path

Searched refs:rambuf (Results 1 - 2 of 2) sorted by relevance

/third_party/lwip/src/core/ipv6/
H A Dip6_frag.c745 struct pbuf *rambuf; in ip6_frag() local
774 rambuf = pbuf_alloc(PBUF_IP, cop + IP6_FRAG_HLEN, PBUF_RAM); in ip6_frag()
775 if (rambuf == NULL) { in ip6_frag()
780 (rambuf->len == rambuf->tot_len) && (rambuf->next == NULL)); in ip6_frag()
781 poff += pbuf_copy_partial(p, (u8_t*)rambuf->payload + IP6_FRAG_HLEN, cop, poff); in ip6_frag()
783 if (pbuf_add_header(rambuf, IP6_HLEN)) { in ip6_frag()
784 pbuf_free(rambuf); in ip6_frag()
789 SMEMCPY(rambuf in ip6_frag()
[all...]
/third_party/lwip/src/core/ipv4/
H A Dip4_frag.c762 struct pbuf *rambuf; in ip4_frag() local
799 rambuf = pbuf_alloc(PBUF_IP, fragsize, PBUF_RAM); in ip4_frag()
800 if (rambuf == NULL) { in ip4_frag()
804 (rambuf->len == rambuf->tot_len) && (rambuf->next == NULL)); in ip4_frag()
805 poff += pbuf_copy_partial(p, rambuf->payload, fragsize, poff); in ip4_frag()
807 if (pbuf_add_header(rambuf, IP_HLEN)) { in ip4_frag()
808 pbuf_free(rambuf); in ip4_frag()
812 SMEMCPY(rambuf in ip4_frag()
[all...]

Completed in 3 milliseconds