examples/ipv4_multicast: support double vlan stripping and insertion
authorHelin Zhang <helin.zhang@intel.com>
Thu, 11 Jun 2015 07:03:59 +0000 (15:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Jul 2015 14:42:49 +0000 (16:42 +0200)
commit1e6854467495523e4fba728b3e5611020523a2eb
treead0bbf9cc65920187a62bc526ff509eee611fbb5
parent92ebda07ee58cf6966305ba03b50b81debfb2d98
examples/ipv4_multicast: support double vlan stripping and insertion

The outer vlan should be copied from source packet buffer to
support double vlan stripping and insertion, as double vlan can be
stripped or inserted by some of NIC hardware.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
examples/ipv4_multicast/main.c