Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
protocol.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/seq_file.h>
#include <linux/bootmem.h>
#include <linux/highmem.h>
#include <linux/swap.h>
#include <linux/slab.h>
#include <net/net_namespace.h>
#include <net/protocol.h>
#include <net/ip.h>
#include <net/ipv6.h>
#include <net/route.h>
#include <net/sctp/sctp.h>
#include <net/addrconf.h>
#include <net/inet_common.h>
#include <net/inet_ecn.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 DEFINE_SPINLOCK (sctp_assocs_id_lock)
 
int sctp_copy_local_addr_list (struct net *net, struct sctp_bind_addr *bp, sctp_scope_t scope, gfp_t gfp, int copy_flags)
 
void sctp_addr_wq_timeout_handler (unsigned long arg)
 
void sctp_addr_wq_mgmt (struct net *net, struct sctp_sockaddr_entry *addr, int cmd)
 
int sctp_register_af (struct sctp_af *af)
 
struct sctp_afsctp_get_af_specific (sa_family_t family)
 
struct sctp_pfsctp_get_pf_specific (sa_family_t family)
 
int sctp_register_pf (struct sctp_pf *pf, sa_family_t family)
 
SCTP_STATIC __init int sctp_init (void)
 
SCTP_STATIC __exit void sctp_exit (void)
 
 module_init (sctp_init)
 
 module_exit (sctp_exit)
 
 MODULE_ALIAS ("net-pf-"__stringify(PF_INET)"-proto-132")
 
 MODULE_ALIAS ("net-pf-"__stringify(PF_INET6)"-proto-132")
 
 MODULE_AUTHOR ("Linux Kernel SCTP developers <[email protected]>")
 
 MODULE_DESCRIPTION ("Support for the SCTP protocol (RFC2960)")
 
 module_param_named (no_checksums, sctp_checksum_disable, bool, 0644)
 
 MODULE_PARM_DESC (no_checksums,"Disable checksums computing and verification")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct sctp_globals sctp_globals __read_mostly
 
struct idr sctp_assocs_id
 
long sysctl_sctp_mem [3]
 
int sysctl_sctp_rmem [3]
 
int sysctl_sctp_wmem [3]
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 49 of file protocol.c.

Function Documentation

DEFINE_SPINLOCK ( sctp_assocs_id_lock  )
MODULE_ALIAS ( "net-pf-"__stringify(PF_INET)"-proto-132"  )
MODULE_ALIAS ( "net-pf-"__stringify(PF_INET6)"-proto-132"  )
MODULE_AUTHOR ( "Linux Kernel SCTP developers <[email protected]>"  )
MODULE_DESCRIPTION ( "Support for the SCTP protocol (RFC2960)"  )
module_exit ( sctp_exit  )
module_init ( sctp_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( no_checksums  ,
sctp_checksum_disable  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( no_checksums  ,
"Disable checksums computing and verification"   
)
void sctp_addr_wq_mgmt ( struct net net,
struct sctp_sockaddr_entry addr,
int  cmd 
)

Definition at line 694 of file protocol.c.

void sctp_addr_wq_timeout_handler ( unsigned long  arg)

Definition at line 598 of file protocol.c.

int sctp_copy_local_addr_list ( struct net net,
struct sctp_bind_addr bp,
sctp_scope_t  scope,
gfp_t  gfp,
int  copy_flags 
)

Definition at line 203 of file protocol.c.

SCTP_STATIC __exit void sctp_exit ( void  )

Definition at line 1493 of file protocol.c.

struct sctp_af* sctp_get_af_specific ( sa_family_t  family)
read

Definition at line 845 of file protocol.c.

struct sctp_pf* sctp_get_pf_specific ( sa_family_t  family)
read

Definition at line 1072 of file protocol.c.

SCTP_STATIC __init int sctp_init ( void  )

Definition at line 1306 of file protocol.c.

int sctp_register_af ( struct sctp_af af)

Definition at line 820 of file protocol.c.

int sctp_register_pf ( struct sctp_pf pf,
sa_family_t  family 
)

Definition at line 1085 of file protocol.c.

Variable Documentation

Definition at line 71 of file protocol.c.

struct idr sctp_assocs_id

Definition at line 73 of file protocol.c.

long sysctl_sctp_mem[3]

Definition at line 84 of file protocol.c.

int sysctl_sctp_rmem[3]

Definition at line 85 of file protocol.c.

int sysctl_sctp_wmem[3]

Definition at line 86 of file protocol.c.