-
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: 279076 b: refs/heads/master c: 9413902 h: refs/heads/master v: v3
- Loading branch information
Pablo Neira Ayuso
committed
Dec 25, 2011
1 parent
41789a4
commit 8766aff
Showing
7 changed files
with
401 additions
and
2 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: 80e60e67bc4bbfe61b61a344f542af23e16abdbf | ||
refs/heads/master: 9413902796f56f6209e19dd54e840ed46950612c |
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,36 @@ | ||
#ifndef _NFNL_ACCT_H_ | ||
#define _NFNL_ACCT_H_ | ||
|
||
#ifndef NFACCT_NAME_MAX | ||
#define NFACCT_NAME_MAX 32 | ||
#endif | ||
|
||
enum nfnl_acct_msg_types { | ||
NFNL_MSG_ACCT_NEW, | ||
NFNL_MSG_ACCT_GET, | ||
NFNL_MSG_ACCT_GET_CTRZERO, | ||
NFNL_MSG_ACCT_DEL, | ||
NFNL_MSG_ACCT_MAX | ||
}; | ||
|
||
enum nfnl_acct_type { | ||
NFACCT_UNSPEC, | ||
NFACCT_NAME, | ||
NFACCT_PKTS, | ||
NFACCT_BYTES, | ||
NFACCT_USE, | ||
__NFACCT_MAX | ||
}; | ||
#define NFACCT_MAX (__NFACCT_MAX - 1) | ||
|
||
#ifdef __KERNEL__ | ||
|
||
struct nf_acct; | ||
|
||
extern struct nf_acct *nfnl_acct_find_get(const char *filter_name); | ||
extern void nfnl_acct_put(struct nf_acct *acct); | ||
extern void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct); | ||
|
||
#endif /* __KERNEL__ */ | ||
|
||
#endif /* _NFNL_ACCT_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
Oops, something went wrong.