#include <asm/types.h>
#include <linux/netlink.h>
+#include <linux/netfilter_ipv4/ip_queue.h>
#ifdef KERNEL_64_USERSPACE_32
-#include "ip_queue_64.h"
typedef u_int64_t ipq_id_t;
#else
-#ifdef HAS_IP_QUEUE_H
-#include <linux/netfilter_ipv4/ip_queue.h>
-#else
-#include "ip_queue.h"
-#endif
typedef unsigned long ipq_id_t;
#endif
int ipq_message_type(const unsigned char *buf);
-int ipq_get_msgerr(const unsigned char *buf);
-
int ipq_set_verdict(const struct ipq_handle *h,
ipq_id_t id,
unsigned int verdict,
size_t data_len,
unsigned char *buf);
-int ipq_ctl(const struct ipq_handle *h, int request, ...);
-
-/*char *ipq_errstr(void);
-void ipq_perror(const char *s);*/
+char *ipq_errstr(void);
+//void ipq_perror(const char *s);
#endif /* _LIBIPQ_H */