5 enum nft_meta_keys key:8;
7 enum nft_registers dreg:8;
8 enum nft_registers sreg:8;
12 extern const struct nla_policy nft_meta_policy[];
14 int nft_meta_get_init(const struct nft_ctx *ctx,
15 const struct nft_expr *expr,
16 const struct nlattr * const tb[]);
18 int nft_meta_set_init(const struct nft_ctx *ctx,
19 const struct nft_expr *expr,
20 const struct nlattr * const tb[]);
22 int nft_meta_get_dump(struct sk_buff *skb,
23 const struct nft_expr *expr);
25 int nft_meta_set_dump(struct sk_buff *skb,
26 const struct nft_expr *expr);
28 void nft_meta_get_eval(const struct nft_expr *expr,
29 struct nft_data data[NFT_REG_MAX + 1],
30 const struct nft_pktinfo *pkt);
32 void nft_meta_set_eval(const struct nft_expr *expr,
33 struct nft_data data[NFT_REG_MAX + 1],
34 const struct nft_pktinfo *pkt);