• Home
  • Raw
  • Download

Lines Matching refs:ouraddr

310 static void ipcp_clear_addrs(ppp_pcb *pcb, u32_t ouraddr, u32_t hisaddr, u8_t replacedefaultroute);
479 wo->ouraddr = local;
517 if (wo->ouraddr != 0)
518 printer(arg, "%I", wo->ouraddr);
720 if (wo->ouraddr == 0) in ipcp_resetci()
729 go->ouraddr = 0; in ipcp_resetci()
887 ADDCIADDRS(CI_ADDRS, !go->neg_addr && go->old_addrs, go->ouraddr, in ipcp_addci()
895 ADDCIADDR(CI_ADDR, go->neg_addr, go->ouraddr); in ipcp_addci()
1032 ACKCIADDRS(CI_ADDRS, !go->neg_addr && go->old_addrs, go->ouraddr, in ipcp_ackci()
1040 ACKCIADDR(CI_ADDR, go->neg_addr, go->ouraddr); in ipcp_ackci()
1166 try_.ouraddr = ciaddr1; in ipcp_nakci()
1214 try_.ouraddr = ciaddr1; in ipcp_nakci()
1268 try_.ouraddr = ciaddr1; in ipcp_nakci()
1282 try_.ouraddr = ciaddr1; in ipcp_nakci()
1283 if (try_.ouraddr != 0) in ipcp_nakci()
1456 go->ouraddr, go->hisaddr); in ipcp_rejci()
1463 REJCIADDR(CI_ADDR, neg_addr, go->ouraddr); in ipcp_rejci()
1594 if (ciaddr2 != wo->ouraddr) { in ipcp_reqci()
1599 tl = lwip_ntohl(wo->ouraddr); in ipcp_reqci()
1603 wo->ouraddr = ciaddr2; /* accept peer's idea */ in ipcp_reqci()
1609 ho->ouraddr = ciaddr2; in ipcp_reqci()
1814 if (wo->ouraddr == 0 && !disable_defaultip) {
1824 wo->ouraddr = local;
1827 ask_for_local = wo->ouraddr != 0 || !disable_defaultip;
1848 if (wo->ouraddr == 0) {
1850 wo->ouraddr = lwip_htonl(0x0a404040 + ifunit);
1854 if (!sifaddr(pcb, wo->ouraddr, wo->hisaddr, get_mask(wo->ouraddr)))
1862 if (sifdefaultroute(pcb, wo->ouraddr, wo->hisaddr,
1872 ppp_notice("local IP address %I", wo->ouraddr);
1901 && wo->ouraddr != 0) { in ipcp_up()
1906 if (go->ouraddr == 0) { in ipcp_up()
1917 script_setenv("IPLOCAL", ip_ntoa(go->ouraddr), 0); in ipcp_up()
1984 if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) { in ipcp_up()
1985 ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr, in ipcp_up()
1987 if (go->ouraddr != wo->ouraddr) { in ipcp_up()
1988 ppp_warn("Local IP address changed to %I", go->ouraddr); in ipcp_up()
1989 script_setenv("OLDIPLOCAL", ip_ntoa(wo->ouraddr), 0); in ipcp_up()
1990 wo->ouraddr = go->ouraddr; in ipcp_up()
2001 mask = get_mask(go->ouraddr); in ipcp_up()
2002 if (!sifaddr(pcb, go->ouraddr, ho->hisaddr, mask)) { in ipcp_up()
2012 if (sifdefaultroute(pcb, go->ouraddr, ho->hisaddr, in ipcp_up()
2024 demand_rexmit(PPP_IP,go->ouraddr); in ipcp_up()
2033 mask = get_mask(go->ouraddr); in ipcp_up()
2036 if (!sifaddr(pcb, go->ouraddr, ho->hisaddr, mask)) { in ipcp_up()
2055 if (!sifaddr(pcb, go->ouraddr, ho->hisaddr, mask)) { in ipcp_up()
2070 if (sifdefaultroute(pcb, go->ouraddr, ho->hisaddr, in ipcp_up()
2082 wo->ouraddr = go->ouraddr; in ipcp_up()
2084 ppp_notice("local IP address %I", go->ouraddr); in ipcp_up()
2166 ipcp_clear_addrs(pcb, go->ouraddr, in ipcp_down()
2179 static void ipcp_clear_addrs(ppp_pcb *pcb, u32_t ouraddr, u32_t hisaddr, u8_t replacedefaultroute) { in ipcp_clear_addrs() argument
2198 cifdefaultroute(pcb, ouraddr, hisaddr); in ipcp_clear_addrs()
2202 cifaddr(pcb, ouraddr, hisaddr); in ipcp_clear_addrs()