Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 134) sorted by relevance

123456

/components/utilities/ymodem/
A Dymodem.c146 enum rym_code code, in _rym_send_packet() argument
154 switch(code) in _rym_send_packet()
167 ctx->buf[0] = code; in _rym_send_packet()
185 rt_device_write(ctx->dev, 0, &code, sizeof(code)); in _rym_putchar()
204 enum rym_code code; in _rym_do_handshake() local
266 enum rym_code code; in _rym_do_send_handshake() local
375 switch (code) in _rym_do_trans()
417 switch (code) in _rym_do_trans()
439 enum rym_code code; in _rym_do_send_trans() local
472 enum rym_code code; in _rym_do_fin() local
[all …]
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dchap-new.c173 if (dp->code == digest_code) in chap_auth_peer()
507 if (code == CHAP_SUCCESS) {
511 code = CHAP_FAILURE;
526 if (code == CHAP_SUCCESS)
536 unsigned char code, id; local
541 GETCHAR(code, pkt);
548 switch (code) {
595 int code, id, len; local
601 GETCHAR(code, p);
607 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(chap_code_names))
[all …]
A Dfsm.c320 u_char code, id; in fsm_input() local
332 GETCHAR(code, inp); in fsm_input()
354 switch (code) { in fsm_input()
393 int code, reject_if_disagree; in fsm_rconfreq() local
431 code = CONFACK; in fsm_rconfreq()
436 if (code == CONFACK) { in fsm_rconfreq()
450 if( code == CONFNAK ) in fsm_rconfreq()
522 if (code == CONFNAK) { in fsm_rconfnakrej()
646 u_char code, id; in fsm_rcoderej() local
652 GETCHAR(code, inp); in fsm_rcoderej()
[all …]
A Dupap.c307 u_char code, id; in upap_input() local
319 GETCHAR(code, inp); in upap_input()
335 switch (code) { in upap_input()
584 PUTCHAR(code, outp); in upap_sresp()
603 int code, id, len; in upap_printpkt() local
611 GETCHAR(code, p); in upap_printpkt()
617 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(upap_codenames)) in upap_printpkt()
620 printer(arg, " code=0x%x", code); in upap_printpkt()
623 switch (code) { in upap_printpkt()
669 GETCHAR(code, p); in upap_printpkt()
[all …]
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dchap-new.c173 if (dp->code == digest_code) in chap_auth_peer()
507 if (code == CHAP_SUCCESS) {
511 code = CHAP_FAILURE;
526 if (code == CHAP_SUCCESS)
536 unsigned char code, id; local
541 GETCHAR(code, pkt);
548 switch (code) {
595 int code, id, len; local
601 GETCHAR(code, p);
607 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(chap_code_names))
[all …]
A Dfsm.c320 u_char code, id; in fsm_input() local
332 GETCHAR(code, inp); in fsm_input()
354 switch (code) { in fsm_input()
393 int code, reject_if_disagree; in fsm_rconfreq() local
431 code = CONFACK; in fsm_rconfreq()
436 if (code == CONFACK) { in fsm_rconfreq()
450 if( code == CONFNAK ) in fsm_rconfreq()
522 if (code == CONFNAK) { in fsm_rconfnakrej()
646 u_char code, id; in fsm_rcoderej() local
652 GETCHAR(code, inp); in fsm_rcoderej()
[all …]
A Dupap.c307 u_char code, id; in upap_input() local
319 GETCHAR(code, inp); in upap_input()
335 switch (code) { in upap_input()
584 PUTCHAR(code, outp); in upap_sresp()
603 int code, id, len; in upap_printpkt() local
611 GETCHAR(code, p); in upap_printpkt()
617 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(upap_codenames)) in upap_printpkt()
620 printer(arg, " code=0x%x", code); in upap_printpkt()
623 switch (code) { in upap_printpkt()
669 GETCHAR(code, p); in upap_printpkt()
[all …]
/components/net/lwip/lwip-2.1.2/src/core/ipv6/
A Dicmp6.c66 static void icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type);
67 static void icmp6_send_response_with_addrs(struct pbuf *p, u8_t code, u32_t data,
69 static void icmp6_send_response_with_addrs_and_netif(struct pbuf *p, u8_t code, u32_t data,
309 icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type) in icmp6_send_response() argument
323 icmp6_send_response_with_addrs_and_netif(p, code, data, type, reply_src, reply_dest, netif); in icmp6_send_response()
346 icmp6_send_response_with_addrs(struct pbuf *p, u8_t code, u32_t data, u8_t type, in icmp6_send_response_with_addrs() argument
368 icmp6_send_response_with_addrs_and_netif(p, code, data, type, reply_src, in icmp6_send_response_with_addrs()
385 icmp6_send_response_with_addrs_and_netif(struct pbuf *p, u8_t code, u32_t data, u8_t type, in icmp6_send_response_with_addrs_and_netif() argument
404 icmp6hdr->code = code; in icmp6_send_response_with_addrs_and_netif()
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dchap.c367 u_char code, id; in ChapInput() local
379 GETCHAR(code, inp); in ChapInput()
395 switch (code) { in ChapInput()
525 int code; in ChapReceiveResponse() local
587 code = CHAP_FAILURE; in ChapReceiveResponse()
620 if (code == CHAP_SUCCESS) { in ChapReceiveResponse()
764 PUTCHAR(code, outp); in ChapSendStatus()
851 int code, id, len; in ChapPrintPkt() local
858 GETCHAR(code, p); in ChapPrintPkt()
865 if (code >= 1 && code <= sizeof(ChapCodenames) / sizeof(char *)) { in ChapPrintPkt()
[all …]
A Dfsm.c385 u_char code, id; in fsm_input() local
397 GETCHAR(code, inp); in fsm_input()
421 switch (code) { in fsm_input()
464 int code, reject_if_disagree; in fsm_rconfreq() local
502 code = CONFACK; in fsm_rconfreq()
508 if (code == CONFACK) { in fsm_rconfreq()
524 if( code == CONFNAK ) { in fsm_rconfreq()
735 u_char code, id; in fsm_rcoderej() local
744 GETCHAR(code, inp); in fsm_rcoderej()
747 PROTO_NAME(f), code, id)); in fsm_rcoderej()
[all …]
/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A Dicmp.c65 static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code);
81 u8_t code; in icmp_input() local
100 code = *(((u8_t *)p->payload)+1); in icmp_input()
231 (s16_t)type, (s16_t)code)); in icmp_input()
291 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response() argument
318 icmphdr->code = code; in icmp_send_response()
/components/net/lwip/lwip-2.1.2/src/include/lwip/prot/
A Dicmp.h71 PACK_STRUCT_FLD_8(u8_t code);
83 #define ICMPH_CODE(hdr) ((hdr)->code)
85 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c))
A Dnd6.h55 PACK_STRUCT_FLD_8(u8_t code);
73 PACK_STRUCT_FLD_8(u8_t code);
95 PACK_STRUCT_FLD_8(u8_t code);
120 PACK_STRUCT_FLD_8(u8_t code);
141 PACK_STRUCT_FLD_8(u8_t code);
/components/net/lwip/lwip-2.0.3/src/include/lwip/prot/
A Dicmp.h71 PACK_STRUCT_FLD_8(u8_t code);
83 #define ICMPH_CODE(hdr) ((hdr)->code)
85 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c))
A Dnd6.h55 PACK_STRUCT_FLD_8(u8_t code);
73 PACK_STRUCT_FLD_8(u8_t code);
95 PACK_STRUCT_FLD_8(u8_t code);
120 PACK_STRUCT_FLD_8(u8_t code);
141 PACK_STRUCT_FLD_8(u8_t code);
/components/net/lwip/lwip-2.0.3/src/netif/
A DFILES2 do not contain any hardware or architecture specific code. The files
6 Shared code for Ethernet based interfaces.
11 network device drivers. It uses the etharp.c ARP code.
22 huge changes to match code size and memory requirements for embedded
/components/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/
A Dicmp.h81 PACK_STRUCT_FIELD(u8_t code);
92 #define ICMPH_CODE(hdr) ((hdr)->code)
96 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c))
/components/net/lwip/lwip-2.0.3/test/fuzz/
A DREADME8 try to modify them to exercise as many code paths as possible, by instrumenting
9 the code and keeping track of which code is executed.
23 parts of the code, and since you want to run one instance of afl-fuzz on each
33 expose different parts of the code.
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Dicmp.c68 static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code);
84 u8_t code; in icmp_input() local
107 code = *(((u8_t *)p->payload) + 1); in icmp_input()
109 LWIP_UNUSED_ARG(code); in icmp_input()
278 (s16_t)type, (s16_t)code)); in icmp_input()
340 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response() argument
372 icmphdr->code = code; in icmp_send_response()
/components/net/lwip/lwip-2.1.2/test/fuzz/
A DREADME8 try to modify them to exercise as many code paths as possible, by instrumenting
9 the code and keeping track of which code is executed.
26 parts of the code, and since you want to run one instance of afl-fuzz on each
36 expose different parts of the code.
/components/net/lwip/lwip-1.4.1/src/netif/
A DFILES2 do not contain any hardware or architecture specific code. The files
7 Ethernet. The code in this file should be used together with
15 network device drivers. It uses the etharp.c ARP code.
29 the source code has been reordered a bit.
/components/net/lwip/lwip-2.1.2/src/netif/
A DFILES2 do not contain any hardware or architecture specific code. The files
6 Shared code for Ethernet based interfaces.
21 huge changes to match code size and memory requirements for embedded
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Dicmp.c68 static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code);
84 u8_t code; in icmp_input() local
107 code = *(((u8_t *)p->payload)+1); in icmp_input()
271 (s16_t)type, (s16_t)code)); in icmp_input()
333 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response() argument
365 icmphdr->code = code; in icmp_send_response()
/components/net/lwip/lwip-2.0.3/
A DFILES1 src/ - The source code for the lwIP TCP/IP stack.
3 test/ - Some code to test whether the sources do what they should.
/components/net/lwip/lwip-2.1.2/
A DFILES1 src/ - The source code for the lwIP TCP/IP stack.
3 test/ - Some code to test whether the sources do what they should.

Completed in 228 milliseconds

123456