Home
last modified time | relevance | path

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

/external/android-clat/
Dipv4.c60 struct ip6_hdr *ip6_targ = (struct ip6_hdr *)out[pos].iov_base; in ipv4_packet() local
107 fill_ip6_header(ip6_targ, 0, nxthdr, header); in ipv4_packet()
116 new_sum = ipv6_pseudo_header_checksum(ip6_targ, len_left, nxthdr); in ipv4_packet()
120 frag_hdr_len = maybe_fill_frag_header(frag_hdr, ip6_targ, header); in ipv4_packet()
145 ip6_targ->ip6_plen = htons(packet_length(out, pos)); in ipv4_packet()
Dtranslate.h60 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ,
65 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ,
Dtranslate.c180 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ, in maybe_fill_frag_header() argument
189 frag_hdr->ip6f_nxt = ip6_targ->ip6_nxt; in maybe_fill_frag_header()
197 ip6_targ->ip6_nxt = IPPROTO_FRAGMENT; in maybe_fill_frag_header()