Lines Matching refs:ho
729 ipcp_options *ho = &ipcp_hisoptions[f->unit];
741 if (go->neg_addr && go->old_addrs && !ho->neg_addr && ho->old_addrs)
746 if (ho->neg_vj && ho->old_vj) {
749 go->vj_protocol = ho->vj_protocol;
1426 ipcp_options *ho = &ipcp_hisoptions[f->unit];
1443 BZERO(ho, sizeof(*ho));
1468 if (!ao->old_addrs || ho->neg_addr ||
1518 ho->old_addrs = 1;
1519 ho->hisaddr = ciaddr1;
1520 ho->ouraddr = ciaddr2;
1524 if (!ao->neg_addr || ho->old_addrs ||
1555 ho->neg_addr = 1;
1556 ho->hisaddr = ciaddr1;
1613 ho->neg_vj = 1;
1614 ho->vj_protocol = cishort;
1632 ho->maxslotindex = maxslotindex;
1633 ho->cflag = cflag;
1635 ho->old_vj = 1;
1636 ho->maxslotindex = MAX_STATES - 1;
1637 ho->cflag = 1;
1684 if (rc != CONFREJ && !ho->neg_addr && !ho->old_addrs &&
1788 ipcp_options *ho = &ipcp_hisoptions[f->unit];
1797 if (!ho->neg_addr && !ho->old_addrs)
1798 ho->hisaddr = wo->hisaddr;
1811 if (ho->hisaddr == 0 && !noremoteip) {
1812 ho->hisaddr = htonl(0x0a404040 + ifunit);
1814 ho->hisaddr);
1817 if (ho->hisaddr != 0)
1818 script_setenv("IPREMOTE", ip_ntoa(ho->hisaddr), 1);
1836 if (ho->hisaddr != 0 && !auth_ip_addr(f->unit, ho->hisaddr)) {
1837 error("Peer is not authorized to use remote address %I", ho->hisaddr);
1843 sifvjcomp(f->unit, ho->neg_vj, ho->cflag, ho->maxslotindex);
1851 if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) {
1859 if (ho->hisaddr != wo->hisaddr && wo->hisaddr != 0) {
1860 warn("Remote IP address changed to %I", ho->hisaddr);
1862 wo->hisaddr = ho->hisaddr;
1868 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1877 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1881 if (ho->hisaddr != 0 && ipcp_wantoptions[f->unit].proxy_arp)
1882 if (sifproxyarp(f->unit, ho->hisaddr))
1896 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1916 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1927 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1931 if (ho->hisaddr != 0 && ipcp_wantoptions[f->unit].proxy_arp)
1932 if (sifproxyarp(f->unit, ho->hisaddr))
1938 if (ho->hisaddr != 0)
1939 notice("remote IP address %I", ho->hisaddr);