Lines Matching refs:bundle

434   struct radius *r = &fp->bundle->radius;  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()
473 MPPE_ConfigVal(struct bundle *bundle __unused, const struct ccp_config *cfg) 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()
512 MPPEInitOptsOutput(struct bundle *bundle, struct fsm_opt *o, in MPPEInitOptsOutput() argument
528 mval = MPPE_ConfigVal(bundle, cfg); in MPPEInitOptsOutput()
536 MPPESetOptsOutput(struct bundle *bundle, struct fsm_opt *o, in MPPESetOptsOutput() argument
547 mval = MPPE_ConfigVal(bundle, cfg); in MPPESetOptsOutput()
575 MPPESetOptsInput(struct bundle *bundle, struct fsm_opt *o, in MPPESetOptsInput() argument
591 mval = MPPE_ConfigVal(bundle, cfg); in MPPESetOptsInput()
679 MPPEInitInput(struct bundle *bundle __unused, struct fsm_opt *o) in MPPEInitInput()
696 if (*bundle->radius.cfg.file && bundle->radius.mppe.recvkey) { in MPPEInitInput()
697 if (mip->keylen > bundle->radius.mppe.recvkeylen) in MPPEInitInput()
698 mip->keylen = bundle->radius.mppe.recvkeylen; in MPPEInitInput()
701 memcpy(mip->mastkey, bundle->radius.mppe.recvkey, mip->keylen); in MPPEInitInput()
735 MPPEInitOutput(struct bundle *bundle __unused, struct fsm_opt *o) in MPPEInitOutput()
752 if (*bundle->radius.cfg.file && bundle->radius.mppe.sendkey) { in MPPEInitOutput()
753 if (mop->keylen > bundle->radius.mppe.sendkeylen) in MPPEInitOutput()
754 mop->keylen = bundle->radius.mppe.sendkeylen; in MPPEInitOutput()
757 memcpy(mop->mastkey, bundle->radius.mppe.sendkey, mop->keylen); in MPPEInitOutput()