/* * (C) 2008 Krzysztof Piotr Oledzki <ole@ans.pl> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _NF_CONNTRACK_ACCT_H #define _NF_CONNTRACK_ACCT_H #include <net/net_namespace.h> #include <linux/netfilter/nf_conntrack_common.h> #include <linux/netfilter/nf_conntrack_tuple_common.h> #include <net/netfilter/nf_conntrack.h> #include <net/netfilter/nf_conntrack_extend.h> struct nf_conn_counter { atomic64_t packets; atomic64_t bytes; }; struct nf_conn_acct { struct nf_conn_counter counter[IP_CT_DIR_MAX]; };
static inline struct nf_conn_acct *nf_conn_acct_find(const struct nf_conn *ct) { return nf_ct_ext_find(ct, NF_CT_EXT_ACCT); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
krzysztof piotr oledzki | krzysztof piotr oledzki | 22 | 95.65% | 1 | 50.00% |
holger eitzenberger | holger eitzenberger | 1 | 4.35% | 1 | 50.00% |
Total | 23 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
krzysztof piotr oledzki | krzysztof piotr oledzki | 51 | 75.00% | 1 | 33.33% |
alexey dobriyan | alexey dobriyan | 15 | 22.06% | 1 | 33.33% |
holger eitzenberger | holger eitzenberger | 2 | 2.94% | 1 | 33.33% |
Total | 68 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
tim gardner | tim gardner | 21 | 100.00% | 1 | 100.00% |
Total | 21 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
tim gardner | tim gardner | 23 | 100.00% | 1 | 100.00% |
Total | 23 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
krzysztof piotr oledzki | krzysztof piotr oledzki | 132 | 56.17% | 1 | 16.67% |
tim gardner | tim gardner | 46 | 19.57% | 1 | 16.67% |
alexey dobriyan | alexey dobriyan | 26 | 11.06% | 1 | 16.67% |
holger eitzenberger | holger eitzenberger | 15 | 6.38% | 1 | 16.67% |
gao feng | gao feng | 14 | 5.96% | 1 | 16.67% |
eric dumazet | eric dumazet | 2 | 0.85% | 1 | 16.67% |
Total | 235 | 100.00% | 6 | 100.00% |