Lines Matching refs:hisaddr
483 if (wo->hisaddr == 0)
585 go->hisaddr);
671 go->hisaddr);
772 try.hisaddr = ciaddr2;
850 try.hisaddr = ciaddr2;
960 go->ouraddr, go->hisaddr);
1056 ciaddr1 = wo->hisaddr;
1067 if (ciaddr1 != wo->hisaddr &&
1070 ciaddr1 = wo->hisaddr;
1071 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1080 go->hisaddr = ciaddr1;
1107 ho->hisaddr = ciaddr1;
1123 ciaddr1 = wo->hisaddr;
1133 if (ciaddr1 != wo->hisaddr &&
1136 ciaddr1 = wo->hisaddr;
1137 } else if (ciaddr1 == 0 && wo->hisaddr == 0 &&
1147 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1165 ho->hisaddr = ciaddr1;
1324 PUTNLONG(wo->hisaddr, nakp);
1388 if (wo->hisaddr == 0) {
1390 wo->hisaddr = htonl(0x0a707070 + ifunit);
1399 if (!sifaddr(u, wo->ouraddr, wo->hisaddr, GetMask(wo->ouraddr)))
1405 if (wo->default_route && sifdefaultroute(u, wo->ouraddr, wo->hisaddr))
1407 if (wo->proxy_arp && sifproxyarp(u, wo->hisaddr, proxy_arp_quiet[u]))
1411 notice("remote IP address %I", wo->hisaddr);
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);
1490 if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) {
1491 ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr);
1498 if (ho->hisaddr != wo->hisaddr) {
1499 warn("Remote IP address changed to %I", ho->hisaddr);
1500 script_setenv("OLDIPREMOTE", ip_ntoa(wo->hisaddr), 0);
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);
1645 ipcp_hisoptions[f->unit].hisaddr);
1661 ipcp_clear_addrs(unit, ouraddr, hisaddr) in ipcp_clear_addrs() argument
1664 u_int32_t hisaddr; /* remote address */
1667 (void) cifproxyarp(unit, hisaddr);
1671 (void) cifdefaultroute(unit, ouraddr, hisaddr);
1674 if (cifaddr(unit, ouraddr, hisaddr) != 1)
1733 ipcp_hisoptions[0].hisaddr);