numam-dpdk/examples/ip_pipeline
Bruce Richardson f9acaf84e9 replace snprintf with strlcpy without adding extra include
For files that already have rte_string_fns.h included in them, we can
do a straight replacement of snprintf(..."%s",...) with strlcpy. The
changes in this patch were auto-generated via command:

spatch --sp-file devtools/cocci/strlcpy-with-header.cocci --dir . --in-place

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-04-04 22:45:54 +02:00
..
examples examples: use separate crypto session mempools 2019-01-10 16:57:22 +01:00
action.c examples/ip_pipeline: support packet decap action 2018-10-12 19:33:36 +02:00
action.h examples/ip_pipeline: support symmetric crypto action 2018-10-12 19:33:15 +02:00
cli.c examples/ip_pipeline: support QinQ PPPoE encapsulation 2019-03-29 20:53:30 +01:00
cli.h examples/ip_pipeline: add pipeline object 2018-04-05 19:00:08 +02:00
common.h examples/ip_pipeline: add mempool object 2018-04-05 18:23:49 +02:00
conn.c mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
conn.h examples/ip_pipeline: add CLI interface 2018-04-05 18:23:49 +02:00
cryptodev.c examples: use separate crypto session mempools 2019-01-10 16:57:22 +01:00
cryptodev.h examples: use separate crypto session mempools 2019-01-10 16:57:22 +01:00
kni.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
kni.h examples/ip_pipeline: add KNI object 2018-04-05 19:00:00 +02:00
link.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
link.h examples/ip_pipeline: add link command 2018-07-12 13:48:29 +02:00
main.c examples/ip_pipeline: add cryptodev 2018-10-12 19:33:09 +02:00
Makefile examples: detect default build directory 2019-03-30 01:12:15 +01:00
mempool.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
mempool.h examples/ip_pipeline: add mempool object 2018-04-05 18:23:49 +02:00
meson.build examples/ip_pipeline: disable build when no epoll 2019-02-26 16:22:49 +01:00
parser.c examples/ip_pipeline: remove infra code 2018-04-05 18:23:41 +02:00
parser.h examples/ip_pipeline: remove infra code 2018-04-05 18:23:41 +02:00
pipeline.c examples/ip_pipeline: add rule list per table 2018-11-02 12:24:43 +01:00
pipeline.h examples/ip_pipeline: support rule time read 2018-11-02 12:29:52 +01:00
swq.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
swq.h examples/ip_pipeline: add sw queue object 2018-04-05 18:23:50 +02:00
tap.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
tap.h examples/ip_pipeline: add tap object 2018-04-05 18:23:51 +02:00
thread.c examples/ip_pipeline: fix port and table stats read 2018-11-02 12:29:53 +01:00
thread.h examples/ip_pipeline: add enable and disable commands 2018-04-05 19:00:17 +02:00
tmgr.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
tmgr.h examples/ip_pipeline: add traffic manager object 2018-04-05 18:23:51 +02:00