Home | History | Annotate | Download | only in pppd

Lines Matching refs:opt

242 #define ANY_COMPRESS(opt)	((opt).deflate || (opt).bsd_compress \
243 || (opt).predictor_1 || (opt).predictor_2 \
244 || (opt).mppe)
1121 /* Check state opt */
1356 method_name(opt, opt2)
1357 ccp_options *opt, *opt2;
1361 if (!ANY_COMPRESS(*opt))
1363 switch (opt->method) {
1372 if (opt->mppe & MPPE_OPT_128) {
1376 if (opt->mppe & MPPE_OPT_40) {
1380 if (opt->mppe & MPPE_OPT_STATEFUL)
1390 if (opt2 != NULL && opt2->deflate_size != opt->deflate_size)
1392 (opt->method == CI_DEFLATE_DRAFT? "(old#)": ""),
1393 opt->deflate_size, opt2->deflate_size);
1396 (opt->method == CI_DEFLATE_DRAFT? "(old#)": ""),
1397 opt->deflate_size);
1400 if (opt2 != NULL && opt2->bsd_bits != opt->bsd_bits)
1402 opt->bsd_bits, opt2->bsd_bits);
1405 opt->bsd_bits);
1412 slprintf(result, sizeof(result), "Method %d", opt->method);