Home
last modified time | relevance | path

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

/external/usrsctp/usrsctplib/netinet/
Dsctp_sysctl.h117 struct sctp_log *sctp_log; member
119 struct sctp_log sctp_log; member
Dsctp_sysctl.c157 MALLOC(SCTP_BASE_SYSCTL(sctp_log), struct sctp_log *, sizeof(struct sctp_log), M_SYSCTL, M_ZERO); in sctp_init_sysctls()
159 memset(&SCTP_BASE_SYSCTL(sctp_log), 0, sizeof(struct sctp_log)); in sctp_init_sysctls()
184 if (SCTP_BASE_SYSCTL(sctp_log) != NULL) { in sctp_finish_sysctls()
185 FREE(SCTP_BASE_SYSCTL(sctp_log), M_SYSCTL); in sctp_finish_sysctls()
186 SCTP_BASE_SYSCTL(sctp_log) = NULL; in sctp_finish_sysctls()
1105 error = SYSCTL_OUT(req, SCTP_BASE_SYSCTL(sctp_log), sizeof(struct sctp_log));
1107 error = SYSCTL_OUT(req, &SCTP_BASE_SYSCTL(sctp_log), sizeof(struct sctp_log));
1130 if (error == 0 && value != 0 && SCTP_BASE_SYSCTL(sctp_log) != NULL) {
1131 memset(SCTP_BASE_SYSCTL(sctp_log), 0, sizeof(struct sctp_log));
1135 memset(&SCTP_BASE_SYSCTL(sctp_log), 0, sizeof(struct sctp_log));
[all …]
Dsctputil.c8108 if (SCTP_BASE_SYSCTL(sctp_log) == NULL) {
8112 saveindex = SCTP_BASE_SYSCTL(sctp_log)->index;
8118 } while (atomic_cmpset_int(&SCTP_BASE_SYSCTL(sctp_log)->index, saveindex, newindex) == 0);
8122 SCTP_BASE_SYSCTL(sctp_log)->entry[saveindex].timestamp = SCTP_GET_CYCLECOUNT;
8123 SCTP_BASE_SYSCTL(sctp_log)->entry[saveindex].subsys = subsys;
8124 SCTP_BASE_SYSCTL(sctp_log)->entry[saveindex].params[0] = a;
8125 SCTP_BASE_SYSCTL(sctp_log)->entry[saveindex].params[1] = b;
8126 SCTP_BASE_SYSCTL(sctp_log)->entry[saveindex].params[2] = c;
8127 SCTP_BASE_SYSCTL(sctp_log)->entry[saveindex].params[3] = d;
8128 SCTP_BASE_SYSCTL(sctp_log)->entry[saveindex].params[4] = e;
[all …]
Dsctp_uio.h1313 struct sctp_log { struct
Dsctp_pcb.c6640 if (SCTP_BASE_SYSCTL(sctp_log) != NULL) {
6641 memset(SCTP_BASE_SYSCTL(sctp_log), 0, sizeof(struct sctp_log));
6644 memset(&SCTP_BASE_SYSCTL(sctp_log), 0, sizeof(struct sctp_log));