Lines Matching refs:hao
142 struct ipv6_destopt_hao *hao; in mip6_destopt_output() local
155 hao = mip6_padn((char *)(dstopt + 1), in mip6_destopt_output()
158 hao->type = IPV6_TLV_HAO; in mip6_destopt_output()
159 BUILD_BUG_ON(sizeof(*hao) != 18); in mip6_destopt_output()
160 hao->length = sizeof(*hao) - 2; in mip6_destopt_output()
162 len = ((char *)hao - (char *)dstopt) + sizeof(*hao); in mip6_destopt_output()
164 memcpy(&hao->addr, &iph->saddr, sizeof(hao->addr)); in mip6_destopt_output()
202 struct ipv6_destopt_hao *hao = NULL; in mip6_destopt_reject() local
215 hao = (struct ipv6_destopt_hao *) in mip6_destopt_reject()
222 hao ? &hao->addr : &ipv6_hdr(skb)->saddr, in mip6_destopt_reject()
244 (hao ? (xfrm_address_t *)&hao->addr : NULL)); in mip6_destopt_reject()