From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francois Romieu Subject: Re: [RFC PATCH 5/5] geneve: add initial netdev driver for GENEVE tunnels Date: Mon, 6 Apr 2015 22:44:06 +0200 Message-ID: <20150406204406.GA27153@electric-eye.fr.zoreil.com> References: <1428002227-11636-1-git-send-email-linville@tuxdriver.com> <1428002227-11636-6-git-send-email-linville@tuxdriver.com> <20150404010142.GA1063@electric-eye.fr.zoreil.com> <20150406184409.GC2866@tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jesse Gross , netdev , "David S. Miller" , Andy Zhou , Stephen Hemminger , Alexander Duyck To: "John W. Linville" Return-path: Received: from violet.fr.zoreil.com ([92.243.8.30]:50617 "EHLO violet.fr.zoreil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753254AbbDFUoz (ORCPT ); Mon, 6 Apr 2015 16:44:55 -0400 Content-Disposition: inline In-Reply-To: <20150406184409.GC2866@tuxdriver.com> Sender: netdev-owner@vger.kernel.org List-ID: John W. Linville : [...] > What would you suggest, Francois? A GENEVE_CRIT_OPT_PRESENT() macro? Either that or a typed 'bool geneve_crit_opt_present(struct geneve_opt *opt)' to hide the content of struct geneve_opt and move any relevant bitmask in the only .c file where it is actually used. -- Ueimor