Lines Matching refs:socket_id
114 int socket_id; member
253 static struct wncm14a2a_socket *socket_from_id(int socket_id) in socket_from_id() argument
258 if (socket_id < 1) { in socket_from_id()
263 if (ictx.sockets[i].socket_id == socket_id) { in socket_from_id()
279 sock->socket_id = 0; in socket_put()
354 sock->socket_id, net_buf_frags_len(frag)); in send_data()
704 sock->socket_id = atoi(value); in on_cmd_sockcreat()
870 int socket_id, left_bytes; in on_cmd_sockdataind() local
888 socket_id = atoi(value); in on_cmd_sockdataind()
906 sock = socket_from_id(socket_id); in on_cmd_sockdataind()
908 LOG_ERR("Unable to find socket_id:%d", socket_id); in on_cmd_sockdataind()
913 LOG_DBG("socket_id:%d left_bytes:%d", socket_id, left_bytes); in on_cmd_sockdataind()
915 sock->socket_id, left_bytes); in on_cmd_sockdataind()
1471 sock->socket_id = MDM_MAX_SOCKETS + 1; /* socket # needs assigning */ in offload_get()
1555 if (sock->socket_id < 1) { in offload_connect()
1557 sock->socket_id, context); in offload_connect()
1595 sock->socket_id, wncm14a2a_sprint_ip_addr(addr), in offload_connect()
1720 snprintk(buf, sizeof(buf), "AT@SOCKCLOSE=%d", sock->socket_id); in offload_put()