| /subsys/net/l2/ppp/ |
| A D | options.c | 83 uint8_t code) in ppp_peer_option_info_get() argument 88 if (options[i].code == code) { in ppp_peer_option_info_get() 109 uint8_t code, uint8_t len, in ppp_parse_option_conf_req_unsupported() argument 118 code); in ppp_parse_option_conf_req_unsupported() 123 code, len); in ppp_parse_option_conf_req_unsupported() 131 net_pkt_write_u8(ret_pkt, code); in ppp_parse_option_conf_req_unsupported() 142 uint8_t code, uint8_t len, in ppp_parse_option_conf_req_supported() argument 152 code); in ppp_parse_option_conf_req_supported() 166 net_pkt_write_u8(ret_pkt, code); in ppp_parse_option_conf_req_supported() 266 err = net_pkt_write_u8(pkt, info->code); in ppp_my_options_add() [all …]
|
| A D | ppp_internal.h | 25 uint8_t code; member 65 uint8_t code; member 74 .code = _code, \ 163 int (*parse)(struct net_pkt *pkt, uint8_t code, 179 uint8_t code; member 189 .code = _code, \ 209 uint32_t ppp_my_option_flags(struct ppp_fsm *fsm, uint8_t code); 212 uint8_t code) in ppp_my_option_is_acked() argument 214 return ppp_my_option_flags(fsm, code) & PPP_MY_OPTION_ACKED; in ppp_my_option_is_acked()
|
| A D | fsm.c | 452 ppp.code = type; in ppp_send_pkt() 567 enum ppp_packet_type code; in fsm_recv_configure_req() local 632 code = ret; in fsm_recv_configure_req() 635 code = PPP_CONFIGURE_REJ; in fsm_recv_configure_req() 644 fsm->name, fsm, ppp_pkt_type2str(code), code, id, in fsm_recv_configure_req() 947 uint8_t code, id; in fsm_recv_code_rej() local 964 code, id); in fsm_recv_code_rej() 1030 uint8_t code, id; in ppp_fsm_input() local 1072 ppp_proto2str(proto), ppp_pkt_type2str(code), code, id, in ppp_fsm_input() 1075 switch (code) { in ppp_fsm_input() [all …]
|
| /subsys/net/lib/lwm2m/ |
| A D | lwm2m_rd_client.c | 440 switch (code) { in code2str() 463 uint8_t code; in do_bootstrap_reply_cb() local 477 COAP_RESPONSE_CODE_CLASS(code), COAP_RESPONSE_CODE_DETAIL(code), in do_bootstrap_reply_cb() 478 code2str(code)); in do_bootstrap_reply_cb() 520 uint8_t code; in do_registration_reply_cb() local 565 COAP_RESPONSE_CODE_CLASS(code), COAP_RESPONSE_CODE_DETAIL(code), in do_registration_reply_cb() 566 code2str(code)); in do_registration_reply_cb() 585 uint8_t code; in do_update_reply_cb() local 605 COAP_RESPONSE_CODE_CLASS(code), COAP_RESPONSE_CODE_DETAIL(code), in do_update_reply_cb() 628 uint8_t code; in do_deregister_reply_cb() local [all …]
|
| A D | lwm2m_message_handling.c | 794 msg->code = COAP_CODE_EMPTY; in lwm2m_send_empty_ack() 2233 switch (code & COAP_REQUEST_MASK) { in lwm2m_engine_path_included() 2314 uint8_t code; in handle_request() local 2434 switch (code & COAP_REQUEST_MASK) { in handle_request() 3013 uint8_t type, code; in notify_message_reply_cb() local 3019 code = coap_header_get_code(response); in notify_message_reply_cb() 3022 COAP_RESPONSE_CODE_CLASS(code), COAP_RESPONSE_CODE_DETAIL(code), in notify_message_reply_cb() 3478 uint8_t code; in do_send_reply_cb() local 3483 COAP_RESPONSE_CODE_DETAIL(code)); in do_send_reply_cb() 3494 COAP_RESPONSE_CODE_DETAIL(code)); in do_send_reply_cb() [all …]
|
| /subsys/net/lib/coap/ |
| A D | coap.c | 232 token, code, id); in coap_ack_init() 357 if (code < cpkt->delta) { in coap_packet_append_option() 364 code = (code == cpkt->delta) ? 0 : code - cpkt->delta; in coap_packet_append_option() 373 cpkt->delta += code; in coap_packet_append_option() 722 if (opt_delta > code) { in coap_packet_remove_option() 988 cpkt->data[1] = code; in coap_header_set_code() 1016 switch (code) { in coap_header_get_code() 1055 return code; in coap_header_get_code() 1139 switch (code) { in method_from_code() 1176 return (code != COAP_CODE_EMPTY) && !(code & ~COAP_REQUEST_MASK); in coap_packet_is_request() [all …]
|
| /subsys/mgmt/mcumgr/ |
| A D | Kconfig | 23 bool "Legacy rc (result code) response behaviour" 26 This will enable legacy result code response behaviour of having rc 29 code is non-zero (i.e. an error occurred). 31 If a command only returns a result code, this will mean that the
|
| /subsys/input/ |
| A D | input_utils.c | 66 evt->code, in input_dump_cb() 77 uint32_t type, code, value; in input_cmd_report() local 99 code = shell_strtoul(argv[2], 0, &err); in input_cmd_report() 104 if (code > UINT16_MAX) { in input_cmd_report() 115 input_report(NULL, type, code, value, sync, K_FOREVER); in input_cmd_report() 181 switch (evt->code) { in kbd_matrix_state_log()
|
| A D | input_longpress.c | 40 uint16_t code; in longpress_deferred() local 42 code = cfg->long_codes[entry->index]; in longpress_deferred() 44 input_report_key(dev, code, 1, true, K_FOREVER); in longpress_deferred() 61 if (evt->code == cfg->input_codes[i]) { in longpress_cb() 66 LOG_DBG("ignored code %d", evt->code); in longpress_cb()
|
| A D | input.c | 41 uint8_t type, uint16_t code, int32_t value, bool sync, in input_report() argument 48 .code = code, in input_report()
|
| /subsys/bluetooth/host/classic/ |
| A D | obex_internal.h | 26 uint8_t code; member 31 uint8_t code; member
|
| A D | obex.c | 1182 hdr->code = rsp_code; in bt_obex_connect_rsp() 1293 hdr->code = rsp_code; in bt_obex_disconnect_rsp() 1361 hdr->code = req_code; in bt_obex_put() 1418 hdr->code = rsp_code; in bt_obex_put_rsp() 1486 hdr->code = req_code; in bt_obex_get() 1543 hdr->code = rsp_code; in bt_obex_get_rsp() 1676 hdr->code = rsp_code; in bt_obex_abort_rsp() 1780 hdr->code = rsp_code; in bt_obex_setpath_rsp() 1846 hdr->code = req_code; in bt_obex_action() 1903 hdr->code = rsp_code; in bt_obex_action_rsp() [all …]
|
| /subsys/bluetooth/audio/ |
| A D | ascs.c | 133 switch (rsp->code) { in ascs_app_rsp_warn_valid() 149 switch (rsp->code) { in ascs_app_rsp_warn_valid() 168 rsp->code); in ascs_app_rsp_warn_valid() 1150 bt_ascs_rsp_str(code), code, bt_ascs_reason_str(reason), reason); in ascs_cp_rsp_add() 1156 switch (code) { in ascs_cp_rsp_add() 1171 ase_rsp->code = code; in ascs_cp_rsp_add() 1676 rsp.code, rsp.reason); in ase_config() 1954 rsp->code = BT_BAP_ASCS_RSP_CODE_CONF_INVALID; in ase_qos() 1974 err, rsp->code, rsp->reason); in ase_qos() 2675 ascs_cp_rsp_add(id, rsp.code, rsp.reason); in ascs_disable() [all …]
|
| A D | ascs_internal.h | 244 uint8_t code; member 282 static inline const char *bt_ascs_rsp_str(uint8_t code) in bt_ascs_rsp_str() argument 284 switch (code) { in bt_ascs_rsp_str()
|
| /subsys/storage/stream/ |
| A D | Kconfig | 22 worth to disable the option to cut out some unneeded code. 30 allows to save some code storage and RAM. 46 This is used in stream flash code to exclude invocation of erase on devices that do not 50 have no support for erase, this option may be disabled to discard small amount of code
|
| /subsys/net/ip/ |
| A D | Kconfig.debug | 51 module-help = Enables core network stack code to output debug messages. 56 module-str = Log level for network interface code 57 module-help = Enables network interface code to output debug messages. 62 module-str = Log level for network traffic class code 63 module-help = Enables network traffic class code to output debug messages.
|
| A D | icmpv6.c | 93 icmp_hdr->code = icmp_code; in net_icmpv6_create() 194 int net_icmpv6_send_error(struct net_pkt *orig, uint8_t type, uint8_t code, in net_icmpv6_send_error() argument 303 net_icmpv6_create(pkt, type, code)) { in net_icmpv6_send_error() 328 " from %s to %s", type, code, param, in net_icmpv6_send_error() 373 icmp_hdr->type, icmp_hdr->code); in net_icmpv6_input()
|
| A D | icmp.c | 53 int net_icmp_init_ctx(struct net_icmp_ctx *ctx, uint8_t type, uint8_t code, in net_icmp_init_ctx() argument 64 ctx->code = code; in net_icmp_init_ctx() 515 (ctx->code == icmp_hdr->code || ctx->code == 0U)) { in icmp_call_handlers()
|
| /subsys/usb/device_next/ |
| A D | usbd_device.c | 365 const uint8_t code) in usbd_device_get_vreq() argument 370 if (vreq_nd->code == code) { in usbd_device_get_vreq() 410 LOG_DBG("Registered vendor request 0x%02x", vreq_nd->code); in usbd_device_register_vreq() 428 LOG_DBG("Remove vendor request 0x%02x", tmp->code); in usbd_device_unregister_all_vreq()
|
| /subsys/net/lib/http/ |
| A D | http_huffman.c | 18 uint8_t code[4]; member 292 uint32_t code = sys_get_be32(entry->code); in huffman_bits_compare() local 294 if (code == (bits & mask)) { in huffman_bits_compare() 431 uint32_t code; in http_hpack_huffman_encode() local 444 code = sys_get_be32(entry->code); in http_hpack_huffman_encode() 448 uint8_t byte = (uint8_t)((code & MSB_MASK(to_copy)) >> in http_hpack_huffman_encode() 458 code <<= to_copy; in http_hpack_huffman_encode()
|
| /subsys/mgmt/mcumgr/mgmt/ |
| A D | Kconfig | 6 # here affect behaviour of services provided by source code of mcumgr/mgmt/ 15 With this enabled, applications and parts of code can register for MCUmgr event 20 To enable notifications in code, mgmt_callback_register() must be called with the
|
| /subsys/stats/ |
| A D | Kconfig | 19 but results in a larger code size. 29 but results in a larger code size.
|
| /subsys/usb/host/ |
| A D | usbip.h | 34 uint16_t code; member 40 uint16_t code; member
|
| /subsys/mgmt/mcumgr/grp/shell_mgmt/ |
| A D | Kconfig | 44 bool "Legacy behaviour: Use rc field for shell function return code" 47 return code is returned, incorrectly, in the rc field that was 50 shell command exit code, and rc will be used for SMP processing
|
| /subsys/net/lib/dhcpv6/ |
| A D | dhcpv6.c | 221 enum dhcpv6_option_code code, in dhcpv6_add_option_header() argument 892 uint16_t code, sublen; in dhcpv6_parse_option_iaaddr() local 904 switch (code) { in dhcpv6_parse_option_iaaddr() 975 uint16_t code, sublen; in dhcpv6_parse_option_ia_na() local 987 switch (code) { in dhcpv6_parse_option_ia_na() 1068 uint16_t code, sublen; in dhcpv6_parse_option_iaprefix() local 1080 switch (code) { in dhcpv6_parse_option_iaprefix() 1151 uint16_t code, sublen; in dhcpv6_parse_option_ia_pd() local 1163 switch (code) { in dhcpv6_parse_option_ia_pd() 1238 uint16_t code; in dhcpv6_find_option() local [all …]
|