Searched refs:pfh (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/net/ipv6/ |
D | ping.c | 64 struct pingfakehdr pfh; in ping_v6_sendmsg() local 135 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg() 136 pfh.icmph.code = user_icmph.icmp6_code; in ping_v6_sendmsg() 137 pfh.icmph.checksum = 0; in ping_v6_sendmsg() 138 pfh.icmph.un.echo.id = inet->inet_sport; in ping_v6_sendmsg() 139 pfh.icmph.un.echo.sequence = user_icmph.icmp6_sequence; in ping_v6_sendmsg() 140 pfh.msg = msg; in ping_v6_sendmsg() 141 pfh.wcheck = 0; in ping_v6_sendmsg() 142 pfh.family = AF_INET6; in ping_v6_sendmsg() 147 err = ip6_append_data(sk, ping_getfrag, &pfh, len, in ping_v6_sendmsg() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ping.c | 606 struct pingfakehdr *pfh = (struct pingfakehdr *)from; in ping_getfrag() local 613 fraglen, &pfh->wcheck, in ping_getfrag() 614 &pfh->msg->msg_iter)) in ping_getfrag() 619 if (!csum_and_copy_from_iter_full(to, fraglen, &pfh->wcheck, in ping_getfrag() 620 &pfh->msg->msg_iter)) in ping_getfrag() 629 if (pfh->family == AF_INET6) { in ping_getfrag() 630 skb->csum = pfh->wcheck; in ping_getfrag() 632 pfh->wcheck = 0; in ping_getfrag() 640 static int ping_v4_push_pending_frames(struct sock *sk, struct pingfakehdr *pfh, in ping_v4_push_pending_frames() argument 647 pfh->wcheck = csum_partial((char *)&pfh->icmph, in ping_v4_push_pending_frames() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | ray_cs.c | 2563 struct freq_hop_element *pfh; in ray_cs_proc_show() local 2637 pfh = (struct freq_hop_element *)p; in ray_cs_proc_show() 2639 pfh->dwell_time[0] + in ray_cs_proc_show() 2640 256 * pfh->dwell_time[1]); in ray_cs_proc_show() 2642 pfh->hop_set); in ray_cs_proc_show() 2644 pfh->hop_pattern); in ray_cs_proc_show() 2646 pfh->hop_index); in ray_cs_proc_show()
|