Lines Matching refs:ihl
83 int l = iph->ihl*4 - sizeof(struct iphdr);
129 int ihl = ip_hdrlen(skb);
132 icv = ah_tmp_icv(ahp->ahash, iph, ihl);
138 if (top_iph->ihl != 5) {
140 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr));
151 int ihl;
174 ihl = ip_hdrlen(skb);
181 iph = ah_alloc_tmp(ahash, nfrags + sglists, ihl + seqhi_len);
184 seqhi = (__be32 *)((char *)iph + ihl);
198 if (top_iph->ihl != 5) {
200 memcpy(iph+1, top_iph+1, top_iph->ihl*4 - sizeof(struct iphdr));
254 if (top_iph->ihl != 5) {
256 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr));
274 int ihl = ip_hdrlen(skb);
281 auth_data = ah_tmp_auth(work_iph, ihl);
291 memcpy(skb_network_header(skb), work_iph, ihl);
292 __skb_pull(skb, ah_hlen + ihl);
297 skb_set_transport_header(skb, -ihl);
306 int ihl;
361 ihl = ip_hdrlen(skb);
368 work_iph = ah_alloc_tmp(ahash, nfrags + sglists, ihl +
375 seqhi = (__be32 *)((char *)work_iph + ihl);
382 memcpy(work_iph, iph, ihl);
390 if (ihl > sizeof(*iph)) {
397 skb_push(skb, ihl);
427 memcpy(skb_network_header(skb), work_iph, ihl);
428 __skb_pull(skb, ah_hlen + ihl);
432 skb_set_transport_header(skb, -ihl);
446 struct ip_auth_hdr *ah = (struct ip_auth_hdr *)(skb->data+(iph->ihl<<2));