Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/subsys/net/ip/
Dicmpv6.c195 size_t copy_len; in net_icmpv6_send_error() local
224 copy_len = sizeof(struct net_ipv6_hdr) + in net_icmpv6_send_error()
227 copy_len = sizeof(struct net_ipv6_hdr) + in net_icmpv6_send_error()
230 copy_len = net_pkt_get_len(orig); in net_icmpv6_send_error()
235 copy_len + NET_ICMPV6_UNUSED_LEN, in net_icmpv6_send_error()
305 copy_len = net_pkt_available_buffer(pkt); in net_icmpv6_send_error()
307 if (err || net_pkt_copy(pkt, orig, copy_len)) { in net_icmpv6_send_error()
Dicmpv4.c579 size_t copy_len; in net_icmpv4_send_error() local
613 copy_len = sizeof(struct net_ipv4_hdr) + in net_icmpv4_send_error()
616 copy_len = sizeof(struct net_ipv4_hdr) + in net_icmpv4_send_error()
619 copy_len = 0; in net_icmpv4_send_error()
623 copy_len + NET_ICMPV4_UNUSED_LEN, in net_icmpv4_send_error()
634 net_pkt_copy(pkt, orig, copy_len)) { in net_icmpv4_send_error()
Dnet_pkt.c773 size_t copy_len; local
775 copy_len = frag->frags->len;
776 if (copy_len > net_buf_tailroom(frag)) {
777 copy_len = net_buf_tailroom(frag);
780 memcpy(net_buf_tail(frag), frag->frags->data, copy_len);
781 net_buf_add(frag, copy_len);
784 frag->frags->data + copy_len,
785 frag->frags->len - copy_len);
787 frag->frags->len -= copy_len;
/Zephyr-Core-2.7.6/subsys/shell/
Dshell_telnet.c373 size_t copy_len; in write() local
400 copy_len = TELNET_LINE_SIZE - lb->len; in write()
402 copy_len = length - *cnt; in write()
405 memcpy(lb->buf + lb->len, (uint8_t *)data + *cnt, copy_len); in write()
406 lb->len += copy_len; in write()
420 *cnt += copy_len; in write()