Lines Matching refs:len_left
83 size_t len_left; in ipv6_packet() local
113 len_left = len - sizeof(struct ip6_hdr); in ipv6_packet()
128 if (len_left < sizeof(*frag_hdr)) { in ipv6_packet()
134 len_left -= sizeof(*frag_hdr); in ipv6_packet()
150 old_sum = ipv6_pseudo_header_checksum(ip6, len_left, protocol); in ipv6_packet()
151 new_sum = ipv4_pseudo_header_checksum(ip_targ, len_left); in ipv6_packet()
155 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet()
157 iov_len = icmp6_packet(out, pos + 2, (const struct icmp6_hdr *)next_header, len_left); in ipv6_packet()
160 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
163 udp_packet(out, pos + 2, (const struct udphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
165 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet()