Searched refs:sock_fd (Results 1 – 10 of 10) sorted by relevance
/Zephyr-Core-2.7.6/drivers/modem/ |
D | modem_socket.c | 161 cfg->sockets[i].sock_fd = z_reserve_fd(); in modem_socket_get() 162 if (cfg->sockets[i].sock_fd < 0) { in modem_socket_get() 172 z_finalize_fd(cfg->sockets[i].sock_fd, &cfg->sockets[i], in modem_socket_get() 176 return cfg->sockets[i].sock_fd; in modem_socket_get() 180 int sock_fd) in modem_socket_from_fd() argument 187 if (cfg->sockets[i].sock_fd == sock_fd) { in modem_socket_from_fd() 226 void modem_socket_put(struct modem_socket_config *cfg, int sock_fd) in modem_socket_put() argument 228 struct modem_socket *sock = modem_socket_from_fd(cfg, sock_fd); in modem_socket_put() 237 sock->sock_fd = -1; in modem_socket_put()
|
D | modem_socket.h | 33 int sock_fd; member 71 int sock_fd); 75 void modem_socket_put(struct modem_socket_config *cfg, int sock_fd);
|
D | quectel-bg9x.c | 190 snprintk(buf, sizeof(buf), "AT+QICLOSE=%d", sock->sock_fd); in socket_close() 200 modem_socket_put(&mdata.socket_config, sock->sock_fd); in socket_close() 374 return on_cmd_sockread_common(mdata.sock_fd, data, len); in MODEM_CMD_DEFINE() 381 int sock_fd; in MODEM_CMD_DEFINE() local 383 sock_fd = ATOI(argv[0], 0, "sock_fd"); in MODEM_CMD_DEFINE() 386 sock = modem_socket_from_fd(&mdata.socket_config, sock_fd); in MODEM_CMD_DEFINE() 392 LOG_INF("Data Receive Indication for socket: %d", sock_fd); in MODEM_CMD_DEFINE() 402 int sock_fd; in MODEM_CMD_DEFINE() local 404 sock_fd = ATOI(argv[0], 0, "sock_fd"); in MODEM_CMD_DEFINE() 405 sock = modem_socket_from_fd(&mdata.socket_config, sock_fd); in MODEM_CMD_DEFINE() [all …]
|
D | quectel-bg9x.h | 108 int sock_fd; member
|
D | ublox-sara-r4.c | 754 modem_socket_put(&mdata.socket_config, sock->sock_fd); in MODEM_CMD_DEFINE() 1464 modem_socket_put(&mdata.socket_config, sock->sock_fd); in create_socket() 1512 modem_socket_put(&mdata.socket_config, sock->sock_fd); in offload_close() 1549 sock->id, sock->sock_fd); in offload_connect()
|
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_firmware_pull.c | 32 .sock_fd = -1 463 if (firmware_ctx.sock_fd > -1) { in lwm2m_firmware_start_transfer() 468 firmware_ctx.sock_fd = -1; in lwm2m_firmware_start_transfer()
|
D | lwm2m_rd_client.c | 636 if (client.ctx->sock_fd > -1) { in sm_do_bootstrap_reg() 826 if (client.ctx->sock_fd > -1) { in sm_do_registration() 1069 client.ctx->sock_fd = -1; in lwm2m_rd_client_start() 1093 if (client.ctx->sock_fd > -1) { in lwm2m_rd_client_stop()
|
D | lwm2m_engine.c | 1006 rc = send(msg->ctx->sock_fd, msg->cpkt.data, msg->cpkt.offset, 0); in lwm2m_send_message() 4375 int sock_fd = client_ctx->sock_fd; in lwm2m_engine_context_close() local 4400 client_ctx->sock_fd = -1; in lwm2m_engine_context_close() 4401 if (sock_fd >= 0) { in lwm2m_engine_context_close() 4402 return close(sock_fd); in lwm2m_engine_context_close() 4423 sock_fds[sock_nfds].fd = ctx->sock_fd; in lwm2m_socket_add() 4506 len = recvfrom(client_ctx->sock_fd, in_buf, sizeof(in_buf) - 1, in socket_recv_message() 4682 client_ctx->sock_fd = socket(client_ctx->remote_addr.sa_family, in lwm2m_socket_start() 4687 client_ctx->sock_fd = socket(client_ctx->remote_addr.sa_family, in lwm2m_socket_start() 4691 if (client_ctx->sock_fd < 0) { in lwm2m_socket_start() [all …]
|
/Zephyr-Core-2.7.6/include/net/ |
D | lwm2m.h | 122 int sock_fd; member
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-2.0.rst | 700 * :github:`18238` - drivers/modem/modem_socket: modem_socket_put() sock_fd parameter not handled co…
|