Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-04-2005, 10:15 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
select() and dropped packets


I have written a small sniffer which sits there and looks for wireless
traffic on a raw socket. The device is a WiFi card; driver madwifi.
I'm using select() to see whether there is something to read or not.
The rough structure is like this:


The app is running on Debian on an AMD 486 single board computer,
i.e., quite limited processing power.

Problem 1:
In a crowded environment, I am not getting all packets that are sent
by wireless devices around me. How can I quantify the number of
packets that I'm getting (i.e., processing in my loop) versus the
total number of packets seen by the device, but dropped due to
limited processing power?

Problem 2:
Is there a more efficient way to capture packets off the device such
that the number of captured packets is maximized?

Thanks in advance,
- Daniel.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
3899 packets dropped by kernel, about 40% abefroman Linux - Networking 1 11-17-2005 12:52 PM
too much dropped packets...Hi.. alaios Linux - Networking 2 02-10-2005 05:49 AM
Dropped packets - is this a problem?? benr77 Linux - General 4 10-04-2004 03:05 PM
tcpdump and dropped packets Blindsight Linux - Networking 5 07-14-2003 11:41 PM
dropped packets... sohmc Linux - Software 3 05-29-2003 10:26 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration