Lines Matching refs:mppe
113 { "require-mppe", o_bool, &ccp_wantoptions[0].mppe,
116 { "+mppe", o_bool, &ccp_wantoptions[0].mppe,
119 { "nomppe", o_bool, &ccp_wantoptions[0].mppe,
121 { "-mppe", o_bool, &ccp_wantoptions[0].mppe,
125 { "require-mppe-40", o_bool, &ccp_allowoptions[0].mppe,
127 &ccp_wantoptions[0].mppe },
128 { "+mppe-40", o_bool, &ccp_allowoptions[0].mppe,
130 &ccp_wantoptions[0].mppe },
131 { "nomppe-40", o_bool, &ccp_allowoptions[0].mppe,
133 OPT_PRIOSUB | OPT_A2CLRB | MPPE_OPT_40, &ccp_wantoptions[0].mppe },
134 { "-mppe-40", o_bool, &ccp_allowoptions[0].mppe,
137 &ccp_wantoptions[0].mppe },
139 { "require-mppe-128", o_bool, &ccp_allowoptions[0].mppe,
141 &ccp_wantoptions[0].mppe },
142 { "+mppe-128", o_bool, &ccp_allowoptions[0].mppe,
145 &ccp_wantoptions[0].mppe },
146 { "nomppe-128", o_bool, &ccp_allowoptions[0].mppe,
148 OPT_PRIOSUB | OPT_A2CLRB | MPPE_OPT_128, &ccp_wantoptions[0].mppe },
149 { "-mppe-128", o_bool, &ccp_allowoptions[0].mppe,
152 &ccp_wantoptions[0].mppe },
244 || (opt).mppe)
458 if (ccp_gotoptions[unit].mppe) {
518 if (ccp_gotoptions[unit].mppe) {
540 if (go->mppe) {
587 if (go->mppe & MPPE_OPT_40) {
589 go->mppe &= ~MPPE_OPT_40;
590 ccp_wantoptions[f->unit].mppe &= ~MPPE_OPT_40;
595 if (!(go->mppe & (MPPE_OPT_40 | MPPE_OPT_128))) {
603 ao->mppe = go->mppe;
617 if (go->mppe) {
620 MPPE_OPTS_TO_CI(go->mppe, &opt_buf[2]);
682 + (go->mppe? CILEN_MPPE: 0);
704 if (go->mppe) {
709 MPPE_OPTS_TO_CI(go->mppe, &p[2]);
710 MPPE_OPTS_TO_CI(go->mppe, &opt_buf[2]);
817 if (go->mppe) {
822 MPPE_OPTS_TO_CI(go->mppe, &opt_buf[2]);
911 if (go->mppe && len >= CILEN_MPPE
913 no.mppe = 1;
918 MPPE_CI_TO_OPTS(&p[2], try.mppe);
919 if ((try.mppe & MPPE_OPT_STATEFUL) && refuse_mppe_stateful) {
921 try.mppe = 0;
922 } else if (((go->mppe | MPPE_OPT_STATEFUL) & try.mppe) != try.mppe) {
924 try.mppe = 0;
927 if (!try.mppe) {
1005 if (go->mppe && len >= CILEN_MPPE
1106 if (!ao->mppe || clen != CILEN_MPPE) {
1110 MPPE_CI_TO_OPTS(&p[2], ho->mppe);
1113 if (ho->mppe & MPPE_OPT_UNSUPPORTED) {
1115 ho->mppe &= ~MPPE_OPT_UNSUPPORTED;
1117 if (ho->mppe & MPPE_OPT_UNKNOWN) {
1119 ho->mppe &= ~MPPE_OPT_UNKNOWN;
1123 if (ho->mppe & MPPE_OPT_STATEFUL) {
1138 if ((ho->mppe & MPPE_OPT_128)
1139 && (ho->mppe & MPPE_OPT_40)) {
1142 if (ao->mppe & MPPE_OPT_128)
1143 ho->mppe &= ~MPPE_OPT_40;
1144 else if (ao->mppe & MPPE_OPT_40)
1145 ho->mppe &= ~MPPE_OPT_128;
1150 } else if (ho->mppe & MPPE_OPT_128) {
1151 if (!(ao->mppe & MPPE_OPT_128)) {
1155 } else if (ho->mppe & MPPE_OPT_40) {
1156 if (!(ao->mppe & MPPE_OPT_40)) {
1166 ho->mppe = ao->mppe;
1170 MPPE_OPTS_TO_CI(ho->mppe, &p[2]);
1348 if (ret == CONFREJ && ao->mppe && rej_for_ci_mppe) {
1376 if (opt->mppe & MPPE_OPT_128) {
1380 if (opt->mppe & MPPE_OPT_40) {
1384 if (opt->mppe & MPPE_OPT_STATEFUL)
1447 if (go->mppe) {
1467 if (ccp_gotoptions[f->unit].mppe) {
1468 ccp_gotoptions[f->unit].mppe = 0;
1641 if (ccp_gotoptions[unit].mppe) {