Lines Matching refs:fit_len
590 uint16_t fit_len, in send_ipv6_fragment() argument
602 frag_pkt = net_pkt_alloc_with_buffer(net_pkt_iface(pkt), fit_len + in send_ipv6_fragment()
654 net_pkt_copy(frag_pkt, pkt, fit_len)) { in send_ipv6_fragment()
696 int fit_len; in net_ipv6_send_fragmented_pkt() local
716 fit_len = (int)mtu - NET_IPV6_FRAGH_LEN - in net_ipv6_send_fragmented_pkt()
720 fit_len = ROUND_DOWN(fit_len, 8); in net_ipv6_send_fragmented_pkt()
722 if (fit_len <= 0) { in net_ipv6_send_fragmented_pkt()
762 if (fit_len >= length) { in net_ipv6_send_fragmented_pkt()
764 fit_len = length; in net_ipv6_send_fragmented_pkt()
767 ret = send_ipv6_fragment(pkt, fit_len, frag_offset, in net_ipv6_send_fragmented_pkt()
773 length -= fit_len; in net_ipv6_send_fragmented_pkt()
774 frag_offset += fit_len; in net_ipv6_send_fragmented_pkt()