Lines Matching refs:hisaddr
475 wo->hisaddr = remote;
493 if (wo->hisaddr != 0)
494 printer(arg, "%I", wo->hisaddr);
702 if (wo->hisaddr == 0)
710 ip_choose_hook(&wo->hisaddr);
711 if (wo->hisaddr) {
847 go->hisaddr);
981 go->hisaddr);
1108 try.hisaddr = ciaddr2;
1204 try.hisaddr = ciaddr2;
1377 go->ouraddr, go->hisaddr);
1482 if (ciaddr1 != wo->hisaddr
1487 tl = ntohl(wo->hisaddr);
1490 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1519 ho->hisaddr = ciaddr1;
1538 if (ciaddr1 != wo->hisaddr
1543 tl = ntohl(wo->hisaddr);
1546 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1556 ho->hisaddr = ciaddr1;
1693 tl = ntohl(wo->hisaddr);
1745 if (wo->hisaddr == 0 && !noremoteip) {
1747 wo->hisaddr = htonl(0x0a707070 + ifunit);
1756 if (!sifaddr(u, wo->ouraddr, wo->hisaddr, GetMask(wo->ouraddr)))
1764 if (sifdefaultroute(u, wo->ouraddr, wo->hisaddr))
1767 if (sifproxyarp(u, wo->hisaddr))
1771 if (wo->hisaddr)
1772 notice("remote IP address %I", wo->hisaddr);
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);
1851 if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) {
1852 ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr);
1859 if (ho->hisaddr != wo->hisaddr && wo->hisaddr != 0) {
1860 warn("Remote IP address changed to %I", ho->hisaddr);
1861 script_setenv("OLDIPREMOTE", ip_ntoa(wo->hisaddr), 0);
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);
2005 ipcp_hisoptions[f->unit].hisaddr);
2021 ipcp_clear_addrs(unit, ouraddr, hisaddr) in ipcp_clear_addrs() argument
2024 u_int32_t hisaddr; /* remote address */
2027 cifproxyarp(unit, hisaddr);
2031 cifdefaultroute(unit, ouraddr, hisaddr);
2034 cifaddr(unit, ouraddr, hisaddr);
2092 slprintf(strremote, sizeof(strremote), "%I", ipcp_hisoptions[0].hisaddr);