Lines Matching refs:len_left
85 size_t len_left; in ipv6_packet() local
115 len_left = len - sizeof(struct ip6_hdr); in ipv6_packet()
130 if (len_left < sizeof(*frag_hdr)) { in ipv6_packet()
136 len_left -= sizeof(*frag_hdr); in ipv6_packet()
152 old_sum = ipv6_pseudo_header_checksum(ip6, len_left, protocol); in ipv6_packet()
153 new_sum = ipv4_pseudo_header_checksum(ip_targ, len_left); in ipv6_packet()
157 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet()
159 iov_len = icmp6_packet(out, pos + 2, (const struct icmp6_hdr *)next_header, len_left); in ipv6_packet()
162 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
165 udp_packet(out, pos + 2, (const struct udphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
167 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet()