• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/

Lines Matching refs:wo

327     ipv6cp_options *wo = &ipv6cp_wantoptions[0];
351 eui64_copy(addr.s6_addr32[2], wo->ourid);
352 wo->opt_local = 1;
367 eui64_copy(addr.s6_addr32[2], wo->hisid);
368 wo->opt_remote = 1;
386 ipv6cp_options *wo = &ipv6cp_wantoptions[0];
388 if (wo->opt_local)
389 printer(arg, "%s", llv6_ntoa(wo->ourid));
391 if (wo->opt_remote)
392 printer(arg, "%s", llv6_ntoa(wo->hisid));
417 ipv6cp_options *wo = &ipv6cp_wantoptions[unit];
425 memset(wo, 0, sizeof(*wo));
428 wo->accept_local = 1;
429 wo->neg_ifaceid = 1;
433 wo->neg_vj = 1;
435 wo->vj_protocol = IPV6CP_COMP;
519 ipv6cp_options *wo = &ipv6cp_wantoptions[f->unit];
522 wo->req_ifaceid = wo->neg_ifaceid && ipv6cp_allowoptions[f->unit].neg_ifaceid;
524 if (!wo->opt_local) {
525 eui64_magic_nz(wo->ourid);
528 *go = *wo;
892 ipv6cp_options *wo = &ipv6cp_wantoptions[f->unit];
954 if (!eui64_iszero(wo->hisid) &&
955 !eui64_equals(ifaceid, wo->hisid) &&
959 ifaceid = wo->hisid;
967 ifaceid = wo->hisid;
1051 wo->req_ifaceid && !reject_if_disagree) {
1055 wo->req_ifaceid = 0; /* don't ask again */
1059 eui64_put(wo->hisid, ucp);
1075 ipv6cp_options *wo = &ipv6cp_wantoptions[0];
1085 if ((wo->use_persistent) && (!wo->opt_local) && (!wo->opt_remote)) {
1096 if (ether_to_eui64(&wo->ourid)) {
1097 wo->opt_local = 1;
1102 if (!wo->opt_local) { /* init interface identifier */
1103 if (wo->use_ip && eui64_iszero(wo->ourid)) {
1104 eui64_setlo32(wo->ourid, ntohl(ipcp_wantoptions[0].ouraddr));
1105 if (!eui64_iszero(wo->ourid))
1106 wo->opt_local = 1;
1109 while (eui64_iszero(wo->ourid))
1110 eui64_magic(wo->ourid);
1113 if (!wo->opt_remote) {
1114 if (wo->use_ip && eui64_iszero(wo->hisid)) {
1115 eui64_setlo32(wo->hisid, ntohl(ipcp_wantoptions[0].hisaddr));
1116 if (!eui64_iszero(wo->hisid))
1117 wo->opt_remote = 1;
1121 if (demand && (eui64_iszero(wo->ourid) || eui64_iszero(wo->hisid))) {
1136 ipv6cp_options *wo = &ipv6cp_wantoptions[u];
1147 if (!sif6addr(u, wo->ourid, wo->hisid))
1157 notice("local LL address %s", llv6_ntoa(wo->ourid));
1158 notice("remote LL address %s", llv6_ntoa(wo->hisid));
1175 ipv6cp_options *wo = &ipv6cp_wantoptions[f->unit];
1183 ho->hisid = wo->hisid;
1216 if (! eui64_equals(go->ourid, wo->ourid) ||
1217 ! eui64_equals(ho->hisid, wo->hisid)) {
1218 if (! eui64_equals(go->ourid, wo->ourid))
1221 if (! eui64_equals(ho->hisid, wo->hisid))