Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Ed Wildgoose <lists@wildgooses.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Modify the TCP Window size
Date: Sun, 25 Jul 2004 23:20:21 +0000	[thread overview]
Message-ID: <41044035.4010606@wildgooses.com> (raw)
In-Reply-To: <BAY15-F5wxkwzq3SUEE0005b539@hotmail.com>

Ricardo Leite wrote:

> Hi lartc users,
>
> When a packet arrived to a network device it was stored on a skb 
> structure and then enqueue on a network stack.
>
> One of the tests that I want to do is modify the TCP window size and 
> verify the changes on the bandwidth between two hosts.
> To do that I need to know how to modify de packet window size and 
> maybe recalculate the checksum value of the TCP packet.
>
> All I can do is read the information of the packet stored on the skb 
> structure.


I think I saw a patch in patchomatic for iptables to modify window 
size.  Perhaps have a look at that and see if it offers you some clues.  
I seem to remember the answer is in the ACK packets sent back to the server?

Ed W
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      reply	other threads:[~2004-07-25 23:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-25 11:57 [LARTC] Modify the TCP Window size Ricardo Leite
2004-07-25 23:20 ` Ed Wildgoose [this message]

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=41044035.4010606@wildgooses.com \
    --to=lists@wildgooses.com \
    --cc=lartc@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