Searched refs:netstats (Results 1 – 2 of 2) sorted by relevance
2159 struct rpcap_stats *netstats; // statistics sent on the network in daemon_msg_stats_req() local2175 netstats = (struct rpcap_stats *) &sendbuf[sendbufidx]; in daemon_msg_stats_req()2189 netstats->ifdrop = htonl(stats->ps_ifdrop); in daemon_msg_stats_req()2190 netstats->ifrecv = htonl(stats->ps_recv); in daemon_msg_stats_req()2191 netstats->krnldrop = htonl(stats->ps_drop); in daemon_msg_stats_req()2192 netstats->svrcapt = htonl(session->TotCapt); in daemon_msg_stats_req()2199 netstats->ifdrop = htonl(stats->ps_ifdrop); in daemon_msg_stats_req()2200 netstats->ifrecv = htonl(stats->ps_recv); in daemon_msg_stats_req()2201 netstats->krnldrop = htonl(stats->ps_drop); in daemon_msg_stats_req()2202 netstats->svrcapt = htonl(svrcapt); in daemon_msg_stats_req()
841 struct rpcap_stats netstats; /* statistics sent on the network */ in rpcap_stats_rpcap() local893 if (rpcap_recv(pr->rmt_sockctrl, (char *)&netstats, in rpcap_stats_rpcap()897 ps->ps_drop = ntohl(netstats.krnldrop); in rpcap_stats_rpcap()898 ps->ps_ifdrop = ntohl(netstats.ifdrop); in rpcap_stats_rpcap()899 ps->ps_recv = ntohl(netstats.ifrecv); in rpcap_stats_rpcap()905 ps->ps_sent = ntohl(netstats.svrcapt); in rpcap_stats_rpcap()