Lines Matching refs:hisaddr

490     if (wo->hisaddr == 0)
592 go->hisaddr);
678 go->hisaddr);
779 try.hisaddr = ciaddr2;
857 try.hisaddr = ciaddr2;
967 go->ouraddr, go->hisaddr);
1063 ciaddr1 = wo->hisaddr;
1074 if (ciaddr1 != wo->hisaddr &&
1077 ciaddr1 = wo->hisaddr;
1078 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1087 go->hisaddr = ciaddr1;
1114 ho->hisaddr = ciaddr1;
1130 ciaddr1 = wo->hisaddr;
1140 if (ciaddr1 != wo->hisaddr &&
1143 ciaddr1 = wo->hisaddr;
1144 } else if (ciaddr1 == 0 && wo->hisaddr == 0 &&
1154 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1172 ho->hisaddr = ciaddr1;
1331 PUTNLONG(wo->hisaddr, nakp);
1395 if (wo->hisaddr == 0) {
1397 wo->hisaddr = htonl(0x0a707070 + ifunit);
1406 if (!sifaddr(u, wo->ouraddr, wo->hisaddr, GetMask(wo->ouraddr)))
1412 if (wo->default_route && sifdefaultroute(u, wo->ouraddr, wo->hisaddr))
1414 if (wo->proxy_arp && sifproxyarp(u, wo->hisaddr, proxy_arp_quiet[u]))
1418 notice("remote IP address %I", wo->hisaddr);
1443 if (ho->hisaddr == 0)
1444 ho->hisaddr = wo->hisaddr;
1446 if (ho->hisaddr == 0) {
1449 ho->hisaddr = htonl(0xc0a80101 + ifunit);
1451 ho->hisaddr);
1464 script_setenv("IPREMOTE", ip_ntoa(ho->hisaddr), 1);
1469 if (!auth_ip_addr(f->unit, ho->hisaddr)) {
1470 error("Peer is not authorized to use remote address %I", ho->hisaddr);
1497 if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) {
1498 ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr);
1505 if (ho->hisaddr != wo->hisaddr) {
1506 warn("Remote IP address changed to %I", ho->hisaddr);
1507 script_setenv("OLDIPREMOTE", ip_ntoa(wo->hisaddr), 0);
1508 wo->hisaddr = ho->hisaddr;
1514 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1522 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1527 sifproxyarp(f->unit, ho->hisaddr, proxy_arp_quiet[f->unit]))
1552 if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
1574 if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
1579 sifproxyarp(f->unit, ho->hisaddr, proxy_arp_quiet[f->unit]))
1585 notice("remote IP address %I", ho->hisaddr);
1652 ipcp_hisoptions[f->unit].hisaddr);
1668 ipcp_clear_addrs(unit, ouraddr, hisaddr) in ipcp_clear_addrs() argument
1671 u_int32_t hisaddr; /* remote address */
1674 (void) cifproxyarp(unit, hisaddr);
1678 (void) cifdefaultroute(unit, ouraddr, hisaddr);
1681 if (cifaddr(unit, ouraddr, hisaddr) != 1)
1740 ipcp_hisoptions[0].hisaddr);