Home
last modified time | relevance | path

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

/external/android-clat/
Dipv4.c63 uint8_t nxthdr; in ipv4_packet() local
97 nxthdr = header->protocol; in ipv4_packet()
98 if (nxthdr == IPPROTO_ICMP) { in ipv4_packet()
100 nxthdr = IPPROTO_ICMPV6; in ipv4_packet()
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()
126 } else if (nxthdr == IPPROTO_ICMPV6) { in ipv4_packet()
128 } else if (nxthdr == IPPROTO_TCP) { in ipv4_packet()
131 } else if (nxthdr == IPPROTO_UDP) { in ipv4_packet()
134 } else if (nxthdr == IPPROTO_GRE || nxthdr == IPPROTO_ESP) { in ipv4_packet()
/external/ltp/testcases/network/stress/ns-tools/
Dns-traffic.h165 uint8_t nxthdr; member
Dns-icmpv6_sender.c284 alart_p->nxthdr = IPPROTO_ICMPV6; in create_mld_query()