Searched refs:xst (Results 1 – 2 of 2) sorted by relevance
186 sbtoxsockstat_n(struct socket *so, struct xsockstat_n *xst) in sbtoxsockstat_n() argument190 xst->xst_len = sizeof(struct xsockstat_n); in sbtoxsockstat_n()191 xst->xst_kind = XSO_STATS; in sbtoxsockstat_n()198 xst->xst_tc_stats[i].rxpackets = so->so_tc_stats[i].rxpackets; in sbtoxsockstat_n()199 xst->xst_tc_stats[i].rxbytes = so->so_tc_stats[i].rxbytes; in sbtoxsockstat_n()200 xst->xst_tc_stats[i].txpackets = so->so_tc_stats[i].txpackets; in sbtoxsockstat_n()201 xst->xst_tc_stats[i].txbytes = so->so_tc_stats[i].txbytes; in sbtoxsockstat_n()
8191 nstat_userland_to_xsockstat_n(nstat_flow_data *flow_data, struct xsockstat_n *xst) in nstat_userland_to_xsockstat_n() argument8193 xst->xst_len = sizeof(struct xsockstat_n); in nstat_userland_to_xsockstat_n()8194 xst->xst_kind = XSO_STATS; in nstat_userland_to_xsockstat_n()8197 xst->xst_tc_stats[0].rxpackets = flow_data->counts.nstat_rxpackets; in nstat_userland_to_xsockstat_n()8198 xst->xst_tc_stats[0].rxbytes = flow_data->counts.nstat_rxbytes; in nstat_userland_to_xsockstat_n()8199 xst->xst_tc_stats[0].txpackets = flow_data->counts.nstat_txpackets; in nstat_userland_to_xsockstat_n()8200 xst->xst_tc_stats[0].txbytes = flow_data->counts.nstat_txbytes; in nstat_userland_to_xsockstat_n()