Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
tcp_minisocks.c File Reference
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sysctl.h>
#include <linux/workqueue.h>
#include <net/tcp.h>
#include <net/inet_common.h>
#include <net/xfrm.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (sysctl_tcp_syncookies)
 
 EXPORT_SYMBOL_GPL (tcp_death_row)
 
enum tcp_tw_status tcp_timewait_state_process (struct inet_timewait_sock *tw, struct sk_buff *skb, const struct tcphdr *th)
 
 EXPORT_SYMBOL (tcp_timewait_state_process)
 
void tcp_time_wait (struct sock *sk, int state, int timeo)
 
void tcp_twsk_destructor (struct sock *sk)
 
 EXPORT_SYMBOL_GPL (tcp_twsk_destructor)
 
struct socktcp_create_openreq_child (struct sock *sk, struct request_sock *req, struct sk_buff *skb)
 
 EXPORT_SYMBOL (tcp_create_openreq_child)
 
struct socktcp_check_req (struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct request_sock **prev, bool fastopen)
 
 EXPORT_SYMBOL (tcp_check_req)
 
int tcp_child_process (struct sock *parent, struct sock *child, struct sk_buff *skb)
 
 EXPORT_SYMBOL (tcp_child_process)
 

Variables

int sysctl_tcp_syncookies __read_mostly = 1
 
struct inet_timewait_death_row tcp_death_row
 

Function Documentation

EXPORT_SYMBOL ( sysctl_tcp_syncookies  )
EXPORT_SYMBOL ( tcp_timewait_state_process  )
EXPORT_SYMBOL ( tcp_create_openreq_child  )
EXPORT_SYMBOL ( tcp_check_req  )
EXPORT_SYMBOL ( tcp_child_process  )
EXPORT_SYMBOL_GPL ( tcp_death_row  )
EXPORT_SYMBOL_GPL ( tcp_twsk_destructor  )
struct sock* tcp_check_req ( struct sock sk,
struct sk_buff skb,
struct request_sock req,
struct request_sock **  prev,
bool  fastopen 
)
read

Definition at line 532 of file tcp_minisocks.c.

int tcp_child_process ( struct sock parent,
struct sock child,
struct sk_buff skb 
)

Definition at line 770 of file tcp_minisocks.c.

struct sock* tcp_create_openreq_child ( struct sock sk,
struct request_sock req,
struct sk_buff skb 
)
read

Definition at line 380 of file tcp_minisocks.c.

void tcp_time_wait ( struct sock sk,
int  state,
int  timeo 
)

Definition at line 266 of file tcp_minisocks.c.

enum tcp_tw_status tcp_timewait_state_process ( struct inet_timewait_sock tw,
struct sk_buff skb,
const struct tcphdr th 
)

Definition at line 92 of file tcp_minisocks.c.

void tcp_twsk_destructor ( struct sock sk)

Definition at line 355 of file tcp_minisocks.c.

Variable Documentation

int sysctl_tcp_abort_on_overflow __read_mostly = 1

Definition at line 30 of file tcp_minisocks.c.

Initial value:
= {
.sysctl_max_tw_buckets = NR_FILE * 2,
.death_lock = __SPIN_LOCK_UNLOCKED(tcp_death_row.death_lock),
.hashinfo = &tcp_hashinfo,
(unsigned long)&tcp_death_row),
.twkill_work = __WORK_INITIALIZER(tcp_death_row.twkill_work,
.twcal_hand = -1,
(unsigned long)&tcp_death_row),
}

Definition at line 35 of file tcp_minisocks.c.