Lines Matching full:we
66 * When the link comes up we want to be able to wait for a short while,
68 * configure-requests. We do this by delaying the fsm_lowerup call.
225 static void lcp_up(fsm *f); /* We're UP */
226 static void lcp_down(fsm *f); /* We're DOWN */
227 static void lcp_starting (fsm *); /* We need lower layer up */
228 static void lcp_finished (fsm *); /* We need lower layer down */
254 lcp_starting, /* Called when we want the lower layer up */
255 lcp_finished, /* Called when we want the lower layer down */
445 * because we are in passive/silent mode or because we have in lcp_close()
463 * if we are going to ask for A/C and protocol compression. in lcp_lowerup()
636 * rejected packet. We only get here if LCP is in the OPENED state. in lcp_sprotrej()
785 * NB: we only ask for one of CHAP, UPAP, or EAP, even if we will in lcp_cilen()
786 * accept more than one. We prefer EAP first, then CHAP, then in lcp_cilen()
955 * CIs must be in exactly the same order that we sent. in lcp_ackci()
957 * If we find any deviations, then this packet is bad. in lcp_ackci()
1134 lcp_options no; /* options we've seen Naks for */ in lcp_nakci()
1143 * Any Nak'd CIs must be in exactly the same order that we sent. in lcp_nakci()
1145 * If we find any deviations, then this packet is bad. in lcp_nakci()
1235 * We don't care if they want to send us smaller packets than in lcp_nakci()
1236 * we want. Therefore, accept any MRU less than what we asked for, in lcp_nakci()
1238 * If they send us a bigger MRU than what we asked, accept it, up to in lcp_nakci()
1239 * the limit of the default MRU we'd get if we didn't negotiate. in lcp_nakci()
1292 /* If we were asking for EAP, then we need to stop that. */ in lcp_nakci()
1299 /* If we were asking for CHAP, then we need to stop that. */ in lcp_nakci()
1306 * If we weren't asking for CHAP or EAP, then we were asking for in lcp_nakci()
1317 /* Stop asking for EAP, if we were. */ in lcp_nakci()
1327 * We were asking for our preferred algorithm, they must in lcp_nakci()
1332 /* Use their suggestion if we support it ... */ in lcp_nakci()
1349 * Stop asking for PAP if we were asking for it. in lcp_nakci()
1362 * If we were asking for EAP, and they're Conf-Naking EAP, in lcp_nakci()
1369 * We don't recognize what they're suggesting. in lcp_nakci()
1370 * Stop asking for what we were asking for. in lcp_nakci()
1396 * If they can't cope with our link quality protocol, we'll have in lcp_nakci()
1397 * to stop asking for LQR. We haven't got any other protocol. in lcp_nakci()
1435 * than the one we want. in lcp_nakci()
1463 * on an option that we didn't include in our request packet. in lcp_nakci()
1464 * If we see an option that we requested, or one we've already seen in lcp_nakci()
1466 * If we wanted to respond by starting to negotiate on the requested in lcp_nakci()
1467 * option(s), we could, but we don't, because except for the in lcp_nakci()
1468 * authentication type and quality protocol, if we are not negotiating in lcp_nakci()
1469 * an option, it is because we were told not to. in lcp_nakci()
1473 * reports', but if we didn't ask for them, we don't want them. in lcp_nakci()
1474 * An option we don't recognize represents the peer asking to in lcp_nakci()
1475 * negotiate some option we don't support, so ignore it. in lcp_nakci()
1557 * OK, the Nak is good. Now we can update state. in lcp_nakci()
1558 * If there are any options left we ignore them. in lcp_nakci()
1600 * Any Rejected CIs must be in exactly the same order that we sent. in lcp_rejci()
1602 * If we find any deviations, then this packet is bad. in lcp_rejci()
1798 * Now we can update state. in lcp_rejci()
1886 * we'll just ignore it. in lcp_reqci()
1936 * Reject the option if we're not willing to authenticate. in lcp_reqci()
1949 * with two or more authenticate-protocol requests, then we will in lcp_reqci()
1951 * Whether we end up doing CHAP, UPAP, or EAP depends then on in lcp_reqci()
1957 /* we've already accepted CHAP or EAP */ in lcp_reqci()
1970 if (!ao->neg_upap) { /* we don't want to do PAP */ in lcp_reqci()
1995 /* we've already accepted PAP or EAP */ in lcp_reqci()
2008 if (!ao->neg_chap) { /* we don't want to do CHAP */ in lcp_reqci()
2029 * We can't/won't do the requested type, in lcp_reqci()
2046 /* we've already accepted CHAP or PAP */ in lcp_reqci()
2059 if (!ao->neg_eap) { /* we don't want to do EAP */ in lcp_reqci()
2084 * We don't recognize the protocol they're asking for. in lcp_reqci()
2085 * Nak it with something we're willing to do. in lcp_reqci()
2086 * (At this point we know ao->neg_upap || ao->neg_chap || in lcp_reqci()
2127 * XXX When should we Nak this, and what with? in lcp_reqci()
2257 * If we wanted to send additional NAKs (for unsent CIs), the in lcp_reqci()
2259 * At present there are no cases where we want to ask the in lcp_reqci()
2304 * Set our MTU to the smaller of the MTU we wanted and in lcp_up()
2305 * the MRU our peer wanted. If we negotiated an MRU, in lcp_up()
2306 * set our MRU to the larger of value we wanted and in lcp_up()
2307 * the value we got in the negotiation. in lcp_up()
2310 * MTU we want to use, and our link MRU. in lcp_up()