Home
last modified time | relevance | path

Searched refs:npppd (Results 1 – 25 of 25) sorted by relevance

/openbsd-src/usr.sbin/npppd/npppd/
H A Dnpppd.h264 typedef struct _npppd npppd; typedef
292 npppd *npppd_get_npppd(void);
293 int npppd_init(npppd *, const char *);
294 void npppd_start(npppd *);
295 void npppd_stop(npppd *);
296 void npppd_fini(npppd *);
297 int npppd_reset_routing_table(npppd *, int);
298 int npppd_get_user_password(npppd *, npppd_ppp *, const char *,
300 struct in_addr *npppd_get_user_framed_ip_address(npppd *, npppd_ppp *,
302 int npppd_check_calling_number(npppd *, npppd_ppp *);
[all …]
H A Dnpppd_radius.h15 npppd *pppd;
28 void npppd_ppp_radius_acct_start(npppd *, npppd_ppp *);
29 void npppd_ppp_radius_acct_stop(npppd *, npppd_ppp *);
30 void radius_acct_on(npppd *, radius_req_setting *);
31 void npppd_radius_dae_init(npppd *);
32 void npppd_radius_dae_fini(npppd *);
H A Dnpppd.c1 /* $OpenBSD: npppd.c,v 1.57 2024/11/21 13:18:38 claudio Exp $ */
29 * Next pppd(nppd). This file provides a npppd daemon process and operations
30 * for npppd instance.
32 * $Id: npppd.c,v 1.57 2024/11/21 13:18:38 claudio Exp $
87 static npppd s_npppd; /* singleton */
89 static void npppd_reload0 (npppd *);
90 static void npppd_update_pool_reference (npppd *);
93 static void npppd_stop_really (npppd *);
99 static void npppd_reset_timer(npppd *);
101 static void npppd_auth_finalizer_periodic(npppd *);
[all...]
H A DMakefile6 PROG= npppd
7 MAN= npppd.8 npppd.conf.5 npppd-users.5
11 SRCS+= npppd.c npppd_config.c npppd_subr.c npppd_auth.c npppd_iface.c
H A Dnpppd-users1 # $OpenBSD: npppd-users,v 1.1 2012/09/20 12:51:43 yasuoka Exp $
2 # sample npppd-users file. see npppd-users(5)
H A Dnpppd_pool.c85 npppd_pool_init(npppd_pool *_this, npppd *base, const char *name) in npppd_pool_init()
90 _this->npppd = base; in npppd_pool_init()
115 _this->npppd = NULL; in npppd_pool_uninit()
133 TAILQ_FOREACH(ipcp, &_this->npppd->conf.ipcpconfs, entry) { in npppd_pool_reload()
242 _this->npppd->rd)) != NULL) { in npppd_pool_regist_radish()
261 if ((rval = rd_insert(SA(&sin4a), SA(&sin4b), _this->npppd->rd, in npppd_pool_regist_radish()
342 npppd_is_ifcace_ip4addr(npppd *_this, uint32_t ip4addr) in npppd_is_ifcace_ip4addr()
386 if (rd_delete(SA(&addr), SA(&mask), _this->npppd->rd, &rtent) == 0) { in npppd_pool_assign_ip()
400 (struct sockaddr *)&mask, _this->npppd->rd, &ppp->snp)) != 0) { in npppd_pool_assign_ip()
501 if (npppd_is_ifcace_ip4addr(_this->npppd, sin4.sin_addr.s_addr)) in npppd_pool_get_assignability()
[all …]
H A Dnpppd_iface.c102 npppd_iface_init(npppd *npppd, npppd_iface *_this, struct iface *iface) in npppd_iface_init() argument
108 _this->npppd = npppd; in npppd_iface_init()
210 ppp = npppd_get_ppp_by_ip(_this->npppd, _this->ip4addr); in npppd_iface_setup_ip()
438 npppd *_npppd; in npppd_iface_network_input_ipv4()
446 _npppd = _this->npppd; in npppd_iface_network_input_ipv4()
457 ((npppd *)(_this->npppd))->rd != NULL); in npppd_iface_network_input_ipv4()
462 rd_walktree(((npppd *)(_this->npppd))->rd, in npppd_iface_network_input_ipv4()
H A Dnpppd_config.c65 static int npppd_pool_load(npppd *);
66 static int npppd_auth_realm_reload (npppd *);
89 npppd_reload_config(npppd *_this) in npppd_reload_config()
116 npppd_modules_reload(npppd *_this) in npppd_modules_reload()
146 npppd_pool_load(npppd *_this) in npppd_pool_load()
226 npppd_auth_realm_reload(npppd *_this) in npppd_auth_realm_reload()
331 npppd_ifaces_load_config(npppd *_this) in npppd_ifaces_load_config()
H A Dnpppd_ctl.c43 #include "npppd.h"
56 npppd *npppd; member
69 npppd_ctl_create(npppd *_this) in npppd_ctl_create()
75 ctl->npppd = _this; in npppd_ctl_create()
114 if (rd_walktree(_this->npppd->rd, npppd_ctl_who_walk_rd, _this) != 0) in npppd_ctl_who0()
184 if ((ppp = npppd_get_ppp_by_id(_this->npppd, ppp_id[i])) in npppd_ctl_disconnect()
238 if ((ppp = npppd_get_ppp_by_id(_this->npppd, in npppd_ctl_imsg_compose()
H A Dnpppd_iface.h33 void *npppd; member
67 void npppd_iface_init (npppd *, npppd_iface *, struct iface *);
H A Dnpppd_auth_local.h33 npppd *npppd; member
H A Dnpppd_radius.c69 static int radius_acct_request(npppd *, npppd_ppp *, int );
152 npppd_ppp_radius_acct_start(npppd *pppd, npppd_ppp *ppp) in npppd_ppp_radius_acct_start()
163 npppd_ppp_radius_acct_stop(npppd *pppd, npppd_ppp *ppp) in npppd_ppp_radius_acct_stop()
238 radius_acct_request(npppd *pppd, npppd_ppp *ppp, int stop) in radius_acct_request()
379 radius_acct_on(npppd *pppd, radius_req_setting *rad_setting) in radius_acct_on()
578 npppd_radius_dae_init(npppd *_this) in npppd_radius_dae_init()
637 npppd_radius_dae_fini(npppd *_this) in npppd_radius_dae_fini()
694 npppd *_this = listen->pppd; in npppd_radius_dae_on_event()
H A Dnpppd_local.h83 npppd *npppd; member
H A Dnpppd_auth.c79 base->npppd = _npppd; in npppd_auth_create()
91 base->npppd = _npppd; in npppd_auth_create()
180 TAILQ_FOREACH(auth, &base->npppd->conf.authconfs, entry) { in npppd_auth_reload()
602 radius_acct_on(base->npppd, _this->rad_acct_setting); in npppd_auth_radius_reload()
H A Dnpppd_pool.h44 int npppd_pool_init (npppd_pool *, npppd *, const char *);
H A Dppp.h443 npppd *pppd;
762 int ppp_init (npppd *, npppd_ppp *);
H A Dipcp.c201 npppd *_npppd; in ipcp_reqci()
H A Dppp.c125 ppp_init(npppd *pppd, npppd_ppp *_this) in ppp_init()
/openbsd-src/usr.sbin/npppd/
H A DMakefile6 SUBDIR+= npppd
9 ${INSTALL} -C -o root -g wheel -m 0600 ${.CURDIR}/npppd/npppd.conf \
10 ${DESTDIR}/etc/npppd/npppd.conf
11 ${INSTALL} -C -o root -g wheel -m 0600 ${.CURDIR}/npppd/npppd-users \
12 ${DESTDIR}/etc/npppd/npppd-users
/openbsd-src/usr.sbin/npppctl/
H A DMakefile6 CPPFLAGS+= -I${.CURDIR}/../npppd/npppd -I${.CURDIR}/../npppd/common
/openbsd-src/distrib/sets/lists/etc/
H A Dmi21 ./etc/npppd/npppd-users
22 ./etc/npppd/npppd.conf
/openbsd-src/usr.sbin/
H A DMakefile13 npppctl npppd nsd ntpd ocspcheck ospfctl ospfd ospf6d ospf6ctl \
/openbsd-src/etc/mtree/
H A Dspecial71 npppd type=dir mode=0755 uname=root gname=wheel
72 npppd.conf type=file mode=0600 uname=root gname=wheel
73 npppd-users type=file mode=0600 uname=root gname=wheel
74 .. #npppd
H A D4.4BSD.dist89 npppd
/openbsd-src/sys/conf/
H A DGENERIC53 option PIPEX # Ppp IP EXtension, for npppd