Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/core/ipv4/
Dip_frag.c669 struct pbuf *rambuf; in ip_frag() local
697 rambuf = pbuf_alloc(PBUF_LINK, 0, PBUF_REF); in ip_frag()
698 if (rambuf == NULL) { in ip_frag()
702 rambuf->tot_len = rambuf->len = mtu; in ip_frag()
703 rambuf->payload = LWIP_MEM_ALIGN((void *)buf); in ip_frag()
706 iphdr = (struct ip_hdr *)rambuf->payload; in ip_frag()
738 rambuf = pbuf_alloc(PBUF_IP, cop, PBUF_RAM); in ip_frag()
739 if (rambuf == NULL) { in ip_frag()
743 (rambuf->len == rambuf->tot_len) && (rambuf->next == NULL)); in ip_frag()
744 poff += pbuf_copy_partial(p, rambuf->payload, cop, poff); in ip_frag()
[all …]