Lines Matching refs:iphdr
78 static int ip_clear_mutable_options(const struct iphdr *iph, __be32 *daddr) in ip_clear_mutable_options()
81 int l = iph->ihl*4 - sizeof(struct iphdr); in ip_clear_mutable_options()
121 struct iphdr *iph; in ah_output_done()
125 struct iphdr *top_iph = ip_hdr(skb); in ah_output_done()
138 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); in ah_output_done()
155 struct iphdr *iph, *top_iph; in ah_output()
198 memcpy(iph+1, top_iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); in ah_output()
254 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); in ah_output()
267 struct iphdr *work_iph; in ah_input_done()
313 struct iphdr *iph, *work_iph; in ah_input()
443 const struct iphdr *iph = (const struct iphdr *)skb->data; in ah4_err()
524 x->props.header_len += sizeof(struct iphdr); in ah_init_state()