diff options
author | Pablo Neira Ayuso | 2018-01-07 01:04:15 +0100 |
---|---|---|
committer | Pablo Neira Ayuso | 2018-01-08 18:11:08 +0100 |
commit | 97add9f0d66da9898da325f84e80533db9cc0ced (patch) | |
tree | 3391d184c371884e38a0483655cb167b23c2e488 /net/ipv6/netfilter/nf_flow_table_ipv6.c | |
parent | netfilter: add generic flow table infrastructure (diff) | |
download | kernel-qcow2-linux-97add9f0d66da9898da325f84e80533db9cc0ced.tar.gz kernel-qcow2-linux-97add9f0d66da9898da325f84e80533db9cc0ced.tar.xz kernel-qcow2-linux-97add9f0d66da9898da325f84e80533db9cc0ced.zip |
netfilter: flow table support for IPv4
This patch adds the IPv4 flow table type, that implements the datapath
flow table to forward IPv4 traffic. Rationale is:
1) Look up for the packet in the flow table, from the ingress hook.
2) If there's a hit, decrement ttl and pass it on to the neighbour layer
for transmission.
3) If there's a miss, packet is passed up to the classic forwarding
path.
This patch also supports layer 3 source and destination NAT.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/netfilter/nf_flow_table_ipv6.c')
0 files changed, 0 insertions, 0 deletions