Lines Matching refs:wo
342 ipv6cp_options *wo = &ipv6cp_wantoptions[0];
366 eui64_copy(addr.s6_addr32[2], wo->ourid);
367 wo->opt_local = 1;
382 eui64_copy(addr.s6_addr32[2], wo->hisid);
383 wo->opt_remote = 1;
399 ipv6cp_options *wo = &ipv6cp_wantoptions[0];
401 if (wo->opt_local)
402 printer(arg, "%s", llv6_ntoa(wo->ourid));
404 if (wo->opt_remote)
405 printer(arg, "%s", llv6_ntoa(wo->hisid));
430 ipv6cp_options *wo = &pcb->ipv6cp_wantoptions;
439 memset(wo, 0, sizeof(*wo));
443 wo->accept_local = 1;
444 wo->neg_ifaceid = 1;
448 wo->neg_vj = 1;
450 wo->vj_protocol = IPV6CP_COMP;
511 ipv6cp_options *wo = &pcb->ipv6cp_wantoptions;
515 wo->req_ifaceid = wo->neg_ifaceid && ao->neg_ifaceid;
517 if (!wo->opt_local) {
518 eui64_magic_nz(wo->ourid);
521 *go = *wo;
889 ipv6cp_options *wo = &pcb->ipv6cp_wantoptions;
953 if (!eui64_iszero(wo->hisid) &&
954 !eui64_equals(ifaceid, wo->hisid) &&
958 ifaceid = wo->hisid;
966 ifaceid = wo->hisid;
1047 wo->req_ifaceid && !reject_if_disagree) {
1051 wo->req_ifaceid = 0; /* don't ask again */
1055 eui64_put(wo->hisid, ucp);
1069 ipv6cp_options *wo = &ipv6cp_wantoptions[0];
1078 if ((wo->use_persistent) && (!wo->opt_local) && (!wo->opt_remote)) {
1089 if (ether_to_eui64(&wo->ourid)) {
1090 wo->opt_local = 1;
1094 if (!wo->opt_local) { /* init interface identifier */
1095 if (wo->use_ip && eui64_iszero(wo->ourid)) {
1096 eui64_setlo32(wo->ourid, lwip_ntohl(ipcp_wantoptions[0].ouraddr));
1097 if (!eui64_iszero(wo->ourid))
1098 wo->opt_local = 1;
1101 while (eui64_iszero(wo->ourid))
1102 eui64_magic(wo->ourid);
1105 if (!wo->opt_remote) {
1106 if (wo->use_ip && eui64_iszero(wo->hisid)) {
1107 eui64_setlo32(wo->hisid, lwip_ntohl(ipcp_wantoptions[0].hisaddr));
1108 if (!eui64_iszero(wo->hisid))
1109 wo->opt_remote = 1;
1113 if (demand && (eui64_iszero(wo->ourid) || eui64_iszero(wo->hisid))) {
1126 ipv6cp_options *wo = &ipv6cp_wantoptions[u];
1131 if (!sif6addr(u, wo->ourid, wo->hisid))
1138 ppp_notice("local LL address %s", llv6_ntoa(wo->ourid));
1139 ppp_notice("remote LL address %s", llv6_ntoa(wo->hisid));
1153 ipv6cp_options *wo = &pcb->ipv6cp_wantoptions;
1163 ho->hisid = wo->hisid;
1203 if (! eui64_equals(go->ourid, wo->ourid) ||
1204 ! eui64_equals(ho->hisid, wo->hisid)) {
1205 if (! eui64_equals(go->ourid, wo->ourid))
1208 if (! eui64_equals(ho->hisid, wo->hisid))