Lines Matching refs:hao
154 struct ipv6_destopt_hao *hao; in mip6_destopt_output() local
167 hao = mip6_padn((char *)(dstopt + 1), in mip6_destopt_output()
170 hao->type = IPV6_TLV_HAO; in mip6_destopt_output()
171 BUILD_BUG_ON(sizeof(*hao) != 18); in mip6_destopt_output()
172 hao->length = sizeof(*hao) - 2; in mip6_destopt_output()
174 len = ((char *)hao - (char *)dstopt) + sizeof(*hao); in mip6_destopt_output()
176 memcpy(&hao->addr, &iph->saddr, sizeof(hao->addr)); in mip6_destopt_output()
216 struct ipv6_destopt_hao *hao = NULL; in mip6_destopt_reject() local
229 hao = (struct ipv6_destopt_hao *) in mip6_destopt_reject()
236 hao ? &hao->addr : &ipv6_hdr(skb)->saddr, in mip6_destopt_reject()
258 (hao ? (xfrm_address_t *)&hao->addr : NULL)); in mip6_destopt_reject()