Hello,
On Tue, 11 Sep 2012, Stephen Hemminger wrote:
On Tue, 11 Sep 2012 12:04:34 +0300
Julian Anastasov [off-list ref] wrote:
quoted
Use the common code from libgenl.c to parse family.
Signed-off-by: Julian Anastasov <ja@ssi.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 [off-list ref]