vnet: ping: rewrite for maintainability and multicore support 57/15557/11
authorAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 26 Oct 2018 13:13:56 +0000 (15:13 +0200)
committerDave Barach <openvpp@barachs.net>
Fri, 2 Nov 2018 12:19:07 +0000 (12:19 +0000)
commitcc8fa169297b0052e5a8d570eb41e5875b28561f
treee7853c0dfbdb6f580c768dbc3a258cfea5249562
parentbd0da97e5ac0f84e1ea8e6e7f9549dd4e1a6a4ab
vnet: ping: rewrite for maintainability and multicore support

Refactor most of the ping code to be address-family agnostic,
and add support for chained buffers (thus, sending
the payloads bigger than 2K).

Change-Id: I749c302ca2f3390e0d1f84046fc72da5cf13e3ef
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/vnet/ip/ping.c
src/vnet/ip/ping.h