Searched refs:hisaddr (Results 1 - 7 of 7) sorted by relevance
/freebsd-12-stable/usr.sbin/ppp/ |
H A D | ipv6cp.c | 202 struct in6_addr myaddr, hisaddr; local 213 memset(&hisaddr, '\0', sizeof hisaddr); 222 hisaddr.s6_addr[0] = 0xfe; 223 hisaddr.s6_addr[1] = 0x80; 224 memcpy(&hisaddr.s6_addr[8], hisifid, IPV6CP_IFIDLEN); 226 hisaddr.s6_addr[8] |= 0x02; /* set 'universal' bit */ 230 ncpaddr_setip6(&ipv6cp->hisaddr, &hisaddr); 233 if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr, [all...] |
H A D | ipv6cp.h | 52 struct ncpaddr hisaddr; /* Peer address */ member in struct:ipv6cp
|
H A D | ipcp.c | 666 struct in_addr hisaddr) 679 ncpaddr_setip4(&hisncpaddr, hisaddr); 940 log_Printf(LogIPCP, "myaddr %s hisaddr = %s\n", 1359 ipcp_UseHisIPaddr(struct bundle *bundle, struct in_addr hisaddr) argument 1366 ipcp->peer_ip = hisaddr; 1367 ncprange_setip4host(&ipcp->cfg.peer_range, hisaddr); 1370 return ipcp_SetIPaddress(ipcp, myaddr, hisaddr); 1374 ipcp_UseHisaddr(struct bundle *bundle, const char *hisaddr, int setaddr) argument 1381 /* Use `hisaddr' for the peers address (set iface if `setaddr') */ 1384 if (strpbrk(hisaddr, ", 665 ipcp_SetIPaddress(struct ipcp *ipcp, struct in_addr myaddr, struct in_addr hisaddr) argument [all...] |
H A D | command.c | 562 nargv[arg] = substipv6(nargv[arg], "HISADDR6", &bundle->ncp.ipv6cp.hisaddr); 1566 const char *hisaddr; local 1571 hisaddr = NULL; 1582 hisaddr = arg->argv[arg->argn+1]; 1601 if (hisaddr && !ipcp_UseHisaddr(arg->bundle, hisaddr, 2570 if (!ncpaddr_getip6(&arg->bundle->ncp.ipv6cp.hisaddr, &host6)) 2619 ncprange_sethost(&dest, &arg->bundle->ncp.ipv6cp.hisaddr);
|
H A D | ncpaddr.c | 923 range->ncprange_ip6addr = ncp->ipv6cp.hisaddr.ncpaddr_ip6addr;
|
H A D | radius.c | 513 ncpaddr_copy(&gw, &bundle->ncp.ipv6cp.hisaddr);
|
/freebsd-12-stable/sys/net/ |
H A D | if_spppsubr.c | 2858 u_long myaddr, hisaddr; local 2864 sppp_get_ip_addrs(sp, &myaddr, &hisaddr, 0); 2871 if (hisaddr == 0L) { 2924 u_long hisaddr, desiredaddr; local 3007 sppp_get_ip_addrs(sp, 0, &hisaddr, 0); 3043 if (desiredaddr == hisaddr || 3044 (hisaddr >= 1 && hisaddr <= 254 && desiredaddr != 0)) { 3054 sppp_dotted_quad(hisaddr)); 3065 * XXX: we should "rej" if hisaddr 3417 struct in6_addr myaddr, hisaddr; local [all...] |
Completed in 167 milliseconds