Home
last modified time | relevance | path

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

/components/net/lwip/lwip-2.0.3/src/core/ipv6/
A Dip6_frag.c673 u16_t left, cop; in ip6_frag() local
694 cop = last ? left : nfb; in ip6_frag()
697 rambuf = pbuf_alloc(PBUF_IP, cop + IP6_FRAG_HLEN, PBUF_RAM); in ip6_frag()
704 poff += pbuf_copy_partial(p, (u8_t*)rambuf->payload + IP6_FRAG_HLEN, cop, poff); in ip6_frag()
737 left_to_copy = cop; in ip6_frag()
783 IP6H_PLEN_SET(ip6hdr, cop + IP6_FRAG_HLEN); in ip6_frag()
799 left -= cop; in ip6_frag()
800 fragment_offset += cop; in ip6_frag()
/components/net/lwip/lwip-2.1.2/src/core/ipv6/
A Dip6_frag.c732 u16_t left, cop; in ip6_frag() local
751 cop = last ? left : nfb; in ip6_frag()
754 rambuf = pbuf_alloc(PBUF_IP, cop + IP6_FRAG_HLEN, PBUF_RAM); in ip6_frag()
761 poff += pbuf_copy_partial(p, (u8_t*)rambuf->payload + IP6_FRAG_HLEN, cop, poff); in ip6_frag()
794 left_to_copy = cop; in ip6_frag()
840 IP6H_PLEN_SET(ip6hdr, (u16_t)(cop + IP6_FRAG_HLEN)); in ip6_frag()
856 left = (u16_t)(left - cop); in ip6_frag()
857 fragment_offset = (u16_t)(fragment_offset + cop); in ip6_frag()
/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A Dip_frag.c680 u16_t left, cop; in ip_frag() local
732 cop = last ? left : nfb * 8; in ip_frag()
735 poff += pbuf_copy_partial(p, (u8_t*)iphdr + IP_HLEN, cop, poff); in ip_frag()
738 rambuf = pbuf_alloc(PBUF_IP, cop, PBUF_RAM); in ip_frag()
744 poff += pbuf_copy_partial(p, rambuf->payload, cop, poff); in ip_frag()
772 left_to_copy = cop; in ip_frag()
812 IPH_LEN_SET(iphdr, htons(cop + IP_HLEN)); in ip_frag()
854 left -= cop; in ip_frag()

Completed in 7 milliseconds