Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv6/
Dping.c59 struct pingfakehdr pfh; in ping_v6_sendmsg() local
130 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg()
131 pfh.icmph.code = user_icmph.icmp6_code; in ping_v6_sendmsg()
132 pfh.icmph.checksum = 0; in ping_v6_sendmsg()
133 pfh.icmph.un.echo.id = inet->inet_sport; in ping_v6_sendmsg()
134 pfh.icmph.un.echo.sequence = user_icmph.icmp6_sequence; in ping_v6_sendmsg()
135 pfh.msg = msg; in ping_v6_sendmsg()
136 pfh.wcheck = 0; in ping_v6_sendmsg()
137 pfh.family = AF_INET6; in ping_v6_sendmsg()
142 err = ip6_append_data(sk, ping_getfrag, &pfh, len, in ping_v6_sendmsg()
[all …]
/Linux-v5.10/net/ipv4/
Dping.c588 struct pingfakehdr *pfh = (struct pingfakehdr *)from; in ping_getfrag() local
595 fraglen, &pfh->wcheck, in ping_getfrag()
596 &pfh->msg->msg_iter)) in ping_getfrag()
601 if (!csum_and_copy_from_iter_full(to, fraglen, &pfh->wcheck, in ping_getfrag()
602 &pfh->msg->msg_iter)) in ping_getfrag()
611 if (pfh->family == AF_INET6) { in ping_getfrag()
612 skb->csum = pfh->wcheck; in ping_getfrag()
614 pfh->wcheck = 0; in ping_getfrag()
622 static int ping_v4_push_pending_frames(struct sock *sk, struct pingfakehdr *pfh, in ping_v4_push_pending_frames() argument
629 pfh->wcheck = csum_partial((char *)&pfh->icmph, in ping_v4_push_pending_frames()
[all …]
/Linux-v5.10/drivers/net/wireless/
Dray_cs.c2557 struct freq_hop_element *pfh; in ray_cs_proc_show() local
2631 pfh = (struct freq_hop_element *)p; in ray_cs_proc_show()
2633 pfh->dwell_time[0] + in ray_cs_proc_show()
2634 256 * pfh->dwell_time[1]); in ray_cs_proc_show()
2636 pfh->hop_set); in ray_cs_proc_show()
2638 pfh->hop_pattern); in ray_cs_proc_show()
2640 pfh->hop_index); in ray_cs_proc_show()