Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ip_vs_sched.c File Reference
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <asm/string.h>
#include <linux/kmod.h>
#include <linux/sysctl.h>
#include <net/ip_vs.h>

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "IPVS"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 

Functions

 EXPORT_SYMBOL (ip_vs_scheduler_err)
 
int ip_vs_bind_scheduler (struct ip_vs_service *svc, struct ip_vs_scheduler *scheduler)
 
int ip_vs_unbind_scheduler (struct ip_vs_service *svc)
 
struct ip_vs_schedulerip_vs_scheduler_get (const char *sched_name)
 
void ip_vs_scheduler_put (struct ip_vs_scheduler *scheduler)
 
void ip_vs_scheduler_err (struct ip_vs_service *svc, const char *msg)
 
int register_ip_vs_scheduler (struct ip_vs_scheduler *scheduler)
 
int unregister_ip_vs_scheduler (struct ip_vs_scheduler *scheduler)
 

Macro Definition Documentation

#define KMSG_COMPONENT   "IPVS"

Definition at line 20 of file ip_vs_sched.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 21 of file ip_vs_sched.c.

Function Documentation

EXPORT_SYMBOL ( ip_vs_scheduler_err  )
int ip_vs_bind_scheduler ( struct ip_vs_service svc,
struct ip_vs_scheduler scheduler 
)

Definition at line 45 of file ip_vs_sched.c.

void ip_vs_scheduler_err ( struct ip_vs_service svc,
const char msg 
)

Definition at line 154 of file ip_vs_sched.c.

struct ip_vs_scheduler* ip_vs_scheduler_get ( const char sched_name)
read

Definition at line 124 of file ip_vs_sched.c.

void ip_vs_scheduler_put ( struct ip_vs_scheduler scheduler)

Definition at line 144 of file ip_vs_sched.c.

int ip_vs_unbind_scheduler ( struct ip_vs_service svc)

Definition at line 67 of file ip_vs_sched.c.

int register_ip_vs_scheduler ( struct ip_vs_scheduler scheduler)

Definition at line 178 of file ip_vs_sched.c.

int unregister_ip_vs_scheduler ( struct ip_vs_scheduler scheduler)

Definition at line 233 of file ip_vs_sched.c.