Lines Matching refs:icmphdr
469 struct icmphdr *icmph; in ping_err()
482 icmph = (struct icmphdr *)(skb->data + offset); in ping_err()
487 icmph = (struct icmphdr *) (skb->data + offset); in ping_err()
593 fraglen -= sizeof(struct icmphdr); in ping_getfrag()
596 if (!csum_and_copy_from_iter_full(to + sizeof(struct icmphdr), in ping_getfrag()
600 } else if (offset < sizeof(struct icmphdr)) { in ping_getfrag()
632 sizeof(struct icmphdr), pfh->wcheck); in ping_v4_push_pending_frames()
634 memcpy(icmp_hdr(skb), &pfh->icmph, sizeof(struct icmphdr)); in ping_v4_push_pending_frames()
667 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg()
668 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg()
691 struct icmphdr user_icmph; in ping_v4_sendmsg()
956 struct icmphdr *icmph = icmp_hdr(skb); in ping_rcv()