Home
last modified time | relevance | path

Searched refs:ip6_targ (Results 1 – 3 of 3) sorted by relevance

/external/android-clat/
Dipv4.c59 struct ip6_hdr *ip6_targ = (struct ip6_hdr *) out[pos].iov_base; in ipv4_packet() local
106 fill_ip6_header(ip6_targ, 0, nxthdr, header); in ipv4_packet()
115 new_sum = ipv6_pseudo_header_checksum(ip6_targ, len_left, nxthdr); in ipv4_packet()
119 frag_hdr_len = maybe_fill_frag_header(frag_hdr, ip6_targ, header); in ipv4_packet()
144 ip6_targ->ip6_plen = htons(packet_length(out, pos)); in ipv4_packet()
Dtranslate.h59 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ,
64 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ,
Dtranslate.c178 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ, in maybe_fill_frag_header() argument
187 frag_hdr->ip6f_nxt = ip6_targ->ip6_nxt; in maybe_fill_frag_header()
195 ip6_targ->ip6_nxt = IPPROTO_FRAGMENT; in maybe_fill_frag_header()