linux/include/net/netfilter/nft_masq.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef _NFT_MASQ_H_
   3#define _NFT_MASQ_H_
   4
   5struct nft_masq {
   6        u32                     flags;
   7        enum nft_registers      sreg_proto_min:8;
   8        enum nft_registers      sreg_proto_max:8;
   9};
  10
  11extern const struct nla_policy nft_masq_policy[];
  12
  13int nft_masq_init(const struct nft_ctx *ctx,
  14                  const struct nft_expr *expr,
  15                  const struct nlattr * const tb[]);
  16
  17int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr);
  18
  19int nft_masq_validate(const struct nft_ctx *ctx, const struct nft_expr *expr,
  20                      const struct nft_data **data);
  21
  22#endif /* _NFT_MASQ_H_ */
  23