-
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.
yaml --- r: 314286 b: refs/heads/master c: 12f7a50 h: refs/heads/master v: v3
- Loading branch information
Pablo Neira Ayuso
committed
Jun 16, 2012
1 parent
1195c98
commit 6c9a90f
Showing
13 changed files
with
840 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: ae243bee397102c51fbf9db440eca3b077e0e702 | ||
refs/heads/master: 12f7a505331e6b2754684b509f2ac8f0011ce644 |
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
Oops, something went wrong.