Searched refs:user_icmph (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | ping.c | 56 struct icmp6hdr user_icmph; in ping_v6_sendmsg() local 69 err = ping_common_sendmsg(AF_INET6, msg, len, &user_icmph, in ping_v6_sendmsg() 70 sizeof(user_icmph)); in ping_v6_sendmsg() 117 fl6.fl6_icmp_type = user_icmph.icmp6_type; in ping_v6_sendmsg() 118 fl6.fl6_icmp_code = user_icmph.icmp6_code; in ping_v6_sendmsg() 135 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg() 136 pfh.icmph.code = user_icmph.icmp6_code; in ping_v6_sendmsg() 139 pfh.icmph.un.echo.sequence = user_icmph.icmp6_sequence; in ping_v6_sendmsg()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | ping.c | 656 void *user_icmph, size_t icmph_len) in ping_common_sendmsg() argument 679 if (memcpy_from_msg(user_icmph, msg, icmph_len)) in ping_common_sendmsg() 683 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg() 684 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg() 687 type = ((struct icmp6hdr *) user_icmph)->icmp6_type; in ping_common_sendmsg() 688 code = ((struct icmp6hdr *) user_icmph)->icmp6_code; in ping_common_sendmsg() 707 struct icmphdr user_icmph; in ping_v4_sendmsg() local 718 err = ping_common_sendmsg(AF_INET, msg, len, &user_icmph, in ping_v4_sendmsg() 719 sizeof(user_icmph)); in ping_v4_sendmsg() 796 fl4.fl4_icmp_type = user_icmph.type; in ping_v4_sendmsg() [all …]
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | ping.h | 77 void *user_icmph, size_t icmph_len);
|