LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Bypassing packet reception path (https://www.linuxquestions.org/questions/linux-networking-3/bypassing-packet-reception-path-765001/)

dodo76 10-28-2009 06:25 AM

Bypassing packet reception path
 
Hello!

I have read an article:
Inside the Linux Packet Filter, Part II

In this article one can see how the packet is transfered to the user application.

Is there a way to bypass this. I would like to have a process running in kernel space that takes over already at net_rx_action. I.e. the kernel should do no parsing on any layer above Ethernet. I want to minimize the checks done to the packet and also the amount of memory and process switching.

So is this possible and are there any articles or the like that can guide me in some direction??

Thanks
BR
Robert

Edit: Btw I am extremly new to linux programing (If anyone doubted! ;)

janhe 10-28-2009 08:21 AM

-The link in your post is broken

-It sounds a bit like what tcpdump etc. are doing?

dodo76 10-28-2009 08:40 AM

Thanks. The link is fixed. I'll check tcpdump!

BR
Robert


All times are GMT -5. The time now is 04:06 AM.