public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Ajit <ajitsa_bes@yahoo.com>
To: netdev@vger.kernel.org
Subject: Re: Maximum no of bytes Ethernet can transfer at a time ??
Date: Fri, 29 Apr 2011 08:39:31 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110429T103558-283@post.gmane.org> (raw)
In-Reply-To: 20110428110634.GA4165@hmsreliant.think-freely.org

Neil Horman <nhorman <at> tuxdriver.com> writes:


> > 
> Can you just post a link to the code?
> Neil
> 
> > Thank you. 
> > 
> > 

here are the links to the code..

sender code : http://pastebin.com/se17Xn96

The command line arguments are like ./pgm_name eth0 /root/abc

where abc is the file name.

receiver code : http://pastebin.com/AKiUWzwR

just run it.

In the receiver code I have assigned offset to buffer[15], it was just for
debugging purpose. Actually offset must have 16 bits of buffer[15] and
buffer[16], but for files of around 100kb-200kb it will easily work..no need to
modify.

Thank you.


  reply	other threads:[~2011-04-29  8:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 12:11 Maximum no of bytes Ethernet can transfer at a time ?? Ajit
2011-04-27 12:21 ` Eric Dumazet
2011-04-27 12:27   ` Ajit
2011-04-28  6:36     ` Ajit
2011-04-28  6:40       ` Eric Dumazet
2011-04-28 21:24       ` Rick Jones
2011-04-27 13:01 ` Neil Horman
2011-04-28  5:49   ` Ajit
2011-04-28 11:06     ` Neil Horman
2011-04-29  8:39       ` Ajit [this message]
2011-04-29 19:06         ` Neil Horman
2011-04-29  8:53       ` Ajit

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=loom.20110429T103558-283@post.gmane.org \
    --to=ajitsa_bes@yahoo.com \
    --cc=netdev@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