Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

want to access the mem mapped PF_RING ring in user space

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


momina.azam at gmail

Apr 14, 2012, 12:27 AM

Post #1 of 1 (198 views)
Permalink
want to access the mem mapped PF_RING ring in user space

hi,

plz tell me how i can access the mem mapped circular PF_RING from a user
space program ... in the sample program pfcount.c i see that the function
dummyPacketProcess() lists stats for all packets captured by PF_RING one by
one. Instead of manipulating individual packets i want my user space
program to poll and read from the PR_RING struct in the kernel ....as all
PF_RING documentation says that this ring is mem mapped from kernel to user
space.

P.S DNA is not an option for me because i need to employ in-kernel
filtering and i need to access packet payload. but one packet at a time
will be very inefficient.

regards
momina

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.