Searched refs:prev_tcpstats (Results 1 – 1 of 1) sorted by relevance
1293 …struct necp_stat_counts *prev_tcpstats = &(((struct necp_tcp_stats *)&kstats->necp_stats_comm)->ne… in necp_client_collect_aop_flow_stats() local1314 if ((prev_tcpstats->necp_stat_rxpackets == tcpi->tcpi_rxpackets) && in necp_client_collect_aop_flow_stats()1315 prev_tcpstats->necp_stat_txpackets == tcpi->tcpi_txpackets) { in necp_client_collect_aop_flow_stats()1319 uint32_t d_rxpackets = tcpi->tcpi_rxpackets - prev_tcpstats->necp_stat_rxpackets; in necp_client_collect_aop_flow_stats()1320 prev_tcpstats->necp_stat_rxpackets += d_rxpackets; in necp_client_collect_aop_flow_stats()1322 uint32_t d_txpackets = tcpi->tcpi_txpackets - prev_tcpstats->necp_stat_txpackets; in necp_client_collect_aop_flow_stats()1323 prev_tcpstats->necp_stat_txpackets += d_txpackets; in necp_client_collect_aop_flow_stats()1325 uint32_t d_rxbytes = tcpi->tcpi_rxbytes - prev_tcpstats->necp_stat_rxbytes; in necp_client_collect_aop_flow_stats()1326 prev_tcpstats->necp_stat_rxbytes += d_rxbytes; in necp_client_collect_aop_flow_stats()1328 uint32_t d_txbytes = tcpi->tcpi_txbytes - prev_tcpstats->necp_stat_txbytes; in necp_client_collect_aop_flow_stats()[all …]