From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1actH9-0006ZB-FD for qemu-devel@nongnu.org; Mon, 07 Mar 2016 06:24:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1actH4-0005a9-Cl for qemu-devel@nongnu.org; Mon, 07 Mar 2016 06:24:35 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:44019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1actH4-0005a4-6E for qemu-devel@nongnu.org; Mon, 07 Mar 2016 06:24:30 -0500 Date: Mon, 7 Mar 2016 12:24:28 +0100 From: Samuel Thibault Message-ID: <20160307112428.GC5169@var.bordeaux.inria.fr> References: <56DD2582.607@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56DD2582.607@redhat.com> Subject: Re: [Qemu-devel] [PATCHv9 01/10] slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: Thomas Huth , zhanghailiang , Li Zhijian , Stefan Hajnoczi , Dave Gilbert , Vasiliy Tolstov , qemu-devel@nongnu.org, Gonglei , Jan Kiszka , Huangpeng , Guillaume Subiron Jason Wang, on Mon 07 Mar 2016 14:53:54 +0800, wrote: > > + switch (ip6->ip_nh) { > > +#if 0 > > + case IPPROTO_TCP: > > + tcp_input(m, hlen, (struct socket *)NULL); > > + break; > > + case IPPROTO_UDP: > > + udp_input(m, hlen); > > + break; > > +#endif > > This looks odd, why need this? To pave the way for the patches after that. We can drop that from this patch and move to the other ones if you will, I just believe it makes reading this one easier since it explains how tcp and udp will be plugged here. Samuel