root/include/linux/netfilter/nfnetlink_acct.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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 
   8 enum {
   9         NFACCT_NO_QUOTA         = -1,
  10         NFACCT_UNDERQUOTA,
  11         NFACCT_OVERQUOTA,
  12 };
  13 
  14 struct nf_acct;
  15 
  16 struct nf_acct *nfnl_acct_find_get(struct net *net, const char *filter_name);
  17 void nfnl_acct_put(struct nf_acct *acct);
  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);
  20 #endif /* _NFNL_ACCT_H */

/* [<][>][^][v][top][bottom][index][help] */