-
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://1984.lsi.us.es/nf-next
Pablo says: ==================== This is the second batch of Netfilter updates for net-next. It contains the kernel changes for the new user-space connection tracking helper infrastructure. More details on this infrastructure are provides here: http://lwn.net/Articles/500196/ Still, I plan to provide some official documentation through the conntrack-tools user manual on how to setup user-space utilities for this. So far, it provides two helper in user-space, one for NFSv3 and another for Oracle/SQLnet/TNS. Yet in my TODO list. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
39 changed files
with
1,237 additions
and
183 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
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,55 @@ | ||
#ifndef _NFNL_CTHELPER_H_ | ||
#define _NFNL_CTHELPER_H_ | ||
|
||
#define NFCT_HELPER_STATUS_DISABLED 0 | ||
#define NFCT_HELPER_STATUS_ENABLED 1 | ||
|
||
enum nfnl_acct_msg_types { | ||
NFNL_MSG_CTHELPER_NEW, | ||
NFNL_MSG_CTHELPER_GET, | ||
NFNL_MSG_CTHELPER_DEL, | ||
NFNL_MSG_CTHELPER_MAX | ||
}; | ||
|
||
enum nfnl_cthelper_type { | ||
NFCTH_UNSPEC, | ||
NFCTH_NAME, | ||
NFCTH_TUPLE, | ||
NFCTH_QUEUE_NUM, | ||
NFCTH_POLICY, | ||
NFCTH_PRIV_DATA_LEN, | ||
NFCTH_STATUS, | ||
__NFCTH_MAX | ||
}; | ||
#define NFCTH_MAX (__NFCTH_MAX - 1) | ||
|
||
enum nfnl_cthelper_policy_type { | ||
NFCTH_POLICY_SET_UNSPEC, | ||
NFCTH_POLICY_SET_NUM, | ||
NFCTH_POLICY_SET, | ||
NFCTH_POLICY_SET1 = NFCTH_POLICY_SET, | ||
NFCTH_POLICY_SET2, | ||
NFCTH_POLICY_SET3, | ||
NFCTH_POLICY_SET4, | ||
__NFCTH_POLICY_SET_MAX | ||
}; | ||
#define NFCTH_POLICY_SET_MAX (__NFCTH_POLICY_SET_MAX - 1) | ||
|
||
enum nfnl_cthelper_pol_type { | ||
NFCTH_POLICY_UNSPEC, | ||
NFCTH_POLICY_NAME, | ||
NFCTH_POLICY_EXPECT_MAX, | ||
NFCTH_POLICY_EXPECT_TIMEOUT, | ||
__NFCTH_POLICY_MAX | ||
}; | ||
#define NFCTH_POLICY_MAX (__NFCTH_POLICY_MAX - 1) | ||
|
||
enum nfnl_cthelper_tuple_type { | ||
NFCTH_TUPLE_UNSPEC, | ||
NFCTH_TUPLE_L3PROTONUM, | ||
NFCTH_TUPLE_L4PROTONUM, | ||
__NFCTH_TUPLE_MAX, | ||
}; | ||
#define NFCTH_TUPLE_MAX (__NFCTH_TUPLE_MAX - 1) | ||
|
||
#endif /* _NFNL_CTHELPER_H */ |
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
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
Oops, something went wrong.