Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
tcp.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/in.h>
#include <linux/module.h>
#include <net/tcp.h>
#include "rds.h"
#include "tcp.h"

Go to the source code of this file.

Macros

#define RDS_TCP_DEFAULT_BUFSIZE   (128 * 1024)
 

Functions

void rds_tcp_nonagle (struct socket *sock)
 
void rds_tcp_tune (struct socket *sock)
 
u32 rds_tcp_snd_nxt (struct rds_tcp_connection *tc)
 
u32 rds_tcp_snd_una (struct rds_tcp_connection *tc)
 
void rds_tcp_restore_callbacks (struct socket *sock, struct rds_tcp_connection *tc)
 
void rds_tcp_set_callbacks (struct socket *sock, struct rds_connection *conn)
 
 module_exit (rds_tcp_exit)
 
 module_init (rds_tcp_init)
 
 MODULE_AUTHOR ("Oracle Corporation <[email protected]>")
 
 MODULE_DESCRIPTION ("RDS: TCP transport")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 

Variables

struct rds_transport rds_tcp_transport
 

Macro Definition Documentation

#define RDS_TCP_DEFAULT_BUFSIZE   (128 * 1024)

Definition at line 53 of file tcp.c.

Function Documentation

MODULE_AUTHOR ( "Oracle Corporation <[email protected]>"  )
MODULE_DESCRIPTION ( "RDS: TCP transport )
module_exit ( rds_tcp_exit  )
module_init ( rds_tcp_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
void rds_tcp_nonagle ( struct socket sock)

Definition at line 56 of file tcp.c.

void rds_tcp_restore_callbacks ( struct socket sock,
struct rds_tcp_connection tc 
)

Definition at line 94 of file tcp.c.

void rds_tcp_set_callbacks ( struct socket sock,
struct rds_connection conn 
)

Definition at line 121 of file tcp.c.

u32 rds_tcp_snd_nxt ( struct rds_tcp_connection tc)

Definition at line 84 of file tcp.c.

u32 rds_tcp_snd_una ( struct rds_tcp_connection tc)

Definition at line 89 of file tcp.c.

void rds_tcp_tune ( struct socket sock)

Definition at line 67 of file tcp.c.

Variable Documentation

struct rds_transport rds_tcp_transport
Initial value:
= {
.laddr_check = rds_tcp_laddr_check,
.xmit_prepare = rds_tcp_xmit_prepare,
.xmit_complete = rds_tcp_xmit_complete,
.xmit = rds_tcp_xmit,
.recv = rds_tcp_recv,
.conn_alloc = rds_tcp_conn_alloc,
.conn_free = rds_tcp_conn_free,
.conn_connect = rds_tcp_conn_connect,
.conn_shutdown = rds_tcp_conn_shutdown,
.inc_copy_to_user = rds_tcp_inc_copy_to_user,
.inc_free = rds_tcp_inc_free,
.stats_info_copy = rds_tcp_stats_info_copy,
.exit = rds_tcp_exit,
.t_owner = THIS_MODULE,
.t_name = "tcp",
.t_type = RDS_TRANS_TCP,
.t_prefer_loopback = 1,
}

Definition at line 264 of file tcp.c.