mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 18:22:18 +00:00
More Linux Kernel Detections
This commit is contained in:
parent
cf72a5ec59
commit
ea6f5248d4
36
src/mark.h
36
src/mark.h
@ -1,6 +1,42 @@
|
||||
#ifndef MARK_H
|
||||
#define MARK_H
|
||||
|
||||
#include <linux/version.h>
|
||||
|
||||
//original inclusions
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 7, 0)
|
||||
#if 0
|
||||
#include "libiptc/libiptc.h"
|
||||
#include <linux/netfilter_ipv4/ip_conntrack.h>
|
||||
#include <linux/netfilter_ipv4/ip_conntrack_tuple.h>
|
||||
#include "libiptc/ipt_conntrack.h"
|
||||
#include "libiptc/ipt_connmark.h"
|
||||
#include "libiptc/ipt_CONNMARK.h"
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
#include "libiptc/libiptc.h"
|
||||
#if 1
|
||||
#include <linux/netfilter/nf_conntrack_common.h>
|
||||
#endif
|
||||
#if 0
|
||||
#include <linux/netfilter_ipv4/ipt_conntrack_tuple.h>
|
||||
#endif
|
||||
#include "libiptc/ipt_conntrack.h"
|
||||
#include "libiptc/ipt_connmark.h"
|
||||
#include "libiptc/ipt_CONNMARK.h"
|
||||
#endif
|
||||
|
||||
/* 2010 fixes for debian package */
|
||||
#if 0
|
||||
#include "libiptc/libiptc.h"
|
||||
#include <linux/netfilter/nf_conntrack_common.h>
|
||||
#include <linux/netfilter_ipv4/ipt_conntrack.h>
|
||||
#include <linux/netfilter_ipv4/ipt_connmark.h>
|
||||
#include <linux/netfilter_ipv4/ipt_CONNMARK.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "libiptc/libiptc.h"
|
||||
#include <linux/netfilter/nf_conntrack_common.h>
|
||||
#include "libiptc/ipt_conntrack.h"
|
||||
|
Loading…
Reference in New Issue
Block a user