From 4795a994e2810c63d8da19b5f75854db470e4a6c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 20 Mar 2019 11:32:58 +0100 Subject: src: use 'flow add' syntax As discussed during NFWS 2018. Old syntax is stilled allowed. Signed-off-by: Pablo Neira Ayuso --- doc/nft.txt | 2 +- doc/statements.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/nft.txt b/doc/nft.txt index a4ab4a8e..d162dad0 100644 --- a/doc/nft.txt +++ b/doc/nft.txt @@ -585,7 +585,7 @@ address - to update the destination link-layer address - to forward packets. The ttl and hoplimit fields are also decremented. Hence, flowtables provides an alternative path that allow packets to bypass the classic forwarding path. Flowtables reside in the ingress hook that is located before the prerouting -hook. You can select which flows you want to offload through the flow offload +hook. You can select which flows you want to offload through the flow expression from the forward chain. Flowtables are identified by their address family and their name. The address family must be one of ip, ip6, or inet. The inet address family is a dummy family which is used to create hybrid IPv4/IPv6 diff --git a/doc/statements.txt b/doc/statements.txt index a5822cf0..0687f53f 100644 --- a/doc/statements.txt +++ b/doc/statements.txt @@ -439,13 +439,13 @@ table inet x { } ------------------------------------- -FLOW OFFLOAD STATEMENT -~~~~~~~~~~~~~~~~~~~~~~ -A flow offload statement allows us to select what flows you want to accelerate +FLOW STATEMENT +~~~~~~~~~~~~~~ +A flow statement allows us to select what flows you want to accelerate forwarding through layer 3 network stack bypass. You have to specify the flowtable name where you want to offload this flow. -*flow offload* @flowtable +*flow add* @flowtable QUEUE STATEMENT ~~~~~~~~~~~~~~~ -- cgit v1.2.3