Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ipv4.c File Reference
#include <linux/dccp.h>
#include <linux/icmp.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/random.h>
#include <net/icmp.h>
#include <net/inet_common.h>
#include <net/inet_hashtables.h>
#include <net/inet_sock.h>
#include <net/protocol.h>
#include <net/sock.h>
#include <net/timewait_sock.h>
#include <net/tcp_states.h>
#include <net/xfrm.h>
#include <net/secure_seq.h>
#include "ackvec.h"
#include "ccid.h"
#include "dccp.h"
#include "feat.h"

Go to the source code of this file.

Functions

int dccp_v4_connect (struct sock *sk, struct sockaddr *uaddr, int addr_len)
 
 EXPORT_SYMBOL_GPL (dccp_v4_connect)
 
void dccp_v4_send_check (struct sock *sk, struct sk_buff *skb)
 
 EXPORT_SYMBOL_GPL (dccp_v4_send_check)
 
struct sockdccp_v4_request_recv_sock (struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct dst_entry *dst)
 
 EXPORT_SYMBOL_GPL (dccp_v4_request_recv_sock)
 
void dccp_syn_ack_timeout (struct sock *sk, struct request_sock *req)
 
 EXPORT_SYMBOL (dccp_syn_ack_timeout)
 
int dccp_v4_conn_request (struct sock *sk, struct sk_buff *skb)
 
 EXPORT_SYMBOL_GPL (dccp_v4_conn_request)
 
int dccp_v4_do_rcv (struct sock *sk, struct sk_buff *skb)
 
 EXPORT_SYMBOL_GPL (dccp_v4_do_rcv)
 
int dccp_invalid_packet (struct sk_buff *skb)
 
 EXPORT_SYMBOL_GPL (dccp_invalid_packet)
 
 module_init (dccp_v4_init)
 
 module_exit (dccp_v4_exit)
 
 MODULE_ALIAS_NET_PF_PROTO_TYPE (PF_INET, 33, 6)
 
 MODULE_ALIAS_NET_PF_PROTO_TYPE (PF_INET, 0, 6)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Arnaldo Carvalho de Melo <[email protected]>")
 
 MODULE_DESCRIPTION ("DCCP - Datagram Congestion Controlled Protocol")
 

Function Documentation

int dccp_invalid_packet ( struct sk_buff skb)

dccp_invalid_packet - check for malformed packets Implements RFC 4340, 8.5: Step 1: Check header basics Packets that fail these checks are ignored and do not receive Resets.

Definition at line 740 of file ipv4.c.

void dccp_syn_ack_timeout ( struct sock sk,
struct request_sock req 
)

Definition at line 581 of file ipv4.c.

int dccp_v4_conn_request ( struct sock sk,
struct sk_buff skb 
)

Definition at line 596 of file ipv4.c.

int dccp_v4_connect ( struct sock sk,
struct sockaddr uaddr,
int  addr_len 
)

Definition at line 42 of file ipv4.c.

int dccp_v4_do_rcv ( struct sock sk,
struct sk_buff skb 
)

Definition at line 676 of file ipv4.c.

struct sock* dccp_v4_request_recv_sock ( struct sock sk,
struct sk_buff skb,
struct request_sock req,
struct dst_entry dst 
)
read

Definition at line 395 of file ipv4.c.

void dccp_v4_send_check ( struct sock sk,
struct sk_buff skb 
)

Definition at line 368 of file ipv4.c.

EXPORT_SYMBOL ( dccp_syn_ack_timeout  )
EXPORT_SYMBOL_GPL ( dccp_v4_connect  )
EXPORT_SYMBOL_GPL ( dccp_v4_send_check  )
EXPORT_SYMBOL_GPL ( dccp_v4_request_recv_sock  )
EXPORT_SYMBOL_GPL ( dccp_v4_conn_request  )
EXPORT_SYMBOL_GPL ( dccp_v4_do_rcv  )
EXPORT_SYMBOL_GPL ( dccp_invalid_packet  )
MODULE_ALIAS_NET_PF_PROTO_TYPE ( PF_INET  ,
33  ,
 
)
MODULE_ALIAS_NET_PF_PROTO_TYPE ( PF_INET  ,
,
 
)
MODULE_AUTHOR ( "Arnaldo Carvalho de Melo <[email protected]>"  )
MODULE_DESCRIPTION ( "DCCP - Datagram Congestion Controlled Protocol )
module_exit ( dccp_v4_exit  )
module_init ( dccp_v4_init  )
MODULE_LICENSE ( "GPL"  )