summaryrefslogtreecommitdiffstats
path: root/kernel/linux/include
diff options
context:
space:
mode:
authorgborowiak <gborowiak>2003-09-07 13:10:40 +0000
committergborowiak <gborowiak>2003-09-07 13:10:40 +0000
commit58adbd9dd5dbc0d48ad6e77848e316556f7c2ce1 (patch)
treed4a973c833d7d7a42513a17f4ac23dfb73e6c8fb /kernel/linux/include
parent406f53db99b0db7cf871f37f3da30987355e9914 (diff)
Initial release
Diffstat (limited to 'kernel/linux/include')
-rw-r--r--kernel/linux/include/linux/netfilter_bridge/ebt_inat.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/kernel/linux/include/linux/netfilter_bridge/ebt_inat.h b/kernel/linux/include/linux/netfilter_bridge/ebt_inat.h
new file mode 100644
index 0000000..d370d7b
--- /dev/null
+++ b/kernel/linux/include/linux/netfilter_bridge/ebt_inat.h
@@ -0,0 +1,23 @@
+#ifndef __LINUX_BRIDGE_EBT_NAT_H
+#define __LINUX_BRIDGE_EBT_NAT_H
+
+struct ebt_inat_tuple
+{
+ int enabled;
+ unsigned char mac[ETH_ALEN];
+ // EBT_ACCEPT, EBT_DROP or EBT_CONTINUE
+ int target;
+};
+
+struct ebt_inat_info
+{
+ uint32_t ip_subnet;
+ struct ebt_inat_tuple a[256];
+ // EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN
+ int target;
+};
+
+#define EBT_ISNAT_TARGET "isnat"
+#define EBT_IDNAT_TARGET "idnat"
+
+#endif