Merge remote-tracking branches 'asoc/topic/ux500' and 'asoc/topic/wm8962' into asoc...
[deliverable/linux.git] / include / net / netfilter / nft_meta.h
CommitLineData
aa45660c
TB
1#ifndef _NFT_META_H_
2#define _NFT_META_H_
3
4struct nft_meta {
5 enum nft_meta_keys key:8;
6 union {
7 enum nft_registers dreg:8;
8 enum nft_registers sreg:8;
9 };
10};
11
12extern const struct nla_policy nft_meta_policy[];
13
14int nft_meta_get_init(const struct nft_ctx *ctx,
15 const struct nft_expr *expr,
16 const struct nlattr * const tb[]);
17
18int nft_meta_set_init(const struct nft_ctx *ctx,
19 const struct nft_expr *expr,
20 const struct nlattr * const tb[]);
21
22int nft_meta_get_dump(struct sk_buff *skb,
23 const struct nft_expr *expr);
24
25int nft_meta_set_dump(struct sk_buff *skb,
26 const struct nft_expr *expr);
27
28void nft_meta_get_eval(const struct nft_expr *expr,
a55e22e9 29 struct nft_regs *regs,
aa45660c
TB
30 const struct nft_pktinfo *pkt);
31
32void nft_meta_set_eval(const struct nft_expr *expr,
a55e22e9 33 struct nft_regs *regs,
aa45660c
TB
34 const struct nft_pktinfo *pkt);
35
e639f7ab
FW
36void nft_meta_set_destroy(const struct nft_ctx *ctx,
37 const struct nft_expr *expr);
38
aa45660c 39#endif
This page took 0.13502 seconds and 5 git commands to generate.