diff options
author | John Lo <loj@cisco.com> | 2019-04-01 11:30:07 -0400 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2019-04-01 11:30:07 -0400 |
commit | f545caada9fe764e296a4ff59bf3d333ce3cb08a (patch) | |
tree | c473dfc33b064082e9d90cccffd4cc5bd47094d3 /build/external/deb | |
parent | ac3b1139578b544cae3884548f455a1e7b4910f4 (diff) |
Enhance vlib_buffer_clone to change headroom space for packet
Add function vlib_buffer_clone_at_offset() so that the cloned
packets' 1st buffer will have the original packet header copied
at the specified offset (instead of current_data). This can be
used to increase headroom in the cloned packet to allow large
header encaps in case the stdandard 128B predata is not enough.
The original vlib_buffer_clone() still works the same as before.
Change-Id: I3b50c8ad7e3952568bc141710567c99a3dacddce
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'build/external/deb')
0 files changed, 0 insertions, 0 deletions