Searched refs:hao (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/ |
H A D | mip6.c | 150 struct ipv6_destopt_hao *hao; local 163 hao = mip6_padn((char *)(dstopt + 1), 166 hao->type = IPV6_TLV_HAO; 167 BUILD_BUG_ON(sizeof(*hao) != 18); 168 hao->length = sizeof(*hao) - 2; 170 len = ((char *)hao - (char *)dstopt) + sizeof(*hao); 172 memcpy(&hao->addr, &iph->saddr, sizeof(hao 210 struct ipv6_destopt_hao *hao = NULL; local [all...] |
H A D | ah6.c | 188 struct ipv6_destopt_hao *hao; local 190 hao = (struct ipv6_destopt_hao *)&opt[off]; 191 if (hao->length != sizeof(hao->addr)) { 193 printk(KERN_WARNING "destopt hao: invalid header length: %u\n", hao->length); 196 ipv6_addr_copy(&final_addr, &hao->addr); 197 ipv6_addr_copy(&hao->addr, &iph->saddr);
|
H A D | exthdrs.c | 200 struct ipv6_destopt_hao *hao; local 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 [all...] |
H A D | icmp.c | 277 struct ipv6_destopt_hao *hao; local 284 hao = (struct ipv6_destopt_hao *) 287 ipv6_addr_copy(&iph->saddr, &hao->addr); 288 ipv6_addr_copy(&hao->addr, &tmp);
|
Completed in 42 milliseconds