Lines Matching refs:packet_sizes
32 total = sock->packet_sizes[0]; in modem_socket_next_packet_size()
49 total += sock->packet_sizes[i]; in modem_socket_packet_get_total()
65 sock->packet_sizes[i] = sock->packet_sizes[i + 1]; in modem_socket_packet_drop_first()
68 sock->packet_sizes[sock->packet_count] = 0U; in modem_socket_packet_drop_first()
90 sock->packet_sizes[0] = 0U; in modem_socket_packet_size_update()
106 if (old_total - new_total < sock->packet_sizes[0]) { in modem_socket_packet_size_update()
107 sock->packet_sizes[0] -= old_total - new_total; in modem_socket_packet_size_update()
111 old_total -= sock->packet_sizes[0]; in modem_socket_packet_size_update()
125 sock->packet_sizes[sock->packet_count] = new_total - old_total; in modem_socket_packet_size_update()
133 if (sock->packet_sizes[0]) { in modem_socket_packet_size_update()
246 memset(&sock->packet_sizes, 0, sizeof(sock->packet_sizes)); in modem_socket_put()
291 if (sock->packet_sizes[0] > 0U) { in modem_socket_poll()
325 } else if ((fds[i].events & ZSOCK_POLLIN) && (sock->packet_sizes[0] > 0U)) { in modem_socket_poll()