Lines Matching defs:iph
146 * @iph: IPv6 header
149 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt)
173 /* Rearrange the source address in @iph and the
188 hao->addr = iph->saddr;
189 iph->saddr = final_addr;
202 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {}
207 * @iph: IPv6 header
210 * Rearrange the destination address in @iph and the addresses in @rthdr
214 static void ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr)
240 addrs[0] = iph->daddr;
241 iph->daddr = final_addr;
244 static int ipv6_clear_mutable_options(struct ipv6hdr *iph, int len, int dir)
247 struct ipv6hdr *iph;
251 } exthdr = { .iph = iph };
253 int nexthdr = iph->nexthdr;
255 exthdr.iph++;
261 ipv6_rearrange_destopt(iph, exthdr.opth);
273 ipv6_rearrange_rthdr(iph, exthdr.rth);
650 struct ipv6hdr *iph = (struct ipv6hdr *)skb->data;
658 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET6);