On Thu, Jun 6, 2019 at 09:06 AM, Ole Troan wrote:
>
> And you might not want to enable reassembly in the input feature arc,
> unless you want every fragment arriving on that interface to be
> reassembled. Independently of packet being to your feature plugin or not.
>
>
Hi Ole, yes we are checking for ip fragmented packet in our plugin and if
reassembly is required we are trying to send to ip4_reass_node.
Below is code snippet for your reference:
*if( (ip4_is_fragment(ip_hdr)) ) /* Check if Reassembly is required */*
*{*
/* forward to reassembly node for processing */
*frame = vlib_get_frame_to_node (vlib_get_main (), ip4_reass_node.index);*
*frame->n_vectors = 1;*
*to_next = vlib_frame_vector_args (frame);*
*...*
*vlib_put_frame_to_node (vlib_get_main (), node_index, frame );*
*}*
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13234): https://lists.fd.io/g/vpp-dev/message/13234
Mute This Topic: https://lists.fd.io/mt/31952526/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-