Go to file
Bruce Richardson 257dcd86c0 app/testpmd: fix out-of-range error on bsd
The definition value for IPPROTO_DIVERT protocol uses a value
which is out of range of the uint8_t type, giving clang compiler
errors on FreeBSD.

app/test-pmd/icmpecho.c:231:7: fatal error: overflow converting case value
        to switch condition type (258 to 2) [-Wswitch]
                case IPPROTO_DIVERT: /**< divert pseudo-protocol */

This is fixed by having the code to return the protocol name
use the uint16_t type for the protocol value input.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-12-01 16:44:40 +01:00
app app/testpmd: fix out-of-range error on bsd 2014-12-01 16:44:40 +01:00
config config: disable enic driver on Power 2014-11-27 19:12:43 +01:00
doc add prefix to cache line macros 2014-11-27 16:21:11 +01:00
examples add prefix to cache line macros 2014-11-27 16:21:11 +01:00
lib enic: fix build with clang 2014-12-01 12:24:04 +01:00
mk mk: fix linking with some linux toolchains 2014-11-29 21:17:01 +01:00
pkg version: 1.7.1 2014-09-03 13:28:26 +02:00
scripts scripts: fix newline in configuration with bsd sed 2014-11-28 17:05:02 +01:00
tools tools: fix setup script for Fedora 21 2014-10-10 17:50:31 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00