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 1/7] batman-adv: tvlv - basic infrastructure
Date: Wed, 24 Apr 2013 22:22:22 +0800 [thread overview]
Message-ID: <201304242222.22628.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1366724403-29629-2-git-send-email-lindner_marek@yahoo.de>
On Tuesday, April 23, 2013 21:39:57 Marek Lindner wrote:
> The goal is to provide the infrastructure for sending, receiving and
> parsing information 'containers' while preserving backward
> compatibility. TVLV (based on the commonly known Type Length Value
> technique) was chosen as the format for those containers. Even if a
> node does not know the tvlv type of a certain container it can simply
> skip the current container and proceed with the next. Past experience
> has shown features evolve over time, so a 'version' field was added
> right from the start to allow differentiating between feature
> variants - hence the name: T(ype) V(ersion) L(ength) V(alue).
>
> This patch introduces the basic TVLV infrastructure:
> * register / unregister tvlv containers to be sent with each OGM
> (on primary interfaces only)
> * register / unregister callback handlers to be called upon
> finding the corresponding tvlv type in a tvlv buffer
> * unicast tvlv send / receive API calls
>
> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
> Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
> ---
> bat_iv_ogm.c | 38 ++--
> compat.c | 8 +
> compat.h | 1 +
> main.c | 620
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> main.h | 35 ++++
> packet.h | 67 +++++++
> routing.c | 48 +++++
> routing.h | 2 +
> types.h | 73 +++++++
> 9 files changed, 875 insertions(+), 17 deletions(-)
Applied in revision 0b6aa0d.
Thanks,
Marek
next prev parent reply other threads:[~2013-04-24 14:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-23 13:39 [B.A.T.M.A.N.] TVLV infrastructure (v2) Marek Lindner
2013-04-23 13:39 ` [B.A.T.M.A.N.] [PATCHv2 1/7] batman-adv: tvlv - basic infrastructure Marek Lindner
2013-04-24 14:22 ` Marek Lindner [this message]
2015-06-10 8:57 ` Sven Eckelmann
2013-04-23 13:39 ` [B.A.T.M.A.N.] [PATCHv2 2/7] batman-adv: tvlv - gateway download/upload bandwidth container Marek Lindner
2013-04-24 14:25 ` Marek Lindner
2013-04-23 13:39 ` [B.A.T.M.A.N.] [PATCHv2 3/7] batman-adv: tvlv - add distributed arp table container Marek Lindner
2013-04-24 14:26 ` Marek Lindner
2013-04-23 13:40 ` [B.A.T.M.A.N.] [PATCHv2 4/7] batman-adv: tvlv - add network coding container Marek Lindner
2013-04-24 14:28 ` Marek Lindner
2013-04-23 13:40 ` [B.A.T.M.A.N.] [PATCHv2 5/7] batman-adv: tvlv - convert tt data sent within OGMs Marek Lindner
2013-04-24 14:29 ` Marek Lindner
2013-04-23 13:40 ` [B.A.T.M.A.N.] [PATCHv2 6/7] batman-adv: tvlv - convert tt query packet to use tvlv unicast packets Marek Lindner
2013-04-24 14:30 ` Marek Lindner
2013-04-23 13:40 ` [B.A.T.M.A.N.] [PATCHv2 7/7] batman-adv: tvlv - convert roaming adv " Marek Lindner
2013-04-24 14:32 ` Marek Lindner
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=201304242222.22628.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