port: source and sink
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Wed, 4 Jun 2014 18:08:25 +0000 (19:08 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jun 2014 01:34:10 +0000 (03:34 +0200)
commitef3403fb6f9a3c4b730d2e4fbe7ddc0291ffa992
treef7be1d0f906d83ea5127dbaadc792e92c56c432c
parent8dceb6aa6ecf7b70cd14364e246edbda99ca7103
port: source and sink

Source port is a packet generator, similar to /dev/zero Linux device.

Sink port is a packet terminator (drops all input packets), similar
to /dev/null Linux device.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Pablo de Lara Guarch <pablo.de.lara.guarch@intel.com>
Acked by: Ivan Boule <ivan.boule@6wind.com>
doc/doxy-api-index.md
lib/librte_port/Makefile
lib/librte_port/rte_port_source_sink.c [new file with mode: 0644]
lib/librte_port/rte_port_source_sink.h [new file with mode: 0644]