Lines Matching refs:shdr
25 struct netsfhdr *shdr;
75 uhdr->len = htons(sizeof(*shdr) + sizeof(*uhdr) + attr->size);
89 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size;
106 shdr = skb_put(skb, sizeof(*shdr));
107 shdr->version = 0;
108 shdr->magic = cpu_to_be64(NET_TEST_PKT_MAGIC);
110 shdr->id = id;
167 struct netsfhdr *shdr;
205 shdr = (struct netsfhdr *)((u8 *)thdr + sizeof(*thdr));
214 shdr = (struct netsfhdr *)((u8 *)uhdr + sizeof(*uhdr));
217 if (shdr->magic != cpu_to_be64(NET_TEST_PKT_MAGIC))
219 if (tpriv->packet->id != shdr->id)