FreeBSD kernel IPv4 code
sctp_module.c File Reference
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/ip_var.h>
#include <netinet/sctp.h>
#include <netinet/sctp_pcb.h>
#include <netinet/sctp_var.h>
#include <netinet/sctp_os_bsd.h>
#include <netinet6/ip6_var.h>
#include <netinet6/sctp6_var.h>
Include dependency graph for sctp_module.c:

Go to the source code of this file.

Functions

 __FBSDID ("$FreeBSD$")
 
static int sctp_module_load (void)
 
static int __unused sctp_module_unload (void)
 
static int sctp_modload (struct module *module, int cmd, void *arg)
 
 DECLARE_MODULE (sctp, sctp_mod, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY)
 
 MODULE_VERSION (sctp, 1)
 

Variables

static moduledata_t sctp_mod
 

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ DECLARE_MODULE()

DECLARE_MODULE ( sctp  ,
sctp_mod  ,
SI_SUB_PROTO_IFATTACHDOMAIN  ,
SI_ORDER_ANY   
)

◆ MODULE_VERSION()

MODULE_VERSION ( sctp  ,
 
)

◆ sctp_modload()

static int sctp_modload ( struct module *  module,
int  cmd,
void *  arg 
)
static

Definition at line 166 of file sctp_module.c.

References sctp_module_load().

Here is the call graph for this function:

◆ sctp_module_load()

static int sctp_module_load ( void  )
static

Definition at line 114 of file sctp_module.c.

References ipproto_register(), IPPROTO_SCTP, and sctp_syscalls_init().

Referenced by sctp_modload().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sctp_module_unload()

static int __unused sctp_module_unload ( void  )
static

Definition at line 147 of file sctp_module.c.

References IPPROTO_SCTP, ipproto_unregister(), and sctp_syscalls_uninit().

Here is the call graph for this function:

Variable Documentation

◆ sctp_mod

moduledata_t sctp_mod
static
Initial value:
= {
"sctp",
NULL,
}
static int sctp_modload(struct module *module, int cmd, void *arg)
Definition: sctp_module.c:166

Definition at line 188 of file sctp_module.c.