Lines Matching refs:user_icmph
651 void *user_icmph, size_t icmph_len)
674 if (memcpy_from_msg(user_icmph, msg, icmph_len))
678 type = ((struct icmphdr *) user_icmph)->type;
679 code = ((struct icmphdr *) user_icmph)->code;
682 type = ((struct icmp6hdr *) user_icmph)->icmp6_type;
683 code = ((struct icmp6hdr *) user_icmph)->icmp6_code;
702 struct icmphdr user_icmph;
713 err = ping_common_sendmsg(AF_INET, msg, len, &user_icmph,
714 sizeof(user_icmph));
786 fl4.fl4_icmp_type = user_icmph.type;
787 fl4.fl4_icmp_code = user_icmph.code;
813 pfh.icmph.type = user_icmph.type; /* already checked */
814 pfh.icmph.code = user_icmph.code; /* ditto */
817 pfh.icmph.un.echo.sequence = user_icmph.un.echo.sequence;
837 icmp_out_count(sock_net(sk), user_icmph.type);