Lines Matching defs:iph
171 * @iph: IPv6 header
174 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt)
198 /* Rearrange the source address in @iph and the
211 swap(hao->addr, iph->saddr);
224 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {}
229 * @iph: IPv6 header
232 * Rearrange the destination address in @iph and the addresses in @rthdr
236 static void ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr)
262 addrs[0] = iph->daddr;
263 iph->daddr = final_addr;
266 static int ipv6_clear_mutable_options(struct ipv6hdr *iph, int len, int dir)
269 struct ipv6hdr *iph;
273 } exthdr = { .iph = iph };
275 int nexthdr = iph->nexthdr;
277 exthdr.iph++;
283 ipv6_rearrange_destopt(iph, exthdr.opth);
295 ipv6_rearrange_rthdr(iph, exthdr.rth);
656 struct ipv6hdr *iph = (struct ipv6hdr *)skb->data;
664 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET6);