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

Function sctp_syscalls_init

freebsd/netinet/sctp_syscalls.c:102–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100#endif
101
102int
103sctp_syscalls_init(void)
104{
105 int error;
106
107 error = syscall_helper_register(sctp_syscalls, SY_THR_STATIC_KLD);
108 if (error != 0)
109 return (error);
110#ifdef COMPAT_FREEBSD32
111 error = syscall32_helper_register(sctp32_syscalls, SY_THR_STATIC_KLD);
112 if (error != 0)
113 return (error);
114#endif
115 return (0);
116}
117
118#ifdef SCTP
119SYSINIT(sctp_syscalls, SI_SUB_SYSCALLS, SI_ORDER_ANY, sctp_syscalls_init, NULL);

Callers 1

sctp_module_loadFunction · 0.85

Calls 1

syscall_helper_registerFunction · 0.85

Tested by

no test coverage detected