Hi Eason,

There’s
  vlib_buffer_clone()

it’s use in IP multicast can be found here:
  replicate_inline (…)
and in L2 multicast here:
   l2flood_node_fn(…)

/neale


-----Original Message-----
From: <vpp-dev@lists.fd.io> on behalf of Eason Chen 
<eason.c...@cloudnetengine.com>
Reply-To: Eason Chen <eason.c...@cloudnetengine.com>
Date: Monday, 3 September 2018 at 04:12
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] vlib_buffer_t clone operation

    Hi VPP Gurus,
    
    I am trying to deep dive vlib_buffer_t operations but cannot find a clone 
operation,
    could anyone elaborate this the reason why clone is not supported or I 
missed anything obvious?
    My assumption is that there should be some use cases for a packet clone, 
e.g. multicast...
    
    Thanks,
    Eason

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10343): https://lists.fd.io/g/vpp-dev/message/10343
Mute This Topic: https://lists.fd.io/mt/25161404/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to