Searched refs:inp_cstat (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Din_pcb.h224 struct inp_stat *inp_cstat; /* cellular data */ member in struct:inpcb
238 locked_add_64(&((_inp)->inp_cstat->_a), (_n)); \
H A Dtcp_usrreq.c1524 ti->tcpi_cell_rxpackets = inp->inp_cstat->rxpackets;
1525 ti->tcpi_cell_rxbytes = inp->inp_cstat->rxbytes;
1526 ti->tcpi_cell_txpackets = inp->inp_cstat->txpackets;
1527 ti->tcpi_cell_txbytes = inp->inp_cstat->txbytes;
H A Din_pcb.c570 /* make sure inp_cstat is always 64-bit aligned */
571 inp->inp_cstat = (struct inp_stat *)P2ROUNDUP(inp->inp_cstat_store,
573 if (((uintptr_t)inp->inp_cstat - (uintptr_t)inp->inp_cstat_store) +
574 sizeof (*inp->inp_cstat) > sizeof (inp->inp_cstat_store)) {
575 panic("%s: insufficient space to align inp_cstat", __func__);
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dntstat.c1066 atomic_get_64(out_counts->nstat_cell_rxbytes, &inp->inp_cstat->rxbytes);
1067 atomic_get_64(out_counts->nstat_cell_txbytes, &inp->inp_cstat->txbytes);
1457 atomic_get_64(out_counts->nstat_cell_rxbytes, &inp->inp_cstat->rxbytes);
1458 atomic_get_64(out_counts->nstat_cell_txbytes, &inp->inp_cstat->txbytes);

Completed in 228 milliseconds