Searched refs:ha_info (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/radvd/ |
H A D | send.c | 383 struct HomeAgentInfo ha_info; local 384 ha_info.type = ND_OPT_HOME_AGENT_INFO; 385 ha_info.length = 1; 386 ha_info.flags_reserved = 388 ha_info.preference = htons(iface->HomeAgentPreference); 389 ha_info.lifetime = htons(iface->HomeAgentLifetime); 391 memcpy(buff + len, &ha_info, sizeof(ha_info)); 392 len += sizeof(ha_info);
|
H A D | radvdump.c | 216 struct HomeAgentInfo *ha_info; local 261 ha_info = (struct HomeAgentInfo *)opt_str; 268 if (!edefs || DFLT_AdvMobRtrSupportFlag != (ha_info->flags_reserved & ND_OPT_HAI_FLAG_SUPPORT_MR)) 269 printf("\tAdvMobRtrSupportFlag %s;\n", (ha_info->flags_reserved & ND_OPT_HAI_FLAG_SUPPORT_MR)?"on":"off"); 271 if (!edefs || DFLT_HomeAgentPreference != ntohs(ha_info->preference)) 272 printf("\tHomeAgentPreference %hu;\n", ntohs(ha_info->preference)); 274 if (!edefs || (3*DFLT_MaxRtrAdvInterval) != ntohs(ha_info->lifetime)) 275 printf("\tHomeAgentLifetime %hu;\n", ntohs(ha_info->lifetime));
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/radvd/ |
H A D | send.c | 376 struct HomeAgentInfo ha_info; local 377 ha_info.type = ND_OPT_HOME_AGENT_INFO; 378 ha_info.length = 1; 379 ha_info.flags_reserved = 381 ha_info.preference = htons(iface->HomeAgentPreference); 382 ha_info.lifetime = htons(iface->HomeAgentLifetime); 384 memcpy(buff + len, &ha_info, sizeof(ha_info)); 385 len += sizeof(ha_info);
|
H A D | radvdump.c | 216 struct HomeAgentInfo *ha_info; local 261 ha_info = (struct HomeAgentInfo *)opt_str; 268 if (!edefs || DFLT_AdvMobRtrSupportFlag != (ha_info->flags_reserved & ND_OPT_HAI_FLAG_SUPPORT_MR)) 269 printf("\tAdvMobRtrSupportFlag %s;\n", (ha_info->flags_reserved & ND_OPT_HAI_FLAG_SUPPORT_MR)?"on":"off"); 271 if (!edefs || DFLT_HomeAgentPreference != ntohs(ha_info->preference)) 272 printf("\tHomeAgentPreference %hu;\n", ntohs(ha_info->preference)); 274 if (!edefs || (3*DFLT_MaxRtrAdvInterval) != ntohs(ha_info->lifetime)) 275 printf("\tHomeAgentLifetime %hu;\n", ntohs(ha_info->lifetime));
|
Completed in 267 milliseconds