From: Antonio Quartulli <ordex@autistici.org>
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.] [PATCH] Made DAT more generic by adding support to any type of data
Date: Sat, 4 May 2013 13:39:20 +0200 [thread overview]
Message-ID: <20130504113919.GD3773@ritirata.org> (raw)
In-Reply-To: <1366984615-15429-1-git-send-email-mihail.costea2005@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]
On Fri, Apr 26, 2013 at 04:56:54 +0300, Mihail wrote:
> From: Mihail Costea <mihail.costea90@gmail.com>
>
> Made DAT support more types by making its data a void*, adding type field
> to dat_entry and adding data_type to necessary functions.
> This change is needed in order to make DAT support any type of data, like IPv6 too.
>
> Added generic function for transforming DAT data to string.
> The function is used in order to avoid defining different debug messages
> for different DAT data types. For example, if we had IPv6 as a DAT data,
> then "%pI4" should be "%pI6c", but all
> the other text of the debug message would be the same.
>
> Signed-off-by: Mihail Costea <mihail.costea90@gmail.com>
> Signed-off-by: Stefan Popa <Stefan.A.Popa@intel.com>
> Reviewed-by: Stefan Popa <Stefan.A.Popa@intel.com>
Hi Mihail,
as discussed on IRC this patch is now pretty mature and looks very good!
Also other devs have read it and were happy about the work done so far.
However the idea is to wait and merge this patch together with the IPv6
mechanism, so that we don't only introduce this generalisation, but we also use
it (Bloating the kernel with something cool that is not exploited is not a good
idea..).
Hence we will be happy to to wait and review the IPv6 mechanism as soon as you
can send it over the ml.
While discussing this patch I imagine you learnt a lot of things which may
help you in polishing the code that is going to come :)
Let us know when the IPv6 part is ready to be reviewed! We are all eager to
introduce and use this new feature!
Cheers (have a nice Saturday),
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-05-04 11:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-26 13:56 [B.A.T.M.A.N.] [PATCH] Made DAT more generic by adding support to any type of data Mihail
2013-05-04 11:39 ` Antonio Quartulli [this message]
2013-05-06 11:48 ` Mihail Costea
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=20130504113919.GD3773@ritirata.org \
--to=ordex@autistici.org \
--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