Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv6/
Dping.c51 struct icmp6hdr user_icmph; in ping_v6_sendmsg() local
64 err = ping_common_sendmsg(AF_INET6, msg, len, &user_icmph, in ping_v6_sendmsg()
65 sizeof(user_icmph)); in ping_v6_sendmsg()
112 fl6.fl6_icmp_type = user_icmph.icmp6_type; in ping_v6_sendmsg()
113 fl6.fl6_icmp_code = user_icmph.icmp6_code; in ping_v6_sendmsg()
130 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg()
131 pfh.icmph.code = user_icmph.icmp6_code; in ping_v6_sendmsg()
134 pfh.icmph.un.echo.sequence = user_icmph.icmp6_sequence; in ping_v6_sendmsg()
/kernel/linux/linux-5.10/net/ipv4/
Dping.c639 void *user_icmph, size_t icmph_len) in ping_common_sendmsg() argument
662 if (memcpy_from_msg(user_icmph, msg, icmph_len)) in ping_common_sendmsg()
666 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg()
667 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg()
670 type = ((struct icmp6hdr *) user_icmph)->icmp6_type; in ping_common_sendmsg()
671 code = ((struct icmp6hdr *) user_icmph)->icmp6_code; in ping_common_sendmsg()
690 struct icmphdr user_icmph; in ping_v4_sendmsg() local
701 err = ping_common_sendmsg(AF_INET, msg, len, &user_icmph, in ping_v4_sendmsg()
702 sizeof(user_icmph)); in ping_v4_sendmsg()
779 fl4.fl4_icmp_type = user_icmph.type; in ping_v4_sendmsg()
[all …]
/kernel/linux/linux-5.10/include/net/
Dping.h77 void *user_icmph, size_t icmph_len);