Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ip_vs_lblc.c File Reference
#include <linux/ip.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <linux/jiffies.h>
#include <linux/fs.h>
#include <linux/sysctl.h>
#include <net/ip_vs.h>

Go to the source code of this file.

Data Structures

struct  ip_vs_lblc_entry
 
struct  ip_vs_lblc_table
 

Macros

#define KMSG_COMPONENT   "IPVS"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define CHECK_EXPIRE_INTERVAL   (60*HZ)
 
#define ENTRY_TIMEOUT   (6*60*HZ)
 
#define DEFAULT_EXPIRATION   (24*60*60*HZ)
 
#define COUNT_FOR_FULL_EXPIRATION   30
 
#define CONFIG_IP_VS_LBLC_TAB_BITS   10
 
#define IP_VS_LBLC_TAB_BITS   CONFIG_IP_VS_LBLC_TAB_BITS
 
#define IP_VS_LBLC_TAB_SIZE   (1 << IP_VS_LBLC_TAB_BITS)
 
#define IP_VS_LBLC_TAB_MASK   (IP_VS_LBLC_TAB_SIZE - 1)
 

Functions

 module_init (ip_vs_lblc_init)
 
 module_exit (ip_vs_lblc_cleanup)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CHECK_EXPIRE_INTERVAL   (60*HZ)

Definition at line 63 of file ip_vs_lblc.c.

#define CONFIG_IP_VS_LBLC_TAB_BITS   10

Definition at line 81 of file ip_vs_lblc.c.

#define COUNT_FOR_FULL_EXPIRATION   30

Definition at line 74 of file ip_vs_lblc.c.

#define DEFAULT_EXPIRATION   (24*60*60*HZ)

Definition at line 66 of file ip_vs_lblc.c.

#define ENTRY_TIMEOUT   (6*60*HZ)

Definition at line 64 of file ip_vs_lblc.c.

#define IP_VS_LBLC_TAB_BITS   CONFIG_IP_VS_LBLC_TAB_BITS

Definition at line 83 of file ip_vs_lblc.c.

#define IP_VS_LBLC_TAB_MASK   (IP_VS_LBLC_TAB_SIZE - 1)

Definition at line 85 of file ip_vs_lblc.c.

#define IP_VS_LBLC_TAB_SIZE   (1 << IP_VS_LBLC_TAB_BITS)

Definition at line 84 of file ip_vs_lblc.c.

#define KMSG_COMPONENT   "IPVS"

Definition at line 42 of file ip_vs_lblc.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 43 of file ip_vs_lblc.c.

Function Documentation

module_exit ( ip_vs_lblc_cleanup  )
module_init ( ip_vs_lblc_init  )
MODULE_LICENSE ( "GPL"  )