• Home
  • Raw
  • Download

Lines Matching refs:wo

336     ipv6cp_options *wo = &ipv6cp_wantoptions[0];  local
360 eui64_copy(addr.s6_addr32[2], wo->ourid);
361 wo->opt_local = 1;
376 eui64_copy(addr.s6_addr32[2], wo->hisid);
377 wo->opt_remote = 1;
395 ipv6cp_options *wo = &ipv6cp_wantoptions[0]; local
397 if (wo->opt_local)
398 printer(arg, "%s", llv6_ntoa(wo->ourid));
400 if (wo->opt_remote)
401 printer(arg, "%s", llv6_ntoa(wo->hisid));
426 ipv6cp_options *wo = &ipv6cp_wantoptions[unit]; local
434 memset(wo, 0, sizeof(*wo));
437 wo->accept_local = 1;
438 wo->neg_ifaceid = 1;
442 wo->neg_vj = 1;
444 wo->vj_protocol = IPV6CP_COMP;
528 ipv6cp_options *wo = &ipv6cp_wantoptions[f->unit]; local
531 wo->req_ifaceid = wo->neg_ifaceid && ipv6cp_allowoptions[f->unit].neg_ifaceid;
533 if (!wo->opt_local) {
534 eui64_magic_nz(wo->ourid);
537 *go = *wo;
901 ipv6cp_options *wo = &ipv6cp_wantoptions[f->unit]; local
963 if (!eui64_iszero(wo->hisid) &&
964 !eui64_equals(ifaceid, wo->hisid) &&
968 ifaceid = wo->hisid;
976 ifaceid = wo->hisid;
1060 wo->req_ifaceid && !reject_if_disagree) {
1064 wo->req_ifaceid = 0; /* don't ask again */
1068 eui64_put(wo->hisid, ucp);
1084 ipv6cp_options *wo = &ipv6cp_wantoptions[0]; in ipv6_check_options() local
1093 if ((wo->use_persistent) && (!wo->opt_local) && (!wo->opt_remote)) { in ipv6_check_options()
1104 if (ether_to_eui64(&wo->ourid)) { in ipv6_check_options()
1105 wo->opt_local = 1; in ipv6_check_options()
1109 if (!wo->opt_local) { /* init interface identifier */ in ipv6_check_options()
1110 if (wo->use_ip && eui64_iszero(wo->ourid)) { in ipv6_check_options()
1111 eui64_setlo32(wo->ourid, ntohl(ipcp_wantoptions[0].ouraddr)); in ipv6_check_options()
1112 if (!eui64_iszero(wo->ourid)) in ipv6_check_options()
1113 wo->opt_local = 1; in ipv6_check_options()
1116 while (eui64_iszero(wo->ourid)) in ipv6_check_options()
1117 eui64_magic(wo->ourid); in ipv6_check_options()
1120 if (!wo->opt_remote) { in ipv6_check_options()
1121 if (wo->use_ip && eui64_iszero(wo->hisid)) { in ipv6_check_options()
1122 eui64_setlo32(wo->hisid, ntohl(ipcp_wantoptions[0].hisaddr)); in ipv6_check_options()
1123 if (!eui64_iszero(wo->hisid)) in ipv6_check_options()
1124 wo->opt_remote = 1; in ipv6_check_options()
1128 if (demand && (eui64_iszero(wo->ourid) || eui64_iszero(wo->hisid))) { in ipv6_check_options()
1143 ipv6cp_options *wo = &ipv6cp_wantoptions[u]; local
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]; local
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))