[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150910.101303.1945782677465930122.davem@davemloft.net>
Date: Thu, 10 Sep 2015 10:13:03 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sowmini.varadhan@...cle.com
Cc: roopa@...ulusnetworks.com, netdev@...r.kernel.org,
raghavendra.kt@...ux.vnet.ibm.com
Subject: Re: IFLA_INET6_[ICMP6]STATS
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Date: Thu, 10 Sep 2015 11:48:19 -0400
> On (09/10/15 08:43), roopa wrote:
>> If you decide to use a flag, there is IFLA_EXT_MASK which is used to
>> specify such filters from userspace today.
>>
>> /* New extended info filters for IFLA_EXT_MASK */
>> #define RTEXT_FILTER_VF (1 << 0)
>> #define RTEXT_FILTER_BRVLAN (1 << 1)
>> #define RTEXT_FILTER_BRVLAN_COMPRESSED (1 << 2)
>
> I was actually going to use a NLM_F* flag, which is what
> I thought Dave as suggesting (seems a bit simpler
> than IFLA_EXT_MASK).
I don't think using such a generic netlink flag works best, the
IFLA_EXT_MASK is definitely more suitable.
--
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