[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1209112304410.2023@ja.ssi.bg>
Date: Tue, 11 Sep 2012 23:22:41 +0300 (EEST)
From: Julian Anastasov <ja@....bg>
To: Stephen Hemminger <shemminger@...tta.com>
cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/2] iproute2: use libgenl in ipl2tp
Hello,
On Tue, 11 Sep 2012, Stephen Hemminger wrote:
> On Tue, 11 Sep 2012 12:04:34 +0300
> Julian Anastasov <ja@....bg> wrote:
>
> > Use the common code from libgenl.c to parse family.
> >
> > Signed-off-by: Julian Anastasov <ja@....bg>
>
> I applied these two but made some modifications:
> 1. change to GENL_INITIALIZER
> 2. use GENL_INITIALIZER
I used 2 defines, so that in tcp_metrics.c I can
use different initialization depending on the command.
But as the structure is unnamed may be it is better to have
single define (both defines merged as you proposed) and
later just to update cmd and flags if needed.
Regards
--
Julian Anastasov <ja@....bg>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists