summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2004-02-24 08:11:46 -0800
committerPatrick McHardy <kaber@trash.net>2004-02-24 08:11:46 -0800
commit26b4fa1ce0e5f7c057eb3f61fcf61dc1b651075a (patch)
tree82f9896ac3cee0e4c821bf1b95e25b96a549b2b7 /include
parent61e7d4eb42c5e71e647ac7275f16be56036ad865 (diff)
[NETFILTER]: Fix amanda helpers, forward port from 2.4.x version.
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter_ipv4/ip_conntrack_amanda.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/include/linux/netfilter_ipv4/ip_conntrack_amanda.h b/include/linux/netfilter_ipv4/ip_conntrack_amanda.h
index 50726ea6b641..75ee293bd088 100644
--- a/include/linux/netfilter_ipv4/ip_conntrack_amanda.h
+++ b/include/linux/netfilter_ipv4/ip_conntrack_amanda.h
@@ -2,20 +2,11 @@
#define _IP_CONNTRACK_AMANDA_H
/* AMANDA tracking. */
-#ifdef __KERNEL__
-
-#include <linux/netfilter_ipv4/lockhelp.h>
-
-/* Protects amanda part of conntracks */
-DECLARE_LOCK_EXTERN(ip_amanda_lock);
-
-#endif
-
struct ip_ct_amanda_expect
{
u_int16_t port; /* port number of this expectation */
- u_int16_t offset; /* offset of the port specification in ctrl packet */
- u_int16_t len; /* the length of the port number specification */
+ u_int16_t offset; /* offset of port in ctrl packet */
+ u_int16_t len; /* length of the port number string */
};
#endif /* _IP_CONNTRACK_AMANDA_H */