Lines Matching refs:old_header
124 const struct ip6_hdr *old_header) { in fill_ip_header() argument
134 ip->ttl = old_header->ip6_hlim; in fill_ip_header()
138 ip->saddr = ipv6_addr_to_ipv4_addr(&old_header->ip6_src); in fill_ip_header()
139 ip->daddr = ipv6_addr_to_ipv4_addr(&old_header->ip6_dst); in fill_ip_header()
145 ttl_guess = icmp_guess_ttl(old_header->ip6_hlim); in fill_ip_header()
158 const struct iphdr *old_header) { in fill_ip6_header() argument
164 ip6->ip6_hlim = old_header->ttl; in fill_ip6_header()
166 ip6->ip6_src = ipv4_addr_to_ipv6_addr(old_header->saddr); in fill_ip6_header()
167 ip6->ip6_dst = ipv4_addr_to_ipv6_addr(old_header->daddr); in fill_ip6_header()
179 const struct iphdr *old_header) { in maybe_fill_frag_header() argument
180 uint16_t frag_flags = ntohs(old_header->frag_off); in maybe_fill_frag_header()
194 frag_hdr->ip6f_ident = htonl(ntohs(old_header->id)); in maybe_fill_frag_header()