Searched refs:nfacct (Results 1 – 5 of 5) sorted by relevance
| /Linux-v4.19/net/netfilter/ |
| D | xt_nfacct.c | 29 nfnl_acct_update(skb, info->nfacct); in nfacct_mt() 31 overquota = nfnl_acct_overquota(xt_net(par), info->nfacct); in nfacct_mt() 40 struct nf_acct *nfacct; in nfacct_mt_checkentry() local 42 nfacct = nfnl_acct_find_get(par->net, info->name); in nfacct_mt_checkentry() 43 if (nfacct == NULL) { in nfacct_mt_checkentry() 48 info->nfacct = nfacct; in nfacct_mt_checkentry() 57 nfnl_acct_put(info->nfacct); in nfacct_mt_destroy() 67 .usersize = offsetof(struct xt_nfacct_match_info, nfacct),
|
| D | nfnetlink_acct.c | 55 struct nf_acct *nfacct, *matching = NULL; in nfnl_acct_new() local 67 list_for_each_entry(nfacct, &net->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() 107 nfacct = kzalloc(sizeof(struct nf_acct) + size, GFP_KERNEL); in nfnl_acct_new() 108 if (nfacct == NULL) in nfnl_acct_new() 112 u64 *quota = (u64 *)nfacct->data; in nfnl_acct_new() 115 nfacct->flags = flags; in nfnl_acct_new() 118 nla_strlcpy(nfacct->name, tb[NFACCT_NAME], NFACCT_NAME_MAX); in nfnl_acct_new() 121 atomic64_set(&nfacct->bytes, in nfnl_acct_new() [all …]
|
| D | Kconfig | 1389 tristate '"nfacct" match support'
|
| /Linux-v4.19/include/linux/netfilter/ |
| D | nfnetlink_acct.h | 18 void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct); 19 int nfnl_acct_overquota(struct net *net, struct nf_acct *nfacct);
|
| /Linux-v4.19/include/uapi/linux/netfilter/ |
| D | xt_nfacct.h | 11 struct nf_acct *nfacct; member
|