linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Armen Kaleshian <akaleshian@kriation.com>
To: "K.Anantha Kiran" <ananth@cse.iitk.ac.in>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Can i use dev_queue_xmit
Date: Tue, 6 Apr 2004 12:55:29 -0400	[thread overview]
Message-ID: <20040406165529.GA4584@sevoog.kriation.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0404061946380.15974-100000@csews29.cse.iitk.ac.in>

Why don't you look at the source for iptables? Or use iptables instead of writing the kernel module from scratch?

Good luck!

On Tue, Apr 06, 2004 at 07:50:50PM +0530, K.Anantha Kiran wrote:
: 
:  We are supposed to build a kernel module which takes packets in the
:  internet through one interface and forward them to another interface of
:  my choice based on the IP,Port feilds in the packet.
: 
: Our module is working fine for less rate(200Mbps) of traffic.If speed is 
: increasing(>200Mbps), for some packets "dev_queue_xmit()" is returning NET_XMIT_DROP due to which packets are being dropped.
: 
:  Can u suggest any solution. Can u give the reason for that return value
:  only for high traffic.Is there any speed restiction to dev_queue_xmit() 
: We are using Gigbyte traffic ethrtnet cards.
: 
: Thanks in advance,
: K.AnanthaKiran
: 
: 
: 
: -
: To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
: the body of a message to majordomo@vger.kernel.org
: More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2004-04-06 16:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 10:38 memory capacity ronkhu
2003-12-09  0:51 ` Stephen Satchell
2003-12-09  1:35 ` Glynn Clements
2004-03-22 18:01   ` Splitter K.Anantha Kiran
2004-03-22  6:42     ` Splitter Jad Saklawi
2004-03-22 18:51       ` Splitter K.Anantha Kiran
2004-03-22  7:41         ` Splitter Jad Saklawi
2004-03-23  9:39           ` Splitter K.Anantha Kiran
2004-03-23 11:38             ` Splitter syedk
2004-03-23 11:54               ` Splitter K.Anantha Kiran
2004-03-23 13:31                 ` Splitter syedk
2004-03-25 19:35                   ` System hang at high bandwidth K.Anantha Kiran
2004-03-27 18:11                     ` Jan-Benedict Glaw
2004-04-06 14:20                   ` Can i use dev_queue_xmit K.Anantha Kiran
2004-04-06 16:55                     ` Armen Kaleshian [this message]
2004-03-22 19:30         ` Splitter Michael Taylor
2004-03-22 18:42     ` Splitter K.Anantha Kiran
     [not found] <Pine.LNX.4.44.0404070954110.12893-100000@csews106.cse.iitk.ac.in>
2004-04-07 11:14 ` Can i use dev_queue_xmit K.Anantha Kiran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040406165529.GA4584@sevoog.kriation.com \
    --to=akaleshian@kriation.com \
    --cc=ananth@cse.iitk.ac.in \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).