Searched refs:icmp_hdr (Results 1 – 8 of 8) sorted by relevance
429 struct icmphdr *icmp_hdr; in send_icmp_reply() local443 icmp_hdr = data + off; in send_icmp_reply()444 icmp_hdr->type = 0; in send_icmp_reply()445 icmp_hdr->checksum += 0x0007; in send_icmp_reply()462 struct icmp6hdr *icmp_hdr; in send_icmp6_reply() local473 icmp_hdr = data + off; in send_icmp6_reply()474 icmp_hdr->icmp6_type = 129; in send_icmp6_reply()475 icmp_hdr->icmp6_cksum -= 0x0001; in send_icmp6_reply()487 struct icmp6hdr *icmp_hdr; in parse_icmpv6() local490 icmp_hdr = data + off; in parse_icmpv6()[all …]
239 struct icmp6hdr *icmp_hdr; in parse_icmpv6() local242 icmp_hdr = data + off; in parse_icmpv6()243 if (icmp_hdr + 1 > data_end) in parse_icmpv6()245 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()261 struct icmphdr *icmp_hdr; in parse_icmp() local264 icmp_hdr = data + off; in parse_icmp()265 if (icmp_hdr + 1 > data_end) in parse_icmp()267 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()268 icmp_hdr->code != ICMP_FRAG_NEEDED) in parse_icmp()
25 struct icmp_hdr *icmp = (struct icmp_hdr *)(pkt + IP_HDR_SIZE); in set_icmp_header()79 struct icmp_hdr *icmph = (struct icmp_hdr *)&ip->udp_src; in ping_receive()
1054 struct icmp_hdr *icmph = (struct icmp_hdr *)&ip->udp_src; in receive_icmp()
118 struct icmp_hdr *icmp; in sandbox_eth_ping_req_to_reply()121 struct icmp_hdr *icmpr; in sandbox_eth_ping_req_to_reply()131 icmp = (struct icmp_hdr *)&ip->udp_src; in sandbox_eth_ping_req_to_reply()144 icmpr = (struct icmp_hdr *)&ipr->udp_src; in sandbox_eth_ping_req_to_reply()216 struct icmp_hdr *icmpr; in sandbox_eth_recv_ping_req()239 icmpr = (struct icmp_hdr *)&ipr->udp_src; in sandbox_eth_recv_ping_req()
354 struct icmp_hdr *icmp; in sb_check_ping_reply()366 icmp = (struct icmp_hdr *)&ip->udp_src; in sb_check_ping_reply()
451 struct icmp_hdr { struct469 #define ICMP_HDR_SIZE (sizeof(struct icmp_hdr)) argument