Searched refs:flowtable (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/Documentation/networking/ |
A D | nf_flowtable.rst | 4 Netfilter's flowtable infrastructure 17 flowtable through your ruleset. The flowtable infrastructure provides a rule 20 A packet that finds a matching entry in the flowtable (ie. flowtable hit) is 24 there is no matching entry in the flowtable (ie. flowtable miss), the packet 70 Fig.1 Netfilter hooks and flowtable interactions 85 flowtable and add one rule to your forward chain:: 88 flowtable f { 127 flowtable datapath also deals with layer 2 decapsulation. 175 flowtable f { 192 flowtable f { [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_flow_table_offload.c | 23 struct nf_flowtable *flowtable; member 736 const struct nf_flowtable *flowtable = offload->flowtable; in nf_flow_offload_rule_alloc() local 863 up_read(&flowtable->flow_block_lock); in nf_flow_offload_tuple() 877 offload->flowtable->priority, in flow_offload_tuple_add() 886 offload->flowtable->priority, in flow_offload_tuple_del() 940 offload->flowtable->priority, in flow_offload_tuple_stats() 1032 offload->flowtable = flowtable; in nf_flow_offload_work_alloc() 1085 nf_flow_table_gc_run(flowtable); in nf_flow_table_offload_flush_cleanup() 1120 up_write(&flowtable->flow_block_lock); in nf_flow_table_block_setup() 1133 bo->block = &flowtable->flow_block; in nf_flow_table_block_offload_init() [all …]
|
A D | nft_flow_offload.c | 19 struct nft_flowtable *flowtable; member 96 unsigned char *ha, struct nf_flowtable *flowtable) in nft_dev_path_info() argument 165 if (nf_flowtable_hw_offload(flowtable) && in nft_dev_path_info() 291 struct nf_flowtable *flowtable = &priv->flowtable->data; in nft_flow_offload_eval() local 360 ret = flow_offload_add(flowtable, flow); in nft_flow_offload_eval() 397 struct nft_flowtable *flowtable; in nft_flow_offload_init() local 404 if (IS_ERR(flowtable)) in nft_flow_offload_init() 405 return PTR_ERR(flowtable); in nft_flow_offload_init() 407 priv->flowtable = flowtable; in nft_flow_offload_init() 408 flowtable->use++; in nft_flow_offload_init() [all …]
|
A D | nf_flow_table_core.c | 389 void (*iter)(struct nf_flowtable *flowtable, in nf_flow_table_iterate() argument 550 flow_block_init(&flowtable->flow_block); in nf_flow_table_init() 551 init_rwsem(&flowtable->flow_block_lock); in nf_flow_table_init() 553 err = rhashtable_init(&flowtable->rhashtable, in nf_flow_table_init() 559 &flowtable->gc_work, HZ); in nf_flow_table_init() 562 list_add(&flowtable->list, &flowtables); in nf_flow_table_init() 589 flush_delayed_work(&flowtable->gc_work); in nf_flow_table_gc_cleanup() 590 nf_flow_table_offload_flush(flowtable); in nf_flow_table_gc_cleanup() 595 struct nf_flowtable *flowtable; in nf_flow_table_cleanup() local 598 list_for_each_entry(flowtable, &flowtables, list) in nf_flow_table_cleanup() [all …]
|
A D | nf_tables_api.c | 7617 flowtable->data.type->setup(&flowtable->data, hook->ops.dev, in nft_unregister_flowtable_hook() 7665 err = flowtable->data.type->setup(&flowtable->data, in nft_register_flowtable_net_hooks() 7673 flowtable->data.type->setup(&flowtable->data, in nft_register_flowtable_net_hooks() 7829 flowtable = kzalloc(sizeof(*flowtable), GFP_KERNEL_ACCOUNT); in nf_tables_newflowtable() 7830 if (!flowtable) in nf_tables_newflowtable() 7896 flowtable->data.type->free(&flowtable->data); in nf_tables_newflowtable() 7902 kfree(flowtable); in nf_tables_newflowtable() 8206 flowtable, &flowtable->hook_list); in nf_tables_getflowtable() 8256 flowtable->data.type->free(&flowtable->data); in nf_tables_flowtable_destroy() 8258 flowtable->data.type->setup(&flowtable->data, hook->ops.dev, in nf_tables_flowtable_destroy() [all …]
|
/linux-6.3-rc2/include/net/netfilter/ |
A D | nf_flow_table.h | 85 static inline bool nf_flowtable_hw_offload(struct nf_flowtable *flowtable) in nf_flowtable_hw_offload() argument 87 return flowtable->flags & NF_FLOWTABLE_HW_OFFLOAD; in nf_flowtable_hw_offload() 276 void nf_flow_table_gc_cleanup(struct nf_flowtable *flowtable, 304 void nf_flow_offload_add(struct nf_flowtable *flowtable, 306 void nf_flow_offload_del(struct nf_flowtable *flowtable, 308 void nf_flow_offload_stats(struct nf_flowtable *flowtable, 311 void nf_flow_table_offload_flush(struct nf_flowtable *flowtable); 312 void nf_flow_table_offload_flush_cleanup(struct nf_flowtable *flowtable); 314 int nf_flow_table_offload_setup(struct nf_flowtable *flowtable,
|
A D | nf_tables.h | 1379 struct nft_flowtable *flowtable, 1647 struct nft_flowtable *flowtable; member 1654 (((struct nft_trans_flowtable *)trans->data)->flowtable)
|
/linux-6.3-rc2/tools/testing/selftests/netfilter/ |
A D | nft_flowtable.sh | 161 flowtable f1 {
|
Completed in 61 milliseconds