npppd
npppd *_npppd;
static void npppd_auth_finalizer_periodic(npppd *);
static int npppd_get_all_users (npppd *, slist *);
npppd_ppp_pipex_enable(npppd *_this, npppd_ppp *ppp)
static void npppd_ipcp_stats_reload(npppd *);
static void pipex_periodic(npppd *);
npppd_ppp_pipex_disable(npppd *_this, npppd_ppp *ppp)
pipex_periodic(npppd *_this)
npppd_prepare_ip(npppd *_this, npppd_ppp *ppp)
npppd_release_ip(npppd *_this, npppd_ppp *ppp)
npppd_set_ip_enabled(npppd *_this, npppd_ppp *ppp, int enabled)
npppd_assign_ip_addr(npppd *_this, npppd_ppp *ppp, uint32_t req_ip4)
npppd_set_radish(npppd *_this, void *radish_head)
npppd_get_all_users(npppd *_this, slist *users)
npppd_reload0(npppd *_this)
npppd_update_pool_reference(npppd *_this)
npppd *_this;
npppd *_this;
npppd *_this;
npppd *_this;
npppd_ppp_bind_realm(npppd *_this, npppd_ppp *ppp, const char *username, int
npppd_ppp_is_realm_local(npppd *_this, npppd_ppp *ppp)
npppd_ppp_is_realm_radius(npppd *_this, npppd_ppp *ppp)
npppd_ppp_is_realm_ready(npppd *_this, npppd_ppp *ppp)
npppd_ppp_get_realm_name(npppd *_this, npppd_ppp *ppp)
npppd_ppp_get_iface_name(npppd *_this, npppd_ppp *ppp)
npppd_ppp_iface_is_ready(npppd *_this, npppd_ppp *ppp)
npppd_ppp_bind_iface(npppd *_this, npppd_ppp *ppp)
npppd_ppp_unbind_iface(npppd *_this, npppd_ppp *ppp)
npppd *
npppd_get_radius_auth_setting(npppd *_this, npppd_ppp *ppp)
npppd_auth_finalizer_periodic(npppd *_this)
npppd_ppp_get_username_for_auth(npppd *_this, npppd_ppp *ppp,
npppd_init(npppd *_this, const char *config_file)
npppd_ppp_tunnel_protocol_name(npppd *_this, npppd_ppp *ppp)
npppd_get_tunnconf(npppd *_this, const char *name)
npppd_on_ppp_start(npppd *_this, npppd_ppp *ppp)
npppd_on_ppp_stop(npppd *_this, npppd_ppp *ppp)
memset(_this, 0, sizeof(npppd));
npppd_start(npppd *_this)
npppd_stop(npppd *_this)
npppd_stop_really(npppd *_this)
npppd_fini(npppd *_this)
npppd_reset_timer(npppd *_this)
npppd *_this;
npppd_reset_routing_table(npppd *_this, int pool_only)
npppd_get_user_password(npppd *_this, npppd_ppp *ppp,
npppd_get_user_framed_ip_address(npppd *_this, npppd_ppp *ppp,
npppd_check_calling_number(npppd *_this, npppd_ppp *ppp)
npppd_get_ppp_by_ip(npppd *_this, struct in_addr ipaddr)
npppd_get_ppp_by_user(npppd *_this, const char *username)
npppd_get_ppp_by_id(npppd *_this, u_int ppp_id)
npppd_ipcp_stats_reload(npppd *_this)
static npppd s_npppd; /* singleton */
npppd_check_user_max_session(npppd *_this, npppd_ppp *ppp)
static void npppd_reload0 (npppd *);
static void npppd_update_pool_reference (npppd *);
npppd_network_output(npppd *_this, npppd_ppp *ppp, int proto, u_char *pktp,
static void npppd_stop_really (npppd *);
static void npppd_reset_timer(npppd *);
npppd *npppd_get_npppd(void);
int npppd_init(npppd *, const char *);
void npppd_start(npppd *);
void npppd_stop(npppd *);
void npppd_fini(npppd *);
int npppd_reset_routing_table(npppd *, int);
int npppd_get_user_password(npppd *, npppd_ppp *, const char *,
struct in_addr *npppd_get_user_framed_ip_address(npppd *, npppd_ppp *,
int npppd_check_calling_number(npppd *, npppd_ppp *);
npppd_ppp *npppd_get_ppp_by_ip(npppd *, struct in_addr);
npppd_ppp *npppd_get_ppp_by_id(npppd *, u_int);
slist *npppd_get_ppp_by_user(npppd *, const char *);
int npppd_check_user_max_session(npppd *, npppd_ppp *);
void npppd_network_output(npppd *, npppd_ppp *, int, u_char *, int);
int npppd_ppp_pipex_enable(npppd *, npppd_ppp *);
int npppd_ppp_pipex_disable(npppd *, npppd_ppp *);
int npppd_prepare_ip(npppd *, npppd_ppp *);
void npppd_release_ip(npppd *, npppd_ppp *);
void npppd_set_ip_enabled(npppd *, npppd_ppp *, int);
int npppd_assign_ip_addr(npppd *, npppd_ppp *, uint32_t);
int npppd_set_radish(npppd *, void *);
int npppd_ppp_bind_realm(npppd *, npppd_ppp *, const char *, int);
int npppd_ppp_is_realm_local(npppd *, npppd_ppp *);
int npppd_ppp_is_realm_radius(npppd *, npppd_ppp *);
int npppd_ppp_is_realm_ready(npppd *, npppd_ppp *);
const char *npppd_ppp_get_realm_name(npppd *, npppd_ppp *);
const char *npppd_ppp_get_iface_name(npppd *, npppd_ppp *);
int npppd_ppp_iface_is_ready(npppd *, npppd_ppp *);
int npppd_ppp_bind_iface(npppd *, npppd_ppp *);
void npppd_ppp_unbind_iface(npppd *, npppd_ppp *);
void *npppd_get_radius_auth_setting(npppd *, npppd_ppp *);
const char *npppd_ppp_get_username_for_auth(npppd *, npppd_ppp *,
const char *npppd_ppp_tunnel_protocol_name(npppd *, npppd_ppp *);
struct tunnconf *npppd_get_tunnconf(npppd *, const char *);
int npppd_reload_config(npppd *);
int npppd_modules_reload(npppd *);
int npppd_ifaces_load_config(npppd *);
void npppd_on_ppp_start(npppd *, npppd_ppp *);
void npppd_on_ppp_stop(npppd *, npppd_ppp *);
*npppd_ctl_create(npppd *);
TAILQ_FOREACH(auth, &base->npppd->conf.authconfs, entry) {
radius_acct_on(base->npppd, _this->rad_acct_setting);
base->npppd = _npppd;
base->npppd = _npppd;
npppd *npppd;
npppd_modules_reload(npppd *_this)
npppd_pool_load(npppd *_this)
npppd_auth_realm_reload(npppd *_this)
npppd_ifaces_load_config(npppd *_this)
static int npppd_pool_load(npppd *);
static int npppd_auth_realm_reload (npppd *);
npppd_reload_config(npppd *_this)
if (rd_walktree(_this->npppd->rd, npppd_ctl_who_walk_rd, _this) != 0)
if ((ppp = npppd_get_ppp_by_id(_this->npppd, ppp_id[i]))
if ((ppp = npppd_get_ppp_by_id(_this->npppd,
npppd *npppd;
npppd_ctl_create(npppd *_this)
ctl->npppd = _this;
npppd_iface_init(npppd *npppd, npppd_iface *_this, struct iface *iface)
_this->npppd = npppd;
ppp = npppd_get_ppp_by_ip(_this->npppd, _this->ip4addr);
npppd *_npppd;
_npppd = _this->npppd;
((npppd *)(_this->npppd))->rd != NULL);
rd_walktree(((npppd *)(_this->npppd))->rd,
void *npppd;
void npppd_iface_init (npppd *, npppd_iface *, struct iface *);
npppd *npppd;
_this->npppd = NULL;
TAILQ_FOREACH(ipcp, &_this->npppd->conf.ipcpconfs, entry) {
_this->npppd->rd)) != NULL) {
if ((rval = rd_insert(SA(&sin4a), SA(&sin4b), _this->npppd->rd,
npppd_is_ifcace_ip4addr(npppd *_this, uint32_t ip4addr)
if (rd_delete(SA(&addr), SA(&mask), _this->npppd->rd, &rtent) == 0) {
(struct sockaddr *)&mask, _this->npppd->rd, &ppp->snp)) != 0) {
if (npppd_is_ifcace_ip4addr(_this->npppd, sin4.sin_addr.s_addr))
if (rd_match(SA(&sin4), _this->npppd->rd, &radish)) {
} while (rd_match_next(SA(&sin4), _this->npppd->rd, &radish,
npppd_pool_init(npppd_pool *_this, npppd *base, const char *name)
_this->npppd = base;
int npppd_pool_init (npppd_pool *, npppd *, const char *);
npppd_ppp_radius_acct_start(npppd *pppd, npppd_ppp *ppp)
npppd_ppp_radius_acct_stop(npppd *pppd, npppd_ppp *ppp)
radius_acct_request(npppd *pppd, npppd_ppp *ppp, int stop)
radius_acct_on(npppd *pppd, radius_req_setting *rad_setting)
npppd_radius_dae_init(npppd *_this)
npppd_radius_dae_fini(npppd *_this)
static int radius_acct_request(npppd *, npppd_ppp *, int );
npppd *_this = listen->pppd;
npppd *pppd;
void npppd_ppp_radius_acct_start(npppd *, npppd_ppp *);
void npppd_ppp_radius_acct_stop(npppd *, npppd_ppp *);
void radius_acct_on(npppd *, radius_req_setting *);
void npppd_radius_dae_init(npppd *);
void npppd_radius_dae_fini(npppd *);
ppp_init(npppd *pppd, npppd_ppp *_this)
npppd *pppd;
int ppp_init (npppd *, npppd_ppp *);