-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netfilter: ipt_addrtype: rename to xt_addrtype
Followup patch will add ipv6 support. ipt_addrtype.h is retained for compatibility reasons, but no longer used by the kernel. Signed-off-by: Florian Westphal <fwestphal@astaro.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
- Loading branch information
Florian Westphal
authored and
Patrick McHardy
committed
Mar 15, 2011
1 parent
6a8ab06
commit de81bbe
Showing
8 changed files
with
63 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef _XT_ADDRTYPE_H | ||
#define _XT_ADDRTYPE_H | ||
|
||
#include <linux/types.h> | ||
|
||
enum { | ||
XT_ADDRTYPE_INVERT_SOURCE = 0x0001, | ||
XT_ADDRTYPE_INVERT_DEST = 0x0002, | ||
XT_ADDRTYPE_LIMIT_IFACE_IN = 0x0004, | ||
XT_ADDRTYPE_LIMIT_IFACE_OUT = 0x0008, | ||
}; | ||
|
||
struct xt_addrtype_info_v1 { | ||
__u16 source; /* source-type mask */ | ||
__u16 dest; /* dest-type mask */ | ||
__u32 flags; | ||
}; | ||
|
||
/* revision 0 */ | ||
struct xt_addrtype_info { | ||
__u16 source; /* source-type mask */ | ||
__u16 dest; /* dest-type mask */ | ||
__u32 invert_source; | ||
__u32 invert_dest; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters