Lines Matching refs:icmphdr
106 struct icmphdr icmph;
377 struct icmphdr *icmph = icmp_hdr(skb);
657 offsetof(struct icmphdr,
751 room -= sizeof(struct icmphdr);
761 icmp_param.head_len = sizeof(struct icmphdr);
856 struct icmphdr *icmph;
1012 icmp_param.head_len = sizeof(struct icmphdr);
1025 * and builds PROBE reply message in icmphdr.
1030 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr)
1046 if (!(ntohs(icmphdr->un.echo.sequence) & 1))
1049 icmphdr->un.echo.sequence &= htons(0xFF00);
1050 if (icmphdr->type == ICMP_EXT_ECHO)
1051 icmphdr->type = ICMP_EXT_ECHOREPLY;
1053 icmphdr->type = ICMPV6_EXT_ECHO_REPLY;
1112 icmphdr->code = ICMP_EXT_CODE_NO_IF;
1123 icmphdr->un.echo.sequence |= htons(status);
1126 icmphdr->code = ICMP_EXT_CODE_MAL_QUERY;
1161 icmp_param.head_len = sizeof(struct icmphdr) + 12;
1184 struct icmphdr *icmph;
1355 struct icmphdr *icmph = (struct icmphdr *)(skb->data + offset);