summaryrefslogtreecommitdiffstats
path: root/include/libipset/nfproto.h
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-09-01 11:10:10 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-09-01 11:10:19 +0200
commit9c0d31cc1eb0a46b1756bd11f9194ddb4b38be0e (patch)
tree7e845a9740810ddc42e87d4b4d30c360f708f975 /include/libipset/nfproto.h
parent20a52295775126d1bd5740b6543d1ea8ea239b1b (diff)
parent5fccd38bbf4892718e58f0b006aa6724aec4f7f8 (diff)
Merge branch 'master' of git://dev.medozas.de/ipset
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'include/libipset/nfproto.h')
-rw-r--r--include/libipset/nfproto.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/libipset/nfproto.h b/include/libipset/nfproto.h
new file mode 100644
index 0000000..800da11
--- /dev/null
+++ b/include/libipset/nfproto.h
@@ -0,0 +1,19 @@
+#ifndef LIBIPSET_NFPROTO_H
+#define LIBIPSET_NFPROTO_H
+
+/*
+ * The constants to select, same as in linux/netfilter.h.
+ * Like nf_inet_addr.h, this is just here so that we need not to rely on
+ * the presence of a recent-enough netfilter.h.
+ */
+enum {
+ NFPROTO_UNSPEC = 0,
+ NFPROTO_IPV4 = 2,
+ NFPROTO_ARP = 3,
+ NFPROTO_BRIDGE = 7,
+ NFPROTO_IPV6 = 10,
+ NFPROTO_DECNET = 12,
+ NFPROTO_NUMPROTO,
+};
+
+#endif /* LIBIPSET_NFPROTO_H */