Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 17 of 17) sorted by relevance

/subsys/bluetooth/host/classic/
A Davdtp.c252 if (msg_type == BT_AVDTP_ACCEPT) { in avdtp_set_status()
324 avdtp_set_status(req, buf, msg_type); in avdtp_discover_rsp()
407 uint8_t msg_type) in avdtp_get_capabilities_rsp() argument
416 avdtp_set_status(req, buf, msg_type); in avdtp_get_capabilities_rsp()
517 if (msg_type == BT_AVDTP_ACCEPT) { in avdtp_process_configuration_rsp()
548 uint8_t msg_type) in avdtp_set_configuration_rsp() argument
624 avdtp_set_status(req, buf, msg_type); in avdtp_open_rsp()
719 if (msg_type == BT_AVDTP_ACCEPT) { in avdtp_start_rsp()
797 avdtp_set_status(req, buf, msg_type); in avdtp_close_rsp()
874 if (msg_type == BT_AVDTP_ACCEPT) { in avdtp_suspend_rsp()
[all …]
A Drfcomm.c1393 uint8_t msg_type, len, cr; in rfcomm_handle_msg() local
1401 msg_type = BT_RFCOMM_GET_MSG_TYPE(hdr->type); in rfcomm_handle_msg()
1405 LOG_DBG("msg type %x cr %x", msg_type, cr); in rfcomm_handle_msg()
1407 switch (msg_type) { in rfcomm_handle_msg()
1464 LOG_WRN("Unknown/Unsupported RFCOMM Msg type 0x%02x", msg_type); in rfcomm_handle_msg()
/subsys/usb/usb_c/
A Dusbc_prl.c191 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()
858 if ((prl_tx->msg_type == PD_CTRL_SOFT_RESET) && (prl_tx->emsg.len == 0)) { in prl_tx_src_pending_run()
925 if ((prl_tx->msg_type == PD_CTRL_SOFT_RESET) && (prl_tx->emsg.len == 0)) { in prl_tx_snk_pending_run()
1183 uint8_t msg_type; in prl_rx_wait_for_phy_message() local
1198 msg_type = rx_emsg->header.message_type; in prl_rx_wait_for_phy_message()
1204 if (msg_type != PD_CTRL_PING) { in prl_rx_wait_for_phy_message()
1219 if (num_data_objs == 0 && msg_type == PD_CTRL_SOFT_RESET) { in prl_rx_wait_for_phy_message()
[all …]
A Dusbc_prl.h50 uint8_t msg_type; member
A Dusbc_pe_common.c779 if (prl_tx->msg_type == PD_CTRL_ACCEPT) { in pe_drs_evaluate_swap_run()
/subsys/bluetooth/mesh/
A Dpb_gatt_cli.c43 switch (role->msg_type) { in pb_gatt_msg_recv()
49 LOG_WRN("Unhandled Message Type 0x%02x", role->msg_type); in pb_gatt_msg_recv()
A Dproxy_msg.c118 role->msg_type = PDU_TYPE(data); in bt_mesh_proxy_msg_recv()
131 role->msg_type = PDU_TYPE(data); in bt_mesh_proxy_msg_recv()
141 if (role->msg_type != PDU_TYPE(data)) { in bt_mesh_proxy_msg_recv()
156 if (role->msg_type != PDU_TYPE(data)) { in bt_mesh_proxy_msg_recv()
A Dproxy_msg.h38 uint8_t msg_type; member
A Dpb_gatt_srv.c53 switch (role->msg_type) { in proxy_msg_recv()
60 LOG_WRN("Unhandled Message Type 0x%02x", role->msg_type); in proxy_msg_recv()
A Dproxy_cli.c105 switch (role->msg_type) { in proxy_msg_recv()
119 LOG_WRN("Unhandled Message Type 0x%02x", role->msg_type); in proxy_msg_recv()
A Dproxy_srv.c298 switch (role->msg_type) { in proxy_msg_recv()
312 LOG_WRN("Unhandled Message Type 0x%02x", role->msg_type); in proxy_msg_recv()
/subsys/net/lib/ocpp/
A Docpp_wamp_rpc.c75 int ocpp_receive_from_server(struct ocpp_wamp_rpc_msg *rcv, uint32_t *msg_type, in ocpp_receive_from_server() argument
92 msg_type, in ocpp_receive_from_server()
A Docpp.c519 uint32_t msg_type; in ocpp_wsreader() local
527 ret = ocpp_receive_from_server(&rcv, &msg_type, 200); in ocpp_wsreader()
536 if (msg_type & WEBSOCKET_FLAG_PING) { in ocpp_wsreader()
540 } else if (msg_type & WEBSOCKET_FLAG_CLOSE) { in ocpp_wsreader()
A Docpp_i.h201 int ocpp_receive_from_server(struct ocpp_wamp_rpc_msg *rcv, uint32_t *msg_type,
/subsys/net/lib/dhcpv4/
A Ddhcpv4.c938 cb->handler(cb, len, *msg_type, iface); in dhcpv4_parse_option_vendor()
959 enum net_dhcpv4_msg_type *msg_type) in dhcpv4_parse_options() argument
1378 *msg_type = val; in dhcpv4_parse_options()
1408 if (*msg_type == NET_DHCPV4_MSG_TYPE_ACK) { in dhcpv4_parse_options()
1524 enum net_dhcpv4_msg_type msg_type, in dhcpv4_handle_reply() argument
1529 net_dhcpv4_msg_type_name(msg_type)); in dhcpv4_handle_reply()
1531 switch (msg_type) { in dhcpv4_handle_reply()
1555 enum net_dhcpv4_msg_type msg_type = 0; in net_dhcpv4_input() local
1639 dhcpv4_handle_reply(iface, msg_type, msg); in net_dhcpv4_input()
1795 if (msg_type >= 1 && msg_type <= sizeof(name)) { in net_dhcpv4_msg_type_name()
[all …]
/subsys/ipc/ipc_service/backends/
A Dipc_icbmsg.c127 enum msg_type { enum
215 uint8_t msg_type; /* Message type. */ member
520 static int send_control_message(struct backend_data *dev_data, enum msg_type msg_type, in send_control_message() argument
525 .msg_type = (uint8_t)msg_type, in send_control_message()
555 enum msg_type msg_type, uint8_t ept_addr) in send_release() argument
565 return send_control_message(dev_data, msg_type, ept_addr, rx_block_index); in send_release()
581 static int send_block(struct backend_data *dev_data, enum msg_type msg_type, in send_block() argument
593 r = send_control_message(dev_data, msg_type, ept_addr, tx_block_index); in send_block()
969 switch (message->msg_type) { in control_received()
/subsys/net/lib/dhcpv6/
A Ddhcpv6.c578 enum dhcpv6_msg_type msg_type, in dhcpv6_create_message() argument
607 if (dhcpv6_add_header(pkt, msg_type, iface->config.dhcpv6.tid) < 0) { in dhcpv6_create_message()
1919 uint8_t msg_type; in dhcpv6_input() local
1946 if (net_pkt_read_u8(pkt, &msg_type) < 0) { in dhcpv6_input()
1957 msg_type, tid[0], tid[1], tid[2]); in dhcpv6_input()
1959 switch (msg_type) { in dhcpv6_input()

Completed in 97 milliseconds