Searched refs:have_ip (Results 1 – 1 of 1) sorted by relevance
1058 struct in_addr ipaddr, dstipaddr, have_ip; in IpcpDecodeConfig() local1215 have_ip = ipcp->ns.dns[opt->hdr.id == TY_PRIMARY_DNS ? 0 : 1]; in IpcpDecodeConfig()1217 if (opt->hdr.id == TY_PRIMARY_DNS && ipaddr.s_addr != have_ip.s_addr && in IpcpDecodeConfig()1221 ipcp->ns.dns[1] = have_ip; in IpcpDecodeConfig()1222 have_ip = ipcp->ns.dns[0]; in IpcpDecodeConfig()1225 if (ipaddr.s_addr != have_ip.s_addr) { in IpcpDecodeConfig()1232 memcpy(nak.data, &have_ip.s_addr, 4); in IpcpDecodeConfig()1264 have_ip.s_addr = in IpcpDecodeConfig()1267 if (have_ip.s_addr == INADDR_ANY) { in IpcpDecodeConfig()1274 if (ipaddr.s_addr != have_ip.s_addr) { in IpcpDecodeConfig()[all …]