You could write a plugin to redirect these packets to some interface as the
pppoe plugin does. But in this case, you would need to keep some kind of
state (because these packets could arrive from any interface and you would
redirect it just to one interface. you need some state to send packets
back).
On the other hand, you could adopt (by this I mean rewrite) the "router"
plugin to make it work with the current vpp release. With this plugin, you
can process packets in the Linux network stack.

However both these ways seem to me ugly, that's why I've asked is there any
other way to make a dp-cp channel for exchanging the packets.

On Mon, 8 Jun 2020 at 22:09, <ravi.vpp2...@gmail.com> wrote:

> I am also searching best way to receive the packets from Device_Input
> node? I want to receive raw packets to my application. how can I achieve
> that? is there any way to receive complete L2 Packet receive at
> application? When I check the documentation I can find few ways to
> communicate the application with VPP but is there any way to communicate
> directly with any particular node? 
>


-- 
Best regards
Stanislav Zaikin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16708): https://lists.fd.io/g/vpp-dev/message/16708
Mute This Topic: https://lists.fd.io/mt/74692556/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