Lines Matching refs:rx_size

388 	int rx_size;  member
829 sock->rx_size = 0; in socket_put()
4087 LOG_DBG("Socket %d RX %u bytes", sock->socket_id, sock->rx_size); in sock_read()
4097 wait_for_modem_data(buf, 0, sock->rx_size); in sock_read()
4104 net_context_get_iface(sock->context), sock->rx_size, in sock_read()
4118 for (i = 0; i < sock->rx_size; i++) { in sock_read()
4128 if (!*buf && i < sock->rx_size) { in sock_read()
4244 static int start_socket_rx(struct hl7800_socket *sock, uint16_t rx_size) in start_socket_rx() argument
4248 if ((sock->socket_id <= 0) || (sock->rx_size <= 0)) { in start_socket_rx()
4250 sock->socket_id, sock->rx_size); in start_socket_rx()
4254 LOG_DBG("Start socket RX ID:%d size:%d", sock->socket_id, rx_size); in start_socket_rx()
4258 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV4UDPH_LEN)) { in start_socket_rx()
4259 sock->rx_size = in start_socket_rx()
4264 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV6UDPH_LEN)) { in start_socket_rx()
4265 sock->rx_size = in start_socket_rx()
4270 sock->socket_id, rx_size); in start_socket_rx()
4273 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV4TCPH_LEN)) { in start_socket_rx()
4274 sock->rx_size = in start_socket_rx()
4279 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV6TCPH_LEN)) { in start_socket_rx()
4280 sock->rx_size = in start_socket_rx()
4285 sock->socket_id, sock->rx_size); in start_socket_rx()
4309 rc = start_socket_rx(sock, sock->rx_size); in sock_rx_data_cb_work()
4362 sock->rx_size = left_bytes; in on_cmd_sockdataind()