Searched refs:uhdr (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_proto_udp.c | 93 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() argument 100 uhdr->check = in udp_fast_csum_update() 103 ~csum_unfold(uhdr->check)))); in udp_fast_csum_update() 106 uhdr->check = in udp_fast_csum_update() 109 ~csum_unfold(uhdr->check)))); in udp_fast_csum_update() 110 if (!uhdr->check) in udp_fast_csum_update() 111 uhdr->check = CSUM_MANGLED_0; in udp_fast_csum_update() 115 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() argument 122 uhdr->check = in udp_partial_csum_update() 125 csum_unfold(uhdr->check)))); in udp_partial_csum_update() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 63 struct udphdr *uhdr = NULL; in stmmac_test_get_udp_skb() local 108 uhdr = skb_put(skb, sizeof(*uhdr)); in stmmac_test_get_udp_skb() 155 uhdr->source = htons(attr->sport); in stmmac_test_get_udp_skb() 156 uhdr->dest = htons(attr->dport); in stmmac_test_get_udp_skb() 157 uhdr->len = htons(sizeof(*shdr) + sizeof(*uhdr) + attr->size); in stmmac_test_get_udp_skb() 159 uhdr->len = htons(attr->max_size - in stmmac_test_get_udp_skb() 161 uhdr->check = 0; in stmmac_test_get_udp_skb() 175 iplen += sizeof(*uhdr); in stmmac_test_get_udp_skb() 256 struct udphdr *uhdr; in stmmac_test_loopback_validate() local 299 uhdr = (struct udphdr *)((u8 *)ihdr + 4 * ihdr->ihl); in stmmac_test_loopback_validate() [all …]
|
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
D | grukdump.c | 112 struct gru_dump_context_header __user *uhdr = ubuf; in gru_dump_context() local 169 if (copy_to_user(uhdr, &hdr, sizeof(hdr))) in gru_dump_context()
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
D | mptctl.c | 623 mpt_ioctl_header __user *uhdr = (void __user *) arg; in __mptctl_ioctl() local 631 if (copy_from_user(&khdr, uhdr, sizeof(khdr))) { in __mptctl_ioctl() 634 __FILE__, __LINE__, uhdr); in __mptctl_ioctl()
|