Received: by mail.netbsd.org (Postfix, from userid 605) id CBCB485EE5; Fri, 22 Jan 2016 05:15:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 585A385EA7 for ; Fri, 22 Jan 2016 05:15:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id biUhN47eyN2I for ; Fri, 22 Jan 2016 05:15:10 +0000 (UTC) Received: from cvs.NetBSD.org (cvs.NetBSD.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id A7F2184CF1 for ; Fri, 22 Jan 2016 05:15:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 9DB8BFBB7; Fri, 22 Jan 2016 05:15:10 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 22 Jan 2016 05:15:10 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20160122051510.9DB8BFBB7@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: riastradh Date: Fri Jan 22 05:15:10 UTC 2016 Modified Files: src/sys/net: if_stf.c src/sys/netinet: in_gif.c ip_encap.c ip_encap.h ip_mroute.c src/sys/netinet6: in6_gif.c src/sys/netipsec: xform_ipip.c Log Message: Don't abuse struct protosw for ip_encap -- introduce struct encapsw. Mostly mechanical change to replace it, culling some now-needless boilerplate around all the users. This does not substantively change the ip_encap API or eliminate abuse of sketchy pointer casts -- that will come later, and will be easier now that it is not tangled up with struct protosw. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/net/if_stf.c cvs rdiff -u -r1.69 -r1.70 src/sys/netinet/in_gif.c cvs rdiff -u -r1.48 -r1.49 src/sys/netinet/ip_encap.c cvs rdiff -u -r1.13 -r1.14 src/sys/netinet/ip_encap.h cvs rdiff -u -r1.134 -r1.135 src/sys/netinet/ip_mroute.c cvs rdiff -u -r1.66 -r1.67 src/sys/netinet6/in6_gif.c cvs rdiff -u -r1.33 -r1.34 src/sys/netipsec/xform_ipip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.