]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/net/netfilter/nf_tables_offload.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux.git] / include / net / netfilter / nf_tables_offload.h
index c8b9dec376f56599a7403718727b0674681fbcdb..db104665a9e4ef3c69a5498b0f37a9e98fff9654 100644 (file)
@@ -9,6 +9,7 @@ struct nft_offload_reg {
        u32             len;
        u32             base_offset;
        u32             offset;
+       struct nft_data data;
        struct nft_data mask;
 };
 
@@ -63,6 +64,10 @@ struct nft_rule;
 struct nft_flow_rule *nft_flow_rule_create(const struct nft_rule *rule);
 void nft_flow_rule_destroy(struct nft_flow_rule *flow);
 int nft_flow_rule_offload_commit(struct net *net);
+void nft_indr_block_get_and_ing_cmd(struct net_device *dev,
+                                   flow_indr_block_bind_cb_t *cb,
+                                   void *cb_priv,
+                                   enum flow_block_command command);
 
 #define NFT_OFFLOAD_MATCH(__key, __base, __field, __len, __reg)                \
        (__reg)->base_offset    =                                       \