Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Mcast rewrite no memcpy
[vpp.git]
/
src
/
vnet
/
adj
/
adj_mcast.h
diff --git
a/src/vnet/adj/adj_mcast.h
b/src/vnet/adj/adj_mcast.h
index
21c5a14
..
40d4431
100644
(file)
--- a/
src/vnet/adj/adj_mcast.h
+++ b/
src/vnet/adj/adj_mcast.h
@@
-55,9
+55,18
@@
extern adj_index_t adj_mcast_add_or_lock(fib_protocol_t proto,
*
* @param
* The new rewrite
*
* @param
* The new rewrite
+ *
+ * @param
+ * The offset in the rewrite a which to write in packet's
+ * IP Address
+ *
+ * @param
+ * The mask to apply to the packet berfore the rewrite.
*/
extern void adj_mcast_update_rewrite(adj_index_t adj_index,
*/
extern void adj_mcast_update_rewrite(adj_index_t adj_index,
- u8 *rewrite);
+ u8 *rewrite,
+ u8 offset,
+ u32 mask);
/**
* @brief Format/display a mcast adjacency.
/**
* @brief Format/display a mcast adjacency.