Import of xt_DNETMAP

This commit is contained in:
Marek Kierdelewicz
2011-01-07 00:02:59 +01:00
committed by Jan Engelhardt
parent 0168f8e8a2
commit c5d4dd0bcf
9 changed files with 1367 additions and 0 deletions

16
extensions/xt_DNETMAP.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef _LINUX_NETFILTER_XT_DNETMAP_H
#define _LINUX_NETFILTER_XT_DNETMAP_H 1
enum {
XT_DNETMAP_TTL = 1 << 0,
XT_DNETMAP_REUSE = 1 << 1,
XT_DNETMAP_PREFIX = 1 << 2,
};
struct xt_DNETMAP_tginfo {
struct nf_nat_multi_range_compat prefix;
__u8 flags;
__s16 ttl;
};
#endif