/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | npppd.conf | 21 ipcp IPCP { 27 interface pppx0 address 10.0.0.1 ipcp IPCP 31 #interface pppac0 address 10.0.0.1 ipcp IPCP
|
H A D | ipcp.c | 1 /* $OpenBSD: ipcp.c,v 1.6 2019/02/27 04:52:19 denis Exp $ */ 35 /* $Id: ipcp.c,v 1.6 2019/02/27 04:52:19 denis Exp $ */ 98 "ipcp" /* String name of protocol */ 105 ipcp_init(ipcp *_this, npppd_ppp *ppp) 109 memset(_this, 0, sizeof(ipcp)); 156 memcpy(pktp, &f->ppp->ipcp.ip4_our.s_addr, 4); 176 inet_ntoa(f->ppp->ipcp.ip4_our)); 187 inet_ntoa(f->ppp->ipcp.ip4_our)); 282 ip_addrp = &ppp->ipcp.dns_pri; break; 284 ip_addrp = &ppp->ipcp [all...] |
H A D | parse.y | 166 | grammar ipcp '\n' 829 * ipcp { } 831 ipcp : IPCP STRING { label 841 yyerror("too many `ipcp' settings. it must be " 849 yyerror("ipcp name %s is already in use.", $2); 938 struct ipcpconf *ipcp; 950 if ((ipcp = ipcpconf_find($6)) == NULL) { 951 yyerror("ipcp %s is not found", $6); 972 n->ipcpconf = ipcp; 1105 { "ipcp", IPC [all...] |
H A D | npppd_config.c | 151 struct ipcpconf *ipcp; local 165 TAILQ_FOREACH(ipcp, &_this->conf.ipcpconfs, entry) { 171 if (npppd_pool_init(&pool0[n], _this, ipcp->name) != 0) { 173 "npppd_pool '%s': %m", ipcp->name);
|
H A D | Makefile | 10 SRCS= ccp.c chap.c chap_ms.c fsm.c ipcp.c lcp.c mppe.c pap.c ppp.c
|
H A D | ppp.h | 365 } ipcp; typedef in typeref:struct:_ipcp 489 ipcp ipcp; /** ipcp */ member in struct:_npppd_ppp 788 void ipcp_init (ipcp *, npppd_ppp *);
|
H A D | npppd_radius.c | 103 _this->ipcp.dns_pri = ip4; 108 _this->ipcp.dns_sec = ip4; 114 (got_pri)? inet_ntop(AF_INET, &_this->ipcp.dns_pri, 117 (got_sec)? inet_ntop(AF_INET, &_this->ipcp.dns_sec, 126 _this->ipcp.nbns_pri = ip4; 131 _this->ipcp.nbns_sec = ip4; 137 (got_pri)? inet_ntop(AF_INET, &_this->ipcp.nbns_pri, 140 (got_sec)? inet_ntop(AF_INET, &_this->ipcp.nbns_sec,
|
H A D | npppd_pool.c | 126 struct ipcpconf *ipcp; local 133 TAILQ_FOREACH(ipcp, &_this->npppd->conf.ipcpconfs, entry) { 134 if (strcmp(ipcp->name, _this->ipcp_name) == 0) { 135 dyna_pool = ipcp->dynamic_pool; 136 pool = ipcp->static_pool; 571 snprintf(logbuf, sizeof(logbuf), "ipcp=%s pool %s",
|
H A D | ppp.c | 164 ipcp_init(&_this->ipcp, _this); 273 fsm_lowerdown(&_this->ipcp.fsm); 433 fsm_lowerdown(&_this->ipcp.fsm); 550 case PPP_PROTO_NCP | NCP_IPCP: return "ipcp"; 602 fsm_lowerup(&_this->ipcp.fsm); 603 fsm_open(&_this->ipcp.fsm); 925 fsm_input(&_this->ipcp.fsm, inp,
|
H A D | npppd.c | 1346 ppp->ipcp.ip4_our = ppp_iface(ppp)->ip4addr; 1348 ppp->ipcp.ip4_our = _this->iface[0].ip4addr; 1351 ppp->ipcp.dns_pri = ppp_ipcp(ppp)->dns_servers[0]; 1352 ppp->ipcp.dns_sec = ppp_ipcp(ppp)->dns_servers[1]; 1353 ppp->ipcp.nbns_pri = ppp_ipcp(ppp)->nbns_servers[0]; 1354 ppp->ipcp.nbns_sec = ppp_ipcp(ppp)->nbns_servers[1]; 1916 /* found the ipcp that has the pool */
|
H A D | lcp.c | 915 rejfsm = &f->ppp->ipcp.fsm;
|
/openbsd-current/usr.sbin/pppd/ |
H A D | Makefile | 6 SRCS= auth.c cbcp.c ccp.c chap.c demand.c fsm.c ipcp.c \
|
/openbsd-current/sys/net/ |
H A D | if_spppsubr.c | 92 * being one of "lcp", "ipcp", "chap", "pap", etc. 359 static const struct cp ipcp = { variable in typeref:struct:cp 362 "ipcp", 401 &ipcp, /* IDX_IPCP */ 505 sppp_cp_input(&ipcp, sp, m); 2270 sp->ipcp.opts = 0; 2271 sp->ipcp.flags = 0; 2274 task_set(&sp->ipcp.set_addr_task, sppp_set_ip_addrs, sp); 2275 task_set(&sp->ipcp.clear_addr_task, sppp_clear_ip_addrs, sp); 2281 task_del(systq, &sp->ipcp [all...] |
H A D | if_sppp.h | 184 struct sipcp ipcp; /* IPCP params */ member in struct:sppp
|
/openbsd-current/usr.sbin/radiusd/ |
H A D | radiusd_ipcp.c | 116 struct module_ipcp *ipcp; member in struct:module_ipcp_dae 538 dae0->ipcp = module; 1600 module_imsg_compose(assign->dae->ipcp->base, IMSG_NG, 1611 struct module_ipcp *self = dae->ipcp;
|