Lines Matching refs:u_char
220 static void lcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI to pkt */
221 static int lcp_ackci(fsm *f, u_char *p, int len); /* Peer ack'd our CI */
222 static int lcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject); /* Peer nak'd our CI */
223 static int lcp_rejci(fsm *f, u_char *p, int len); /* Peer rej'd our CI */
224 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree); /* Rcv peer CI */
229 static int lcp_extcode(fsm *f, int code, int id, u_char *inp, int len);
230 static void lcp_rprotrej(fsm *f, u_char *inp, int len);
239 static void lcp_received_echo_reply(fsm *f, int id, u_char *inp, int len);
268 static void lcp_input(ppp_pcb *pcb, u_char *p, int len);
271 static int lcp_printpkt(const u_char *p, int plen,
509 static void lcp_input(ppp_pcb *pcb, u_char *p, int len) { in lcp_input()
523 static int lcp_extcode(fsm *f, int code, int id, u_char *inp, int len) { in lcp_extcode()
526 u_char *magp; in lcp_extcode()
562 static void lcp_rprotrej(fsm *f, u_char *inp, int len) { in lcp_rprotrej()
632 void lcp_sprotrej(ppp_pcb *pcb, u_char *p, int len) { in lcp_sprotrej()
834 static void lcp_addci(fsm *f, u_char *ucp, int *lenp) { in lcp_addci()
837 u_char *start_ucp = ucp; in lcp_addci()
947 static int lcp_ackci(fsm *f, u_char *p, int len) { in lcp_ackci()
950 u_char cilen, citype, cichar; in lcp_ackci()
1127 static int lcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject) { in lcp_nakci()
1131 u_char citype, cichar, *next; in lcp_nakci()
1589 static int lcp_rejci(fsm *f, u_char *p, int len) { in lcp_rejci()
1592 u_char cichar; in lcp_rejci()
1820 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree) { in lcp_reqci()
1825 u_char *cip, *next; /* Pointer to current and next CIs */ in lcp_reqci()
1831 u_char *p; /* Pointer to next char to parse */ in lcp_reqci()
1832 u_char *rejp; /* Pointer to next char in reject frame */ in lcp_reqci()
1834 u_char *nakoutp; /* Pointer to next char in Nak frame */ in lcp_reqci()
1854 nakoutp = (u_char*)nakp->payload; in lcp_reqci()
2271 *lenp = nakoutp - (u_char*)nakp->payload; in lcp_reqci()
2384 static int lcp_printpkt(const u_char *p, int plen, in lcp_printpkt()
2387 const u_char *pstart, *optend; in lcp_printpkt()
2686 static void lcp_received_echo_reply(fsm *f, int id, u_char *inp, int len) { in lcp_received_echo_reply()
2716 u_char pkt[4], *pktp; in LcpSendEchoRequest()