Lines Matching refs:u_char
110 static u_char nak_buffer[PPP_MRU]; /* where we construct a nak packet */
117 static void lcp_addci (fsm*, u_char*, int*); /* Add our CI to pkt */
118 static int lcp_ackci (fsm*, u_char*, int); /* Peer ack'd our CI */
119 static int lcp_nakci (fsm*, u_char*, int); /* Peer nak'd our CI */
120 static int lcp_rejci (fsm*, u_char*, int); /* Peer rej'd our CI */
121 static int lcp_reqci (fsm*, u_char*, int*, int); /* Rcv peer CI */
126 static int lcp_extcode (fsm*, int, u_char, u_char*, int);
127 static void lcp_rprotrej (fsm*, u_char*, int);
136 static void lcp_received_echo_reply (fsm*, int, u_char*, int);
164 static void lcp_input (int, u_char *, int);
287 xmit_accm[unit][0] = (u_char)((ao->asyncmap & 0xFF));
288 xmit_accm[unit][1] = (u_char)((ao->asyncmap >> 8) & 0xFF);
289 xmit_accm[unit][2] = (u_char)((ao->asyncmap >> 16) & 0xFF);
290 xmit_accm[unit][3] = (u_char)((ao->asyncmap >> 24) & 0xFF);
395 lcp_input(int unit, u_char *p, int len)
407 lcp_extcode(fsm *f, int code, u_char id, u_char *inp, int len)
409 u_char *magp;
446 lcp_rprotrej(fsm *f, u_char *inp, int len)
503 lcp_sprotrej(int unit, u_char *p, int len)
562 lcp_addci(fsm *f, u_char *ucp, int *lenp)
565 u_char *start_ucp = ucp;
637 lcp_ackci(fsm *f, u_char *p, int len)
640 u_char cilen, citype, cichar;
759 lcp_nakci(fsm *f, u_char *p, int len)
763 u_char citype, cichar, *next;
1079 lcp_rejci(fsm *f, u_char *p, int len)
1082 u_char cichar;
1224 u_char *inp, /* Requested CIs */
1231 u_char *cip, *next; /* Pointer to current and next CIs */
1233 u_char cichar; /* Parsed char value */
1238 u_char *p; /* Pointer to next char to parse */
1239 u_char *rejp; /* Pointer to next char in reject frame */
1240 u_char *nakp; /* Pointer to next char in Nak frame */
1772 lcp_printpkt( u_char *p, int plen, void (*printer) (void *, char *, ...), void *arg)
1775 u_char *pstart, *optend;
1979 lcp_received_echo_reply (fsm *f, int id, u_char *inp, int len)
2007 u_char pkt[4], *pktp;
2026 fsm_sdata(f, ECHOREQ, (u_char)(lcp_echo_number++ & 0xFF), pkt, (int)(pktp - pkt));