#include #ifndef _IP_CS_H #define _IP_CS_H #ifdef __KERNEL__ extern struct ip_masq *ip_cs_create_new(struct ip_vs_service *svc, struct iphdr *iph); extern int ip_cs_schedule( struct ip_masq *ms,struct sk_buff *skb); extern void ip_cs_err_handle(); extern int ip_cs_content_complete_check(struct sk_buff *skb); extern int ip_cs_syn_in(struct sk_buff *skb, struct ip_masq *ms); extern int ip_cs_ack_in_client(struct sk_buff *skb, struct ip_masq *ms); extern struct sk_buff * ip_cs_prepare_skb_server(struct sk_buff *skb,struct ip_masq *ms); struct sk_buff * ip_cs_prepare_skb_cs(struct sk_buff *skb,struct ip_masq *ms); extern void ip_cs_fix_client_seq(struct sk_buff *skb,struct ip_masq *ms); extern void ip_cs_fix_server_seq(struct sk_buff *skb,struct ip_masq *ms); extern void ip_cs_ack_in_server(struct sk_buff *skb, struct ip_masq *ms); extern int ip_cs_send_ack_to_client(struct sk_buff *skb); #endif /* __KERNEL__ */ #endif /* _IP_CS_H */