Searched refs:icmp_hdr (Results 1 – 7 of 7) sorted by relevance
440 struct icmphdr *icmp_hdr; in send_icmp_reply() local454 icmp_hdr = data + off; in send_icmp_reply()455 icmp_hdr->type = 0; in send_icmp_reply()456 icmp_hdr->checksum += 0x0007; in send_icmp_reply()473 struct icmp6hdr *icmp_hdr; in send_icmp6_reply() local484 icmp_hdr = data + off; in send_icmp6_reply()485 icmp_hdr->icmp6_type = 129; in send_icmp6_reply()486 icmp_hdr->icmp6_cksum -= 0x0001; in send_icmp6_reply()498 struct icmp6hdr *icmp_hdr; in parse_icmpv6() local501 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()
26 struct icmp_hdr *icmp = (struct icmp_hdr *)(pkt + IP_HDR_SIZE); in set_icmp_header()84 struct icmp_hdr *icmph = (struct icmp_hdr *)&ip->udp_src; in ping_receive()
1028 struct icmp_hdr *icmph = (struct icmp_hdr *)&ip->udp_src; in receive_icmp()
116 struct icmp_hdr *icmp = (struct icmp_hdr *)&ip->udp_src; in sb_eth_send()121 struct icmp_hdr *icmpr; in sb_eth_send()129 icmpr = (struct icmp_hdr *)&ipr->udp_src; in sb_eth_send()
455 struct icmp_hdr { struct473 #define ICMP_HDR_SIZE (sizeof(struct icmp_hdr)) argument