Lines Matching refs:ao
341 lcp_options *ao = &lcp_allowoptions[unit]; local
357 BZERO(ao, sizeof(*ao));
358 ao->neg_mru = 1;
359 ao->mru = MAXMRU;
360 ao->neg_asyncmap = 1;
361 ao->neg_chap = 1;
362 ao->chap_mdtype = chap_mdtype_all;
363 ao->neg_upap = 1;
364 ao->neg_eap = 1;
365 ao->neg_magicnumber = 1;
366 ao->neg_pcompression = 1;
367 ao->neg_accompression = 1;
368 ao->neg_endpoint = 1;
650 lcp_options *ao = &lcp_allowoptions[f->unit]; local
661 ao->neg_endpoint = 0;
1511 lcp_options *ao = &lcp_allowoptions[f->unit]; local
1554 if (!ao->neg_mru || /* Allow option? */
1578 if (!ao->neg_asyncmap ||
1589 if ((ao->asyncmap & ~cilong) != 0) {
1593 PUTLONG(ao->asyncmap | cilong, nakp);
1602 !(ao->neg_upap || ao->neg_chap || ao->neg_eap)) {
1631 if (!ao->neg_upap) { /* we don't want to do PAP */
1634 if (ao->neg_eap) {
1640 PUTCHAR(CHAP_DIGEST(ao->chap_mdtype), nakp);
1655 if (!ao->neg_chap) { /* we don't want to do CHAP */
1659 if (ao->neg_eap) {
1667 if (!(CHAP_CANDIGEST(ao->chap_mdtype, cichar))) {
1676 PUTCHAR(CHAP_DIGEST(ao->chap_mdtype), nakp);
1690 if (!ao->neg_eap) { /* we don't want to do EAP */
1693 if (ao->neg_chap) {
1696 PUTCHAR(CHAP_DIGEST(ao->chap_mdtype), nakp);
1715 if (ao->neg_eap) {
1718 } else if (ao->neg_chap) {
1721 PUTCHAR(CHAP_DIGEST(ao->chap_mdtype), nakp);
1729 if (!ao->neg_lqr ||
1747 PUTLONG(ao->lqr_period, nakp);
1753 if (!(ao->neg_magicnumber || go->neg_magicnumber) ||
1778 if (!ao->neg_pcompression ||
1787 if (!ao->neg_accompression ||
1796 if (!ao->neg_mrru || !multilink ||
1809 if (!ao->neg_ssnhf || !multilink ||
1818 if (!ao->neg_endpoint ||
1900 lcp_options *ao = &lcp_allowoptions[f->unit]; local
1922 netif_set_mtu(f->unit, MIN(MIN(mtu, mru), ao->mru));