Searched refs:hisaddr (Results 1 - 8 of 8) sorted by relevance
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | ipv6cp.c | 200 struct in6_addr myaddr, hisaddr; local 211 memset(&hisaddr, '\0', sizeof hisaddr); 220 hisaddr.s6_addr[0] = 0xfe; 221 hisaddr.s6_addr[1] = 0x80; 222 memcpy(&hisaddr.s6_addr[8], hisifid, IPV6CP_IFIDLEN); 224 hisaddr.s6_addr[8] |= 0x02; /* set 'universal' bit */ 228 ncpaddr_setip6(&ipv6cp->hisaddr, &hisaddr); 231 if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr, [all...] |
H A D | ipv6cp.h | 50 struct ncpaddr hisaddr; /* Peer address */ member in struct:ipv6cp
|
H A D | ipcp.c | 664 struct in_addr hisaddr) 677 ncpaddr_setip4(&hisncpaddr, hisaddr); 938 log_Printf(LogIPCP, "myaddr %s hisaddr = %s\n", 1357 ipcp_UseHisIPaddr(struct bundle *bundle, struct in_addr hisaddr) argument 1364 ipcp->peer_ip = hisaddr; 1365 ncprange_setip4host(&ipcp->cfg.peer_range, hisaddr); 1368 return ipcp_SetIPaddress(ipcp, myaddr, hisaddr); 1372 ipcp_UseHisaddr(struct bundle *bundle, const char *hisaddr, int setaddr) argument 1379 /* Use `hisaddr' for the peers address (set iface if `setaddr') */ 1382 if (strpbrk(hisaddr, ", 663 ipcp_SetIPaddress(struct ipcp *ipcp, struct in_addr myaddr, struct in_addr hisaddr) argument [all...] |
H A D | command.c | 560 nargv[arg] = substipv6(nargv[arg], "HISADDR6", &bundle->ncp.ipv6cp.hisaddr); 1564 const char *hisaddr; local 1569 hisaddr = NULL; 1580 hisaddr = arg->argv[arg->argn+1]; 1599 if (hisaddr && !ipcp_UseHisaddr(arg->bundle, hisaddr, 2563 if (!ncpaddr_getip6(&arg->bundle->ncp.ipv6cp.hisaddr, &host6)) 2612 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 | 511 ncpaddr_copy(&gw, &bundle->ncp.ipv6cp.hisaddr);
|
/freebsd-10.0-release/sys/net/ |
H A D | if_spppsubr.c | 2883 u_long myaddr, hisaddr; local 2889 sppp_get_ip_addrs(sp, &myaddr, &hisaddr, 0); 2896 if (hisaddr == 0L) { 2949 u_long hisaddr, desiredaddr; local 3032 sppp_get_ip_addrs(sp, 0, &hisaddr, 0); 3068 if (desiredaddr == hisaddr || 3069 (hisaddr >= 1 && hisaddr <= 254 && desiredaddr != 0)) { 3079 sppp_dotted_quad(hisaddr)); 3090 * XXX: we should "rej" if hisaddr 3442 struct in6_addr myaddr, hisaddr; local [all...] |
/freebsd-10.0-release/share/examples/ppp/ |
H A D | ppp.conf.sample | 155 add! default hisaddr
|
Completed in 103 milliseconds