/Zephyr-latest/tests/net/socket/websocket/src/ |
D | main.c | 50 uint32_t *msg_type, uint64_t *remaining, in test_recv_buf() argument 64 msg_type, remaining, 0); in test_recv_buf() 106 uint32_t msg_type = -1; in test_recv() local 125 &ctx, &msg_type, &remaining, in test_recv() 142 &ctx, &msg_type, &remaining, in test_recv() 158 &ctx, &msg_type, &remaining, in test_recv() 171 zassert_equal(msg_type & WEBSOCKET_FLAG_TEXT, WEBSOCKET_FLAG_TEXT, "Msg is not text"); in test_recv() 228 uint32_t msg_type = -1; in ZTEST() local 239 total_read = test_recv_buf(&feed_buf[0], sizeof(ping), &ctx, &msg_type, &remaining, in ZTEST() 243 zassert_equal(msg_type & WEBSOCKET_FLAG_PING, WEBSOCKET_FLAG_PING, "Msg is not ping"); in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | avdtp.c | 222 static struct net_buf *avdtp_create_reply_pdu(uint8_t msg_type, uint8_t pkt_type, uint8_t sig_id, in avdtp_create_reply_pdu() argument 238 hdr->hdr = (msg_type | pkt_type << AVDTP_PKT_POSITION | tid << AVDTP_TID_POSITION); in avdtp_create_reply_pdu() 245 static void avdtp_set_status(struct bt_avdtp_req *req, struct net_buf *buf, uint8_t msg_type) in avdtp_set_status() argument 247 if (msg_type == BT_AVDTP_ACCEPT) { in avdtp_set_status() 249 } else if (msg_type == BT_AVDTP_REJECT) { in avdtp_set_status() 256 } else if (msg_type == BT_AVDTP_GEN_REJECT) { in avdtp_set_status() 263 static void avdtp_discover_handler(struct bt_avdtp *session, struct net_buf *buf, uint8_t msg_type, in avdtp_discover_handler() argument 266 if (msg_type == BT_AVDTP_CMD) { in avdtp_discover_handler() 317 if (msg_type == BT_AVDTP_ACCEPT) { in avdtp_discover_handler() 322 avdtp_set_status(req, buf, msg_type); in avdtp_discover_handler() [all …]
|
D | rfcomm.c | 1315 uint8_t msg_type, len, cr; in rfcomm_handle_msg() local 1323 msg_type = BT_RFCOMM_GET_MSG_TYPE(hdr->type); in rfcomm_handle_msg() 1327 LOG_DBG("msg type %x cr %x", msg_type, cr); in rfcomm_handle_msg() 1329 switch (msg_type) { in rfcomm_handle_msg() 1385 LOG_WRN("Unknown/Unsupported RFCOMM Msg type 0x%02x", msg_type); in rfcomm_handle_msg()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | pb_gatt_cli.c | 42 switch (role->msg_type) { in pb_gatt_msg_recv() 48 LOG_WRN("Unhandled Message Type 0x%02x", role->msg_type); in pb_gatt_msg_recv()
|
D | proxy_msg.c | 100 role->msg_type = PDU_TYPE(data); in bt_mesh_proxy_msg_recv() 113 role->msg_type = PDU_TYPE(data); in bt_mesh_proxy_msg_recv() 123 if (role->msg_type != PDU_TYPE(data)) { in bt_mesh_proxy_msg_recv() 138 if (role->msg_type != PDU_TYPE(data)) { in bt_mesh_proxy_msg_recv()
|
D | proxy_msg.h | 38 uint8_t msg_type; member
|
D | pb_gatt_srv.c | 53 switch (role->msg_type) { in proxy_msg_recv() 60 LOG_WRN("Unhandled Message Type 0x%02x", role->msg_type); in proxy_msg_recv()
|
D | proxy_cli.c | 105 switch (role->msg_type) { in proxy_msg_recv() 119 LOG_WRN("Unhandled Message Type 0x%02x", role->msg_type); in proxy_msg_recv()
|
D | proxy_srv.c | 301 switch (role->msg_type) { in proxy_msg_recv() 315 LOG_WRN("Unhandled Message Type 0x%02x", role->msg_type); in proxy_msg_recv()
|
/Zephyr-latest/include/zephyr/net/ |
D | dhcpv4.h | 89 enum net_dhcpv4_msg_type msg_type, 253 const char *net_dhcpv4_msg_type_name(enum net_dhcpv4_msg_type msg_type);
|
D | gptp.h | 118 #define GPTP_IS_EVENT_MSG(msg_type) (!((msg_type) & BIT(3))) argument
|
/Zephyr-latest/tests/net/dhcpv4/client/src/ |
D | main.c | 503 enum net_dhcpv4_msg_type msg_type, in option_domain_cb() argument 520 enum net_dhcpv4_msg_type msg_type, in option_pop3_cb() argument 542 enum net_dhcpv4_msg_type msg_type, in option_invalid_cb() argument 553 enum net_dhcpv4_msg_type msg_type, in vendor_specific_string_cb() argument 570 enum net_dhcpv4_msg_type msg_type, in vendor_specific_byte_cb() argument 585 enum net_dhcpv4_msg_type msg_type, in vendor_specific_empty_cb() argument
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4.c | 888 enum net_dhcpv4_msg_type *msg_type, int length) in dhcpv4_parse_option_vendor() argument 934 cb->handler(cb, len, *msg_type, iface); in dhcpv4_parse_option_vendor() 955 enum net_dhcpv4_msg_type *msg_type) in dhcpv4_parse_options() argument 1002 cb->handler(cb, length, *msg_type, iface); in dhcpv4_parse_options() 1183 if (dhcpv4_parse_option_vendor(pkt, iface, msg_type, length) == in dhcpv4_parse_options() 1283 *msg_type = val; in dhcpv4_parse_options() 1307 if (*msg_type == NET_DHCPV4_MSG_TYPE_OFFER && !router_present) { in dhcpv4_parse_options() 1313 if (*msg_type == NET_DHCPV4_MSG_TYPE_ACK) { in dhcpv4_parse_options() 1426 enum net_dhcpv4_msg_type msg_type, in dhcpv4_handle_reply() argument 1431 net_dhcpv4_msg_type_name(msg_type)); in dhcpv4_handle_reply() [all …]
|
/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_prl.c | 191 prl_tx->msg_type = msg; in prl_send_ctrl_msg() 214 prl_tx->msg_type = msg; in prl_send_data_msg() 457 header.message_type = prl_tx->msg_type; in get_sop_star_header() 656 if ((prl_tx->msg_type == PD_CTRL_SOFT_RESET) && (prl_tx->emsg.len == 0)) { in prl_tx_wait_for_message_request_run() 854 if ((prl_tx->msg_type == PD_CTRL_SOFT_RESET) && (prl_tx->emsg.len == 0)) { in prl_tx_src_pending_run() 920 if ((prl_tx->msg_type == PD_CTRL_SOFT_RESET) && (prl_tx->emsg.len == 0)) { in prl_tx_snk_pending_run() 1172 uint8_t msg_type; in prl_rx_wait_for_phy_message() local 1187 msg_type = rx_emsg->header.message_type; in prl_rx_wait_for_phy_message() 1193 if (msg_type != PD_CTRL_PING) { in prl_rx_wait_for_phy_message() 1208 if (num_data_objs == 0 && msg_type == PD_CTRL_SOFT_RESET) { in prl_rx_wait_for_phy_message() [all …]
|
D | usbc_prl.h | 50 uint8_t msg_type; member
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_icbmsg.c | 126 enum msg_type { enum 214 uint8_t msg_type; /* Message type. */ member 519 static int send_control_message(struct backend_data *dev_data, enum msg_type msg_type, in send_control_message() argument 524 .msg_type = (uint8_t)msg_type, in send_control_message() 554 enum msg_type msg_type, uint8_t ept_addr) in send_release() argument 564 return send_control_message(dev_data, msg_type, ept_addr, rx_block_index); in send_release() 580 static int send_block(struct backend_data *dev_data, enum msg_type msg_type, in send_block() argument 592 r = send_control_message(dev_data, msg_type, ept_addr, tx_block_index); in send_block() 968 switch (message->msg_type) { in control_received()
|
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/ |
D | log_parser_v1.py | 354 msg_type = struct.unpack_from(self.fmt_msg_type, logdata, offset)[0] 357 if msg_type == MSG_TYPE_DROPPED: 363 elif msg_type == MSG_TYPE_NORMAL: 371 logger.error("------ Unknown message type: %s", msg_type)
|
D | log_parser_v3.py | 363 msg_type = struct.unpack_from(self.fmt_msg_type, logdata, offset)[0] 366 if msg_type == MSG_TYPE_DROPPED: 372 elif msg_type == MSG_TYPE_NORMAL: 380 logger.error("------ Unknown message type: %s", msg_type)
|
/Zephyr-latest/tests/net/dhcpv6/src/ |
D | main.c | 29 enum dhcpv6_msg_type msg_type); 128 struct net_if *iface, enum dhcpv6_msg_type msg_type, in test_dhcpv6_create_message() argument 161 if (dhcpv6_add_header(pkt, msg_type, iface->config.dhcpv6.tid) < 0) { in test_dhcpv6_create_message() 165 if (set_options_fn(iface, pkt, msg_type) < 0) { in test_dhcpv6_create_message() 255 enum dhcpv6_msg_type msg_type) in verify_dhcpv6_header() argument 265 zassert_equal(type, msg_type, "Invalid message type"); in verify_dhcpv6_header() 590 enum dhcpv6_msg_type msg_type) in set_generic_client_options() argument 600 if (msg_type == DHCPV6_MSG_TYPE_REQUEST || in set_generic_client_options() 601 msg_type == DHCPV6_MSG_TYPE_RENEW || in set_generic_client_options() 602 msg_type == DHCPV6_MSG_TYPE_RELEASE || in set_generic_client_options() [all …]
|
/Zephyr-latest/samples/net/dhcpv4_client/src/ |
D | main.c | 77 enum net_dhcpv4_msg_type msg_type, in option_handler() argument
|
/Zephyr-latest/tests/boards/espressif/ethernet/src/ |
D | main.c | 71 enum net_dhcpv4_msg_type msg_type, struct net_if *iface) in option_handler() argument
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_stm32.c | 108 uint32_t msg_type; /* Either LL_I3C_CONTROLLER_MTYPE_PRIVATE or member 218 return (curr_msg->msg_type == LL_I3C_CONTROLLER_MTYPE_PRIVATE); in i3c_stm32_curr_msg_is_i3c() 259 curr_msg->msg_type = LL_I3C_CONTROLLER_MTYPE_PRIVATE; in i3c_stm32_curr_msg_init() 265 curr_msg->msg_type = LL_I3C_CONTROLLER_MTYPE_LEGACY_I2C; in i3c_stm32_curr_msg_init() 1192 i3c_stm32_curr_msg_control_get_dir(dev) | curr_msg->msg_type | in i3c_stm32_transfer_begin() 1725 i3c_stm32_curr_msg_control_get_dir(dev), curr_msg->msg_type, in i3c_stm32_event_isr_cf()
|
/Zephyr-latest/subsys/net/lib/dhcpv6/ |
D | dhcpv6.c | 571 enum dhcpv6_msg_type msg_type, in dhcpv6_create_message() argument 600 if (dhcpv6_add_header(pkt, msg_type, iface->config.dhcpv6.tid) < 0) { in dhcpv6_create_message() 1794 uint8_t msg_type; in dhcpv6_input() local 1821 if (net_pkt_read_u8(pkt, &msg_type) < 0) { in dhcpv6_input() 1832 msg_type, tid[0], tid[1], tid[2]); in dhcpv6_input() 1834 switch (msg_type) { in dhcpv6_input()
|
/Zephyr-latest/scripts/ |
D | checkpatch.pl | 3236 my $msg_type = "LONG_LINE"; 3244 $msg_type = ""; 3250 $msg_type = ""; 3255 $msg_type = ""; 3259 $msg_type = ""; 3266 $msg_type = "LONG_LINE_COMMENT" 3271 $msg_type = "LONG_LINE_STRING" 3274 if ($msg_type ne "" && 3275 (show_type("LONG_LINE") || show_type($msg_type))) { 3278 &{$msg_level}($msg_type,
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ucpd_stm32.c | 554 enum ucpd_tx_msg msg_type) in ucpd_start_transmit() argument 565 data->ucpd_tx_active_buffer = &data->ucpd_tx_buffers[msg_type]; in ucpd_start_transmit()
|