Home | History | Annotate | Download | only in pppd

Lines Matching full:nak

200 static u_char nak_buffer[PPP_MRU];	/* where we construct a nak packet */
209 static int lcp_nakci __P((fsm *, u_char *, int, int)); /* Peer nak'd our CI */
236 lcp_nakci, /* NAK our Configuration Information */
294 (x) == CONFNAK ? "NAK" : "REJ")
918 * lcp_nakci - Peer has sent a NAK for some of our CIs.
919 * This should not modify any state if the Nak is bad
923 * 0 - Nak was bad.
924 * 1 - Nak was good.
947 * Any Nak'd CIs must be in exactly the same order that we sent.
1058 * If they've nak'd our authentication-protocol, check whether
1082 * PAP, in which case this Nak is bad.
1112 * Whoops, they Nak'd our algorithm of choice
1131 dbglog("Unexpected Conf-Nak for EAP");
1150 * If they Nak the reporting period, take their value XXX ?
1175 * Peer shouldn't send Nak for protocol compression or
1177 * a Reject instead. If they send a Nak, treat it as a Reject.
1183 * Nak for MRRU option - accept their value if it is smaller
1196 * Nak for short sequence numbers shouldn't be sent, treat it
1202 * Nak of the endpoint discriminator option is not permitted,
1216 * For the authentication type, the Nak from the peer means
1218 * For the quality protocol, the Nak means `ask me to send you quality
1288 * OK, the Nak is good. Now we can update state.
1306 LCPDEBUG(("lcp_nakci: received bad Nak!"));
1497 u_char *nakp; /* Pointer to next char in Nak frame */
1544 orc = CONFNAK; /* Nak CI */
1609 orc = CONFNAK; /* NAK it and suggest CHAP or EAP */
1633 orc = CONFNAK; /* NAK it and suggest EAP or PAP */
1668 orc = CONFNAK; /* NAK it and suggest CHAP or PAP */
1686 * Nak it with something we're willing to do.
1717 * XXX When should we Nak this, and what with?
1821 if (orc == CONFNAK) { /* Nak this CI? */
1852 * Copy the Nak'd options from the nak_buffer to the caller's buffer.