• Home
  • Raw
  • Download

Lines Matching refs:ihl

81 	int  l = iph->ihl*4 - sizeof(struct iphdr);  in ip_clear_mutable_options()
127 int ihl = ip_hdrlen(skb); in ah_output_done() local
130 icv = ah_tmp_icv(ahp->ahash, iph, ihl); in ah_output_done()
136 if (top_iph->ihl != 5) { in ah_output_done()
138 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); in ah_output_done()
149 int ihl; in ah_output() local
172 ihl = ip_hdrlen(skb); in ah_output()
179 iph = ah_alloc_tmp(ahash, nfrags + sglists, ihl + seqhi_len); in ah_output()
182 seqhi = (__be32 *)((char *)iph + ihl); in ah_output()
196 if (top_iph->ihl != 5) { in ah_output()
198 memcpy(iph+1, top_iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); in ah_output()
252 if (top_iph->ihl != 5) { in ah_output()
254 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); in ah_output()
272 int ihl = ip_hdrlen(skb); in ah_input_done() local
279 auth_data = ah_tmp_auth(work_iph, ihl); in ah_input_done()
289 memcpy(skb_network_header(skb), work_iph, ihl); in ah_input_done()
290 __skb_pull(skb, ah_hlen + ihl); in ah_input_done()
295 skb_set_transport_header(skb, -ihl); in ah_input_done()
304 int ihl; in ah_input() local
359 ihl = ip_hdrlen(skb); in ah_input()
366 work_iph = ah_alloc_tmp(ahash, nfrags + sglists, ihl + in ah_input()
373 seqhi = (__be32 *)((char *)work_iph + ihl); in ah_input()
380 memcpy(work_iph, iph, ihl); in ah_input()
388 if (ihl > sizeof(*iph)) { in ah_input()
395 skb_push(skb, ihl); in ah_input()
425 memcpy(skb_network_header(skb), work_iph, ihl); in ah_input()
426 __skb_pull(skb, ah_hlen + ihl); in ah_input()
430 skb_set_transport_header(skb, -ihl); in ah_input()
444 struct ip_auth_hdr *ah = (struct ip_auth_hdr *)(skb->data+(iph->ihl<<2)); in ah4_err()