Lines Matching refs:user_icmph
656 void *user_icmph, size_t icmph_len)
679 if (memcpy_from_msg(user_icmph, msg, icmph_len))
683 type = ((struct icmphdr *) user_icmph)->type;
684 code = ((struct icmphdr *) user_icmph)->code;
687 type = ((struct icmp6hdr *) user_icmph)->icmp6_type;
688 code = ((struct icmp6hdr *) user_icmph)->icmp6_code;
707 struct icmphdr user_icmph;
718 err = ping_common_sendmsg(AF_INET, msg, len, &user_icmph,
719 sizeof(user_icmph));
796 fl4.fl4_icmp_type = user_icmph.type;
797 fl4.fl4_icmp_code = user_icmph.code;
823 pfh.icmph.type = user_icmph.type; /* already checked */
824 pfh.icmph.code = user_icmph.code; /* ditto */
827 pfh.icmph.un.echo.sequence = user_icmph.un.echo.sequence;
846 icmp_out_count(sock_net(sk), user_icmph.type);