Home
last modified time | relevance | path

Searched refs:packet_sizes (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/modem/
Dmodem_socket.c32 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()
[all …]
Dmodem_socket.h40 uint16_t packet_sizes[CONFIG_MODEM_SOCKET_PACKET_COUNT]; member