Hi Venu, You should be able to but not through vcl, as is, because the stack doesn’t have any transport that’s equivalent to “raw sockets”. So your options would be to either use memif or to write a new host stack transport that passes raw packets to apps and integrate it with vcl and the component that classifies traffic.
Note that we used to have an sctp transport but it was deprecated for lack of maintenance. If anybody wants to pick up the maintenance work, it could be revived. Regards, Florin > On Dec 28, 2020, at 4:07 AM, Venumadhav Josyula <vjosy...@gmail.com> wrote: > > Hi Florin, > > We want sctp traffic processing to happen in some other pod, which has sctp > stack. Now vpp is running in one pod, both network pod { where vpp is running > } and stack pod { does sctp processing are there on the same host }. We want > to avoid using vpp sctp plugin. Now is following possible ? > > - have some sort of acl (for dst ip + src ip + port + sctp). > - Once the match is hit divert this to the session layer. > - Via vcl send it to stack pod for sctp processing. > > Was browsing the vcl code , the SCTP proto type what was it intended for ? > Thanks, > Regards, > Venu > > > On Tue, 22 Dec 2020 at 20:52, Florin Coras <fcoras.li...@gmail.com > <mailto:fcoras.li...@gmail.com>> wrote: > Hi Venu, > > We don’t support raw sockets in the host stack and implicitly in vcl. You > might be able to achieve what you want with memif interfaces. > > Regards, > Florin > >> On Dec 22, 2020, at 12:43 AM, Venumadhav Josyula <vjosy...@gmail.com >> <mailto:vjosy...@gmail.com>> wrote: >> >> Hi All. >> >> There is any raw socket like support in vpp. Our stack opens raw sockets and >> as out stack is sitting in the stack. We would like to pass the ethernet >> data directly via session layer to the application. We are planning to use >> vcl to achieve the same. >> >> Any pointers of examples are good to know. >> >> Thanks, >> Regards, >> Venu >> >> >> >> >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18445): https://lists.fd.io/g/vpp-dev/message/18445 Mute This Topic: https://lists.fd.io/mt/79145357/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-