/btstack/tool/ |
H A D | btstack_event_generator.py | 368 code = '' 371 code = '*iter[{0}] + 1;'.format( last_length_field_offset-list_base ) 373 code = '{0};'.format( list_static_size ) 374 …type_iterator_next.format( event=event_name, scope=list_name_scope, format=field_type, code=code ); 398 code = '' 403 code = '' 405 code += 'uint8_t offset = %s;\n ' % offset 407 code += read_code.format(offset=offset, result_name=result_name) 408 …me, field=field_name, result_name=result_name, result_type=result_type, code=code, format=field_ty…
|
/btstack/3rd-party/lwip/core/src/netif/ppp/ |
H A D | chap-new.c | 93 static void chap_handle_response(ppp_pcb *pcb, int code, 102 static void chap_handle_status(ppp_pcb *pcb, int code, int id, 173 if (dp->code == digest_code) in chap_auth_peer() 205 if (dp->code == digest_code) in chap_auth_with_peer() 394 pcb->chap_server.digest->code, 497 static void chap_handle_status(ppp_pcb *pcb, int code, int id, argument 507 if (code == CHAP_SUCCESS) { 511 code = CHAP_FAILURE; 526 if (code == CHAP_SUCCESS) 527 auth_withpeer_success(pcb, PPP_CHAP, pcb->chap_client.digest->code); [all …]
|
H A D | fsm.c | 65 static void fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len); 320 u_char code, id; in fsm_input() local 332 GETCHAR(code, inp); in fsm_input() 354 switch (code) { in fsm_input() 365 fsm_rconfnakrej(f, code, id, inp, len); in fsm_input() 382 || !(*f->callbacks->extcode)(f, code, id, inp, len) ) in fsm_input() 393 int code, reject_if_disagree; in fsm_rconfreq() local 427 code = (*f->callbacks->reqci)(f, inp, &len, reject_if_disagree); in fsm_rconfreq() 429 code = CONFREJ; /* Reject all CI */ in fsm_rconfreq() 431 code = CONFACK; in fsm_rconfreq() [all …]
|
H A D | upap.c | 130 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen); 307 u_char code, id; in upap_input() local 319 GETCHAR(code, inp); in upap_input() 335 switch (code) { in upap_input() 567 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen) { in upap_sresp() argument 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() 618 printer(arg, " %s", upap_codenames[code-1]); in upap_printpkt() [all …]
|
H A D | ipv6cp.c | 690 #define NAKCIIFACEID(opt, neg, code) \ 699 code \ 703 #define NAKCIVJ(opt, neg, code) \ 712 code \ 1403 int code, id, len, olen; 1413 GETCHAR(code, p); 1419 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(ipv6cp_codenames)) 1420 printer(arg, " %s", ipv6cp_codenames[code-1]); 1422 printer(arg, " code=0x%x", code); 1425 switch (code) { [all …]
|
H A D | ipcp.c | 1099 #define NAKCIADDRS(opt, neg, code) \ in ipcp_nakci() argument 1111 code \ in ipcp_nakci() 1115 #define NAKCIVJ(opt, neg, code) \ in ipcp_nakci() argument 1124 code \ in ipcp_nakci() 1128 #define NAKCIADDR(opt, neg, code) \ in ipcp_nakci() argument 1138 code \ in ipcp_nakci() 1142 #define NAKCIDNS(opt, neg, code) \ in ipcp_nakci() argument 1152 code \ in ipcp_nakci() 2241 int code, id, len, olen; in ipcp_printpkt() local 2251 GETCHAR(code, p); in ipcp_printpkt() [all …]
|
H A D | lcp.c | 229 static int lcp_extcode(fsm *f, int code, int id, u_char *inp, int len); 523 static int lcp_extcode(fsm *f, int code, int id, u_char *inp, int len) { in lcp_extcode() argument 528 switch( code ){ in lcp_extcode() 1158 #define NAKCICHAP(opt, neg, code) \ in lcp_nakci() argument 1168 code \ in lcp_nakci() 1171 #define NAKCICHAR(opt, neg, code) \ in lcp_nakci() argument 1180 code \ in lcp_nakci() 1182 #define NAKCISHORT(opt, neg, code) \ in lcp_nakci() argument 1191 code \ in lcp_nakci() 1193 #define NAKCILONG(opt, neg, code) \ in lcp_nakci() argument [all …]
|
H A D | ccp.c | 487 static int ccp_extcode(fsm *f, int code, int id, u_char *p, int len) { in ccp_extcode() argument 492 switch (code) { in ccp_extcode() 1524 int code, id, len; in ccp_printpkt() local 1530 code = p[0]; in ccp_printpkt() 1536 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(ccp_codenames) && ccp_codenames[code-1] != NULL) in ccp_printpkt() 1537 printer(arg, " %s", ccp_codenames[code-1]); in ccp_printpkt() 1539 printer(arg, " code=0x%x", code); in ccp_printpkt() 1544 switch (code) { in ccp_printpkt() 1551 code = p[0]; in ccp_printpkt() 1558 switch (code) { in ccp_printpkt() [all …]
|
/btstack/3rd-party/lwip/core/src/core/ipv6/ |
H A D | icmp6.c | 66 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()
|
/btstack/port/stm32-f4discovery-cc256x/ |
H A D | STM32F407VGTx_FLASH.ld | 29 ** 1. Redistributions of source code must retain the above copyright notice, 72 /* The startup code goes first into FLASH */ 76 KEEP(*(.isr_vector)) /* Startup code */ 80 /* The program code and other data goes into FLASH */ 84 *(.text) /* .text sections (code) */ 85 *(.text*) /* .text* sections (code) */ 86 *(.glue_7) /* glue arm to thumb code */ 87 *(.glue_7t) /* glue thumb to arm code */ 94 _etext = .; /* define a global symbols at end of code */ 137 /* Initialized data sections goes into RAM, load LMA copy after code */ [all …]
|
/btstack/port/stm32-f4discovery-usb/ |
H A D | STM32F407VGTx_FLASH.ld | 29 ** 1. Redistributions of source code must retain the above copyright notice, 72 /* The startup code goes first into FLASH */ 76 KEEP(*(.isr_vector)) /* Startup code */ 80 /* The program code and other data goes into FLASH */ 84 *(.text) /* .text sections (code) */ 85 *(.text*) /* .text* sections (code) */ 86 *(.glue_7) /* glue arm to thumb code */ 87 *(.glue_7t) /* glue thumb to arm code */ 94 _etext = .; /* define a global symbols at end of code */ 137 /* Initialized data sections goes into RAM, load LMA copy after code */ [all …]
|
/btstack/port/stm32-l451-miromico-sx1280/ |
H A D | STM32L451REIx_FLASH.ld | 29 ** 1. Redistributions of source code must retain the above copyright notice, 71 /* The startup code goes first into FLASH */ 75 KEEP(*(.isr_vector)) /* Startup code */ 79 /* The program code and other data goes into FLASH */ 83 *(.text) /* .text sections (code) */ 84 *(.text*) /* .text* sections (code) */ 85 *(.glue_7) /* glue arm to thumb code */ 86 *(.glue_7t) /* glue thumb to arm code */ 93 _etext = .; /* define a global symbols at end of code */ 150 /* Initialized data sections goes into RAM, load LMA copy after code */
|
/btstack/port/stm32-wb55xx-nucleo-freertos/ |
H A D | stm32wb55xx_flash_cm4.ld | 23 ** 1. Redistributions of source code must retain the above copyright notice, 66 /* The startup code goes first into FLASH */ 70 KEEP(*(.isr_vector)) /* Startup code */ 74 /* The program code and other data goes into FLASH */ 78 *(.text) /* .text sections (code) */ 79 *(.text*) /* .text* sections (code) */ 80 *(.glue_7) /* glue arm to thumb code */ 81 *(.glue_7t) /* glue thumb to arm code */ 88 _etext = .; /* define a global symbols at end of code */ 131 /* Initialized data sections goes into RAM, load LMA copy after code */
|
/btstack/port/stm32-l073rz-nucleo-em9304/ |
H A D | STM32L073RZTx_FLASH.ld | 29 ** 1. Redistributions of source code must retain the above copyright notice, 71 /* The startup code goes first into FLASH */ 75 KEEP(*(.isr_vector)) /* Startup code */ 79 /* The program code and other data goes into FLASH */ 83 *(.text) /* .text sections (code) */ 84 *(.text*) /* .text* sections (code) */ 85 *(.glue_7) /* glue arm to thumb code */ 86 *(.glue_7t) /* glue thumb to arm code */ 93 _etext = .; /* define a global symbols at end of code */ 136 /* Initialized data sections goes into RAM, load LMA copy after code */
|
/btstack/port/stm32-l476rg-nucleo-sx1280/ |
H A D | STM32L476RGTx_FLASH.ld | 29 ** 1. Redistributions of source code must retain the above copyright notice, 72 /* The startup code goes first into FLASH */ 76 KEEP(*(.isr_vector)) /* Startup code */ 80 /* The program code and other data goes into FLASH */ 84 *(.text) /* .text sections (code) */ 85 *(.text*) /* .text* sections (code) */ 86 *(.glue_7) /* glue arm to thumb code */ 87 *(.glue_7t) /* glue thumb to arm code */ 94 _etext = .; /* define a global symbols at end of code */ 151 /* Initialized data sections goes into RAM, load LMA copy after code */
|
/btstack/doc/manual/ |
H A D | html_postprocess_code_blocks.py | 6 def writeCodeBlock(aout, code, references): argument 10 code = code.replace(function_name, html_link) 11 aout.write(code)
|
H A D | btstack_gettingstarted.tex | 42 language=C, % choose the language of the code 43 basicstyle=\footnotesize, % the size of the fonts that are used for the code 47 %numbersep=5pt, % how far the line-numbers are from the code 52 frame=single, % adds a frame around the code 58 escapeinside={\%*}{*)}, % if you want to add a comment within your code
|
/btstack/3rd-party/lwip/core/src/core/ipv4/ |
H A D | icmp.c | 68 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()
|
/btstack/3rd-party/lwip/core/src/include/lwip/prot/ |
H A D | nd6.h | 55 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);
|
H A D | icmp.h | 71 PACK_STRUCT_FLD_8(u8_t code); 83 #define ICMPH_CODE(hdr) ((hdr)->code) 85 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c))
|
H A D | icmp6.h | 140 PACK_STRUCT_FLD_8(u8_t code); 156 PACK_STRUCT_FLD_8(u8_t code);
|
/btstack/3rd-party/lwip/core/src/netif/ |
H A D | FILES | 2 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
|
/btstack/3rd-party/lwip/core/src/apps/snmp/ |
H A D | snmp_asn1.c | 44 #define PBUF_OP_EXEC(code) \ argument 45 if ((code) != ERR_OK) { \ 229 u8_t code; in snmp_asn1_enc_oid() local 231 code = (u8_t)(sub_id >> shift); in snmp_asn1_enc_oid() 232 if ((code != 0) || (tail != 0)) { in snmp_asn1_enc_oid() 234 PBUF_OP_EXEC(snmp_pbuf_stream_write(pbuf_stream, code | 0x80)); in snmp_asn1_enc_oid()
|
H A D | snmp_msg.c | 758 #define PARSE_EXEC(code, retValue) \ argument 759 if ((code) != ERR_OK) { \ 772 #define BUILD_EXEC(code, retValue) \ argument 773 if ((code) != ERR_OK) { \ 774 LWIP_DEBUGF(SNMP_DEBUG, ("SNMP error during creation of outbound frame!: " # code)); \ 778 #define IF_PARSE_EXEC(code) PARSE_EXEC(code, ERR_ARG) argument 779 #define IF_PARSE_ASSERT(code) PARSE_ASSERT(code, ERR_ARG) argument 1293 #define OF_BUILD_EXEC(code) BUILD_EXEC(code, ERR_ARG) argument 1557 #define OVB_BUILD_EXEC(code) BUILD_EXEC(code, ERR_ARG) argument 1888 #define VB_PARSE_EXEC(code) PARSE_EXEC(code, SNMP_VB_ENUMERATOR_ERR_ASN1ERROR) argument [all …]
|
/btstack/3rd-party/lwip/core/ |
H A D | FILES | 2 src/ - The source code for the lwIP TCP/IP stack. 4 test/ - Some code to test whether the sources do what they should.
|