Lines Matching defs:go
413 * LCP has terminated the link; go to the Dead phase and take the
514 lcp_options *go = &lcp_gotoptions[unit];
527 if (auth_required && !(go->neg_chap || go->neg_mschap ||
528 go->neg_mschapv2 || go->neg_upap)) {
548 if (go->neg_chap || go->neg_mschap || go->neg_mschapv2) {
549 if (go->neg_chap) {
552 go->chap_mdtype = CHAP_DIGEST_MD5;
553 } else if (go->neg_mschap) {
556 go->chap_mdtype = CHAP_MICROSOFT;
560 go->chap_mdtype = CHAP_MICROSOFT_V2;
562 ChapAuthPeer(unit, our_name, go->chap_mdtype);
564 } else if (go->neg_upap) {
615 lcp_options *go = &lcp_gotoptions[unit];
620 if (go->neg_chap || go->neg_mschap || go->neg_mschapv2 || go->neg_upap) {
643 if (go->neg_cbcp) {
1021 lcp_options *go = &lcp_gotoptions[unit];
1039 if (go->neg_upap && !uselogin && !have_pap_secret(NULL))
1040 go->neg_upap = 0;
1041 if (go->neg_chap || go->neg_mschap || go->neg_mschapv2) {
1045 go->neg_chap = go->neg_mschap = go->neg_mschapv2 = 0;
1046 else if (go->neg_chap)
1047 go->chap_mdtype = CHAP_DIGEST_MD5;
1048 else if (go->neg_mschap)
1049 go->chap_mdtype = CHAP_MICROSOFT;
1051 go->chap_mdtype = CHAP_MICROSOFT_V2;