Home
last modified time | relevance | path

Searched refs:mppe (Results 1 – 8 of 8) sorted by relevance

/freebsd/usr.sbin/ppp/
H A Dmppe.c441 ok = r->mppe.sendkeylen && r->mppe.recvkeylen; in MPPEUsable()
465 if (*fp->bundle->radius.cfg.file && fp->bundle->radius.mppe.policy) in MPPERequired()
466 return fp->bundle->radius.mppe.policy == MPPE_POLICY_REQUIRED ? 1 : 0; in MPPERequired()
469 return fp->link->ccp.cfg.mppe.required; in MPPERequired()
477 val = cfg->mppe.state == MPPE_STATELESS ? MPPE_OPT_STATELESS : 0; in MPPE_ConfigVal()
483 if (*bundle->radius.cfg.file && bundle->radius.mppe.types) { in MPPE_ConfigVal()
484 if (bundle->radius.mppe.types & MPPE_TYPE_40BIT) in MPPE_ConfigVal()
486 if (bundle->radius.mppe.types & MPPE_TYPE_128BIT) in MPPE_ConfigVal()
490 switch(cfg->mppe.keybits) { in MPPE_ConfigVal()
553 if (!cfg->mppe.keybits) { in MPPESetOptsOutput()
[all …]
H A Dradius.c591 r->mppe.policy = rad_cvt_int(data); in radius_Process()
594 radius_policyname(r->mppe.policy)); in radius_Process()
598 r->mppe.types = rad_cvt_int(data); in radius_Process()
601 radius_typesname(r->mppe.types)); in radius_Process()
605 free(r->mppe.recvkey); in radius_Process()
606 demangle(r, data, len, &r->mppe.recvkey, &r->mppe.recvkeylen); in radius_Process()
612 demangle(r, data, len, &r->mppe.sendkey, &r->mppe.sendkeylen); in radius_Process()
781 r->mppe.policy = 0; in radius_Init()
782 r->mppe.types = 0; in radius_Init()
783 r->mppe.recvkey = NULL; in radius_Init()
[all …]
H A Dccp.c202 if (ccp->cfg.mppe.keybits) in ccp_ReportStatus()
203 prompt_Printf(arg->prompt, "%d bits, ", ccp->cfg.mppe.keybits); in ccp_ReportStatus()
206 switch (ccp->cfg.mppe.state) { in ccp_ReportStatus()
218 ccp->cfg.mppe.required ? ", required" : ""); in ccp_ReportStatus()
261 ccp->cfg.mppe.keybits = 0; in ccp_Init()
262 ccp->cfg.mppe.state = MPPE_ANYSTATE; in ccp_Init()
263 ccp->cfg.mppe.required = 0; in ccp_Init()
H A Dradius.h70 } mppe; member
H A Dccp.h79 } mppe; member
H A Dcommand.c1789 l->ccp.cfg.mppe.keybits = 0; in SetVariable()
1790 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable()
1791 l->ccp.cfg.mppe.required = 0; in SetVariable()
1808 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable()
1810 l->ccp.cfg.mppe.state = MPPE_STATELESS; in SetVariable()
1812 l->ccp.cfg.mppe.state = MPPE_STATEFUL; in SetVariable()
1820 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable()
1821 l->ccp.cfg.mppe.keybits = long_val; in SetVariable()
1822 l->ccp.cfg.mppe.required = 1; in SetVariable()
/freebsd/share/examples/ppp/
H A Dppp.conf.sample135 disable pred1 deflate mppe
136 deny pred1 deflate mppe
779 disable deflate pred1 mppe
780 deny deflate pred1 mppe
787 disable deflate pred1 mppe
788 deny deflate pred1 mppe
/freebsd/sys/netgraph/
H A Dng_mppc.c109 SYSCTL_NODE(_net_graph, OID_AUTO, mppe, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,