Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
proto.c File Reference
#include <linux/dccp.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/in.h>
#include <linux/if_arp.h>
#include <linux/init.h>
#include <linux/random.h>
#include <linux/slab.h>
#include <net/checksum.h>
#include <net/inet_sock.h>
#include <net/sock.h>
#include <net/xfrm.h>
#include <asm/ioctls.h>
#include <linux/spinlock.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/poll.h>
#include "ccid.h"
#include "dccp.h"
#include "feat.h"

Go to the source code of this file.

Functions

 DEFINE_SNMP_STAT (struct dccp_mib, dccp_statistics)
 
 EXPORT_SYMBOL_GPL (dccp_set_state)
 
void dccp_done (struct sock *sk)
 
 EXPORT_SYMBOL_GPL (dccp_done)
 
const chardccp_packet_name (const int type)
 
 EXPORT_SYMBOL_GPL (dccp_packet_name)
 
int dccp_init_sock (struct sock *sk, const __u8 ctl_sock_initialized)
 
 EXPORT_SYMBOL_GPL (dccp_init_sock)
 
void dccp_destroy_sock (struct sock *sk)
 
 EXPORT_SYMBOL_GPL (dccp_destroy_sock)
 
int dccp_disconnect (struct sock *sk, int flags)
 
 EXPORT_SYMBOL_GPL (dccp_disconnect)
 
unsigned int dccp_poll (struct file *file, struct socket *sock, poll_table *wait)
 
 EXPORT_SYMBOL_GPL (dccp_poll)
 
int dccp_ioctl (struct sock *sk, int cmd, unsigned long arg)
 
 EXPORT_SYMBOL_GPL (dccp_ioctl)
 
int dccp_setsockopt (struct sock *sk, int level, int optname, char __user *optval, unsigned int optlen)
 
 EXPORT_SYMBOL_GPL (dccp_setsockopt)
 
int dccp_getsockopt (struct sock *sk, int level, int optname, char __user *optval, int __user *optlen)
 
 EXPORT_SYMBOL_GPL (dccp_getsockopt)
 
int dccp_sendmsg (struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t len)
 
 EXPORT_SYMBOL_GPL (dccp_sendmsg)
 
int dccp_recvmsg (struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t len, int nonblock, int flags, int *addr_len)
 
 EXPORT_SYMBOL_GPL (dccp_recvmsg)
 
int inet_dccp_listen (struct socket *sock, int backlog)
 
 EXPORT_SYMBOL_GPL (inet_dccp_listen)
 
void dccp_close (struct sock *sk, long timeout)
 
 EXPORT_SYMBOL_GPL (dccp_close)
 
void dccp_shutdown (struct sock *sk, int how)
 
 EXPORT_SYMBOL_GPL (dccp_shutdown)
 
 module_param (thash_entries, int, 0444)
 
 MODULE_PARM_DESC (thash_entries,"Number of ehash buckets")
 
 module_init (dccp_init)
 
 module_exit (dccp_fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Arnaldo Carvalho de Melo <[email protected]>")
 
 MODULE_DESCRIPTION ("DCCP - Datagram Congestion Controlled Protocol")
 

Function Documentation

void dccp_close ( struct sock sk,
long  timeout 
)

Definition at line 983 of file proto.c.

void dccp_destroy_sock ( struct sock sk)

Definition at line 200 of file proto.c.

int dccp_disconnect ( struct sock sk,
int  flags 
)

Definition at line 251 of file proto.c.

void dccp_done ( struct sock sk)

Definition at line 135 of file proto.c.

int dccp_getsockopt ( struct sock sk,
int  level,
int  optname,
char __user optval,
int __user optlen 
)

Definition at line 679 of file proto.c.

int dccp_init_sock ( struct sock sk,
const __u8  ctl_sock_initialized 
)

Definition at line 173 of file proto.c.

int dccp_ioctl ( struct sock sk,
int  cmd,
unsigned long  arg 
)

Definition at line 360 of file proto.c.

const char* dccp_packet_name ( const int  type)

Definition at line 150 of file proto.c.

unsigned int dccp_poll ( struct file file,
struct socket sock,
poll_table wait 
)

Definition at line 309 of file proto.c.

int dccp_recvmsg ( struct kiocb iocb,
struct sock sk,
struct msghdr msg,
size_t  len,
int  nonblock,
int  flags,
int addr_len 
)

Definition at line 810 of file proto.c.

int dccp_sendmsg ( struct kiocb iocb,
struct sock sk,
struct msghdr msg,
size_t  len 
)

Definition at line 745 of file proto.c.

int dccp_setsockopt ( struct sock sk,
int  level,
int  optname,
char __user optval,
unsigned int  optlen 
)

Definition at line 558 of file proto.c.

void dccp_shutdown ( struct sock sk,
int  how 
)

Definition at line 1078 of file proto.c.

DEFINE_SNMP_STAT ( struct dccp_mib  ,
dccp_statistics   
)

Definition at line 40 of file proto.c.

EXPORT_SYMBOL_GPL ( dccp_set_state  )
EXPORT_SYMBOL_GPL ( dccp_done  )
EXPORT_SYMBOL_GPL ( dccp_packet_name  )
EXPORT_SYMBOL_GPL ( dccp_init_sock  )
EXPORT_SYMBOL_GPL ( dccp_destroy_sock  )
EXPORT_SYMBOL_GPL ( dccp_disconnect  )
EXPORT_SYMBOL_GPL ( dccp_poll  )
EXPORT_SYMBOL_GPL ( dccp_ioctl  )
EXPORT_SYMBOL_GPL ( dccp_setsockopt  )
EXPORT_SYMBOL_GPL ( dccp_getsockopt  )
EXPORT_SYMBOL_GPL ( dccp_sendmsg  )
EXPORT_SYMBOL_GPL ( dccp_recvmsg  )
EXPORT_SYMBOL_GPL ( inet_dccp_listen  )
EXPORT_SYMBOL_GPL ( dccp_close  )
EXPORT_SYMBOL_GPL ( dccp_shutdown  )
int inet_dccp_listen ( struct socket sock,
int  backlog 
)

Definition at line 918 of file proto.c.

MODULE_AUTHOR ( "Arnaldo Carvalho de Melo <[email protected]>"  )
MODULE_DESCRIPTION ( "DCCP - Datagram Congestion Controlled Protocol )
module_exit ( dccp_fini  )
module_init ( dccp_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( thash_entries  ,
int  ,
0444   
)
MODULE_PARM_DESC ( thash_entries  ,
"Number of ehash buckets"   
)