Searched refs:sctpstat (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/usr.bin/netstat/ |
| H A D | sctp.c | 584 struct sctpstat sctpstat; in sctp_stats() local 586 if (fetch_stats("net.inet.sctp.stats", off, &sctpstat, in sctp_stats() 587 sizeof(sctpstat), kread) != 0) in sctp_stats() 593 #define p(f, m) if (sctpstat.f || sflag <= 1) \ in sctp_stats() 594 xo_emit(m, (uintmax_t)sctpstat.f, plural(sctpstat.f)) in sctp_stats() 595 #define p1a(f, m) if (sctpstat.f || sflag <= 1) \ in sctp_stats() 596 xo_emit(m, (uintmax_t)sctpstat.f) in sctp_stats()
|
| /freebsd-14.2/usr.bin/systat/ |
| H A D | sctp.c | 46 static struct sctpstat curstat, initstat, oldstat; 122 domode(struct sctpstat *ret) in domode() 124 const struct sctpstat *sub; in domode() 274 struct sctpstat stats; in showsctp()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | sctp_sysctl.c | 684 struct sctpstat *sarry; 685 struct sctpstat sb; 688 struct sctpstat sb_temp; 691 (req->newlen != sizeof(struct sctpstat))) { 694 memset(&sb_temp, 0, sizeof(struct sctpstat)); 697 error = SYSCTL_IN(req, &sb_temp, sizeof(struct sctpstat)); 833 memcpy(sarry, &sb_temp, sizeof(struct sctpstat)); 836 error = SYSCTL_OUT(req, &sb, sizeof(struct sctpstat)); 838 error = SYSCTL_OUT(req, &SCTP_BASE_STATS, sizeof(struct sctpstat)); 843 memcpy(&SCTP_BASE_STATS, &sb_temp, sizeof(struct sctpstat));
|
| H A D | sctp_pcb.h | 245 struct sctpstat *sctpstat; member 247 struct sctpstat sctpstat; member
|
| H A D | sctp_os_bsd.h | 142 #define SCTP_BASE_STATS V_system_base_info.sctpstat 143 #define SCTP_BASE_STAT(__m) V_system_base_info.sctpstat.__m
|
| H A D | sctp_uio.h | 945 struct sctpstat { struct
|
| H A D | sctp_pcb.c | 5577 SCTP_MALLOC(SCTP_BASE_STATS, struct sctpstat *, in sctp_pcb_init() 5578 ((mp_maxid + 1) * sizeof(struct sctpstat)), in sctp_pcb_init() 5583 memset(SCTP_BASE_STATS, 0, sizeof(struct sctpstat) * (mp_maxid + 1)); in sctp_pcb_init() 5587 memset(&SCTP_BASE_STATS, 0, sizeof(struct sctpstat)); in sctp_pcb_init()
|