From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXnbP-0004kd-06 for qemu-devel@nongnu.org; Mon, 22 Feb 2016 05:20:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXnbK-0004Dr-1N for qemu-devel@nongnu.org; Mon, 22 Feb 2016 05:20:26 -0500 Received: from domu-toccata.ens-lyon.fr ([140.77.166.138]:52426 helo=sonata.ens-lyon.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXnbJ-0004Cw-M8 for qemu-devel@nongnu.org; Mon, 22 Feb 2016 05:20:21 -0500 Date: Mon, 22 Feb 2016 11:20:19 +0100 From: Samuel Thibault Message-ID: <20160222102019.GT1957@var.home> References: <56C71C5B.1040805@redhat.com> <20160222014848.GQ1957@var.home> <56CABF4B.5030002@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56CABF4B.5030002@redhat.com> Subject: Re: [Qemu-devel] [PATCHv7 4/9] slirp: Factorizing tcpiphdr structure with an union List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: zhanghailiang , Li Zhijian , Stefan Hajnoczi , Jason Wang , Dave Gilbert , Vasiliy Tolstov , qemu-devel@nongnu.org, Gonglei , Jan Kiszka , Huangpeng , Guillaume Subiron Hello, Thomas Huth, on Mon 22 Feb 2016 08:56:59 +0100, wrote: > would it maybe be applicable to use the > TCPIPHDR_DELTA macro here instead? No, because that includes a round up, while here we need an exact difference. Samuel