Searched refs:u_char (Results 1 - 25 of 26) sorted by relevance

12

/seL4-camkes-master/projects/lwip/src/netif/ppp/
H A Dpppcrypt.c41 static u_char pppcrypt_get_7bits(u_char *input, int startBit) {
55 void pppcrypt_56_to_64_bit_key(u_char *key, u_char * des_key) {
H A Dchap_ms.c153 static void ascii2unicode (const char[], int, u_char[]);
154 static void NTPasswordHash (u_char *, int, u_char[MD4_SIGNATURE_SIZE]);
155 static void ChallengeResponse (const u_char *, const u_char *, u_char[24]);
156 static void ChallengeHash (const u_char[16], const u_char *, const char *, u_char[8]);
157 static void ChapMS_NT (const u_char *, cons
[all...]
H A Dupap.c86 static void upap_input(ppp_pcb *pcb, u_char *inpacket, int l);
89 static int upap_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), void *arg);
124 static void upap_rauthreq(ppp_pcb *pcb, u_char *inp, int id, int len);
126 static void upap_rauthack(ppp_pcb *pcb, u_char *inp, int id, int len);
127 static void upap_rauthnak(ppp_pcb *pcb, u_char *inp, int id, int len);
130 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen);
305 static void upap_input(ppp_pcb *pcb, u_char *inpacket, int l) {
306 u_char *inp;
307 u_char cod
[all...]
H A Dmagic.c106 lwip_md5_update(&md5_ctx, (u_char *)magic_randpool, sizeof(magic_randpool));
108 lwip_md5_update(&md5_ctx, (u_char *)rand_data, rand_len);
123 lwip_md5_update(&md5_ctx, (u_char *)&sys_data, sizeof(sys_data));
125 lwip_md5_finish(&md5_ctx, (u_char *)magic_randpool);
164 u_char tmp[MD5_HASH_SIZE];
170 lwip_md5_update(&md5_ctx, (u_char *)magic_randpool, sizeof(magic_randpool));
171 lwip_md5_update(&md5_ctx, (u_char *)&magic_randcount, sizeof(magic_randcount));
H A Dfsm.c63 static void fsm_rconfreq(fsm *f, u_char id, u_char *inp, int len);
64 static void fsm_rconfack(fsm *f, int id, u_char *inp, int len);
65 static void fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len);
66 static void fsm_rtermreq(fsm *f, int id, u_char *p, int len);
68 static void fsm_rcoderej(fsm *f, u_char *inp, int len);
211 (const u_char *) f->term_reason, f->term_reason_len);
283 (const u_char *) f->term_reason, f->term_reason_len);
318 void fsm_input(fsm *f, u_char *inpacket, int l) {
319 u_char *in
[all...]
H A Decp.c90 static void ecp_input (int unit, u_char *pkt, int len);
94 static int ecp_printpkt (const u_char *pkt, int len,
99 static void ecp_datainput (int unit, u_char *pkt, int len);
182 const u_char *p;
H A Deap.c99 static void eap_input(ppp_pcb *pcb, u_char *inp, int inlen);
104 static int eap_printpkt(const u_char *inp, int inlen,
141 static const u_char wkmodulus[] = {
252 u_char *outp;
262 outp = (u_char*)p->payload;
283 u_char *outp;
293 outp = (u_char*)p->payload;
320 u_char dig[SHA_DIGESTSIZE];
347 u_char *inp;
349 u_char *out
[all...]
H A Dipv6cp.c181 static void ipv6cp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */
182 static int ipv6cp_ackci(fsm *f, u_char *p, int len); /* Peer ack'd our CI */
183 static int ipv6cp_nakci(fsm *f, u_char *p, int len, int treat_as_reject); /* Peer nak'd our CI */
184 static int ipv6cp_rejci(fsm *f, u_char *p, int len); /* Peer rej'd our CI */
185 static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree); /* Rcv CI */
258 static void ipv6cp_input(ppp_pcb *pcb, u_char *p, int len);
267 static int ipv6cp_printpkt(const u_char *p, int plen,
271 static int ipv6_active_pkt(u_char *pkt, int len);
491 static void ipv6cp_input(ppp_pcb *pcb, u_char *p, int len) {
549 static void ipv6cp_addci(fsm *f, u_char *uc
[all...]
H A Dccp.c173 static void ccp_input(ppp_pcb *pcb, u_char *pkt, int len);
176 static int ccp_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), void *arg);
179 static void ccp_datainput(ppp_pcb *pcb, u_char *pkt, int len);
216 static void ccp_addci (fsm *, u_char *, int *);
217 static int ccp_ackci (fsm *, u_char *, int);
218 static int ccp_nakci (fsm *, u_char *, int, int);
219 static int ccp_rejci (fsm *, u_char *, int);
220 static int ccp_reqci (fsm *, u_char *, int *, int);
223 static int ccp_extcode (fsm *, int, int, u_char *, int);
455 static void ccp_input(ppp_pcb *pcb, u_char *
[all...]
H A Dipcp.c115 static void ipcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */
116 static int ipcp_ackci(fsm *f, u_char *p, int len); /* Peer ack'd our CI */
117 static int ipcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject);/* Peer nak'd our CI */
118 static int ipcp_rejci(fsm *f, u_char *p, int len); /* Peer rej'd our CI */
119 static int ipcp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree); /* Rcv CI */
264 static void ipcp_input(ppp_pcb *pcb, u_char *p, int len);
267 static int ipcp_printpkt(const u_char *p, int plen,
275 static int ip_active_pkt (u_char *, int);
691 static void ipcp_input(ppp_pcb *pcb, u_char *p, int len) {
806 static void ipcp_addci(fsm *f, u_char *uc
[all...]
H A Dlcp.c220 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 *
[all...]
H A Dchap-md5.c108 lwip_md5_update(&ctx, (const u_char *)secret, secret_len);
H A Dutils.c74 static void ppp_format_packet(const u_char *p, int len,
430 u_char *p;
446 static void ppp_format_packet(const u_char *p, int len,
572 void ppp_print_string(const u_char *p, int len, void (*printer) (void *, const char *, ...), void *arg) {
H A Dchap-new.c440 u_char *outp;
474 outp = (u_char*)p->payload;
486 outp = (u_char*)p->payload + PPP_HDRLEN;
H A Dmultilink.c497 u_char *p = ep->value;
/seL4-camkes-master/projects/lwip/src/include/netif/ppp/
H A Dfsm.h104 (fsm *, u_char *, int *);
106 (fsm *, u_char *, int);
108 (fsm *, u_char *, int, int);
110 (fsm *, u_char *, int);
112 (fsm *, u_char *, int *, int);
126 (fsm *, int, int, u_char *, int);
173 void fsm_input(fsm *f, u_char *inpacket, int l);
175 void fsm_sdata(fsm *f, u_char code, u_char id, const u_char *dat
[all...]
H A Deap.h120 u_char *ea_skey; /* Shared encryption key */
124 u_char ea_id; /* Current id */
125 u_char ea_requests; /* Number of Requests sent/received */
126 u_char ea_responses; /* Number of Responses */
127 u_char ea_type; /* One of EAPT_* */
145 u_char es_challenge[EAP_MAX_CHALLENGE_LENGTH];
H A Dppp_impl.h77 #define PPP_ADDRESS(p) (((u_char *)(p))[0])
78 #define PPP_CONTROL(p) (((u_char *)(p))[1])
79 #define PPP_PROTOCOL(p) ((((u_char *)(p))[2] << 8) + ((u_char *)(p))[3])
286 void (*input) (ppp_pcb *pcb, u_char *pkt, int len);
299 int (*printpkt) (const u_char *pkt, int len,
305 void (*datainput) (ppp_pcb *pcb, u_char *pkt, int len);
320 int (*active_pkt) (u_char *pkt, int len);
464 int ccp_test(ppp_pcb *pcb, u_char *opt_ptr, int opt_len, int for_transmit);
500 * cp MUST be u_char *
[all...]
H A Dpppcrypt.h136 void pppcrypt_56_to_64_bit_key(u_char *key, u_char *des_key);
H A Dlcp.h164 void lcp_sprotrej(ppp_pcb *pcb, u_char *p, int len); /* send protocol reject */
H A Dmppe.h82 u_char *ptr = ci; /* u_char[4] */ \
104 const u_char *ptr = ci; /* u_char[4] */ \
H A Dppp.h165 typedef unsigned char u_char; typedef
/seL4-camkes-master/projects/picotcp/modules/
H A Dpico_dev_pcap.c30 static void pico_dev_pcap_cb(u_char *u, const struct pcap_pkthdr *h, const u_char *data)
41 loop_score -= pcap_dispatch(pcap->conn, loop_score, pico_dev_pcap_cb, (u_char *) pcap);
H A Dpico_dev_radiotest.c131 pcap_dump((u_char *)dev->pcapd, &ph, buf);
/seL4-camkes-master/projects/musllibc/include/sys/
H A Dtypes.h64 typedef unsigned char u_char; typedef

Completed in 122 milliseconds

12