Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/sctp_bsd_addr.c
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | sctp_startup_iterator(void) | ||||
} | } | ||||
/* Initialize global locks here, thus only once. */ | /* Initialize global locks here, thus only once. */ | ||||
SCTP_ITERATOR_LOCK_INIT(); | SCTP_ITERATOR_LOCK_INIT(); | ||||
SCTP_IPI_ITERATOR_WQ_INIT(); | SCTP_IPI_ITERATOR_WQ_INIT(); | ||||
TAILQ_INIT(&sctp_it_ctl.iteratorhead); | TAILQ_INIT(&sctp_it_ctl.iteratorhead); | ||||
kproc_create(sctp_iterator_thread, | kproc_create(sctp_iterator_thread, | ||||
(void *)NULL, | (void *)NULL, | ||||
&sctp_it_ctl.thread_proc, | &sctp_it_ctl.thread_proc, | ||||
RFPROC, | 0, | ||||
SCTP_KTHREAD_PAGES, | SCTP_KTHREAD_PAGES, | ||||
SCTP_KTRHEAD_NAME); | SCTP_KTRHEAD_NAME); | ||||
} | } | ||||
#ifdef INET6 | #ifdef INET6 | ||||
void | void | ||||
sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa) | sctp_gather_internal_ifa_flags(struct sctp_ifa *ifa) | ||||
▲ Show 20 Lines • Show All 410 Lines • Show Last 20 Lines |