OSDN Git Service

netfilter: flowtable: split IPv4 datapath in helper functions
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 May 2023 05:35:34 +0000 (07:35 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 18 May 2023 06:48:55 +0000 (08:48 +0200)
commita10fa0b489d627911895b64c6530636748dd7911
tree808e6bbd42d696a322390b2be60cd01d160d5170
parentfa502c86566680ac62bc28ec883a069bf7a2aa5e
netfilter: flowtable: split IPv4 datapath in helper functions

Add context structure and helper functions to look up for a matching
IPv4 entry in the flowtable and to forward packets.

No functional changes are intended.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_flow_table_ip.c