Home | History | Annotate | Download | only in src

Lines Matching full:nak

623   struct fsm_opt nak;
625 nak.hdr.id = TY_AUTHPROTO;
628 nak.hdr.len = 4;
629 nak.data[0] = (unsigned char)(PROTO_PAP >> 8);
630 nak.data[1] = (unsigned char)PROTO_PAP;
631 fsm_nak(dec, &nak);
635 nak.hdr.len = 5;
636 nak.data[0] = (unsigned char)(PROTO_CHAP >> 8);
637 nak.data[1] = (unsigned char)PROTO_CHAP;
640 nak.data[2] = 0x05;
641 fsm_nak(dec, &nak);
645 nak.data[2] = 0x80;
646 fsm_nak(dec, &nak);
648 nak.data[2] = 0x81;
649 fsm_nak(dec, &nak);
672 struct fsm_opt *opt, nak;
700 nak.hdr.id = TY_MRRU;
701 nak.hdr.len = 4;
702 ua_htons(&lcp->his_mrru, nak.data);
703 fsm_nak(dec, &nak);
707 nak.hdr.id = TY_MRRU;
708 nak.hdr.len = 4;
709 ua_htons(&lcp->his_mrru, nak.data);
710 fsm_nak(dec, &nak);
762 nak.hdr.id = TY_MRU;
763 nak.hdr.len = 4;
764 ua_htons(&lcp->his_mru, nak.data);
765 fsm_nak(dec, &nak);
769 nak.hdr.id = TY_MRU;
770 nak.hdr.len = 4;
771 ua_htons(&lcp->his_mru, nak.data);
772 fsm_nak(dec, &nak);
926 /* We've been NAK'd with something we don't understand :-( */
1014 /* MorningStar before v1.3 needs NAK */
1039 /* MorningStar before v1.3 needs NAK */
1108 nak.hdr.id = opt->hdr.id;
1109 nak.hdr.len = 3;
1124 nak.data[0] = CALLBACK_AUTH;
1125 fsm_nak(dec, &nak);
1127 nak.data[0] = CALLBACK_CBCP;
1128 fsm_nak(dec, &nak);
1130 nak.data[0] = CALLBACK_E164;
1131 fsm_nak(dec, &nak);
1135 nak.data[0] = 2;
1136 fsm_nak(dec, &nak);
1187 * We ignore the NAK and honour our configuration file instead.
1216 /* XXX: If mp->active, compare and NAK with mp->peer ? */
1261 nak.hdr.id = TY_CALLBACK;
1262 nak.hdr.len = 3;
1265 nak.data[0] = CALLBACK_AUTH;
1267 nak.data[0] = CALLBACK_CBCP;
1269 nak.data[0] = CALLBACK_E164;
1273 nak.hdr.len = 2; /* XXX: Silly ! */
1275 fsm_nak(dec, &nak);
1287 nak.hdr.id = TY_MRU;
1288 nak.hdr.len = 4;
1289 ua_htons(&lcp->his_mru, nak.data);
1290 fsm_nak(dec, &nak);
1291 lcp->mru_req = 1; /* Don't keep NAK'ing this */