summaryrefslogtreecommitdiff
path: root/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
diff options
context:
space:
mode:
authorMauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>2016-02-25 18:02:27 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-07 21:42:57 +0100
commit513b07238abf86c796c55d697bc40558583793ef (patch)
treef20d04b1943f9d3a4c35642ea9a3f771be77ed26 /doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
parent377cd98e0ab68ee8dd3538558d6ec5b3dee1ddce (diff)
downloaddpdk-513b07238abf86c796c55d697bc40558583793ef.zip
dpdk-513b07238abf86c796c55d697bc40558583793ef.tar.gz
dpdk-513b07238abf86c796c55d697bc40558583793ef.tar.xz
doc: fix references in sample apps guide
MANY references in the sample applications user guide are wrong because they are hard-coded and section numbers have changed over the time. This patch changes thoses references to dynamic ones, in this way if section numbers change the reference get updated automatically. Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
Diffstat (limited to 'doc/guides/sample_app_ug/l3_forward_access_ctrl.rst')
-rw-r--r--doc/guides/sample_app_ug/l3_forward_access_ctrl.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
index dbf47c7..4049e01 100644
--- a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
+++ b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
@@ -51,8 +51,7 @@ When packets are received from a port,
the application extracts the necessary information from the TCP/IP header of the received packet and
performs a lookup in the rule database to figure out whether the packets should be dropped (in the ACL range)
or forwarded to desired ports.
-The initialization and run-time paths are similar to those of the L3 forwarding application
-(see Chapter 10, "L3 Forwarding Sample Application" for more information).
+The initialization and run-time paths are similar to those of the :doc:`l3_forward`.
However, there are significant differences in the two applications.
For example, the original L3 forwarding application uses either LPM or
an exact match algorithm to perform forwarding port lookup,
@@ -360,8 +359,7 @@ Explanation
-----------
The following sections provide some explanation of the sample application code.
-The aspects of port, device and CPU configuration are similar to those of the L3 forwarding application
-(see Chapter 10, "L3 Forwarding Sample Application" for more information).
+The aspects of port, device and CPU configuration are similar to those of the :doc:`l3_forward`.
The following sections describe aspects that are specific to L3 forwarding with access control.
Parse Rules from File