/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | avctp.c | 39 struct bt_avctp *session; in avctp_l2cap_connected() local 46 session = AVCTP_CHAN(chan); in avctp_l2cap_connected() 47 LOG_DBG("chan %p session %p", chan, session); in avctp_l2cap_connected() 49 if (session->ops && session->ops->connected) { in avctp_l2cap_connected() 50 session->ops->connected(session); in avctp_l2cap_connected() 56 struct bt_avctp *session; in avctp_l2cap_disconnected() local 63 session = AVCTP_CHAN(chan); in avctp_l2cap_disconnected() 64 LOG_DBG("chan %p session %p", chan, session); in avctp_l2cap_disconnected() 65 session->br_chan.chan.conn = NULL; in avctp_l2cap_disconnected() 67 if (session->ops && session->ops->disconnected) { in avctp_l2cap_disconnected() [all …]
|
D | rfcomm.c | 156 dlcs->session->dlcs = dlcs->_next; in rfcomm_dlcs_remove_dlci() 190 struct bt_rfcomm_session *session = &bt_rfcomm_pool[i]; in rfcomm_sessions_lookup_bt_conn() local 192 if (session->br_chan.chan.conn == conn) { in rfcomm_sessions_lookup_bt_conn() 193 return session; in rfcomm_sessions_lookup_bt_conn() 239 dlc->session = NULL; in rfcomm_dlc_destroy() 269 k_sem_give(&dlc->session->fc); in rfcomm_dlc_disconnect() 277 static void rfcomm_session_disconnected(struct bt_rfcomm_session *session) in rfcomm_session_disconnected() argument 281 LOG_DBG("Session %p", session); in rfcomm_session_disconnected() 283 if (session->state == BT_RFCOMM_STATE_DISCONNECTED) { in rfcomm_session_disconnected() 287 for (dlc = session->dlcs; dlc;) { in rfcomm_session_disconnected() [all …]
|
D | avdtp.c | 69 static void avdtp_lock(struct bt_avdtp *session) in avdtp_lock() argument 71 k_sem_take(&session->sem_lock, K_FOREVER); in avdtp_lock() 74 static void avdtp_unlock(struct bt_avdtp *session) in avdtp_unlock() argument 76 k_sem_give(&session->sem_lock); in avdtp_unlock() 110 static inline void bt_avdtp_clear_req(struct bt_avdtp *session) in bt_avdtp_clear_req() argument 112 avdtp_lock(session); in bt_avdtp_clear_req() 113 session->req = NULL; in bt_avdtp_clear_req() 114 avdtp_unlock(session); in bt_avdtp_clear_req() 120 struct bt_avdtp *session; in bt_avdtp_media_l2cap_connected() local 128 session = sep->session; in bt_avdtp_media_l2cap_connected() [all …]
|
D | avdtp_internal.h | 179 void (*connected)(struct bt_avdtp *session); 181 void (*disconnected)(struct bt_avdtp *session); 183 struct net_buf *(*alloc_buf)(struct bt_avdtp *session); 185 int (*discovery_ind)(struct bt_avdtp *session, uint8_t *errcode); 187 int (*get_capabilities_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, 190 int (*set_configuration_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, 193 int (*re_configuration_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, 196 int (*open_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t *errcode); 198 int (*close_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t *errcode); 200 int (*start_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t *errcode); [all …]
|
D | sdp.c | 1483 static int sdp_client_ss_search(struct bt_sdp_client *session, in sdp_client_ss_search() argument 1519 net_buf_add_be16(buf, net_buf_tailroom(session->rec_buf) / SDP_RECORD_HANDLE_SIZE); in sdp_client_ss_search() 1526 if (session->cstate.length == 0U) { in sdp_client_ss_search() 1529 net_buf_add_u8(buf, session->cstate.length); in sdp_client_ss_search() 1530 net_buf_add_mem(buf, session->cstate.data, session->cstate.length); in sdp_client_ss_search() 1534 session->param = param; in sdp_client_ss_search() 1535 session->tid++; in sdp_client_ss_search() 1537 return bt_sdp_send(&session->chan.chan, buf, BT_SDP_SVC_SEARCH_REQ, session->tid); in sdp_client_ss_search() 1541 static int sdp_client_sa_search(struct bt_sdp_client *session, in sdp_client_sa_search() argument 1552 net_buf_add_be16(buf, net_buf_tailroom(session->rec_buf)); in sdp_client_sa_search() [all …]
|
D | avctp_internal.h | 77 void (*connected)(struct bt_avctp *session); 78 void (*disconnected)(struct bt_avctp *session); 79 int (*recv)(struct bt_avctp *session, struct net_buf *buf); 88 int (*accept)(struct bt_conn *conn, struct bt_avctp **session); 98 int bt_avctp_connect(struct bt_conn *conn, struct bt_avctp *session); 101 int bt_avctp_disconnect(struct bt_avctp *session); 104 struct net_buf *bt_avctp_create_pdu(struct bt_avctp *session, bt_avctp_cr_t cr, 109 int bt_avctp_send(struct bt_avctp *session, struct net_buf *buf);
|
D | a2dp.c | 30 #define A2DP_AVDTP(_avdtp) CONTAINER_OF(_avdtp, struct bt_a2dp, session) 61 struct bt_avdtp session; member 82 if (a2dp->session.br_chan.chan.conn == NULL) { in a2dp_get_connection() 90 static void a2dp_connected(struct bt_avdtp *session) in a2dp_connected() argument 92 struct bt_a2dp *a2dp = A2DP_AVDTP(session); in a2dp_connected() 102 static void a2dp_disconnected(struct bt_avdtp *session) in a2dp_disconnected() argument 104 struct bt_a2dp *a2dp = A2DP_AVDTP(session); in a2dp_disconnected() 113 static struct net_buf *a2dp_alloc_buf(struct bt_avdtp *session) in a2dp_alloc_buf() argument 118 static int a2dp_discovery_ind(struct bt_avdtp *session, uint8_t *errcode) in a2dp_discovery_ind() argument 124 static int a2dp_get_capabilities_ind(struct bt_avdtp *session, struct bt_avdtp_sep *sep, in a2dp_get_capabilities_ind() argument [all …]
|
D | avrcp.c | 35 struct bt_avctp session; member 47 #define AVRCP_AVCTP(_avctp) CONTAINER_OF(_avctp, struct bt_avrcp, session) 225 static void avrcp_connected(struct bt_avctp *session) in avrcp_connected() argument 227 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_connected() 237 static void avrcp_disconnected(struct bt_avctp *session) in avrcp_disconnected() argument 239 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_disconnected() 319 static int avrcp_recv(struct bt_avctp *session, struct net_buf *buf) in avrcp_recv() argument 321 struct bt_avrcp *avrcp = AVRCP_AVCTP(session); in avrcp_recv() 382 static int avrcp_accept(struct bt_conn *conn, struct bt_avctp **session) in avrcp_accept() argument 391 *session = &(avrcp->session); in avrcp_accept() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | isoal.c | 286 struct isoal_sink_session *session = &isoal_global.sink_state[*hdl].session; in isoal_sink_create() local 288 session->handle = handle; in isoal_sink_create() 289 session->framed = framed; in isoal_sink_create() 290 session->sdu_interval = sdu_interval; in isoal_sink_create() 291 session->iso_interval = iso_interval; in isoal_sink_create() 292 session->burst_number = burst_number; in isoal_sink_create() 299 session->pdus_per_sdu = (burst_number * sdu_interval) / in isoal_sink_create() 332 session->sdu_sync_const = stream_sync_delay + sdu_interval + in isoal_sink_create() 335 session->sdu_sync_const = stream_sync_delay + in isoal_sink_create() 340 session->sdu_sync_const = stream_sync_delay - group_sync_delay; in isoal_sink_create() [all …]
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_session.c | 20 static struct session sessions[SESSION_PROTO_END][SESSION_MAX]; 23 struct session *get_session(const struct sockaddr *addr, in get_session() 26 struct session *active = NULL; in get_session() 27 struct session *free = NULL; in get_session() 39 struct session *ptr = &sessions[proto][i]; in get_session() 89 void zperf_reset_session_stats(struct session *session) in zperf_reset_session_stats() argument 91 if (!session) { in zperf_reset_session_stats() 95 session->counter = 0U; in zperf_reset_session_stats() 96 session->start_time = 0U; in zperf_reset_session_stats() 97 session->next_id = 1U; in zperf_reset_session_stats() [all …]
|
D | zperf_udp_receiver.c | 107 struct session *session; in udp_received() local 120 session = get_session(addr, SESSION_UDP); in udp_received() 121 if (!session) { in udp_received() 128 switch (session->state) { in udp_received() 136 &session->stat) < 0) { in udp_received() 140 zperf_reset_session_stats(session); in udp_received() 141 session->state = STATE_ONGOING; in udp_received() 142 session->start_time = time; in udp_received() 157 session->start_time); in udp_received() 160 session->state = STATE_COMPLETED; in udp_received() [all …]
|
D | zperf_session.h | 35 struct session { struct 57 struct session *get_session(const struct sockaddr *addr, argument 60 void zperf_reset_session_stats(struct session *session);
|
D | zperf_tcp_receiver.c | 49 struct session *session; in tcp_received() local 54 session = get_session(addr, SESSION_TCP); in tcp_received() 55 if (!session) { in tcp_received() 60 switch (session->state) { in tcp_received() 63 zperf_reset_session_stats(session); in tcp_received() 64 session->start_time = k_uptime_ticks(); in tcp_received() 65 session->state = STATE_ONGOING; in tcp_received() 74 session->counter++; in tcp_received() 75 session->length += datalen; in tcp_received() 80 session->state = STATE_COMPLETED; in tcp_received() [all …]
|
/Zephyr-latest/drivers/crypto/ |
D | crypto_mcux_dcp.c | 69 static inline void free_session(struct crypto_dcp_session *session) in free_session() argument 71 session->in_use = false; in free_session() 84 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_aes_cbc_encrypt() local 103 status = DCP_AES_EncryptCbc(cfg->base, &session->handle, pkt->in_buf, in crypto_dcp_aes_cbc_encrypt() 119 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_aes_cbc_decrypt() local 134 status = DCP_AES_DecryptCbc(cfg->base, &session->handle, pkt->in_buf + iv_bytes, in crypto_dcp_aes_cbc_decrypt() 150 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_aes_ecb_encrypt() local 154 status = DCP_AES_EncryptEcb(cfg->base, &session->handle, pkt->in_buf, pkt->out_buf, in crypto_dcp_aes_ecb_encrypt() 170 struct crypto_dcp_session *session = ctx->drv_sessn_state; in crypto_dcp_aes_ecb_decrypt() local 174 status = DCP_AES_DecryptEcb(cfg->base, &session->handle, pkt->in_buf, pkt->out_buf, in crypto_dcp_aes_ecb_decrypt() [all …]
|
D | crypto_stm32.c | 120 struct crypto_stm32_session *session = CRYPTO_STM32_SESSN(ctx); in do_aes() local 128 memcpy(&data->hcryp.Init, &session->config, sizeof(session->config)); in do_aes() 130 status = HAL_CRYP_SetConfig(&data->hcryp, &session->config); in do_aes() 215 struct crypto_stm32_session *session = CRYPTO_STM32_SESSN(ctx); in crypto_stm32_cbc_encrypt() local 219 session->config.pInitVect = CAST_VEC(vec); in crypto_stm32_cbc_encrypt() 242 struct crypto_stm32_session *session = CRYPTO_STM32_SESSN(ctx); in crypto_stm32_cbc_decrypt() local 246 session->config.pInitVect = CAST_VEC(vec); in crypto_stm32_cbc_decrypt() 267 struct crypto_stm32_session *session = CRYPTO_STM32_SESSN(ctx); in crypto_stm32_ctr_encrypt() local 273 session->config.pInitVect = CAST_VEC(ctr); in crypto_stm32_ctr_encrypt() 290 struct crypto_stm32_session *session = CRYPTO_STM32_SESSN(ctx); in crypto_stm32_ctr_decrypt() local [all …]
|
D | crypto_intel_sha.c | 201 struct sha_session *session = (struct sha_session *)ctx->drv_sessn_state; in intel_sha_compute() local 208 self->dfsha->shactl.part.algo = session->algo; in intel_sha_compute() 211 self->dfsha->shaaldw0 = session->sha_ctx.shaaldw0; in intel_sha_compute() 212 self->dfsha->shaaldw1 = session->sha_ctx.shaaldw1; in intel_sha_compute() 215 (void *)session->sha_ctx.initial_vector, in intel_sha_compute() 222 (void *)session->sha_ctx.sha_result, in intel_sha_compute() 236 session->state.part.state = SHA_LAST; in intel_sha_compute() 240 session->state.full); in intel_sha_compute() 246 session->state.part.hrsm = SHA_HRSM_ENABLE; in intel_sha_compute() 247 session->state.part.state = SHA_MIDLE; in intel_sha_compute() [all …]
|
D | crypto_si32.c | 566 struct crypto_session *session; in crypto_si32_aes_ecb_op() local 574 session = (struct crypto_session *)ctx->drv_sessn_state; in crypto_si32_aes_ecb_op() 634 ret = crypto_si32_aes_set_key(session->decryption_key, ctx->keylen); in crypto_si32_aes_ecb_op() 700 struct crypto_session *session; in crypto_si32_aes_cbc_op() local 710 session = (struct crypto_session *)ctx->drv_sessn_state; in crypto_si32_aes_cbc_op() 792 ret = crypto_si32_aes_set_key(session->decryption_key, ctx->keylen); in crypto_si32_aes_cbc_op() 875 struct crypto_session *session; in crypto_si32_aes_ctr_op() local 883 session = (struct crypto_session *)ctx->drv_sessn_state; in crypto_si32_aes_ctr_op() 921 SI32_AES_0->HWCTR3.U32 = sys_cpu_to_be32(session->current_ctr); in crypto_si32_aes_ctr_op() 989 session->current_ctr = sys_be32_to_cpu(SI32_AES_0->HWCTR3.U32); in crypto_si32_aes_ctr_op() [all …]
|
/Zephyr-latest/samples/net/cellular_modem/server/ |
D | te_udp_receive.py | 72 session = self._get_session_by_address_(address) 73 session.on_packet_received(data) 83 for session in self.sessions: 84 if session.get_address() == address: 85 return session 95 for session in sessions: 96 result = session.update() 104 sock.sendto(response, session.get_address()) 107 self.sessions.remove(session)
|
/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_packet/ |
D | README | 41 [PASS] 1 - CONNECT, new session, zeros 42 [PASS] 2 - CONNECT, new session, will 43 [PASS] 3 - CONNECT, new session, will retain 44 [PASS] 4 - CONNECT, new session, will qos = 1 45 [PASS] 5 - CONNECT, new session, will qos = 1, will retain 46 [PASS] 6 - CONNECT, new session, username and password
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/sub_sets/ |
D | isoal_test_tx.c | 571 zassert_equal(isoal_global.source_state[source_hdl[i]].session.pdus_per_sdu, in ZTEST() 579 isoal_global.source_state[source_hdl[i]].session.pdus_per_sdu, in ZTEST() 824 isoal_global.source_state[source_hdl].session.handle); in ZTEST() 836 isoal_global.source_state[source_hdl].session.handle, in ZTEST() 953 isoal_global.source_state[source_hdl].session.handle); in ZTEST() 1074 isoal_global.source_state[source_hdl].session.handle); in ZTEST() 1093 isoal_global.source_state[source_hdl].session.handle); in ZTEST() 1113 isoal_global.source_state[source_hdl].session.handle); in ZTEST() 1321 isoal_global.source_state[source_hdl].session.handle); in ZTEST() 1489 isoal_global.source_state[source_hdl].session.handle); in ZTEST() [all …]
|
/Zephyr-latest/subsys/net/lib/mqtt/ |
D | Kconfig | 52 When a client connects to a MQTT broker using a persistent session, 56 subscribed. When the client reconnects to the persistent session, 59 persistent session.
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_tls.c | 111 uint8_t *session; member 268 if (client_cache[i].session != NULL) { in tls_session_cache_reset() 269 mbedtls_free(client_cache[i].session); in tls_session_cache_reset() 575 mbedtls_ssl_session *session) in tls_session_save() argument 582 if (client_cache[i].session == NULL) { in tls_session_save() 584 if (entry == NULL || entry->session != NULL) { in tls_session_save() 596 (entry->session != NULL && in tls_session_save() 605 if (entry->session != NULL) { in tls_session_save() 606 mbedtls_free(entry->session); in tls_session_save() 607 entry->session = NULL; in tls_session_save() [all …]
|
/Zephyr-latest/boards/infineon/cy8ckit_062s2_ai/ |
D | board.cmake | 3 # During gdb session, by default connect to CM4 core.
|
/Zephyr-latest/share/sysbuild/cmake/modules/ |
D | sysbuild_default.cmake | 6 # Sysbuild default list of CMake modules to include in a regular sysbuild session.
|
/Zephyr-latest/boards/infineon/cy8cproto_062_4343w/ |
D | board.cmake | 4 # During gdb session, by default connect to CM4 core.
|