Searched refs:netstats (Results 1 – 2 of 2) sorted by relevance
2540 struct rpcap_stats *netstats; // statistics sent on the network in daemon_msg_stats_req() local2556 netstats = (struct rpcap_stats *) &sendbuf[sendbufidx]; in daemon_msg_stats_req()2570 netstats->ifdrop = htonl(stats->ps_ifdrop); in daemon_msg_stats_req()2571 netstats->ifrecv = htonl(stats->ps_recv); in daemon_msg_stats_req()2572 netstats->krnldrop = htonl(stats->ps_drop); in daemon_msg_stats_req()2573 netstats->svrcapt = htonl(session->TotCapt); in daemon_msg_stats_req()2580 netstats->ifdrop = htonl(stats->ps_ifdrop); in daemon_msg_stats_req()2581 netstats->ifrecv = htonl(stats->ps_recv); in daemon_msg_stats_req()2582 netstats->krnldrop = htonl(stats->ps_drop); in daemon_msg_stats_req()2583 netstats->svrcapt = htonl(svrcapt); in daemon_msg_stats_req()
915 struct rpcap_stats netstats; /* statistics sent on the network */ in rpcap_stats_rpcap() local967 if (rpcap_recv(pr->rmt_sockctrl, pr->ctrl_ssl, (char *)&netstats, in rpcap_stats_rpcap()971 ps->ps_drop = ntohl(netstats.krnldrop); in rpcap_stats_rpcap()972 ps->ps_ifdrop = ntohl(netstats.ifdrop); in rpcap_stats_rpcap()973 ps->ps_recv = ntohl(netstats.ifrecv); in rpcap_stats_rpcap()979 ps->ps_sent = ntohl(netstats.svrcapt); in rpcap_stats_rpcap()