diff options
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 8a7d59be8a0d..56f3c94ae620 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -9,6 +9,8 @@ | |||
9 | #include <asm/types.h> /* For __uXX types */ | 9 | #include <asm/types.h> /* For __uXX types */ |
10 | #include <linux/types.h> /* For __beXX types in userland */ | 10 | #include <linux/types.h> /* For __beXX types in userland */ |
11 | 11 | ||
12 | #include <linux/sysctl.h> /* For ctl_path */ | ||
13 | |||
12 | #define IP_VS_VERSION_CODE 0x010201 | 14 | #define IP_VS_VERSION_CODE 0x010201 |
13 | #define NVERSION(version) \ | 15 | #define NVERSION(version) \ |
14 | (version >> 16) & 0xFF, \ | 16 | (version >> 16) & 0xFF, \ |
@@ -676,7 +678,6 @@ extern const char *ip_vs_proto_name(unsigned proto); | |||
676 | extern void ip_vs_init_hash_table(struct list_head *table, int rows); | 678 | extern void ip_vs_init_hash_table(struct list_head *table, int rows); |
677 | #define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table(t, sizeof(t)/sizeof(t[0])) | 679 | #define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table(t, sizeof(t)/sizeof(t[0])) |
678 | 680 | ||
679 | #define IP_VS_APP_TYPE_UNSPEC 0 | ||
680 | #define IP_VS_APP_TYPE_FTP 1 | 681 | #define IP_VS_APP_TYPE_FTP 1 |
681 | 682 | ||
682 | /* | 683 | /* |
@@ -735,7 +736,6 @@ extern const char * ip_vs_state_name(__u16 proto, int state); | |||
735 | 736 | ||
736 | extern void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp); | 737 | extern void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp); |
737 | extern int ip_vs_check_template(struct ip_vs_conn *ct); | 738 | extern int ip_vs_check_template(struct ip_vs_conn *ct); |
738 | extern void ip_vs_secure_tcp_set(int on); | ||
739 | extern void ip_vs_random_dropentry(void); | 739 | extern void ip_vs_random_dropentry(void); |
740 | extern int ip_vs_conn_init(void); | 740 | extern int ip_vs_conn_init(void); |
741 | extern void ip_vs_conn_cleanup(void); | 741 | extern void ip_vs_conn_cleanup(void); |
@@ -856,6 +856,7 @@ extern int sysctl_ip_vs_expire_quiescent_template; | |||
856 | extern int sysctl_ip_vs_sync_threshold[2]; | 856 | extern int sysctl_ip_vs_sync_threshold[2]; |
857 | extern int sysctl_ip_vs_nat_icmp_send; | 857 | extern int sysctl_ip_vs_nat_icmp_send; |
858 | extern struct ip_vs_stats ip_vs_stats; | 858 | extern struct ip_vs_stats ip_vs_stats; |
859 | extern struct ctl_path net_vs_ctl_path[]; | ||
859 | 860 | ||
860 | extern struct ip_vs_service * | 861 | extern struct ip_vs_service * |
861 | ip_vs_service_get(__u32 fwmark, __u16 protocol, __be32 vaddr, __be16 vport); | 862 | ip_vs_service_get(__u32 fwmark, __u16 protocol, __be32 vaddr, __be16 vport); |