Lines Matching refs:icmphdr
110 struct icmphdr icmph;
381 struct icmphdr *icmph = icmp_hdr(skb); in icmp_push_reply()
666 offsetof(struct icmphdr, in __icmp_send()
761 room -= sizeof(struct icmphdr); in __icmp_send()
771 icmp_param.head_len = sizeof(struct icmphdr); in __icmp_send()
868 struct icmphdr *icmph; in icmp_unreach()
1024 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo()
1042 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr) in icmp_build_probe() argument
1060 if (!(ntohs(icmphdr->un.echo.sequence) & 1)) in icmp_build_probe()
1063 icmphdr->un.echo.sequence &= htons(0xFF00); in icmp_build_probe()
1064 if (icmphdr->type == ICMP_EXT_ECHO) in icmp_build_probe()
1065 icmphdr->type = ICMP_EXT_ECHOREPLY; in icmp_build_probe()
1067 icmphdr->type = ICMPV6_EXT_ECHO_REPLY; in icmp_build_probe()
1126 icmphdr->code = ICMP_EXT_CODE_NO_IF; in icmp_build_probe()
1142 icmphdr->un.echo.sequence |= htons(status); in icmp_build_probe()
1145 icmphdr->code = ICMP_EXT_CODE_MAL_QUERY; in icmp_build_probe()
1180 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp()
1203 struct icmphdr *icmph; in icmp_rcv()
1374 struct icmphdr *icmph = (struct icmphdr *)(skb->data + offset); in icmp_err()