Lines Matching defs:icmphdr
107 struct icmphdr icmph;
378 struct icmphdr *icmph = icmp_hdr(skb);
658 offsetof(struct icmphdr,
752 room -= sizeof(struct icmphdr);
762 icmp_param.head_len = sizeof(struct icmphdr);
857 struct icmphdr *icmph;
1013 icmp_param.head_len = sizeof(struct icmphdr);
1026 * and builds PROBE reply message in icmphdr.
1031 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr)
1049 if (!(ntohs(icmphdr->un.echo.sequence) & 1))
1052 icmphdr->un.echo.sequence &= htons(0xFF00);
1053 if (icmphdr->type == ICMP_EXT_ECHO)
1054 icmphdr->type = ICMP_EXT_ECHOREPLY;
1056 icmphdr->type = ICMPV6_EXT_ECHO_REPLY;
1115 icmphdr->code = ICMP_EXT_CODE_NO_IF;
1131 icmphdr->un.echo.sequence |= htons(status);
1134 icmphdr->code = ICMP_EXT_CODE_MAL_QUERY;
1169 icmp_param.head_len = sizeof(struct icmphdr) + 12;
1192 struct icmphdr *icmph;
1363 struct icmphdr *icmph = (struct icmphdr *)(skb->data + offset);