examples/l3fwd: move routes to common header
authorConor Walsh <conor.walsh@intel.com>
Fri, 16 Apr 2021 17:19:38 +0000 (17:19 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Apr 2021 18:05:41 +0000 (20:05 +0200)
commitda796d2755c0c96074c7e07858ae4e7562b79f61
treecfc6d24c7824a2b36a7a4a9c394545e8e1af2cb8
parent0c74a91ad6eb016cbc7bfd92d5aa414d04aa31ef
examples/l3fwd: move routes to common header

To prevent code duplication from the addition of lookup methods
the routes specified in lpm should be moved to a common header.

Signed-off-by: Conor Walsh <conor.walsh@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
examples/l3fwd/l3fwd_lpm.c
examples/l3fwd/l3fwd_route.h [new file with mode: 0644]
examples/l3fwd/main.c