Home
last modified time | relevance | path

Searched refs:old_header (Results 1 – 2 of 2) sorted by relevance

/external/android-clat/
Dtranslate.c124 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
[all …]
Dtranslate.h47 const struct ip6_hdr *old_header);
49 const struct iphdr *old_header);
60 const struct iphdr *old_header);
65 const struct iphdr *old_header);