Home
last modified time | relevance | path

Searched refs:uhdr (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c63 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 …]
/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c116 struct virtchnl_proto_hdr *uhdr = &proto_hdrs->proto_hdr[proto_hdrs->count - 1]; in iavf_fill_fdir_gtpu_hdr() local
173 uhdr->field_selector = 0; /* The PF ignores the UDP header fields */ in iavf_fill_fdir_gtpu_hdr()
189 struct virtchnl_proto_hdr *uhdr = &proto_hdrs->proto_hdr[proto_hdrs->count - 1]; in iavf_fill_fdir_pfcp_hdr() local
215 uhdr->field_selector = 0; /* The PF ignores the UDP header fields */ in iavf_fill_fdir_pfcp_hdr()
231 struct virtchnl_proto_hdr *uhdr = &proto_hdrs->proto_hdr[proto_hdrs->count - 1]; in iavf_fill_fdir_nat_t_esp_hdr() local
267 uhdr->field_selector = 0; /* The PF ignores the UDP header fields */ in iavf_fill_fdir_nat_t_esp_hdr()
/drivers/misc/sgi-gru/
Dgrukdump.c112 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()
/drivers/message/fusion/
Dmptctl.c621 mpt_ioctl_header __user *uhdr = (void __user *) arg; in __mptctl_ioctl() local
629 if (copy_from_user(&khdr, uhdr, sizeof(khdr))) { in __mptctl_ioctl()
632 __FILE__, __LINE__, uhdr); in __mptctl_ioctl()