Home
last modified time | relevance | path

Searched refs:icmphdr (Results 1 – 9 of 9) sorted by relevance

/external/android-clat/
Dipv4.c34 int icmp_packet(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, in icmp_packet()
39 if(len < sizeof(struct icmphdr)) { in icmp_packet()
45 payload_size = len - sizeof(struct icmphdr); in icmp_packet()
126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *) next_header, new_sum, len_left); in ipv4_packet()
Dtranslate.c227 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, in icmp_to_icmp6()
283 struct icmphdr *icmp_targ = out[pos].iov_base; in icmp6_to_icmp()
287 memset(icmp_targ, 0, sizeof(struct icmphdr)); in icmp6_to_icmp()
293 out[pos].iov_len = sizeof(struct icmphdr); in icmp6_to_icmp()
Ddump.h22 void dump_icmp(struct icmphdr *icmp);
Dtranslate.h69 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
Ddump.c92 void dump_icmp(struct icmphdr *icmp) { in dump_icmp()
/external/iputils/
Dclockdiff.c137 struct icmphdr *icp = (struct icmphdr *) packet; in measure()
138 struct icmphdr *oicp = (struct icmphdr *) opacket; in measure()
226 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); in measure()
314 struct icmphdr *icp = (struct icmphdr *) packet; in measure_opt()
315 struct icmphdr *oicp = (struct icmphdr *) opacket; in measure_opt()
406 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); in measure_opt()
Dping.c103 static void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp);
616 struct icmphdr icmph; in receive_error_msg()
720 struct icmphdr *icp; in send_probe()
724 icp = (struct icmphdr *)outpack; in send_probe()
778 struct icmphdr *icp = (struct icmphdr *)_icp; in pr_echo_reply()
787 struct icmphdr *icp; in parse_reply()
830 icp = (struct icmphdr *)(buf + hlen); in parse_reply()
857 struct icmphdr *icp1 = (struct icmphdr*)((unsigned char *)iph + iph->ihl*4); in parse_reply()
987 void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp) in pr_icmph()
Drdisc.c543 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack); in solicitor()
723 struct icmphdr *icp; in pr_pack()
736 icp = (struct icmphdr *)ALLIGN(buf + hlen); in pr_pack()
/external/kernel-headers/original/uapi/linux/
Dicmp.h68 struct icmphdr { struct