• Home
  • Raw
  • Download

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 },
260 || (opt)->mppe in ccp_anycompress()
468 if (go->mppe) { in ccp_input()
530 if (go->mppe) { in ccp_protrej()
557 wo->mppe = ao->mppe = in ccp_resetci()
567 if (go->mppe) { in ccp_resetci()
613 if (go->mppe & MPPE_OPT_40) { in ccp_resetci()
615 go->mppe &= ~MPPE_OPT_40; in ccp_resetci()
616 wo->mppe &= ~MPPE_OPT_40; in ccp_resetci()
621 if (!(go->mppe & (MPPE_OPT_40 | MPPE_OPT_128))) { in ccp_resetci()
629 ao->mppe = go->mppe; in ccp_resetci()
760 + (go->mppe? CILEN_MPPE: 0) in ccp_cilen()
778 if (go->mppe) { in ccp_addci()
781 MPPE_OPTS_TO_CI(go->mppe, &p[2]); in ccp_addci()
782 mppe_init(pcb, &pcb->mppe_decomp, go->mppe); in ccp_addci()
843 if (go->mppe) { in ccp_ackci()
848 MPPE_OPTS_TO_CI(go->mppe, &opt_buf[2]); in ccp_ackci()
943 if (go->mppe && len >= CILEN_MPPE in ccp_nakci()
945 no.mppe = 1; in ccp_nakci()
950 MPPE_CI_TO_OPTS(&p[2], try_.mppe); in ccp_nakci()
951 if ((try_.mppe & MPPE_OPT_STATEFUL) && pcb->settings.refuse_mppe_stateful) { in ccp_nakci()
953 try_.mppe = 0; in ccp_nakci()
954 } else if (((go->mppe | MPPE_OPT_STATEFUL) & try_.mppe) != try_.mppe) { in ccp_nakci()
956 try_.mppe = 0; in ccp_nakci()
959 if (!try_.mppe) { in ccp_nakci()
1036 if (go->mppe && len >= CILEN_MPPE in ccp_rejci()
1142 if (!ao->mppe || clen != CILEN_MPPE) { in ccp_reqci()
1146 MPPE_CI_TO_OPTS(&p[2], ho->mppe); in ccp_reqci()
1149 if (ho->mppe & MPPE_OPT_UNSUPPORTED) { in ccp_reqci()
1151 ho->mppe &= ~MPPE_OPT_UNSUPPORTED; in ccp_reqci()
1153 if (ho->mppe & MPPE_OPT_UNKNOWN) { in ccp_reqci()
1155 ho->mppe &= ~MPPE_OPT_UNKNOWN; in ccp_reqci()
1159 if (ho->mppe & MPPE_OPT_STATEFUL) { in ccp_reqci()
1174 if ((ho->mppe & MPPE_OPT_128) in ccp_reqci()
1175 && (ho->mppe & MPPE_OPT_40)) { in ccp_reqci()
1178 if (ao->mppe & MPPE_OPT_128) in ccp_reqci()
1179 ho->mppe &= ~MPPE_OPT_40; in ccp_reqci()
1180 else if (ao->mppe & MPPE_OPT_40) in ccp_reqci()
1181 ho->mppe &= ~MPPE_OPT_128; in ccp_reqci()
1186 } else if (ho->mppe & MPPE_OPT_128) { in ccp_reqci()
1187 if (!(ao->mppe & MPPE_OPT_128)) { in ccp_reqci()
1191 } else if (ho->mppe & MPPE_OPT_40) { in ccp_reqci()
1192 if (!(ao->mppe & MPPE_OPT_40)) { in ccp_reqci()
1202 ho->mppe = ao->mppe; in ccp_reqci()
1206 MPPE_OPTS_TO_CI(ho->mppe, &p[2]); in ccp_reqci()
1210 mppe_init(pcb, &pcb->mppe_comp, ho->mppe); in ccp_reqci()
1377 if (ret == CONFREJ && ao->mppe && rej_for_ci_mppe) { in ccp_reqci()
1405 if (opt->mppe & MPPE_OPT_128) { in method_name()
1409 if (opt->mppe & MPPE_OPT_40) { in method_name()
1413 if (opt->mppe & MPPE_OPT_STATEFUL) in method_name()
1480 if (go->mppe) { in ccp_up()
1500 if (go->mppe) { in ccp_down()
1501 go->mppe = 0; in ccp_down()
1680 if (go->mppe) { in ccp_datainput()