Lines Matching full:hisaddr
659 struct in_addr hisaddr)
672 ncpaddr_setip4(&hisncpaddr, hisaddr);
933 log_Printf(LogIPCP, "myaddr %s hisaddr = %s\n",
1352 ipcp_UseHisIPaddr(struct bundle *bundle, struct in_addr hisaddr)
1359 ipcp->peer_ip = hisaddr;
1360 ncprange_setip4host(&ipcp->cfg.peer_range, hisaddr);
1363 return ipcp_SetIPaddress(ipcp, myaddr, hisaddr);
1367 ipcp_UseHisaddr(struct bundle *bundle, const char *hisaddr, int setaddr)
1374 /* Use `hisaddr' for the peers address (set iface if `setaddr') */
1377 if (strpbrk(hisaddr, ",-")) {
1378 iplist_setsrc(&ipcp->cfg.peer_list, hisaddr);
1388 log_Printf(LogWARN, "%s: Invalid range !\n", hisaddr);
1391 } else if (ncprange_aton(&ipcp->cfg.peer_range, ncp, hisaddr) != 0) {
1393 log_Printf(LogWARN, "%s: Not an AF_INET address !\n", hisaddr);