Home
last modified time | relevance | path

Searched refs:u_char (Results 1 – 20 of 20) sorted by relevance

/lk-master/external/lib/lwip/netif/ppp/
A Dchpms.c101 u_char NTResp[24];
117 static void DesEncrypt (u_char *, u_char *, u_char *);
118 static void MakeKey (u_char *, u_char *);
121 static void Expand (u_char *, u_char *);
122 static void Collapse (u_char *, u_char *);
137 static u_char Get7Bits(
138 u_char *input,
172 u_char des_key[8]; in DesEncrypt()
226 static u_char
246 Expand(u_char *in, u_char *out) in Expand()
[all …]
A Dfsm.h60 #define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
83 u_char id; /* Current id */
84 u_char reqid; /* Current request id */
85 u_char seen_ack; /* Have received valid Ack/Nak/Rej to Req */
101 void (*addci)(fsm*, u_char*, int*); /* Add our Configuration Information */
102 int (*ackci)(fsm*, u_char*, int); /* ACK our Configuration Information */
103 int (*nakci)(fsm*, u_char*, int); /* NAK our Configuration Information */
104 int (*rejci)(fsm*, u_char*, int); /* Reject our Configuration Information */
112 int (*extcode)(fsm*, int, u_char, u_char*, int); /* Called when unknown code received */
147 void fsm_input (fsm*, u_char*, int);
[all …]
A Dchap.h103 u_char challenge[MAX_CHALLENGE_LENGTH]; /* last challenge string sent */
104 u_char chal_len; /* challenge length */
105 u_char chal_id; /* ID of last challenge */
106 u_char chal_type; /* hash algorithm for challenges */
107 u_char id; /* Current id */
114 u_char response[MAX_RESPONSE_LENGTH]; /* Response to send */
115 u_char resp_length; /* length of response */
116 u_char resp_id; /* ID for response messages */
117 u_char resp_type; /* hash algorithm for responses */
145 void ChapAuthWithPeer (int, char *, u_char);
[all …]
A Dpap.c125 static void upap_rauthreq (upap_state *, u_char *, u_char, int);
337 u_char *inp; in upap_input()
338 u_char code, id; in upap_input()
390 upap_rauthreq(upap_state *u, u_char *inp, u_char id, int len) in upap_rauthreq()
394 u_char retcode; in upap_rauthreq()
425 len -= sizeof (u_char) + ruserlen + sizeof (u_char); in upap_rauthreq()
468 u_char msglen; in upap_rauthack()
510 u_char msglen; in upap_rauthnak()
552 u_char *outp; in upap_sauthreq()
586 u_char *outp; in upap_sresp()
[all …]
A Dppp_impl.h160 typedef u_char ext_accm[32];
182 *(cp)++ = (u_char) (c); \
191 *(cp)++ = (u_char) ((s) >> 8); \
192 *(cp)++ = (u_char) (s & 0xff); \
202 *(cp)++ = (u_char) ((l) >> 24); \
203 *(cp)++ = (u_char) ((l) >> 16); \
204 *(cp)++ = (u_char) ((l) >> 8); \
205 *(cp)++ = (u_char) (l); \
212 #define BCMP(s0, s1, l) memcmp((u_char *)(s0), (u_char *)(s1), (l))
256 int (*printpkt) (u_char *pkt, int len,
[all …]
A Dchap.c144 static void ChapReceiveChallenge (chap_state *, u_char *, u_char, int);
366 u_char *inp; in ChapInput()
367 u_char code, id; in ChapInput()
423 ChapReceiveChallenge(chap_state *cstate, u_char *inp, u_char id, int len) in ChapReceiveChallenge()
426 u_char *rchallenge; in ChapReceiveChallenge()
640 ChapReceiveSuccess(chap_state *cstate, u_char *inp, u_char id, int len) in ChapReceiveSuccess()
678 ChapReceiveFailure(chap_state *cstate, u_char *inp, u_char id, int len) in ChapReceiveFailure()
712 u_char *outp; in ChapSendChallenge()
748 u_char *outp; in ChapSendStatus()
813 u_char *outp; in ChapSendResponse()
[all …]
A Drandm.c90 MD5Update(&md5, (u_char *)randPool, sizeof(randPool)); in avChurnRand()
92 MD5Update(&md5, (u_char *)randData, randLen); in avChurnRand()
100 MD5Update(&md5, (u_char *)&sysData, sizeof(sysData)); in avChurnRand()
102 MD5Final((u_char *)randPool, &md5); in avChurnRand()
126 u_char tmp[16]; in avGenRand()
132 MD5Update(&md5, (u_char *)randPool, sizeof(randPool)); in avGenRand()
133 MD5Update(&md5, (u_char *)&randCount, sizeof(randCount)); in avGenRand()
A Dvj.h108 u_char cs_id; /* connection # associated with this state */
109 u_char cs_filler;
135 u_char last_recv; /* last rcvd conn. id */
136 u_char last_xmit; /* last sent conn. id */
138 u_char maxSlotIndex;
139 u_char compressSlot; /* Flag indicating OK to compress slot ID. */
A Dfsm.c85 static void fsm_rconfreq (fsm *, u_char, u_char *, int);
382 fsm_input(fsm *f, u_char *inpacket, int l) in fsm_input()
384 u_char *inp = inpacket; in fsm_input()
385 u_char code, id; in fsm_input()
462 fsm_rconfreq(fsm *f, u_char id, u_char *inp, int len) in fsm_rconfreq()
596 int (*proc) (fsm *, u_char *, int); in fsm_rconfnakrej()
733 fsm_rcoderej(fsm *f, u_char *inp, int len) in fsm_rcoderej()
735 u_char code, id; in fsm_rcoderej()
814 u_char *outp; in fsm_sconfreq()
867 fsm_sdata( fsm *f, u_char code, u_char id, u_char *data, int datalen) in fsm_sdata()
[all …]
A Dvj.c53 register u_char i; in vj_compress_init()
81 cp[1] = (u_char)(n); \
82 cp[0] = (u_char)((n) >> 8); \
85 *cp++ = (u_char)(n); \
91 cp[1] = (u_char)(n); \
95 *cp++ = (u_char)(n); \
148 u_char new_seq[16]; in vj_compress_tcp()
392 *cp++ = (u_char)changes; in vj_compress_tcp()
395 *cp++ = (u_char)deltaA; in vj_compress_tcp()
466 u_char *cp; in vj_uncompress_tcp()
[all …]
A Dpap.h60 #define UPAP_HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
81 u_char us_id; /* Current id */
A Dlcp.c126 static int lcp_extcode (fsm*, int, u_char, u_char*, int);
407 lcp_extcode(fsm *f, int code, u_char id, u_char *inp, int len) in lcp_extcode()
409 u_char *magp; in lcp_extcode()
565 u_char *start_ucp = ucp; in lcp_addci()
637 lcp_ackci(fsm *f, u_char *p, int len) in lcp_ackci()
640 u_char cilen, citype, cichar; in lcp_ackci()
759 lcp_nakci(fsm *f, u_char *p, int len) in lcp_nakci()
763 u_char citype, cichar, *next; in lcp_nakci()
1082 u_char cichar; in lcp_rejci()
1775 u_char *pstart, *optend; in lcp_printpkt()
[all …]
A Dppp.c144 #define PPP_PROTOCOL(p) ((((u_char *)(p))[2] << 8) + ((u_char *)(p))[3])
176 u_char rxbuf[PPPOS_RX_BUFSIZE];
334 static u_char pppACCMMask[] = {
818 u_char c; in pppifOutput()
915 u_char *sPtr; in pppifOutput()
917 sPtr = (u_char*)p->payload; in pppifOutput()
1073 pppWrite(int pd, const u_char *s, int n) in pppWrite()
1077 u_char c; in pppWrite()
1570 u_char *pl; in pppSingleBuf()
1784 u_char curChar; in pppInProc()
[all …]
A Dipcp.c258 ipcp_input(int unit, u_char *p, int len) in ipcp_input()
425 ipcp_ackci(fsm *f, u_char *p, int len) in ipcp_ackci()
430 u_char cimaxslotindex, cicflag; in ipcp_ackci()
545 ipcp_nakci(fsm *f, u_char *p, int len) in ipcp_nakci()
548 u_char cimaxslotindex, cicflag; in ipcp_nakci()
549 u_char citype, cilen, *next; in ipcp_nakci()
750 ipcp_rejci(fsm *f, u_char *p, int len) in ipcp_rejci()
753 u_char cimaxslotindex, ciflag, cilen; in ipcp_rejci()
889 u_char maxslotindex, cflag; in ipcp_reqci()
1383 ip_active_pkt(u_char *pkt, int len) in ip_active_pkt()
[all …]
A Dipcp.h91 u_char maxslotindex; /* VJ slots - 1. */
92 u_char cflag; /* VJ slot compression flag. */
A Dppp.h56 typedef unsigned char u_char; typedef
186 void pppos_input(int pd, u_char* data, int len);
A Dlcp.h105 u_char chap_mdtype; /* which MD type (hashing algorithm) */
143 void lcp_sprotrej (int, u_char *, int); /* send protocol reject */
A Dauth.h100 u_char check_passwd (int, char *, int, char *, int, char **, int *);
A Dauth.c861 u_char
874 u_char ret = 0; in check_passwd()
/lk-master/lib/libc/include/sys/
A Dtypes.h18 typedef unsigned char u_char; typedef

Completed in 34 milliseconds