public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: improve unicast packet (re)routing
Date: Tue, 20 Mar 2012 14:01:59 +0100	[thread overview]
Message-ID: <201203201402.00110.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1331917408-2304-1-git-send-email-ordex@autistici.org>

On Friday, March 16, 2012 18:03:28 Antonio Quartulli wrote:
> In case of a client X roaming from a generic node A to another node B, it
> is possible that a third node C gets A's OGM but not B's. At this point in
> time, if C wants to send data to X it will send a unicast packet destined
> to A. The packet header will contain A's last ttvn (C got A's OGM and so
> it knows it).
> 
> The packet will travel towards A without being intercepted because the ttvn
> contained in its header is the newest for A.
> 
> Once A will receive the packet, A's state will not report to be in a
> "roaming phase" (because, after a roaming, once A sends out its OGM, all
> the changes are committed and the node is considered not to be in the
> roaming state anymore) and it will match the ttvn carried by the packet.
> Therefore there is no reason for A to try to alter the packet's route,
> thus dropping the packet because the destination client is not there
> anymore.
> 
> However, C is well aware that it's routing information towards the client X
> is outdated as it received an OGM from A saying that the client roamed
> away. Thanks to this detail, this patch introduces a small change in
> behaviour: as long as C is in the state of not knowing the new location of
> client X it will forward the traffic to its last known location using
> ttvn-1 of the destination. By using an older ttvn node A will be forced to
> re-route the packet. Intermediate nodes are also allowed to update the
> packet's destination as long as they have the information about the
> client's new location.

Applied in revision b46c60b.

Thanks,
Marek

      reply	other threads:[~2012-03-20 13:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 14:58 [B.A.T.M.A.N.] [PATCH] batman-adv: improve unicast packet (re)routing Antonio Quartulli
2012-03-16 15:47 ` Marek Lindner
2012-03-16 17:03 ` [B.A.T.M.A.N.] [PATCHv2] " Antonio Quartulli
2012-03-20 13:01   ` Marek Lindner [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=201203201402.00110.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.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