Lines Matching defs:shdr
60 struct netsfhdr *shdr;
110 uhdr->len = htons(sizeof(*shdr) + sizeof(*uhdr) + attr->size);
124 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size;
141 shdr = skb_put(skb, sizeof(*shdr));
142 shdr->version = 0;
143 shdr->magic = cpu_to_be64(NET_TEST_PKT_MAGIC);
145 shdr->id = net_test_next_id++;
178 struct netsfhdr *shdr;
216 shdr = (struct netsfhdr *)((u8 *)thdr + sizeof(*thdr));
225 shdr = (struct netsfhdr *)((u8 *)uhdr + sizeof(*uhdr));
228 if (shdr->magic != cpu_to_be64(NET_TEST_PKT_MAGIC))
230 if (tpriv->packet->id != shdr->id)