Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Dping.c79 struct pingfakehdr pfh; in ping_v6_sendmsg() local
168 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg()
169 pfh.icmph.code = user_icmph.icmp6_code; in ping_v6_sendmsg()
170 pfh.icmph.checksum = 0; in ping_v6_sendmsg()
171 pfh.icmph.un.echo.id = inet->inet_sport; in ping_v6_sendmsg()
172 pfh.icmph.un.echo.sequence = user_icmph.icmp6_sequence; in ping_v6_sendmsg()
173 pfh.msg = msg; in ping_v6_sendmsg()
174 pfh.wcheck = 0; in ping_v6_sendmsg()
175 pfh.family = AF_INET6; in ping_v6_sendmsg()
181 err = ip6_append_data(sk, ping_getfrag, &pfh, len, in ping_v6_sendmsg()
[all …]
/linux-6.1.9/net/ipv4/
Dping.c623 struct pingfakehdr *pfh = from; in ping_getfrag() local
625 if (!csum_and_copy_from_iter_full(to, fraglen, &pfh->wcheck, in ping_getfrag()
626 &pfh->msg->msg_iter)) in ping_getfrag()
634 if (pfh->family == AF_INET6) { in ping_getfrag()
635 skb->csum = csum_block_add(skb->csum, pfh->wcheck, odd); in ping_getfrag()
637 pfh->wcheck = 0; in ping_getfrag()
645 static int ping_v4_push_pending_frames(struct sock *sk, struct pingfakehdr *pfh, in ping_v4_push_pending_frames() argument
652 pfh->wcheck = csum_partial((char *)&pfh->icmph, in ping_v4_push_pending_frames()
653 sizeof(struct icmphdr), pfh->wcheck); in ping_v4_push_pending_frames()
654 pfh->icmph.checksum = csum_fold(pfh->wcheck); in ping_v4_push_pending_frames()
[all …]
/linux-6.1.9/drivers/net/wireless/
Dray_cs.c2559 struct freq_hop_element *pfh; in ray_cs_proc_show() local
2633 pfh = (struct freq_hop_element *)p; in ray_cs_proc_show()
2635 pfh->dwell_time[0] + in ray_cs_proc_show()
2636 256 * pfh->dwell_time[1]); in ray_cs_proc_show()
2638 pfh->hop_set); in ray_cs_proc_show()
2640 pfh->hop_pattern); in ray_cs_proc_show()
2642 pfh->hop_index); in ray_cs_proc_show()