Home | History | Annotate | Download | only in pppd

Lines Matching full:hisaddr

467 	    wo->hisaddr = remote;
485 if (wo->hisaddr != 0)
486 printer(arg, "%I", wo->hisaddr);
686 if (wo->hisaddr == 0)
694 ip_choose_hook(&wo->hisaddr);
695 if (wo->hisaddr) {
815 go->hisaddr);
930 go->hisaddr);
1053 try.hisaddr = ciaddr2;
1147 try.hisaddr = ciaddr2;
1280 go->ouraddr, go->hisaddr);
1381 if (ciaddr1 != wo->hisaddr
1386 tl = ntohl(wo->hisaddr);
1389 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1418 ho->hisaddr = ciaddr1;
1437 if (ciaddr1 != wo->hisaddr
1442 tl = ntohl(wo->hisaddr);
1445 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1455 ho->hisaddr = ciaddr1;
1592 tl = ntohl(wo->hisaddr);
1644 if (wo->hisaddr == 0) {
1646 wo->hisaddr = htonl(0x0a707070 + ifunit);
1655 if (!sifaddr(u, wo->ouraddr, wo->hisaddr, GetMask(wo->ouraddr)))
1662 if (sifdefaultroute(u, wo->ouraddr, wo->hisaddr))
1665 if (sifproxyarp(u, wo->hisaddr))
1669 notice("remote IP address %I", wo->hisaddr);
1695 ho->hisaddr = wo->hisaddr;
1708 if (ho->hisaddr == 0) {
1709 ho->hisaddr = htonl(0x0a404040 + ifunit);
1711 ho->hisaddr);
1714 script_setenv("IPREMOTE", ip_ntoa(ho->hisaddr), 1);
1728 if (!auth_ip_addr(f->unit, ho->hisaddr)) {
1729 error("Peer is not authorized to use remote address %I", ho->hisaddr);
1743 if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) {
1744 ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr);
1751 if (ho->hisaddr != wo->hisaddr) {
1752 warn("Remote IP address changed to %I", ho->hisaddr);
1753 script_setenv("OLDIPREMOTE", ip_ntoa(wo->hisaddr), 0);
1754 wo->hisaddr = ho->hisaddr;
1760 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1769 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1774 if (sifproxyarp(f->unit, ho->hisaddr))
1788 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1805 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1816 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1821 if (sifproxyarp(f->unit, ho->hisaddr))
1827 notice("remote IP address %I", ho->hisaddr);
1893 ipcp_hisoptions[f->unit].hisaddr);
1909 ipcp_clear_addrs(unit, ouraddr, hisaddr)
1912 u_int32_t hisaddr; /* remote address */
1915 cifproxyarp(unit, hisaddr);
1919 cifdefaultroute(unit, ouraddr, hisaddr);
1922 cifaddr(unit, ouraddr, hisaddr);
1979 slprintf(strremote, sizeof(strremote), "%I", ipcp_hisoptions[0].hisaddr);