Lines Matching refs:user_icmph
661 void *user_icmph, size_t icmph_len) in ping_common_sendmsg() argument
684 if (memcpy_from_msg(user_icmph, msg, icmph_len)) in ping_common_sendmsg()
688 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg()
689 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg()
692 type = ((struct icmp6hdr *) user_icmph)->icmp6_type; in ping_common_sendmsg()
693 code = ((struct icmp6hdr *) user_icmph)->icmp6_code; in ping_common_sendmsg()
712 struct icmphdr user_icmph; in ping_v4_sendmsg() local
723 err = ping_common_sendmsg(AF_INET, msg, len, &user_icmph, in ping_v4_sendmsg()
724 sizeof(user_icmph)); in ping_v4_sendmsg()
801 fl4.fl4_icmp_type = user_icmph.type; in ping_v4_sendmsg()
802 fl4.fl4_icmp_code = user_icmph.code; in ping_v4_sendmsg()
828 pfh.icmph.type = user_icmph.type; /* already checked */ in ping_v4_sendmsg()
829 pfh.icmph.code = user_icmph.code; /* ditto */ in ping_v4_sendmsg()
832 pfh.icmph.un.echo.sequence = user_icmph.un.echo.sequence; in ping_v4_sendmsg()
852 icmp_out_count(sock_net(sk), user_icmph.type); in ping_v4_sendmsg()