Searched refs:sctpstat (Results 1 – 6 of 6) sorted by relevance
| /freebsd-9-stable/usr.bin/netstat/ |
| D | sctp.c | 610 struct sctpstat sctpstat, zerostat; in sctp_stats() local 611 size_t len = sizeof(sctpstat); in sctp_stats() 616 if (sysctlbyname("net.inet.sctp.stats", &sctpstat, &len, in sctp_stats() 623 kread(off, &sctpstat, len); in sctp_stats() 627 #define p(f, m) if (sctpstat.f || sflag <= 1) \ in sctp_stats() 628 printf(m, (uintmax_t)sctpstat.f, plural(sctpstat.f)) in sctp_stats() 629 #define p1a(f, m) if (sctpstat.f || sflag <= 1) \ in sctp_stats() 630 printf(m, (uintmax_t)sctpstat.f) in sctp_stats()
|
| /freebsd-9-stable/sys/netinet/ |
| D | sctp_pcb.h | 248 struct sctpstat *sctpstat; member 250 struct sctpstat sctpstat; member
|
| D | sctp_os_bsd.h | 154 #define SCTP_BASE_STATS V_system_base_info.sctpstat 155 #define SCTP_BASE_STATS_SYSCTL VNET_NAME(system_base_info.sctpstat) 156 #define SCTP_BASE_STAT(__m) V_system_base_info.sctpstat.__m
|
| D | sctp_sysctl.c | 687 struct sctpstat sb, sb_temp, *sarry, *cpin = NULL; in sysctl_stat_get() 689 if ((req->newptr) && (req->newlen == sizeof(struct sctpstat))) { in sysctl_stat_get() 832 memcpy(sarry, cpin, sizeof(struct sctpstat)); in sysctl_stat_get() 1157 &SCTP_BASE_STATS_SYSCTL, sctpstat,
|
| D | sctp_uio.h | 923 struct sctpstat { struct
|
| D | sctp_pcb.c | 5788 SCTP_MALLOC(SCTP_BASE_STATS, struct sctpstat *, in sctp_pcb_init() 5789 ((mp_maxid + 1) * sizeof(struct sctpstat)), in sctp_pcb_init() 5794 bzero(SCTP_BASE_STATS, (sizeof(struct sctpstat) * (mp_maxid + 1))); in sctp_pcb_init() 5798 bzero(&SCTP_BASE_STATS, sizeof(struct sctpstat)); in sctp_pcb_init()
|