X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..d12e0d85ae649d5c903a61c1150f4e6c48f96309:/projects/stargazer/plugins/capture/ipq_linux/libipq.h diff --git a/projects/stargazer/plugins/capture/ipq_linux/libipq.h b/projects/stargazer/plugins/capture/ipq_linux/libipq.h index 41cca57e..d2c56e75 100644 --- a/projects/stargazer/plugins/capture/ipq_linux/libipq.h +++ b/projects/stargazer/plugins/capture/ipq_linux/libipq.h @@ -18,7 +18,7 @@ * GNU General Public License for more details. * */ - + #ifndef _LIBIPQ_H #define _LIBIPQ_H @@ -31,11 +31,10 @@ #include #include +#include #ifdef KERNEL_64_USERSPACE_32 -#include "ip_queue_64.h" typedef u_int64_t ipq_id_t; #else -#include typedef unsigned long ipq_id_t; #endif @@ -72,18 +71,14 @@ ipq_packet_msg_t *ipq_get_packet(const unsigned char *buf); 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 */