Searched refs:nfacct (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/net/netfilter/ |
D | xt_nfacct.c | 27 nfnl_acct_update(skb, info->nfacct); in nfacct_mt() 29 overquota = nfnl_acct_overquota(skb, info->nfacct); in nfacct_mt() 38 struct nf_acct *nfacct; in nfacct_mt_checkentry() local 40 nfacct = nfnl_acct_find_get(info->name); in nfacct_mt_checkentry() 41 if (nfacct == NULL) { in nfacct_mt_checkentry() 46 info->nfacct = nfacct; in nfacct_mt_checkentry() 55 nfnl_acct_put(info->nfacct); in nfacct_mt_destroy()
|
D | nfnetlink_acct.c | 55 struct nf_acct *nfacct, *matching = NULL; in nfnl_acct_new() local 67 list_for_each_entry(nfacct, &nfnl_acct_list, head) { in nfnl_acct_new() 68 if (strncmp(nfacct->name, acct_name, NFACCT_NAME_MAX) != 0) in nfnl_acct_new() 74 matching = nfacct; in nfnl_acct_new() 105 nfacct = kzalloc(sizeof(struct nf_acct) + size, GFP_KERNEL); in nfnl_acct_new() 106 if (nfacct == NULL) in nfnl_acct_new() 110 u64 *quota = (u64 *)nfacct->data; in nfnl_acct_new() 113 nfacct->flags = flags; in nfnl_acct_new() 116 strncpy(nfacct->name, nla_data(tb[NFACCT_NAME]), NFACCT_NAME_MAX); in nfnl_acct_new() 119 atomic64_set(&nfacct->bytes, in nfnl_acct_new() [all …]
|
D | Kconfig | 1235 tristate '"nfacct" match support'
|
/linux-4.1.27/include/linux/netfilter/ |
D | nfnetlink_acct.h | 16 void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct); 18 struct nf_acct *nfacct);
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
D | xt_nfacct.h | 10 struct nf_acct *nfacct; member
|