-
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.
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/kaber/nf-next-2.6 Conflicts: Documentation/feature-removal-schedule.txt
- Loading branch information
Showing
27 changed files
with
845 additions
and
557 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,44 @@ | ||
#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, | ||
}; | ||
|
||
|
||
/* rtn_type enum values from rtnetlink.h, but shifted */ | ||
enum { | ||
XT_ADDRTYPE_UNSPEC = 1 << 0, | ||
XT_ADDRTYPE_UNICAST = 1 << 1, /* 1 << RTN_UNICAST */ | ||
XT_ADDRTYPE_LOCAL = 1 << 2, /* 1 << RTN_LOCAL, etc */ | ||
XT_ADDRTYPE_BROADCAST = 1 << 3, | ||
XT_ADDRTYPE_ANYCAST = 1 << 4, | ||
XT_ADDRTYPE_MULTICAST = 1 << 5, | ||
XT_ADDRTYPE_BLACKHOLE = 1 << 6, | ||
XT_ADDRTYPE_UNREACHABLE = 1 << 7, | ||
XT_ADDRTYPE_PROHIBIT = 1 << 8, | ||
XT_ADDRTYPE_THROW = 1 << 9, | ||
XT_ADDRTYPE_NAT = 1 << 10, | ||
XT_ADDRTYPE_XRESOLVE = 1 << 11, | ||
}; | ||
|
||
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
Oops, something went wrong.