MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sctp_startup_iterator

Function sctp_startup_iterator

freebsd/netinet/sctp_bsd_addr.c:97–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void
98sctp_startup_iterator(void)
99{
100 if (sctp_it_ctl.thread_proc) {
101 /* You only get one */
102 return;
103 }
104 /* Initialize global locks here, thus only once. */
105 SCTP_ITERATOR_LOCK_INIT();
106 SCTP_IPI_ITERATOR_WQ_INIT();
107 TAILQ_INIT(&sctp_it_ctl.iteratorhead);
108 kproc_create(sctp_iterator_thread,
109 (void *)NULL,
110 &sctp_it_ctl.thread_proc,
111 RFPROC,
112 SCTP_KTHREAD_PAGES,
113 SCTP_KTRHEAD_NAME);
114}
115
116#ifdef INET6
117

Callers 1

sctp_pcb_initFunction · 0.85

Calls 1

kproc_createFunction · 0.85

Tested by

no test coverage detected