Home
last modified time | relevance | path

Searched refs:SCTP_BASE_STATS (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/netinet/
H A Dsctp_sysctl.c677 sarry = &SCTP_BASE_STATS[cpu];
807 error = SYSCTL_OUT(req, &SCTP_BASE_STATS, sizeof(struct sctpstat));
812 memcpy(&SCTP_BASE_STATS, &sb_temp, sizeof(struct sctpstat));
H A Dsctp_uio.h1130 #define SCTP_STAT_INCR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x += _d)
1131 #define SCTP_STAT_DECR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x -= _d)
H A Dsctp_os_bsd.h146 #define SCTP_BASE_STATS V_system_base_info.sctpstat macro
H A Dsctp_pcb.c5708 SCTP_MALLOC(SCTP_BASE_STATS, struct sctpstat *, in sctp_pcb_init()
5714 memset(SCTP_BASE_STATS, 0, sizeof(struct sctpstat) * (mp_maxid + 1)); in sctp_pcb_init()
5715 SCTP_BASE_STATS[PCPU_GET(cpuid)].sctps_discontinuitytime.tv_sec = (uint32_t)tv.tv_sec; in sctp_pcb_init()
5716 SCTP_BASE_STATS[PCPU_GET(cpuid)].sctps_discontinuitytime.tv_usec = (uint32_t)tv.tv_usec; in sctp_pcb_init()
5718 memset(&SCTP_BASE_STATS, 0, sizeof(struct sctpstat)); in sctp_pcb_init()
5978 SCTP_FREE(SCTP_BASE_STATS, SCTP_M_MCORE); in sctp_pcb_finish()
/f-stack/tools/compat/include/netinet/
H A Dsctp_uio.h1130 #define SCTP_STAT_INCR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x += _d)
1131 #define SCTP_STAT_DECR_BY(_x,_d) (SCTP_BASE_STATS[PCPU_GET(cpuid)]._x -= _d)