OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ip_targ
(Results
1 - 3
of
3
) sorted by null
/external/android-clat/
ipv6.c
80
struct iphdr *
ip_targ
= (struct iphdr *) out[pos].iov_base;
local
122
fill_ip_header(
ip_targ
, 0, protocol, ip6);
137
protocol = parse_frag_header(frag_hdr,
ip_targ
);
143
ip_targ
->protocol = IPPROTO_ICMP;
152
new_sum = ipv4_pseudo_header_checksum(
ip_targ
, len_left);
176
ip_targ
->tot_len = htons(ntohs(
ip_targ
->tot_len) + packet_length(out, pos));
177
ip_targ
->check = ip_checksum(
ip_targ
, sizeof(struct iphdr));
translate.h
57
void fill_ip_header(struct iphdr *
ip_targ
, uint16_t payload_len, uint8_t protocol,
72
uint8_t parse_frag_header(const struct ip6_frag *frag_hdr, struct iphdr *
ip_targ
);
77
uint8_t parse_frag_header(const struct ip6_frag *frag_hdr, struct iphdr *
ip_targ
);
translate.c
118
*
ip_targ
- (ipv4) target packet header, source: original ipv4 addr, dest: local subnet addr
204
*
ip_targ
- target (ipv4) header
207
uint8_t parse_frag_header(const struct ip6_frag *frag_hdr, struct iphdr *
ip_targ
) {
212
ip_targ
->frag_off = htons(frag_off);
213
ip_targ
->id = htons(ntohl(frag_hdr->ip6f_ident) & 0xffff);
214
ip_targ
->protocol = frag_hdr->ip6f_nxt;
Completed in 988 milliseconds