[IPVS]: Move remaining sysctl handlers over to CTL_UNNUMBERED
Switch the remaining IPVS sysctl entries over to to use CTL_UNNUMBERED, I stronly doubt that anyone is using the sys_sysctl interface to these variables. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
9e103fa6bd
commit
9055fa1f3d
@@ -327,34 +327,6 @@ extern int ip_vs_get_debug_level(void);
|
||||
#define FTPPORT __constant_htons(21)
|
||||
#define FTPDATA __constant_htons(20)
|
||||
|
||||
/*
|
||||
* IPVS sysctl variables under the /proc/sys/net/ipv4/vs/
|
||||
*/
|
||||
#define NET_IPV4_VS 21
|
||||
|
||||
enum {
|
||||
NET_IPV4_VS_DEBUG_LEVEL=1,
|
||||
NET_IPV4_VS_AMEMTHRESH=2,
|
||||
NET_IPV4_VS_AMDROPRATE=3,
|
||||
NET_IPV4_VS_TO_ES=7,
|
||||
NET_IPV4_VS_TO_SS=8,
|
||||
NET_IPV4_VS_TO_SR=9,
|
||||
NET_IPV4_VS_TO_FW=10,
|
||||
NET_IPV4_VS_TO_TW=11,
|
||||
NET_IPV4_VS_TO_CL=12,
|
||||
NET_IPV4_VS_TO_CW=13,
|
||||
NET_IPV4_VS_TO_LA=14,
|
||||
NET_IPV4_VS_TO_LI=15,
|
||||
NET_IPV4_VS_TO_SA=16,
|
||||
NET_IPV4_VS_TO_UDP=17,
|
||||
NET_IPV4_VS_TO_ICMP=18,
|
||||
NET_IPV4_VS_CACHE_BYPASS=22,
|
||||
NET_IPV4_VS_EXPIRE_NODEST_CONN=23,
|
||||
NET_IPV4_VS_NAT_ICMP_SEND=25,
|
||||
NET_IPV4_VS_EXPIRE_QUIESCENT_TEMPLATE=26,
|
||||
NET_IPV4_VS_LAST
|
||||
};
|
||||
|
||||
/*
|
||||
* TCP State Values
|
||||
*/
|
||||
|
Reference in New Issue
Block a user