]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/ipq_linux/libipq.h
Added XML RPC method for getting user's authorizers.
[stg.git] / projects / stargazer / plugins / capture / ipq_linux / libipq.h
index 41cca57e3cf91a747d93faf9127fc99e50f66e86..58a715876b2964ca73975243b67d004cf7f986f3 100644 (file)
 #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
-#include <linux/netfilter_ipv4/ip_queue.h>
 typedef unsigned long ipq_id_t;
 #endif
 
@@ -82,8 +81,8 @@ int ipq_set_verdict(const struct ipq_handle *h,
 
 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 */