tcp_stats
struct tcp_stats tcpstats_percpu[MAXCPU] __cachealign;
sizeof(struct tcp_stats))))
sizeof(struct tcp_stats))))
bzero(&tcpstats_percpu[cpu], sizeof(struct tcp_stats));
CTASSERT((sizeof(struct tcp_stats) & __VM_CACHELINE_MASK) == 0);
extern struct tcp_stats tcpstats_percpu[MAXCPU];
CPU_STATS_FUNC(tcp, struct tcp_stats);
struct tcp_stats tcpstat, *stattmp;
struct tcp_stats zerostat[SMP_MAXCPU];
size_t len = sizeof(struct tcp_stats) * SMP_MAXCPU;
cpucnt = len / sizeof(struct tcp_stats);
tcp_stats, NULL, "tcp", IPPROTO_TCP },
tcp_stats, NULL, "tcp", IPPROTO_TCP },
void tcp_stats (u_long, const char *, int);
static struct tcp_stats tcp_curr;
static struct tcp_stats tcp_last;
struct tcp_stats tcp_array[SMP_MAXCPU];
domode(struct tcp_stats *ret)
const struct tcp_stats *sub;
struct tcp_stats stats;
CPU_STATS_FUNC(tcp, struct tcp_stats);
fetch_tcpstats(struct tcp_stats *st)
struct tcp_stats stattmp[SMP_MAXCPU];
len = sizeof(struct tcp_stats) * SMP_MAXCPU;
cpucnt = len / sizeof(struct tcp_stats);
static struct tcp_stats curstat, initstat, oldstat;