Merge remote-tracking branch 'kspp/for-next/kspp'
[deliverable/linux.git] / include / net / netfilter / nft_reject.h
CommitLineData
cc4723ca
PM
1#ifndef _NFT_REJECT_H_
2#define _NFT_REJECT_H_
3
4struct nft_reject {
5 enum nft_reject_types type:8;
6 u8 icmp_code;
7};
8
9extern const struct nla_policy nft_reject_policy[];
10
89e1f6d2
LZ
11int nft_reject_validate(const struct nft_ctx *ctx,
12 const struct nft_expr *expr,
13 const struct nft_data **data);
14
cc4723ca
PM
15int nft_reject_init(const struct nft_ctx *ctx,
16 const struct nft_expr *expr,
17 const struct nlattr * const tb[]);
18
19int nft_reject_dump(struct sk_buff *skb, const struct nft_expr *expr);
20
51b0a5d8
PNA
21int nft_reject_icmp_code(u8 code);
22int nft_reject_icmpv6_code(u8 code);
05513e9e 23
cc4723ca 24#endif
This page took 0.681343 seconds and 5 git commands to generate.