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

Go to the source code of this file.

Data Structures

struct  lp
 

Macros

#define LP_RESOL   1000
 

Enumerations

enum  tcp_lp_state { LP_VALID_RHZ = (1 << 0), LP_VALID_OWD = (1 << 1), LP_WITHIN_THR = (1 << 3), LP_WITHIN_INF = (1 << 4) }
 

Functions

 module_init (tcp_lp_register)
 
 module_exit (tcp_lp_unregister)
 
 MODULE_AUTHOR ("Wong Hoi Sing Edison, Hung Hing Lun Mike")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("TCP Low Priority")
 

Macro Definition Documentation

#define LP_RESOL   1000

Definition at line 40 of file tcp_lp.c.

Enumeration Type Documentation

enum tcp_lp_state : is remote HZ valid? : is OWD valid? : are we within threshold? : are we within inference?

TCP-LP's state flags. We create this set of state flag mainly for debugging.

Enumerator:
LP_VALID_RHZ 
LP_VALID_OWD 
LP_WITHIN_THR 
LP_WITHIN_INF 

Definition at line 52 of file tcp_lp.c.

Function Documentation

MODULE_AUTHOR ( "Wong Hoi Sing  Edison,
Hung Hing Lun Mike"   
)
MODULE_DESCRIPTION ( "TCP Low Priority"  )
module_exit ( tcp_lp_unregister  )
module_init ( tcp_lp_register  )
MODULE_LICENSE ( "GPL"  )