| /openbsd-src/usr.sbin/npppd/npppd/ |
| H A D | ppp.c | 125 ppp_init(npppd *pppd, npppd_ppp *_this) in ppp_init() argument 137 _this->pppd = pppd; in ppp_init() 275 npppd_release_ip(_this->pppd, _this); in ppp_down_others() 371 if (npppd_ppp_pipex_disable(_this->pppd, _this) != 0) in ppp_stop0() 400 npppd_ppp_get_iface_name(_this->pppd, _this)); in ppp_stop0() 403 npppd_ppp_radius_acct_stop(_this->pppd, _this); in ppp_stop0() 405 npppd_on_ppp_stop(_this->pppd, _this); in ppp_stop0() 406 npppd_ppp_unbind_iface(_this->pppd, _this); in ppp_stop0() 412 npppd_release_ip(_this->pppd, _this); in ppp_stop0() 562 if (npppd_ppp_bind_iface(_this->pppd, _this) != 0) { in ppp_auth_ok() [all …]
|
| H A D | npppd_radius.c | 152 npppd_ppp_radius_acct_start(npppd *pppd, npppd_ppp *ppp) in npppd_ppp_radius_acct_start() argument 156 if (ppp->realm == NULL || !npppd_ppp_is_realm_radius(pppd, ppp)) in npppd_ppp_radius_acct_start() 158 radius_acct_request(pppd, ppp, 0); in npppd_ppp_radius_acct_start() 163 npppd_ppp_radius_acct_stop(npppd *pppd, npppd_ppp *ppp) in npppd_ppp_radius_acct_stop() argument 167 if (ppp->realm == NULL || !npppd_ppp_is_realm_radius(pppd, ppp)) in npppd_ppp_radius_acct_stop() 169 radius_acct_request(pppd, ppp, 1); in npppd_ppp_radius_acct_stop() 238 radius_acct_request(npppd *pppd, npppd_ppp *ppp, int stop) in radius_acct_request() argument 276 ATTR_STR(RADIUS_TYPE_NAS_IDENTIFIER, pppd->conf.nas_id); in radius_acct_request() 332 snprintf(buf, sizeof(buf), "%08X%08X", pppd->boot_id, ppp->id); in radius_acct_request() 379 radius_acct_on(npppd *pppd, radius_req_setting *rad_setting) in radius_acct_on() argument [all …]
|
| H A D | npppd_local.h | 188 #define ppp_iface(ppp) (&(ppp)->pppd->iface[(ppp)->ifidx]) 189 #define ppp_ipcp(ppp) ((ppp)->pppd->iface[(ppp)->ifidx].ipcpconf) 190 #define ppp_pool(ppp) ((ppp)->pppd->iface_pool[(ppp)->ifidx])
|
| H A D | pap.c | 240 if (npppd_ppp_bind_realm(_this->ppp->pppd, _this->ppp, _this->name, 0) in pap_authenticate() 242 if (!npppd_ppp_is_realm_ready(_this->ppp->pppd, _this->ppp)) { in pap_authenticate() 249 if (npppd_ppp_is_realm_radius(_this->ppp->pppd, _this->ppp)) { in pap_authenticate() 255 if (npppd_ppp_is_realm_local(_this->ppp->pppd, _this->ppp)) { in pap_authenticate() 287 realm = npppd_ppp_get_realm_name(_this->ppp->pppd, _this->ppp); in pap_response() 337 if (npppd_get_user_password(_this->ppp->pppd, _this->ppp, username, in pap_local_authenticate() 395 if ((rad_setting = npppd_get_radius_auth_setting(_this->ppp->pppd, in pap_radius_authenticate() 414 npppd_ppp_get_username_for_auth(_this->ppp->pppd, _this->ppp, in pap_radius_authenticate()
|
| H A D | ipcp.c | 133 if (npppd_prepare_ip(f->ppp->pppd, f->ppp) != 0) { in ipcp_resetci() 207 _npppd = ppp->pppd; in ipcp_reqci() 246 if (npppd_assign_ip_addr(ppp->pppd, ppp, in ipcp_reqci() 248 npppd_assign_ip_addr(ppp->pppd, ppp, in ipcp_reqci() 355 if (npppd_assign_ip_addr(ppp->pppd, ppp, in ipcp_reqci() 393 npppd_assign_ip_addr(f->ppp->pppd, f->ppp, INADDR_ANY); in ipcp_open()
|
| H A D | chap.c | 388 if (npppd_ppp_bind_realm(_this->ppp->pppd, _this->ppp, _this->name, 0) in chap_authenticate() 390 if (!npppd_ppp_is_realm_ready(_this->ppp->pppd, _this->ppp)) { in chap_authenticate() 398 if (npppd_ppp_is_realm_radius(_this->ppp->pppd, _this->ppp)) { in chap_authenticate() 405 if (npppd_ppp_is_realm_local(_this->ppp->pppd, _this->ppp)) { in chap_authenticate() 440 realm_name = npppd_ppp_get_realm_name(_this->ppp->pppd, _this->ppp); in chap_response() 544 rval = npppd_get_user_password(_this->ppp->pppd, _this->ppp, username, in md5chap_authenticate() 643 rval = npppd_get_user_password(_this->ppp->pppd, _this->ppp, username, in mschapv2_authenticate() 727 if ((rad_setting = npppd_get_radius_auth_setting(_this->ppp->pppd, in chap_radius_authenticate() 748 npppd_ppp_get_username_for_auth(_this->ppp->pppd, _this->ppp, in chap_radius_authenticate()
|
| H A D | npppd_radius.h | 15 npppd *pppd; member
|
| H A D | npppd_pool.c | 436 (struct sockaddr *)&mask, ppp->pppd->rd, &item)) != 0) { in npppd_pool_release_ip() 457 if (rd_insert(SA(&addr), SA(&mask), ppp->pppd->rd, in npppd_pool_release_ip()
|
| H A D | npppd_ctl.c | 276 ppp->pppd, ppp), sizeof(_this->tunnel_proto)); in npppd_who_init()
|
| H A D | ppp.h | 443 npppd *pppd; member
|
| H A D | npppd.c | 29 * Next pppd(nppd). This file provides a npppd daemon process and operations 1009 req->pr_ip_srcaddr = ppp->pppd->iface[0].ip4addr; in pipex_setup_common()
|
| /openbsd-src/usr.sbin/pppd/ |
| H A D | Makefile | 5 PROG= pppd 9 MAN= pppd.8
|
| /openbsd-src/usr.sbin/ |
| H A D | Makefile | 14 pcidump pkg_add portmap pppd procmap pstat pwd_mkdb \
|