numam-dpdk/lib/librte_net
Xiao Wang c09141e56f net: fix RARP generation
Due to a mistake operation from me, older version (v10) was merged to
master branch. It's the v11 should be applied. However, the master branch
is not rebase-able. Thus, this patch is made, from the diff between v10
and v11.

The diffs are:

- Add check for parameter and tailroom in rte_net_make_rarp_packet
- Allocate mbuf in rte_net_make_rarp_packet

Besides that, a link error is fixed when shared lib is enabled.

Fixes: 45ae05df82 ("net: add a helper for making RARP packet")
Fixes: c3ffdba0e8 ("vhost: use API to make RARP packet")

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Signed-off-by: Yuanhan Liu <yliu@fridaylinux.org>
2018-01-21 15:51:52 +01:00
..
Makefile net: fix RARP generation 2018-01-21 15:51:52 +01:00
net_crc_neon.h lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
net_crc_sse.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_arp.c net: fix RARP generation 2018-01-21 15:51:52 +01:00
rte_arp.h net: fix RARP generation 2018-01-21 15:51:52 +01:00
rte_esp.h net: fix ESP header byte ordering definition 2018-01-20 16:10:53 +01:00
rte_ether.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_gre.h net: add GRE header structure 2016-10-11 18:17:13 +02:00
rte_icmp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_ip.h net: add IPv6 header fields macros 2018-01-21 15:51:52 +01:00
rte_net_crc.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_net_crc.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_net_version.map net: add a helper for making RARP packet 2018-01-16 18:47:49 +01:00
rte_net.c net: fix inner L2 length in packet type parser 2017-10-05 23:34:45 +02:00
rte_net.h lib: fix IPv6 tunnel checksum 2017-04-10 22:49:57 +02:00
rte_sctp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_tcp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_udp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00