From owner-freebsd-net@FreeBSD.ORG Thu Jul 24 03:28:02 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1ECF09E0 for ; Thu, 24 Jul 2014 03:28:02 +0000 (UTC) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 93F742C1B for ; Thu, 24 Jul 2014 03:28:00 +0000 (UTC) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.8/8.14.8) with ESMTP id s6O3Qt6A080410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 24 Jul 2014 11:26:56 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.8/8.14.8/Submit) id s6O3QtXX080409 for freebsd-net@freebsd.org; Thu, 24 Jul 2014 11:26:55 +0800 (CST) (envelope-from kevlo) Date: Thu, 24 Jul 2014 11:26:55 +0800 From: Kevin Lo To: freebsd-net@freebsd.org Subject: [PATCH] merge 'struct ip6protosw' and 'struct protosw' into one Message-ID: <20140724032655.GA80400@ns.kevlo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 03:28:02 -0000 Hi, The diff [1] merges 'struct ip6protosw' and 'struct protosw' into one, since we don't need a separate structure which is shared between ipv4 and ipv6. The key difference between the two is the definition of pr_input function. [1] https://phabric.freebsd.org/D476 Kevin