Searched refs:ihdr (Results 1 – 3 of 3) sorted by relevance
67 struct iphdr *ihdr; in stmmac_test_get_udp_skb() local102 ihdr = skb_put(skb, sizeof(*ihdr)); in stmmac_test_get_udp_skb()160 (sizeof(*ihdr) + sizeof(*ehdr))); in stmmac_test_get_udp_skb()164 ihdr->ihl = 5; in stmmac_test_get_udp_skb()165 ihdr->ttl = 32; in stmmac_test_get_udp_skb()166 ihdr->version = 4; in stmmac_test_get_udp_skb()168 ihdr->protocol = IPPROTO_TCP; in stmmac_test_get_udp_skb()170 ihdr->protocol = IPPROTO_UDP; in stmmac_test_get_udp_skb()171 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in stmmac_test_get_udp_skb()180 ihdr->tot_len = htons(iplen); in stmmac_test_get_udp_skb()[all …]
165 struct ip_discovery_header *ihdr; in amdgpu_discovery_init() local206 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_init()208 if (le32_to_cpu(ihdr->signature) != DISCOVERY_TABLE_SIGNATURE) { in amdgpu_discovery_init()215 ihdr->size, checksum)) { in amdgpu_discovery_init()251 struct ip_discovery_header *ihdr; in amdgpu_discovery_reg_base_init() local270 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_reg_base_init()272 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_reg_base_init()277 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_reg_base_init()335 struct ip_discovery_header *ihdr; in amdgpu_discovery_get_ip_version() local350 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_get_ip_version()[all …]
2071 struct uvc_input_header_descriptor *ihdr = *dest; in __uvcg_fill_strm() local2082 ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz; in __uvcg_fill_strm()2083 ihdr->bNumFormats = h->num_fmt; in __uvcg_fill_strm()