git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
7bd83e6
)
rib: constify arguments
author
Stephen Hemminger
<stephen@networkplumber.org>
Thu, 25 Jun 2020 20:32:06 +0000
(13:32 -0700)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 7 Jul 2020 21:22:05 +0000
(23:22 +0200)
The getter functions should take a constant pointer
to make it clear that node is not modified.
The rib create functions do not modify their config structure.
Mark the config as constant so that programs can pass
simple constant data.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
No differences found