lpm6: make IPv6 address immutable
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 26 Jan 2020 01:09:07 +0000 (17:09 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 16 Feb 2020 19:45:46 +0000 (20:45 +0100)
commitd82927d2f81dd5acf9b900e4d8b54d30b2edb006
tree23e1104e989c5082eb155050890fb3d894e94a27
parent103809d032cda71552596aefac269da97e10e7ea
lpm6: make IPv6 address immutable

Both the table setup and lookup do no modify their arguments.
Therefore the parameter should be constant.

This is not actually an API breakage since programs can be
recompiled without change. This is not an ABI breakage because
old programs will still run.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_lpm/rte_lpm6.c
lib/librte_lpm/rte_lpm6.h