Searched refs:nfacct (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/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(par->net, 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 | 53 struct nf_acct *nfacct, *matching = NULL; in nfnl_acct_new() local 66 list_for_each_entry(nfacct, &net->nfnl_acct_list, head) { in nfnl_acct_new() 67 if (strncmp(nfacct->name, acct_name, NFACCT_NAME_MAX) != 0) in nfnl_acct_new() 73 matching = nfacct; in nfnl_acct_new() 104 nfacct = kzalloc(sizeof(struct nf_acct) + size, GFP_KERNEL); in nfnl_acct_new() 105 if (nfacct == NULL) in nfnl_acct_new() 109 u64 *quota = (u64 *)nfacct->data; in nfnl_acct_new() 112 nfacct->flags = flags; in nfnl_acct_new() 115 strncpy(nfacct->name, nla_data(tb[NFACCT_NAME]), NFACCT_NAME_MAX); in nfnl_acct_new() 118 atomic64_set(&nfacct->bytes, in nfnl_acct_new() [all …]
|
D | Kconfig | 1251 tristate '"nfacct" match support'
|
/linux-4.4.14/include/linux/netfilter/ |
D | nfnetlink_acct.h | 17 void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct); 19 struct nf_acct *nfacct);
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
D | xt_nfacct.h | 10 struct nf_acct *nfacct; member
|