Mcast rewrite no memcpy

use a 32bit mask in the adjacency to AND with the IP address and OR into the rewrite.

Change-Id: I80b0f246c18fd74f3e43c5d49e25833412f34665
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2017-03-15 04:22:25 -07:00
committed by Florin Coras
parent 70efbfcd49
commit 2e7fbcc081
17 changed files with 89 additions and 89 deletions

View File

@ -101,7 +101,6 @@ class TestIPMcast(VppTestCase):
tx = sent[i]
rx = capture[i]
# the rx'd packet has the MPLS label popped
eth = rx[Ether]
self.assertEqual(eth.type, 0x800)
@ -128,7 +127,6 @@ class TestIPMcast(VppTestCase):
tx = sent[i]
rx = capture[i]
# the rx'd packet has the MPLS label popped
eth = rx[Ether]
self.assertEqual(eth.type, 0x86DD)