summaryrefslogtreecommitdiffstats
path: root/test/test_l2xc_multi_instance.py
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2019-04-01 11:30:07 -0400
committerJohn Lo <loj@cisco.com>2019-04-01 11:30:07 -0400
commitf545caada9fe764e296a4ff59bf3d333ce3cb08a (patch)
treec473dfc33b064082e9d90cccffd4cc5bd47094d3 /test/test_l2xc_multi_instance.py
parentac3b1139578b544cae3884548f455a1e7b4910f4 (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 'test/test_l2xc_multi_instance.py')
0 files changed, 0 insertions, 0 deletions