Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-06-2005, 03:13 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Detecting congestion in ethernet device before transmission

I've written my own protocol in Linux. I send the packets using dev_queue_xmit. Although it gives me a return value of 0 on every send but I find that all the packets are not being transmitted successfully. Its like 200 packets sent then 10-50 dropped which goes on repeatedly. I would like to know whether there is any way of knowing the length of the backlog queue before calling dev_queue_xmit so that the packets I give for transmission will be transmitted.

Thanks in advance.



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
Detecting 3D acceleration support for Graphic Device kushalkoolwal Debian 5 10-08-2005 01:20 PM
debian not detecting wireless ethernet card macmanus_bros Linux - Hardware 2 06-27-2005 09:51 PM
Auto-detecting ethernet? ub3rj3phf Red Hat 1 11-03-2004 02:10 AM
Ethernet Device Installation? MainBrain Linux - Networking 1 10-10-2004 05:58 AM
Problems with detecting ethernet card brokenflea *BSD 2 03-06-2004 02:05 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:31 AM.

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