Searched refs:icmphdr (Results 1 – 18 of 18) sorted by relevance
/external/iputils/ |
D | clockdiff.c | 137 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()
|
D | ping.c | 103 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()
|
D | rdisc.c | 543 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/ |
D | ipv4.c | 35 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()
|
D | translate.c | 229 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()
|
D | dump.h | 30 void dump_icmp(struct icmphdr *icmp);
|
D | translate.h | 70 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
|
D | dump.c | 93 void dump_icmp(struct icmphdr *icmp) { in dump_icmp()
|
/external/kernel-headers/original/uapi/linux/ |
D | icmp.h | 69 struct icmphdr { struct
|
/external/ltp/testcases/network/sockets/ |
D | ltpClient.c | 60 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/ |
D | test_xdp_noinline.c | 237 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()
|
D | test_l4lb.c | 261 struct icmphdr *icmp_hdr; in parse_icmp() 270 off += sizeof(struct icmphdr); in parse_icmp()
|
D | test_l4lb_noinline.c | 261 struct icmphdr *icmp_hdr; in parse_icmp() 270 off += sizeof(struct icmphdr); in parse_icmp()
|
D | bpf_flow.c | 133 struct icmphdr *icmp, _icmp; in parse_ip_proto()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmpv4_sender.c | 360 +sizeof(struct icmphdr) /* ICMP header */ in create_clean_packet() 392 sizeof(struct icmphdr) + in create_clean_packet()
|
D | ns-traffic.h | 117 struct icmphdr hdr;
|
D | ns-icmp_redirector.c | 391 +sizeof(struct icmphdr) /* ICMPv4 header */ in return_icmp4_redirect() 434 sizeof(struct icmphdr) + in return_icmp4_redirect()
|
/external/toybox/toys/net/ |
D | ping.c | 91 struct icmphdr *ih = (void *)toybuf; in ping_main()
|