diff options
author | Neale Ranns <nranns@cisco.com> | 2017-03-15 04:22:25 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-03-27 17:45:06 +0000 |
commit | 2e7fbcc08152da5c6a17ed80ba08cd37edec6c8c (patch) | |
tree | 09e4f98dcc45d4105c04f2ba4a5fbae2cc63ff7d /src/vnet/ip/lookup.h | |
parent | 70efbfcd49aaee207ff3d33ac60083fedd9f1eec (diff) |
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>
Diffstat (limited to 'src/vnet/ip/lookup.h')
-rw-r--r-- | src/vnet/ip/lookup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ip/lookup.h b/src/vnet/ip/lookup.h index 48360b5b41f..f76ddb37863 100644 --- a/src/vnet/ip/lookup.h +++ b/src/vnet/ip/lookup.h @@ -55,6 +55,7 @@ #include <vnet/fib/fib_node.h> #include <vnet/dpo/dpo.h> #include <vnet/feature/feature.h> +#include <vnet/rewrite.h> /** @brief Common (IP4/IP6) next index stored in adjacency. */ typedef enum |