Lines Matching defs:ao

505     lcp_options *ao = &lcp_allowoptions[unit];
526 BZERO(ao, sizeof(*ao));
527 ao->neg_mru = 1;
528 ao->neg_asyncmap = 1;
529 ao->neg_chap = 1;
540 ao->neg_mschap = 1;
543 ao->neg_mschapv2 = 1;
547 ao->chap_mdtype = CHAP_DIGEST_MD5;
548 ao->neg_upap = 1;
549 ao->neg_magicnumber = 1;
550 ao->neg_pcompression = 1;
551 ao->neg_accompression = 1;
553 ao->neg_cbcp = 1;
555 ao->neg_endpoint = 1;
557 ao->neg_fcs = 1;
558 ao->fcs_type = FCSALT_NULL|FCSALT_16|FCSALT_32;
847 lcp_options *ao = &lcp_allowoptions[f->unit];
858 ao->neg_endpoint = 0;
861 if (ao->mru > absmax_mtu)
862 ao->mru = absmax_mtu;
1018 lcp_options *ao = &lcp_allowoptions[f->unit];
1166 go->pppmux = ao->pppmux;
1403 * ao->lqr_period isn't zero, then take his suggestion. If he
1840 lcp_options *ao = &lcp_allowoptions[f->unit];
1852 ao->mru = ao->mrru;
1867 if (ao->mrru != 0) {
1868 if (ao->mrru+6 > PPP_MTU)
1869 ao->mru = PPP_MTU;
1871 ao->mru = ao->mrru + 6;
1877 if (ao->mru > absmax_mtu)
1878 ao->mru = absmax_mtu;
1901 if (!ao->neg_mru) {
1908 cishort = ao->mru;
1919 if (cishort < ao->mru) {
1921 cishort = ao->mru;
1943 if (!ao->neg_asyncmap) {
1958 if ((ao->asyncmap & ~cilong) != 0)
1984 PUTLONG(ao->asyncmap | cilong, nakp);
1991 if (!(ao->neg_upap || ao->neg_chap || ao->neg_mschap ||
1992 ao->neg_mschapv2)) {
2022 * Note: if both ao->neg_upap and ao->neg_*chap* are
2038 if (ao->neg_upap) {
2047 (ao->neg_chap || ao->neg_mschap || ao->neg_mschapv2)) {
2049 if (cichar == CHAP_DIGEST_MD5 && ao->neg_chap)
2051 else if (cichar == CHAP_MICROSOFT && ao->neg_mschap)
2054 ao->neg_mschapv2)
2068 * (At this point we know ao->neg_upap || ao->neg_chap.)
2071 if (ao->neg_chap || ao->neg_mschap || ao->neg_mschapv2) {
2074 PUTCHAR(ao->chap_mdtype, nakp);
2088 if (!ao->neg_lqr) {
2095 cilong = ao->lqr_period;
2108 cilong < ao->lqr_period) {
2110 if ((cilong = ao->lqr_period) == 0)
2127 if (!(ao->neg_magicnumber || go->neg_magicnumber)) {
2170 if (!ao->neg_pcompression) {
2183 if (!ao->neg_accompression) {
2196 if (!ao->neg_fcs) {
2203 cichar = ao->fcs_type;
2208 if (cichar & ~ao->fcs_type) {
2209 if ((cichar &= ao->fcs_type) == 0) {
2226 if (!ao->neg_mrru || !multilink) {
2232 cishort = ao->mrru;
2235 if (cishort < ao->mrru) {
2237 cishort = ao->mrru;
2257 if (!ao->neg_ssnhf || !multilink) {
2270 if (!ao->neg_endpoint) {
2279 PUTCHAR(CILEN_CHAR + ao->endpoint.length, nakp);
2280 PUTCHAR(ao->endpoint.class, nakp);
2281 for (i = 0; i < ao->endpoint.length; i++)
2282 PUTCHAR(ao->endpoint.value[i], nakp);
2294 if (ao->pppmux == 0 || cilen != CILEN_VOID) {
2299 ho->pppmux = ao->pppmux;
2348 if (ret != CODE_CONFREJ && !ho->neg_mru && ao->mru > PPP_MTU &&
2354 PUTSHORT(ao->mru, nakp);
2394 lcp_options *ao = &lcp_allowoptions[f->unit];
2408 if (ao->mru != 0 && ho->mru > ao->mru)
2409 ho->mru = ao->mru;