Home
last modified time | relevance | path

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

/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/
A Dip4_frag.c687 struct pbuf *rambuf; in ip4_frag() local
721 if (rambuf == NULL) { in ip4_frag()
725 (rambuf->len == rambuf->tot_len) && (rambuf->next == NULL)); in ip4_frag()
728 if (pbuf_header(rambuf, IP_HLEN)) { in ip4_frag()
729 pbuf_free(rambuf); in ip4_frag()
742 if (rambuf == NULL) { in ip4_frag()
763 pbuf_free(rambuf); in ip4_frag()
771 pbuf_free(rambuf); in ip4_frag()
781 pbuf_cat(rambuf, newpbuf); in ip4_frag()
811 netif->output(netif, rambuf, dest); in ip4_frag()
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv6/
A Dip6_frag.c660 struct pbuf *rambuf; in ip6_frag() local
694 rambuf = pbuf_alloc(PBUF_LINK, IP6_HLEN + IP6_FRAG_HLEN, PBUF_RAM); in ip6_frag()
695 if (rambuf == NULL) { in ip6_frag()
701 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); in ip6_frag()
702 ip6hdr = (struct ip6_hdr *)rambuf->payload; in ip6_frag()
703 frag_hdr = (struct ip6_frag_hdr *)((u8_t*)rambuf->payload + IP6_HLEN); in ip6_frag()
721 pbuf_free(rambuf); in ip6_frag()
729 pbuf_free(rambuf); in ip6_frag()
740 pbuf_cat(rambuf, newpbuf); in ip6_frag()
761 netif->output_ip6(netif, rambuf, dest); in ip6_frag()
[all …]

Completed in 4 milliseconds