Lines Matching refs:ho
501 ipcp_options *ho = &ipcp_hisoptions[f->unit]; local
511 if (go->neg_addr && go->old_addrs && !ho->neg_addr && ho->old_addrs)
517 if (ho->neg_vj && ho->old_vj) {
520 go->vj_protocol = ho->vj_protocol;
1006 ipcp_options *ho = &ipcp_hisoptions[f->unit]; local
1024 BZERO(ho, sizeof(*ho));
1045 if (!ao->old_addrs || ho->neg_addr) {
1106 ho->old_addrs = 1;
1107 ho->hisaddr = ciaddr1;
1108 ho->ouraddr = ciaddr2;
1112 if (!ao->neg_addr || ho->old_addrs) {
1164 ho->neg_addr = 1;
1165 ho->hisaddr = ciaddr1;
1251 ho->old_vj = 1;
1269 ho->neg_vj = 1;
1270 ho->vj_protocol = cishort;
1271 ho->maxslotindex = maxslotindex;
1272 ho->cflag = cflag;
1317 if (ret != CODE_CONFREJ && !ho->neg_addr && !ho->old_addrs &&
1427 ipcp_options *ho = &ipcp_hisoptions[f->unit]; local
1436 if (ho->hisaddr == 0)
1437 ho->hisaddr = wo->hisaddr;
1439 if (ho->hisaddr == 0) {
1442 ho->hisaddr = htonl(0xc0a80101 + ifunit);
1444 ho->hisaddr);
1457 script_setenv("IPREMOTE", ip_ntoa(ho->hisaddr), 1);
1462 if (!auth_ip_addr(f->unit, ho->hisaddr)) {
1463 error("Peer is not authorized to use remote address %I", ho->hisaddr);
1479 if (sifvjcomp(f->unit, ho->neg_vj, ho->cflag, ho->maxslotindex) != 1) {
1490 if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) {
1498 if (ho->hisaddr != wo->hisaddr) {
1499 warn("Remote IP address changed to %I", ho->hisaddr);
1501 wo->hisaddr = ho->hisaddr;
1507 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1515 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1520 sifproxyarp(f->unit, ho->hisaddr, proxy_arp_quiet[f->unit]))
1545 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1567 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1572 sifproxyarp(f->unit, ho->hisaddr, proxy_arp_quiet[f->unit]))
1578 notice("remote IP address %I", ho->hisaddr);
1989 ipcp_options *ho = &ipcp_hisoptions[unit]; local
2000 ho->ouraddr);