File Index
Files and directories
Sign in
FILE

nfnetlink_acct.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/netfilter/nfnetlink_acct.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _NFNL_ACCT_H_
 3#define _NFNL_ACCT_H_
 4
 5#include <uapi/linux/netfilter/nfnetlink_acct.h>
 6#include <net/net_namespace.h>
 7
 8enum {
 9	NFACCT_NO_QUOTA		= -1,
10	NFACCT_UNDERQUOTA,
11	NFACCT_OVERQUOTA,
12};
13
14struct nf_acct;
15
16struct nf_acct *nfnl_acct_find_get(struct net *net, const char *filter_name);
17void nfnl_acct_put(struct nf_acct *acct);
18void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct);
19int nfnl_acct_overquota(struct net *net, struct nf_acct *nfacct);
20#endif /* _NFNL_ACCT_H */
~/ Read-only file preview.