Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
tcp_vegas.c File Reference
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/inet_diag.h>
#include <net/tcp.h>
#include "tcp_vegas.h"

Go to the source code of this file.

Functions

 module_param (alpha, int, 0644)
 
 MODULE_PARM_DESC (alpha,"lower bound of packets in network")
 
 module_param (beta, int, 0644)
 
 MODULE_PARM_DESC (beta,"upper bound of packets in network")
 
 module_param (gamma, int, 0644)
 
 MODULE_PARM_DESC (gamma,"limit on increase (scale by 2)")
 
void tcp_vegas_init (struct sock *sk)
 
 EXPORT_SYMBOL_GPL (tcp_vegas_init)
 
void tcp_vegas_pkts_acked (struct sock *sk, u32 cnt, s32 rtt_us)
 
 EXPORT_SYMBOL_GPL (tcp_vegas_pkts_acked)
 
void tcp_vegas_state (struct sock *sk, u8 ca_state)
 
 EXPORT_SYMBOL_GPL (tcp_vegas_state)
 
void tcp_vegas_cwnd_event (struct sock *sk, enum tcp_ca_event event)
 
 EXPORT_SYMBOL_GPL (tcp_vegas_cwnd_event)
 
void tcp_vegas_get_info (struct sock *sk, u32 ext, struct sk_buff *skb)
 
 EXPORT_SYMBOL_GPL (tcp_vegas_get_info)
 
 module_init (tcp_vegas_register)
 
 module_exit (tcp_vegas_unregister)
 
 MODULE_AUTHOR ("Stephen Hemminger")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("TCP Vegas")
 

Function Documentation

EXPORT_SYMBOL_GPL ( tcp_vegas_init  )
EXPORT_SYMBOL_GPL ( tcp_vegas_pkts_acked  )
EXPORT_SYMBOL_GPL ( tcp_vegas_state  )
EXPORT_SYMBOL_GPL ( tcp_vegas_cwnd_event  )
EXPORT_SYMBOL_GPL ( tcp_vegas_get_info  )
MODULE_AUTHOR ( "Stephen Hemminger"  )
MODULE_DESCRIPTION ( "TCP Vegas"  )
module_exit ( tcp_vegas_unregister  )
module_init ( tcp_vegas_register  )
MODULE_LICENSE ( "GPL"  )
module_param ( alpha  ,
int  ,
0644   
)
module_param ( beta  ,
int  ,
0644   
)
module_param ( gamma  ,
int  ,
0644   
)
MODULE_PARM_DESC ( alpha  ,
"lower bound of packets in network"   
)
MODULE_PARM_DESC ( beta  ,
"upper bound of packets in network"   
)
MODULE_PARM_DESC ( gamma  ,
"limit on increase (scale by 2)"   
)
void tcp_vegas_cwnd_event ( struct sock sk,
enum tcp_ca_event  event 
)

Definition at line 153 of file tcp_vegas.c.

void tcp_vegas_get_info ( struct sock sk,
u32  ext,
struct sk_buff skb 
)

Definition at line 291 of file tcp_vegas.c.

void tcp_vegas_init ( struct sock sk)

Definition at line 94 of file tcp_vegas.c.

void tcp_vegas_pkts_acked ( struct sock sk,
u32  cnt,
s32  rtt_us 
)

Definition at line 111 of file tcp_vegas.c.

void tcp_vegas_state ( struct sock sk,
u8  ca_state 
)

Definition at line 134 of file tcp_vegas.c.