Lines Matching refs:icmphdr
106 struct icmphdr icmph;
381 struct icmphdr *icmph = icmp_hdr(skb); in icmp_push_reply()
661 offsetof(struct icmphdr, in __icmp_send()
755 room -= sizeof(struct icmphdr); in __icmp_send()
760 icmp_param.head_len = sizeof(struct icmphdr); in __icmp_send()
854 struct icmphdr *icmph; in icmp_unreach()
1008 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo()
1026 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr) in icmp_build_probe() argument
1042 if (!(ntohs(icmphdr->un.echo.sequence) & 1)) in icmp_build_probe()
1045 icmphdr->un.echo.sequence &= htons(0xFF00); in icmp_build_probe()
1046 if (icmphdr->type == ICMP_EXT_ECHO) in icmp_build_probe()
1047 icmphdr->type = ICMP_EXT_ECHOREPLY; in icmp_build_probe()
1049 icmphdr->type = ICMPV6_EXT_ECHO_REPLY; in icmp_build_probe()
1108 icmphdr->code = ICMP_EXT_CODE_NO_IF; in icmp_build_probe()
1119 icmphdr->un.echo.sequence |= htons(status); in icmp_build_probe()
1122 icmphdr->code = ICMP_EXT_CODE_MAL_QUERY; in icmp_build_probe()
1157 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp()
1177 struct icmphdr *icmph; in icmp_rcv()
1341 struct icmphdr *icmph = (struct icmphdr *)(skb->data + offset); in icmp_err()