diff options
author | gborowiak <gborowiak> | 2003-09-07 13:10:40 +0000 |
---|---|---|
committer | gborowiak <gborowiak> | 2003-09-07 13:10:40 +0000 |
commit | 58adbd9dd5dbc0d48ad6e77848e316556f7c2ce1 (patch) | |
tree | d4a973c833d7d7a42513a17f4ac23dfb73e6c8fb /kernel/linux/include/linux | |
parent | 406f53db99b0db7cf871f37f3da30987355e9914 (diff) |
Initial release
Diffstat (limited to 'kernel/linux/include/linux')
-rw-r--r-- | kernel/linux/include/linux/netfilter_bridge/ebt_inat.h | 23 |
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 |