linux/net/netfilter/ipvs/ip_vs_lc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * IPVS:        Least-Connection Scheduling module
 *
 * Authors:     Wensong Zhang <[email protected]>
 *
 * Changes:
 *     Wensong Zhang            :     added the ip_vs_lc_update_svc
 *     Wensong Zhang            :     added any dest with weight=0 is quiesced
 */

#define KMSG_COMPONENT
#define pr_fmt(fmt)

#include <linux/module.h>
#include <linux/kernel.h>

#include <net/ip_vs.h>

/*
 *	Least Connection scheduling
 */
static struct ip_vs_dest *
ip_vs_lc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb,
		  struct ip_vs_iphdr *iph)
{}


static struct ip_vs_scheduler ip_vs_lc_scheduler =;


static int __init ip_vs_lc_init(void)
{}

static void __exit ip_vs_lc_cleanup(void)
{}

module_init();
module_exit(ip_vs_lc_cleanup);
MODULE_LICENSE();
MODULE_DESCRIPTION();