Searched refs:sctpstat (Results 1 – 7 of 7) sorted by relevance
| /f-stack/tools/netstat/ |
| H A D | sctp.c | 586 struct sctpstat sctpstat; in sctp_stats() local 588 if (fetch_stats("net.inet.sctp.stats", off, &sctpstat, in sctp_stats() 589 sizeof(sctpstat), kread) != 0) in sctp_stats() 595 #define p(f, m) if (sctpstat.f || sflag <= 1) \ in sctp_stats() 596 xo_emit(m, (uintmax_t)sctpstat.f, plural(sctpstat.f)) in sctp_stats() 597 #define p1a(f, m) if (sctpstat.f || sflag <= 1) \ in sctp_stats() 598 xo_emit(m, (uintmax_t)sctpstat.f) in sctp_stats()
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_sysctl.c | 656 struct sctpstat *sarry; 657 struct sctpstat sb; 660 struct sctpstat sb_temp; 663 (req->newlen != sizeof(struct sctpstat))) { 666 memset(&sb_temp, 0, sizeof(struct sctpstat)); 669 error = SYSCTL_IN(req, &sb_temp, sizeof(struct sctpstat)); 802 memcpy(sarry, &sb_temp, sizeof(struct sctpstat)); 805 error = SYSCTL_OUT(req, &sb, sizeof(struct sctpstat)); 807 error = SYSCTL_OUT(req, &SCTP_BASE_STATS, sizeof(struct sctpstat)); 812 memcpy(&SCTP_BASE_STATS, &sb_temp, sizeof(struct sctpstat));
|
| H A D | sctp_pcb.h | 248 struct sctpstat *sctpstat; member 250 struct sctpstat sctpstat; member
|
| H A D | sctp_os_bsd.h | 146 #define SCTP_BASE_STATS V_system_base_info.sctpstat 147 #define SCTP_BASE_STAT(__m) V_system_base_info.sctpstat.__m
|
| H A D | sctp_uio.h | 944 struct sctpstat { struct
|
| H A D | sctp_pcb.c | 5708 SCTP_MALLOC(SCTP_BASE_STATS, struct sctpstat *, in sctp_pcb_init() 5709 ((mp_maxid + 1) * sizeof(struct sctpstat)), in sctp_pcb_init() 5714 memset(SCTP_BASE_STATS, 0, sizeof(struct sctpstat) * (mp_maxid + 1)); in sctp_pcb_init() 5718 memset(&SCTP_BASE_STATS, 0, sizeof(struct sctpstat)); in sctp_pcb_init()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | sctp_uio.h | 944 struct sctpstat { struct
|