Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv6/
Dping.c66 struct icmp6hdr user_icmph; in ping_v6_sendmsg() local
77 err = ping_common_sendmsg(AF_INET6, msg, len, &user_icmph, in ping_v6_sendmsg()
78 sizeof(user_icmph)); in ping_v6_sendmsg()
148 fl6.fl6_icmp_type = user_icmph.icmp6_type; in ping_v6_sendmsg()
149 fl6.fl6_icmp_code = user_icmph.icmp6_code; in ping_v6_sendmsg()
164 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg()
165 pfh.icmph.code = user_icmph.icmp6_code; in ping_v6_sendmsg()
168 pfh.icmph.un.echo.sequence = user_icmph.icmp6_sequence; in ping_v6_sendmsg()
/linux-6.6.21/net/ipv4/
Dping.c651 void *user_icmph, size_t icmph_len) in ping_common_sendmsg() argument
674 if (memcpy_from_msg(user_icmph, msg, icmph_len)) in ping_common_sendmsg()
678 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg()
679 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg()
682 type = ((struct icmp6hdr *) user_icmph)->icmp6_type; in ping_common_sendmsg()
683 code = ((struct icmp6hdr *) user_icmph)->icmp6_code; in ping_common_sendmsg()
702 struct icmphdr user_icmph; in ping_v4_sendmsg() local
713 err = ping_common_sendmsg(AF_INET, msg, len, &user_icmph, in ping_v4_sendmsg()
714 sizeof(user_icmph)); in ping_v4_sendmsg()
786 fl4.fl4_icmp_type = user_icmph.type; in ping_v4_sendmsg()
[all …]
/linux-6.6.21/include/net/
Dping.h70 void *user_icmph, size_t icmph_len);