Lines Matching defs:ho
508 ipcp_options *ho = &ipcp_hisoptions[f->unit];
518 if (go->neg_addr && go->old_addrs && !ho->neg_addr && ho->old_addrs)
524 if (ho->neg_vj && ho->old_vj) {
527 go->vj_protocol = ho->vj_protocol;
1013 ipcp_options *ho = &ipcp_hisoptions[f->unit];
1031 BZERO(ho, sizeof(*ho));
1052 if (!ao->old_addrs || ho->neg_addr) {
1113 ho->old_addrs = 1;
1114 ho->hisaddr = ciaddr1;
1115 ho->ouraddr = ciaddr2;
1119 if (!ao->neg_addr || ho->old_addrs) {
1171 ho->neg_addr = 1;
1172 ho->hisaddr = ciaddr1;
1258 ho->old_vj = 1;
1276 ho->neg_vj = 1;
1277 ho->vj_protocol = cishort;
1278 ho->maxslotindex = maxslotindex;
1279 ho->cflag = cflag;
1324 if (ret != CODE_CONFREJ && !ho->neg_addr && !ho->old_addrs &&
1434 ipcp_options *ho = &ipcp_hisoptions[f->unit];
1443 if (ho->hisaddr == 0)
1444 ho->hisaddr = wo->hisaddr;
1446 if (ho->hisaddr == 0) {
1449 ho->hisaddr = htonl(0xc0a80101 + ifunit);
1451 ho->hisaddr);
1464 script_setenv("IPREMOTE", ip_ntoa(ho->hisaddr), 1);
1469 if (!auth_ip_addr(f->unit, ho->hisaddr)) {
1470 error("Peer is not authorized to use remote address %I", ho->hisaddr);
1486 if (sifvjcomp(f->unit, ho->neg_vj, ho->cflag, ho->maxslotindex) != 1) {
1497 if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) {
1505 if (ho->hisaddr != wo->hisaddr) {
1506 warn("Remote IP address changed to %I", ho->hisaddr);
1508 wo->hisaddr = ho->hisaddr;
1514 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1522 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1527 sifproxyarp(f->unit, ho->hisaddr, proxy_arp_quiet[f->unit]))
1552 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1574 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1579 sifproxyarp(f->unit, ho->hisaddr, proxy_arp_quiet[f->unit]))
1585 notice("remote IP address %I", ho->hisaddr);
1996 ipcp_options *ho = &ipcp_hisoptions[unit];
2007 ho->ouraddr);