Lines Matching defs:hao
200 struct ipv6_destopt_hao *hao;
207 LIMIT_NETDEBUG(KERN_DEBUG "hao duplicated\n");
213 hao = (struct ipv6_destopt_hao *)(skb_network_header(skb) + optoff);
215 if (hao->length != 16) {
217 KERN_DEBUG "hao invalid option length = %d\n", hao->length);
221 if (!(ipv6_addr_type(&hao->addr) & IPV6_ADDR_UNICAST)) {
223 KERN_DEBUG "hao is not an unicast addr: %pI6\n", &hao->addr);
228 (xfrm_address_t *)&hao->addr, IPPROTO_DSTOPTS);
237 hao = (struct ipv6_destopt_hao *)(skb_network_header(skb) +
246 ipv6_addr_copy(&ipv6h->saddr, &hao->addr);
247 ipv6_addr_copy(&hao->addr, &tmp_addr);