Lines Matching defs:uhdr
58 struct udphdr *uhdr = NULL;
91 uhdr = skb_put(skb, sizeof(*uhdr));
108 uhdr->source = htons(attr->sport);
109 uhdr->dest = htons(attr->dport);
110 uhdr->len = htons(sizeof(*shdr) + sizeof(*uhdr) + attr->size);
112 uhdr->len = htons(attr->max_size -
114 uhdr->check = 0;
128 iplen += sizeof(*uhdr);
180 struct udphdr *uhdr;
221 uhdr = (struct udphdr *)((u8 *)ihdr + 4 * ihdr->ihl);
222 if (uhdr->dest != htons(tpriv->packet->dport))
225 shdr = (struct netsfhdr *)((u8 *)uhdr + sizeof(*uhdr));