Hi Venkata
PF_RING ZC uses optimised zero-copy single-producer single-consumer queues,
they have been implemented from scratch using shared memory, much more faster
than other standard mechanisms such as sockets etc.

Alfredo

> On 17 Jan 2016, at 17:48, Venkata Ramana Veldanda 
> <[email protected]> wrote:
> 
> Hi Alfredo,
> 
> Thanks for your post. Let me check how the zbalance_ipc is using PF RING 
> libraries. Could you please let me know what sort of IPC is used by zbalance? 
> Is it a FIFO or Pipes. Also, if I use my own application for implementing 
> packet classifier can I use more own IPC like socket or message queue? Does 
> PF RING provides all the libraries?
> 
> 
> Thanks
> 
> Sent from Outlook Mobile <https://aka.ms/qtex0l>
> _____________________________
> From: Alfredo Cardigliano <[email protected] <mailto:[email protected]>>
> Sent: Thursday, January 14, 2016 8:27 PM
> Subject: Re: [Ntop-misc] [PF_RING] Entry Point and Exit Point for a Network 
> Packet at PF Ring
> To: <[email protected] <mailto:[email protected]>>
> 
> 
> Hi Venkata
> any reason you are doing this in kernel space?
> Please consider using PF_RING ZC, it works with any adapter and standard 
> drivers, and you can write your packet classifier in userspace (see 
> examples_zc/zbalance_ipc) which is much more straightforward.
> 
> Alfredo
> 
> On 14 Jan 2016, at 08:12, Venkata Ramana Veldanda < 
> [email protected] 
> <mailto:[email protected]>> wrote:
> 
> Hi,
> 
> I am quite new to PF Ring Code. I have an architecture & a requirement like 
> below.
> 
> Basically I want to implement a packet classifier at PF-Ring Level and 
> classify packet based on Protocol Type whether its is a UDP or TCP service 
> and route it to specific application.
> 
> Now, although I could classify the packet at classifier I am not able to 
> identify on how I should route to the specific application. Because in user 
> space its quite straight forward where I can route based on the port of the 
> application that is running. I’ll just try to find the send or SendTo and 
> directly call for each packet type.
> 
> Here since I am bit new to kernel space, I am trying to find a place holder 
> in PF Ring Code where I can find the sending point after classifying. Can I 
> mention certain port numbers at PF Ring level for the application?. Or do I 
> need to create a ring buffer for specific application?. Can you please help? 
> . Basically I want to know the place holder to send a specific packet in PF 
> ring after classifying it.
> 
> <image003.jpg>
> 
> 
> Regards
> VENKATA VELDANDA
> L&T Technology Services Ltd
> 
> www.LntTechservices.com <http://www.lnttechservices.com/>
> This Email may contain confidential or privileged information for the 
> intended recipient (s). If you are not the intended recipient, please do not 
> use or disseminate the information, notify the sender and delete it from your 
> system.
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
> 
> 
> L&T Technology Services Ltd
> 
> www.LntTechservices.com <http://www.lnttechservices.com/>
> This Email may contain confidential or privileged information for the 
> intended recipient (s). If you are not the intended recipient, please do not 
> use or disseminate the information, notify the sender and delete it from your 
> system.
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to