Hi, Yes, you can look at src/plugins/pppoe/ which does exactly that for example, esp. src/plugins/pppoe/pppoe_decap.c:pppoe_input_node()
Best ben > -----Original Message----- > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Burcu YUKSEL > Sent: Tuesday, October 11, 2022 8:17 > To: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] How to forward masked IP packets to IP nodes? > > Hello Ben, > > Thank you for your answer. I have added ethernet_register_input_type() in > ip4_init() as you recommend. After this I want to forward the packets to > IP nodes so they can follow the same path as IP packets and reach memif- > output. Is this possible to forward custom packets to IP nodes in this > way? > > If I have to do this by adding a new node, how can I forward the packets > to memif-output from new added node? > > Best regards, > Burcu
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21993): https://lists.fd.io/g/vpp-dev/message/21993 Mute This Topic: https://lists.fd.io/mt/94183047/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-