Home
last modified time | relevance | path

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

/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/android-clat/
Dipv4.c35 int icmp_packet(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, in icmp_packet()
40 if (len < sizeof(struct icmphdr)) { in icmp_packet()
46 payload_size = len - sizeof(struct icmphdr); in icmp_packet()
127 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *)next_header, new_sum, len_left); in ipv4_packet()
Dtranslate.c229 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.h30 void dump_icmp(struct icmphdr *icmp);
Dtranslate.h70 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
Ddump.c93 void dump_icmp(struct icmphdr *icmp) { in dump_icmp()
/external/kernel-headers/original/uapi/linux/
Dicmp.h69 struct icmphdr { struct
/external/ltp/testcases/network/sockets/
DltpClient.c60 struct icmphdr hdr;
61 char msg[PACKETSIZE - sizeof(struct icmphdr)];
444 struct icmphdr *icmpPtr = netPacket + ip->ihl * 4; in output_to_display()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_xdp_noinline.c237 off += sizeof(struct icmphdr) + sizeof(struct iphdr); in calc_offset()
440 struct icmphdr *icmp_hdr; in send_icmp_reply()
449 + sizeof(struct iphdr) + sizeof(struct icmphdr) > data_end) in send_icmp_reply()
523 struct icmphdr *icmp_hdr; in parse_icmp()
533 off += sizeof(struct icmphdr); in parse_icmp()
Dtest_l4lb.c261 struct icmphdr *icmp_hdr; in parse_icmp()
270 off += sizeof(struct icmphdr); in parse_icmp()
Dtest_l4lb_noinline.c261 struct icmphdr *icmp_hdr; in parse_icmp()
270 off += sizeof(struct icmphdr); in parse_icmp()
Dbpf_flow.c133 struct icmphdr *icmp, _icmp; in parse_ip_proto()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c360 +sizeof(struct icmphdr) /* ICMP header */ in create_clean_packet()
392 sizeof(struct icmphdr) + in create_clean_packet()
Dns-traffic.h117 struct icmphdr hdr;
Dns-icmp_redirector.c391 +sizeof(struct icmphdr) /* ICMPv4 header */ in return_icmp4_redirect()
434 sizeof(struct icmphdr) + in return_icmp4_redirect()
/external/toybox/toys/net/
Dping.c91 struct icmphdr *ih = (void *)toybuf; in ping_main()