Searched refs:user_icmph (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/net/ipv6/
H A Dping.c84 struct icmp6hdr user_icmph; ping_v6_sendmsg() local
97 err = ping_common_sendmsg(AF_INET6, msg, len, &user_icmph, ping_v6_sendmsg()
98 sizeof(user_icmph)); ping_v6_sendmsg()
138 fl6.fl6_icmp_type = user_icmph.icmp6_type; ping_v6_sendmsg()
139 fl6.fl6_icmp_code = user_icmph.icmp6_code; ping_v6_sendmsg()
161 pfh.icmph.type = user_icmph.icmp6_type; ping_v6_sendmsg()
162 pfh.icmph.code = user_icmph.icmp6_code; ping_v6_sendmsg()
165 pfh.icmph.un.echo.sequence = user_icmph.icmp6_sequence; ping_v6_sendmsg()
/linux-4.4.14/net/ipv4/
H A Dping.c657 void *user_icmph, size_t icmph_len) { ping_common_sendmsg()
675 if (memcpy_from_msg(user_icmph, msg, icmph_len)) ping_common_sendmsg()
679 type = ((struct icmphdr *) user_icmph)->type; ping_common_sendmsg()
680 code = ((struct icmphdr *) user_icmph)->code; ping_common_sendmsg()
683 type = ((struct icmp6hdr *) user_icmph)->icmp6_type; ping_common_sendmsg()
684 code = ((struct icmp6hdr *) user_icmph)->icmp6_code; ping_common_sendmsg()
703 struct icmphdr user_icmph; ping_v4_sendmsg() local
714 err = ping_common_sendmsg(AF_INET, msg, len, &user_icmph, ping_v4_sendmsg()
715 sizeof(user_icmph)); ping_v4_sendmsg()
820 pfh.icmph.type = user_icmph.type; /* already checked */ ping_v4_sendmsg()
821 pfh.icmph.code = user_icmph.code; /* ditto */ ping_v4_sendmsg()
824 pfh.icmph.un.echo.sequence = user_icmph.un.echo.sequence; ping_v4_sendmsg()
842 icmp_out_count(sock_net(sk), user_icmph.type); ping_v4_sendmsg()
656 ping_common_sendmsg(int family, struct msghdr *msg, size_t len, void *user_icmph, size_t icmph_len) ping_common_sendmsg() argument
/linux-4.4.14/include/net/
H A Dping.h81 void *user_icmph, size_t icmph_len);

Completed in 141 milliseconds