1 /* SPDX-License-Identifier: GPL-2.0 */
6 enum nft_reject_types type:8;
10 extern const struct nla_policy nft_reject_policy[];
12 int nft_reject_validate(const struct nft_ctx *ctx,
13 const struct nft_expr *expr,
14 const struct nft_data **data);
16 int nft_reject_init(const struct nft_ctx *ctx,
17 const struct nft_expr *expr,
18 const struct nlattr * const tb[]);
20 int nft_reject_dump(struct sk_buff *skb, const struct nft_expr *expr);
22 int nft_reject_icmp_code(u8 code);
23 int nft_reject_icmpv6_code(u8 code);