Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add support for buffering netmap-libpcap #26

Open
GoogleCodeExporter opened this issue May 23, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Currently, netmap-libpcap is not initializing the libpcap buffers using the 
"-B" command if the interface its in netmap mode
2.The buffer itself it interface independent
3.Using buffering can greatly enhance performance when using tcpdump for 
capturing and filtering packets

What is the expected output? What do you see instead?
"-B 2000000" should allocate up to 2GB of memory for PF_PACKET sockets

What version of the product are you using? On what operating system?
netmap - latest master branch (as of 10-27-2014)
netmap-libpcap latest master branch (as of 10-27-2014)

Please provide any additional information below.

I am not terribly familiar with the netmap-libpcap patch, but is it possible to 
add in support for "-B" in netmap mode?

Original issue reported on code.google.com by morph...@gmail.com on 27 Oct 2014 at 10:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant