head	1.25;
access;
symbols
	netbsd-11-0-RC3:1.25
	netbsd-11-0-RC2:1.25
	netbsd-11-0-RC1:1.25
	perseant-exfatfs-base-20250801:1.25
	netbsd-11:1.25.0.12
	netbsd-11-base:1.25
	netbsd-10-1-RELEASE:1.25
	perseant-exfatfs-base-20240630:1.25
	perseant-exfatfs:1.25.0.10
	perseant-exfatfs-base:1.25
	netbsd-8-3-RELEASE:1.22
	netbsd-9-4-RELEASE:1.23
	netbsd-10-0-RELEASE:1.25
	netbsd-10-0-RC6:1.25
	netbsd-10-0-RC5:1.25
	netbsd-10-0-RC4:1.25
	netbsd-10-0-RC3:1.25
	netbsd-10-0-RC2:1.25
	thorpej-ifq:1.25.0.8
	thorpej-ifq-base:1.25
	thorpej-altq-separation:1.25.0.6
	thorpej-altq-separation-base:1.25
	netbsd-10-0-RC1:1.25
	netbsd-10:1.25.0.4
	netbsd-10-base:1.25
	bouyer-sunxi-drm:1.25.0.2
	bouyer-sunxi-drm-base:1.25
	netbsd-9-3-RELEASE:1.23
	thorpej-i2c-spi-conf2:1.23.0.26
	thorpej-i2c-spi-conf2-base:1.23
	thorpej-futex2:1.23.0.24
	thorpej-futex2-base:1.23
	thorpej-cfargs2:1.23.0.22
	thorpej-cfargs2-base:1.23
	cjep_sun2x-base1:1.23
	cjep_sun2x:1.23.0.20
	cjep_sun2x-base:1.23
	cjep_staticlib_x-base1:1.23
	netbsd-9-2-RELEASE:1.23
	cjep_staticlib_x:1.23.0.18
	cjep_staticlib_x-base:1.23
	thorpej-i2c-spi-conf:1.23.0.16
	thorpej-i2c-spi-conf-base:1.23
	thorpej-cfargs:1.23.0.14
	thorpej-cfargs-base:1.23
	thorpej-futex:1.23.0.12
	thorpej-futex-base:1.23
	netbsd-9-1-RELEASE:1.23
	bouyer-xenpvh-base2:1.23
	phil-wifi-20200421:1.23
	bouyer-xenpvh-base1:1.23
	phil-wifi-20200411:1.23
	bouyer-xenpvh:1.23.0.10
	bouyer-xenpvh-base:1.23
	is-mlppp:1.23.0.8
	is-mlppp-base:1.23
	phil-wifi-20200406:1.23
	netbsd-8-2-RELEASE:1.22
	ad-namecache-base3:1.23
	netbsd-9-0-RELEASE:1.23
	netbsd-9-0-RC2:1.23
	ad-namecache-base2:1.23
	ad-namecache-base1:1.23
	ad-namecache:1.23.0.6
	ad-namecache-base:1.23
	netbsd-9-0-RC1:1.23
	phil-wifi-20191119:1.23
	netbsd-9:1.23.0.4
	netbsd-9-base:1.23
	phil-wifi-20190609:1.23
	netbsd-8-1-RELEASE:1.22
	netbsd-8-1-RC1:1.22
	isaki-audio2:1.23.0.2
	isaki-audio2-base:1.23
	pgoyette-compat-merge-20190127:1.22.10.1
	pgoyette-compat-20190127:1.23
	pgoyette-compat-20190118:1.23
	pgoyette-compat-1226:1.23
	pgoyette-compat-1126:1.23
	pgoyette-compat-1020:1.22
	pgoyette-compat-0930:1.22
	pgoyette-compat-0906:1.22
	netbsd-7-2-RELEASE:1.15
	pgoyette-compat-0728:1.22
	netbsd-8-0-RELEASE:1.22
	phil-wifi:1.22.0.12
	phil-wifi-base:1.22
	pgoyette-compat-0625:1.22
	netbsd-8-0-RC2:1.22
	pgoyette-compat-0521:1.22
	pgoyette-compat-0502:1.22
	pgoyette-compat-0422:1.22
	netbsd-8-0-RC1:1.22
	pgoyette-compat-0415:1.22
	pgoyette-compat-0407:1.22
	pgoyette-compat-0330:1.22
	pgoyette-compat-0322:1.22
	pgoyette-compat-0315:1.22
	netbsd-7-1-2-RELEASE:1.15
	pgoyette-compat:1.22.0.10
	pgoyette-compat-base:1.22
	netbsd-7-1-1-RELEASE:1.15
	tls-maxphys-base-20171202:1.22
	matt-nb8-mediatek:1.22.0.8
	matt-nb8-mediatek-base:1.22
	nick-nhusb-base-20170825:1.22
	perseant-stdc-iso10646:1.22.0.6
	perseant-stdc-iso10646-base:1.22
	netbsd-8:1.22.0.4
	netbsd-8-base:1.22
	prg-localcount2-base3:1.22
	prg-localcount2-base2:1.22
	prg-localcount2-base1:1.22
	prg-localcount2:1.22.0.2
	prg-localcount2-base:1.22
	pgoyette-localcount-20170426:1.22
	bouyer-socketcan-base1:1.22
	jdolecek-ncq:1.21.0.2
	jdolecek-ncq-base:1.21
	pgoyette-localcount-20170320:1.21
	netbsd-7-1:1.15.0.10
	netbsd-7-1-RELEASE:1.15
	netbsd-7-1-RC2:1.15
	nick-nhusb-base-20170204:1.21
	netbsd-7-nhusb-base-20170116:1.15
	bouyer-socketcan:1.19.0.4
	bouyer-socketcan-base:1.19
	pgoyette-localcount-20170107:1.19
	netbsd-7-1-RC1:1.15
	nick-nhusb-base-20161204:1.19
	pgoyette-localcount-20161104:1.19
	netbsd-7-0-2-RELEASE:1.15
	nick-nhusb-base-20161004:1.19
	localcount-20160914:1.19
	netbsd-7-nhusb:1.15.0.8
	netbsd-7-nhusb-base:1.15
	pgoyette-localcount-20160806:1.19
	pgoyette-localcount-20160726:1.19
	pgoyette-localcount:1.19.0.2
	pgoyette-localcount-base:1.19
	nick-nhusb-base-20160907:1.19
	nick-nhusb-base-20160529:1.19
	netbsd-7-0-1-RELEASE:1.15
	nick-nhusb-base-20160422:1.19
	nick-nhusb-base-20160319:1.19
	nick-nhusb-base-20151226:1.19
	netbsd-7-0:1.15.0.6
	netbsd-7-0-RELEASE:1.15
	nick-nhusb-base-20150921:1.18
	netbsd-7-0-RC3:1.15
	netbsd-7-0-RC2:1.15
	netbsd-7-0-RC1:1.15
	nick-nhusb-base-20150606:1.17
	nick-nhusb-base-20150406:1.17
	nick-nhusb:1.15.0.4
	nick-nhusb-base:1.15
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	netbsd-6-0-6-RELEASE:1.12
	netbsd-6-1-5-RELEASE:1.12
	netbsd-7:1.15.0.2
	netbsd-7-base:1.15
	yamt-pagecache-base9:1.14
	yamt-pagecache-tag8:1.12
	netbsd-6-1-4-RELEASE:1.12
	netbsd-6-0-5-RELEASE:1.12
	tls-earlyentropy:1.13.0.10
	tls-earlyentropy-base:1.15
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13
	riastradh-drm2-base3:1.13
	netbsd-6-1-3-RELEASE:1.12
	netbsd-6-0-4-RELEASE:1.12
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.12
	netbsd-6-0-3-RELEASE:1.12
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	rmind-smpnet-nbase:1.14
	netbsd-6-1-1-RELEASE:1.12
	riastradh-drm2-base2:1.13
	riastradh-drm2-base1:1.13
	riastradh-drm2:1.13.0.8
	riastradh-drm2-base:1.13
	rmind-smpnet:1.13.0.6
	rmind-smpnet-base:1.14
	netbsd-6-1:1.12.0.20
	netbsd-6-0-2-RELEASE:1.12
	netbsd-6-1-RELEASE:1.12
	khorben-n900:1.13.0.4
	netbsd-6-1-RC4:1.12
	netbsd-6-1-RC3:1.12
	agc-symver:1.13.0.2
	agc-symver-base:1.13
	netbsd-6-1-RC2:1.12
	netbsd-6-1-RC1:1.12
	yamt-pagecache-base8:1.12
	netbsd-5-2:1.1.0.16
	netbsd-6-0-1-RELEASE:1.12
	yamt-pagecache-base7:1.12
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.12
	yamt-pagecache-base6:1.12
	netbsd-6-0:1.12.0.16
	netbsd-6-0-RELEASE:1.12
	netbsd-6-0-RC2:1.12
	tls-maxphys:1.12.0.14
	tls-maxphys-base:1.15
	matt-nb6-plus:1.12.0.12
	matt-nb6-plus-base:1.12
	netbsd-6-0-RC1:1.12
	jmcneill-usbmp-base10:1.12
	yamt-pagecache-base5:1.12
	jmcneill-usbmp-base9:1.12
	yamt-pagecache-base4:1.12
	jmcneill-usbmp-base8:1.12
	jmcneill-usbmp-base7:1.12
	jmcneill-usbmp-base6:1.12
	jmcneill-usbmp-base5:1.12
	jmcneill-usbmp-base4:1.12
	jmcneill-usbmp-base3:1.12
	jmcneill-usbmp-pre-base2:1.12
	jmcneill-usbmp-base2:1.12
	netbsd-6:1.12.0.10
	netbsd-6-base:1.12
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	jmcneill-usbmp:1.12.0.8
	jmcneill-usbmp-base:1.12
	jmcneill-audiomp3:1.12.0.6
	jmcneill-audiomp3-base:1.12
	yamt-pagecache-base3:1.12
	yamt-pagecache-base2:1.12
	yamt-pagecache:1.12.0.4
	yamt-pagecache-base:1.12
	rmind-uvmplock-nbase:1.12
	cherry-xenmp:1.12.0.2
	cherry-xenmp-base:1.12
	bouyer-quota2-nbase:1.11
	bouyer-quota2:1.10.0.8
	bouyer-quota2-base:1.11
	jruoho-x86intr:1.10.0.6
	jruoho-x86intr-base:1.10
	matt-mips64-premerge-20101231:1.10
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.14
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.12
	netbsd-5-1-RELEASE:1.1
	uebayasi-xip-base4:1.10
	uebayasi-xip-base3:1.10
	yamt-nfs-mp-base11:1.10
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	uebayasi-xip-base2:1.10
	yamt-nfs-mp-base10:1.10
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	uebayasi-xip-base1:1.10
	netbsd-5-1-RC1:1.1
	rmind-uvmplock:1.10.0.4
	rmind-uvmplock-base:1.12
	yamt-nfs-mp-base9:1.10
	uebayasi-xip:1.10.0.2
	uebayasi-xip-base:1.10
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.9
	yamt-nfs-mp-base8:1.7
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	yamt-nfs-mp-base7:1.6
	matt-nb5-mips64:1.1.0.10
	netbsd-5-0-1-RELEASE:1.1
	jymxensuspend-base:1.6
	yamt-nfs-mp-base6:1.6
	yamt-nfs-mp-base5:1.6
	yamt-nfs-mp-base4:1.4
	jym-xensuspend-nbase:1.9
	yamt-nfs-mp:1.4.0.4
	yamt-nfs-mp-base3:1.4
	nick-hppapmap-base4:1.4
	nick-hppapmap-base3:1.4
	netbsd-5-0:1.1.0.8
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	nick-hppapmap-base2:1.4
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.4.0.2
	jym-xensuspend-base:1.4
	netbsd-5-0-RC1:1.1
	mjf-devfs2-base:1.3
	mjf-devfs2:1.3.0.4
	haad-dm-base:1.3
	haad-dm-base2:1.3
	haad-nbase2:1.3
	ad-audiomp2:1.3.0.2
	ad-audiomp2-base:1.3
	netbsd-5:1.1.0.6
	netbsd-5-base:1.1
	nick-hppapmap:1.1.0.4
	nick-hppapmap-base:1.4
	matt-mips64-base2:1.1
	haad-dm:1.1.0.2
	haad-dm-base1:1.1;
locks; strict;
comment	@# @;


1.25
date	2022.09.03.09.41.24;	author mlelstv;	state Exp;
branches;
next	1.24;
commitid	tsj4E2asrkw1QoSD;

1.24
date	2021.10.11.05.13.11;	author knakahara;	state Exp;
branches;
next	1.23;
commitid	XtwcpcwCe61wRlcD;

1.23
date	2018.11.15.09.38.57;	author maxv;	state Exp;
branches;
next	1.22;
commitid	jsDbbvkQgEODq10B;

1.22
date	2017.04.14.02.43.28;	author ozaki-r;	state Exp;
branches
	1.22.10.1
	1.22.12.1;
next	1.21;
commitid	P2VtQnvTkRcGMrNz;

1.21
date	2017.02.02.02.52.10;	author ozaki-r;	state Exp;
branches;
next	1.20;
commitid	Smtxx8PjbraJ4kEz;

1.20
date	2017.01.17.08.10.37;	author ozaki-r;	state Exp;
branches;
next	1.19;
commitid	BN0sHP2KhxIMmiCz;

1.19
date	2015.10.19.16.16.38;	author pooka;	state Exp;
branches
	1.19.2.1
	1.19.4.1;
next	1.18;
commitid	tw5dhIUFxtTYIJFy;

1.18
date	2015.08.24.22.31.33;	author pooka;	state Exp;
branches;
next	1.17;
commitid	40ILj0hIsI6iBzyy;

1.17
date	2014.12.03.00.19.04;	author christos;	state Exp;
branches;
next	1.16;
commitid	oesKuKPftsB0Jw0y;

1.16
date	2014.12.02.01.59.16;	author pooka;	state Exp;
branches;
next	1.15;
commitid	P0YHUcLumgzFip0y;

1.15
date	2014.06.05.23.48.17;	author rmind;	state Exp;
branches
	1.15.4.1;
next	1.14;
commitid	P7hs4C9IyZuIkoDx;

1.14
date	2014.04.27.15.15.13;	author pooka;	state Exp;
branches;
next	1.13;
commitid	bTGqtToNyU2BKkyx;

1.13
date	2013.03.15.12.09.59;	author pooka;	state Exp;
branches
	1.13.6.1
	1.13.10.1;
next	1.12;

1.12
date	2011.03.31.19.40.53;	author dyoung;	state Exp;
branches
	1.12.4.1
	1.12.14.1;
next	1.11;

1.11
date	2011.02.01.01.39.21;	author matt;	state Exp;
branches;
next	1.10;

1.10
date	2010.01.19.22.08.18;	author pooka;	state Exp;
branches
	1.10.4.1
	1.10.6.1
	1.10.8.1;
next	1.9;

1.9
date	2009.10.16.00.16.32;	author pooka;	state Exp;
branches;
next	1.8;

1.8
date	2009.10.14.17.29.20;	author pooka;	state Exp;
branches;
next	1.7;

1.7
date	2009.09.06.20.02.49;	author pooka;	state Exp;
branches;
next	1.6;

1.6
date	2009.06.10.20.54.55;	author pooka;	state Exp;
branches;
next	1.5;

1.5
date	2009.06.10.20.50.51;	author pooka;	state Exp;
branches;
next	1.4;

1.4
date	2009.01.23.19.34.37;	author pooka;	state Exp;
branches
	1.4.2.1
	1.4.4.1;
next	1.3;

1.3
date	2008.11.25.18.38.08;	author pooka;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	2008.11.25.18.36.08;	author pooka;	state Exp;
branches;
next	1.1;

1.1
date	2008.10.15.13.00.39;	author pooka;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.22.10.1
date	2018.11.26.01.52.51;	author pgoyette;	state Exp;
branches;
next	;
commitid	Zj4q5SspGdKXto1B;

1.22.12.1
date	2019.06.10.22.09.54;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.19.2.1
date	2017.03.20.06.57.52;	author pgoyette;	state Exp;
branches;
next	1.19.2.2;
commitid	jjw7cAwgyKq7RfKz;

1.19.2.2
date	2017.04.26.02.53.30;	author pgoyette;	state Exp;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

1.19.4.1
date	2017.04.21.16.54.07;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.15.4.1
date	2015.04.06.15.18.30;	author skrll;	state Exp;
branches;
next	1.15.4.2;
commitid	pz01Zhy7RP6iGxgy;

1.15.4.2
date	2015.09.22.12.06.15;	author skrll;	state Exp;
branches;
next	1.15.4.3;
commitid	CpNWKp3ozVNTafCy;

1.15.4.3
date	2015.12.27.12.10.16;	author skrll;	state Exp;
branches;
next	1.15.4.4;
commitid	BTSqUD4SdJ5k7AOy;

1.15.4.4
date	2017.02.05.13.41.00;	author skrll;	state Exp;
branches;
next	1.15.4.5;
commitid	8hwpk1aHl2UuyLEz;

1.15.4.5
date	2017.08.28.17.53.15;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.13.6.1
date	2014.05.18.17.46.19;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.13.10.1
date	2014.08.10.06.56.51;	author tls;	state Exp;
branches;
next	;
commitid	SqReByPtwiDFCMLx;

1.12.4.1
date	2014.05.22.11.41.16;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.12.14.1
date	2013.06.23.06.20.28;	author tls;	state Exp;
branches;
next	1.12.14.2;
commitid	eVjr9caYRQbRGHUw;

1.12.14.2
date	2014.08.20.00.04.42;	author tls;	state Exp;
branches;
next	1.12.14.3;
commitid	jTnpym9Qu0o4R1Nx;

1.12.14.3
date	2017.12.03.11.39.17;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.10.4.1
date	2011.03.05.20.56.16;	author rmind;	state Exp;
branches;
next	1.10.4.2;

1.10.4.2
date	2011.04.21.01.42.17;	author rmind;	state Exp;
branches;
next	;

1.10.6.1
date	2011.06.06.09.10.08;	author jruoho;	state Exp;
branches;
next	;

1.10.8.1
date	2011.02.08.16.20.04;	author bouyer;	state Exp;
branches;
next	;

1.4.2.1
date	2009.07.23.23.32.55;	author jym;	state Exp;
branches;
next	;

1.4.4.1
date	2009.01.23.19.34.37;	author yamt;	state dead;
branches;
next	1.4.4.2;

1.4.4.2
date	2009.05.04.08.14.30;	author yamt;	state Exp;
branches;
next	1.4.4.3;

1.4.4.3
date	2009.06.20.07.20.36;	author yamt;	state Exp;
branches;
next	1.4.4.4;

1.4.4.4
date	2009.09.16.13.38.05;	author yamt;	state Exp;
branches;
next	1.4.4.5;

1.4.4.5
date	2010.03.11.15.04.38;	author yamt;	state Exp;
branches;
next	;

1.3.4.1
date	2008.11.25.18.38.08;	author mjf;	state dead;
branches;
next	1.3.4.2;

1.3.4.2
date	2009.01.17.13.29.37;	author mjf;	state Exp;
branches;
next	;

1.1.2.1
date	2008.10.15.13.00.39;	author haad;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2008.10.19.22.18.07;	author haad;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2008.12.13.01.15.34;	author haad;	state Exp;
branches;
next	;

1.1.4.1
date	2009.01.19.13.20.26;	author skrll;	state Exp;
branches;
next	1.1.4.2;

1.1.4.2
date	2009.03.03.18.34.29;	author skrll;	state Exp;
branches;
next	;


desc
@@


1.25
log
@netisr.c is gone.
@
text
@#	$NetBSD: Makefile.rumpnet,v 1.24 2021/10/11 05:13:11 knakahara Exp $
#

LIB=		rumpnet
COMMENT=	Rump kernel networking faction

.PATH:	${RUMPTOP}/librump/rumpnet				\
	${RUMPTOP}/../kern					\
	${RUMPTOP}/../net					\
	${RUMPTOP}/../netatalk					\
	${RUMPTOP}/../netinet					\
	${RUMPTOP}/../netinet6					\
	${RUMPTOP}/../netipsec					\
	${RUMPTOP}/../compat/common

SRCS=	net_stub.c rump_net.c

SRCS+=	rumpnet_if_wrappers.c

SRCS+=	rumpnet_syscalls.c

# sys/kern networking (sockets, mbufs, etc.)
SRCS+=	sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c	\
	uipc_socket.c uipc_socket2.c uipc_syscalls.c

# sys/net
SRCS+=	pktqueue.c pfil.c rss_config.c toeplitz.c

# formatters
SRCS+= at_print.c dl_print.c in_print.c in6_print.c

# radix trie support
SRCS+=	radix.c
SRCS+=	rtbl.c

# compat (nothing for now)
SRCS+=	

# bpf stubs, required for all kernels
SRCS+=	bpf_stub.c

# workqueue-based pr_input (required by inet and inet6)
SRCS+=	wqinput.c

CPPFLAGS+=	-I${RUMPTOP}/librump/rumpkern

.include "${RUMPTOP}/Makefile.rump"

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.24
log
@Make pktq_rps_hash() pluggable for each interface type.  Reviewed by gdt@@n.o, thorpej@@n.o, and riastradh@@n.o, thanks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.23 2018/11/15 09:38:57 maxv Exp $
d16 1
a16 1
SRCS=	net_stub.c netisr.c rump_net.c
@


1.23
log
@Merge uipc_mbuf2.c into uipc_mbuf.c. Reorder the latter a little to gather
similar functions. No functional change.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.22 2017/04/14 02:43:28 ozaki-r Exp $
d27 1
a27 1
SRCS+=	pktqueue.c pfil.c
@


1.22
log
@Rumpify netipsec

Note that we should modularize netipsec and reduce reverse symbol references
(referencing symbols of netipsec from net, netinet and netinet6) though,
the task needs lots of code changes. Prior to doing so, rumpifying it and
having ATF tests should be useful.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.21 2017/02/02 02:52:10 ozaki-r Exp $
d23 1
a23 1
SRCS+=	sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c uipc_mbuf2.c	\
@


1.22.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.23 2018/11/15 09:38:57 maxv Exp $
d23 1
a23 1
SRCS+=	sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c	\
@


1.22.10.1
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.23 2018/11/15 09:38:57 maxv Exp $
d23 1
a23 1
SRCS+=	sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c	\
@


1.21
log
@Defer some pr_input to workqueue

pr_input is currently called in softint. Some pr_input such as ICMP, ICMPv6
and CARP can add/delete/update IP addresses and routing table entries. For
example, icmp6_redirect_input updates an a routing table entry and
nd6_ra_input may delete an IP address.

Basically such operations shouldn't be done in softint. That aside, we have
a reason to avoid the situation; psz/psref waits cannot be used in softint,
however they are required to work in such pr_input in the MP-safe world.

The change implements the workqueue pr_input framework called wqinput which
provides a means to defer pr_input of a protocol to workqueue easily.
Currently icmp_input, icmp6_input, carp_proto_input and carp6_proto_input
are deferred to workqueue by the framework.

Proposed and discussed on tech-kern and tech-net
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.20 2017/01/17 08:10:37 ozaki-r Exp $
d13 1
@


1.20
log
@Fix build (undefined reference to `rumpns_pfil_init' on usr.sbin/puffs/rump_nfs)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.19 2015/10/19 16:16:38 pooka Exp $
d41 3
@


1.19
log
@Add a COMMENT describing what each component roughly does.

"make describe" prints the comment.

Requested/inspired by Vincent Schwarzer on rumpkernel-users
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.18 2015/08/24 22:31:33 pooka Exp $
d26 1
a26 1
SRCS+=	pktqueue.c
@


1.19.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.22 2017/04/14 02:43:28 ozaki-r Exp $
a12 1
	${RUMPTOP}/../netipsec					\
d26 1
a26 1
SRCS+=	pktqueue.c pfil.c
a40 3
# workqueue-based pr_input (required by inet and inet6)
SRCS+=	wqinput.c

@


1.19.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.21 2017/02/02 02:52:10 ozaki-r Exp $
d26 1
a26 1
SRCS+=	pktqueue.c pfil.c
a40 3
# workqueue-based pr_input (required by inet and inet6)
SRCS+=	wqinput.c

@


1.19.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.22 2017/04/14 02:43:28 ozaki-r Exp $
a12 1
	${RUMPTOP}/../netipsec					\
@


1.18
log
@remove librump/rumpnet/opt, consolidate in rump/include/opt
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.17 2014/12/03 00:19:04 christos Exp $
d5 1
@


1.17
log
@add printers.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.16 2014/12/02 01:59:16 pooka Exp $
d40 1
a40 1
CPPFLAGS+=	-I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/librump/rumpnet/opt
@


1.16
log
@Remove shlib_version files and just use Makefile SHLIB_MAJOR/MINOR,
with the default provided by Makefile.rump (they're all 0.0 anyway)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.15 2014/06/05 23:48:17 rmind Exp $
d9 3
d27 3
@


1.15
log
@- Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.14 2014/04/27 15:15:13 pooka Exp $
a33 4
# automatically in sync src/lib
SHLIB_MAJOR=    0
SHLIB_MINOR=    0

@


1.15.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.17 2014/12/03 00:19:04 christos Exp $
a8 3
	${RUMPTOP}/../netatalk					\
	${RUMPTOP}/../netinet					\
	${RUMPTOP}/../netinet6					\
a23 3
# formatters
SRCS+= at_print.c dl_print.c in_print.c in6_print.c

d34 4
@


1.15.4.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.15.4.1 2015/04/06 15:18:30 skrll Exp $
d35 1
a35 1
SRCS+=
d40 1
a40 1
CPPFLAGS+=	-I${RUMPTOP}/librump/rumpkern
@


1.15.4.3
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.15.4.2 2015/09/22 12:06:15 skrll Exp $
a4 1
COMMENT=	Rump kernel networking faction
@


1.15.4.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.15.4.3 2015/12/27 12:10:16 skrll Exp $
d26 1
a26 1
SRCS+=	pktqueue.c pfil.c
a40 3
# workqueue-based pr_input (required by inet and inet6)
SRCS+=	wqinput.c

@


1.15.4.5
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.15.4.4 2017/02/05 13:41:00 skrll Exp $
a12 1
	${RUMPTOP}/../netipsec					\
@


1.14
log
@Eliminate weak symbols from rump kernel syscall handlers, part 7:

Build component constructors which establish syscalls at boottime.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.13 2013/03/15 12:09:59 pooka Exp $
d21 3
@


1.13
log
@Allow Makefile.rump to append to SRCS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.12 2011/03/31 19:40:53 dyoung Exp $
d15 2
@


1.13.10.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.15 2014/06/05 23:48:17 rmind Exp $
a14 2
SRCS+=	rumpnet_syscalls.c

a18 3
# sys/net
SRCS+=	pktqueue.c

@


1.13.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.13 2013/03/15 12:09:59 pooka Exp $
a14 2
SRCS+=	rumpnet_syscalls.c

@


1.12
log
@Hide the radix-trie implementation of the forwarding table so that we
will have an easier time replacing it with something different, even if
it is a second radix-trie implementation.

sys/net/route.c and sys/net/rtsock.c no longer operate directly on
radix_nodes or radix_node_heads.

Hopefully this will reduce the temptation to implement multipath or
source-based routing using grotty hacks to the grotty old radix-trie
code, too. :-)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.11 2011/02/01 01:39:21 matt Exp $
a3 2
.include "${RUMPTOP}/Makefile.rump"

d35 2
@


1.12.4.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.12 2011/03/31 19:40:53 dyoung Exp $
d4 2
a16 2
SRCS+=	rumpnet_syscalls.c

a36 2
.include "${RUMPTOP}/Makefile.rump"

@


1.12.14.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
d4 2
a36 2
.include "${RUMPTOP}/Makefile.rump"

@


1.12.14.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a14 2
SRCS+=	rumpnet_syscalls.c

a18 3
# sys/net
SRCS+=	pktqueue.c

@


1.12.14.3
log
@update from HEAD
@
text
@a4 1
COMMENT=	Rump kernel networking faction
a8 4
	${RUMPTOP}/../netatalk					\
	${RUMPTOP}/../netinet					\
	${RUMPTOP}/../netinet6					\
	${RUMPTOP}/../netipsec					\
d22 1
a22 4
SRCS+=	pktqueue.c pfil.c

# formatters
SRCS+= at_print.c dl_print.c in_print.c in6_print.c
d34 3
a36 2
# workqueue-based pr_input (required by inet and inet6)
SRCS+=	wqinput.c
d38 1
a38 1
CPPFLAGS+=	-I${RUMPTOP}/librump/rumpkern
@


1.11
log
@Add a new AF/PF_ROUTE which is 64-bit clean which makes the routing socket
interface (and its associated sysctls) act identically for both 32 and 64 bit
programs.  The old unclean one remains for backward compatibility.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.10 2010/01/19 22:08:18 pooka Exp $
d23 1
@


1.10
log
@Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.9 2009/10/16 00:16:32 pooka Exp $
d24 2
a25 2
# compat
SRCS+=	rtsock_50.c
@


1.10.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.12 2011/03/31 19:40:53 dyoung Exp $
a22 1
SRCS+=	rtbl.c
d24 2
a25 2
# compat (nothing for now)
SRCS+=	
@


1.10.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d24 2
a25 2
# compat (nothing for now)
SRCS+=	
@


1.10.4.2
log
@sync with head
@
text
@a22 1
SRCS+=	rtbl.c
@


1.10.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.11 2011/02/01 01:39:21 matt Exp $
d24 2
a25 2
# compat (nothing for now)
SRCS+=	
@


1.9
log
@We have real pollsuck() now, so remove this, ahem, less-than-perfect one.
(XXX: only thing in the kernel using pollsuck is netsmb)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.8 2009/10/14 17:29:20 pooka Exp $
d27 3
@


1.8
log
@Adjust rump sources for external/internal interfaces.
No functional change.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.7 2009/09/06 20:02:49 pooka Exp $
d13 1
a13 1
SRCS=	net_stub.c netisr.c rump_net.c net_emul.c
@


1.7
log
@add a very simple version of pollsock()
XXX: it seems to exist purely for the pleasure of netsmb??
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.6 2009/06/10 20:54:55 pooka Exp $
d15 2
@


1.6
log
@MAXUSERS comes from Makefile.rump
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.5 2009/06/10 20:50:51 pooka Exp $
d13 1
a13 1
SRCS=	net_stub.c netisr.c rump_net.c
@


1.5
log
@libkern is fully included in rumpkern, no need for cherry-picking
modules elsewhere.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.4 2009/01/23 19:34:37 pooka Exp $
a29 1
CPPFLAGS+=	-DMAXUSERS=32
@


1.4
log
@include rtsock_50.c
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.3 2008/11/25 18:38:08 pooka Exp $
d9 1
a9 1
	${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern		\
a21 3
# src/lib/libkern
SRCS+=	intoa.c

@


1.4.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.6 2009/06/10 20:54:55 pooka Exp $
d9 1
a9 1
	${RUMPTOP}/../kern					\
d22 3
d33 1
@


1.4.4.1
log
@file Makefile.rumpnet was added on branch yamt-nfs-mp on 2009-05-04 08:14:30 +0000
@
text
@d1 36
@


1.4.4.2
log
@sync with head.
@
text
@a0 36
#	$NetBSD$
#

.include "${RUMPTOP}/Makefile.rump"

LIB=		rumpnet

.PATH:	${RUMPTOP}/librump/rumpnet				\
	${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern		\
	${RUMPTOP}/../net					\
	${RUMPTOP}/../compat/common

SRCS=	net_stub.c netisr.c rump_net.c

# sys/kern networking (sockets, mbufs, etc.)
SRCS+=	sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c uipc_mbuf2.c	\
	uipc_socket.c uipc_socket2.c uipc_syscalls.c

# radix trie support
SRCS+=	radix.c

# src/lib/libkern
SRCS+=	intoa.c

# compat
SRCS+=	rtsock_50.c

# automatically in sync src/lib
SHLIB_MAJOR=    0
SHLIB_MINOR=    0

CPPFLAGS+=	-I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/librump/rumpnet/opt
CPPFLAGS+=	-DMAXUSERS=32

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.4.4.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.4.4.2 2009/05/04 08:14:30 yamt Exp $
d9 1
a9 1
	${RUMPTOP}/../kern					\
d22 3
d33 1
@


1.4.4.4
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.4.4.3 2009/06/20 07:20:36 yamt Exp $
d13 1
a13 1
SRCS=	net_stub.c netisr.c rump_net.c net_emul.c
@


1.4.4.5
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.4.4.4 2009/09/16 13:38:05 yamt Exp $
d13 1
a13 3
SRCS=	net_stub.c netisr.c rump_net.c

SRCS+=	rumpnet_if_wrappers.c
a24 3
# bpf stubs, required for all kernels
SRCS+=	bpf_stub.c

@


1.3
log
@fix comment (no functional change)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.2 2008/11/25 18:36:08 pooka Exp $
d10 2
a11 1
	${RUMPTOP}/../net
d25 3
@


1.3.4.1
log
@file Makefile.rumpnet was added on branch mjf-devfs2 on 2009-01-17 13:29:37 +0000
@
text
@d1 32
@


1.3.4.2
log
@Sync with HEAD.
@
text
@a0 32
#	$NetBSD$
#

.include "${RUMPTOP}/Makefile.rump"

LIB=		rumpnet

.PATH:	${RUMPTOP}/librump/rumpnet				\
	${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern		\
	${RUMPTOP}/../net

SRCS=	net_stub.c netisr.c rump_net.c

# sys/kern networking (sockets, mbufs, etc.)
SRCS+=	sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c uipc_mbuf2.c	\
	uipc_socket.c uipc_socket2.c uipc_syscalls.c

# radix trie support
SRCS+=	radix.c

# src/lib/libkern
SRCS+=	intoa.c

# automatically in sync src/lib
SHLIB_MAJOR=    0
SHLIB_MINOR=    0

CPPFLAGS+=	-I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/librump/rumpnet/opt
CPPFLAGS+=	-DMAXUSERS=32

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.2
log
@Heave-ho radix.c from librumpnet_net to librumpnet.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.1 2008/10/15 13:00:39 pooka Exp $
d18 1
a18 1
# routing
@


1.1
log
@Add the basic rump networking library, which provides e.g. sockets
and mbufs.  This is required by all network-using rump applications.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpkern,v 1.15 2008/10/11 13:40:58 pooka Exp $
d9 2
a10 1
	${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern
d18 3
@


1.1.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.3 2008/11/25 18:38:08 pooka Exp $
d9 1
a9 2
	${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern		\
	${RUMPTOP}/../net
a16 3
# radix trie support
SRCS+=	radix.c

@


1.1.4.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.1.4.1 2009/01/19 13:20:26 skrll Exp $
d10 1
a10 2
	${RUMPTOP}/../net					\
	${RUMPTOP}/../compat/common
a23 3
# compat
SRCS+=	rtsock_50.c

@


1.1.2.1
log
@file Makefile.rumpnet was added on branch haad-dm on 2008-10-19 22:18:07 +0000
@
text
@d1 28
@


1.1.2.2
log
@Sync with HEAD.
@
text
@a0 28
#	$NetBSD: Makefile.rumpnet,v 1.1 2008/10/15 13:00:39 pooka Exp $
#

.include "${RUMPTOP}/Makefile.rump"

LIB=		rumpnet

.PATH:	${RUMPTOP}/librump/rumpnet				\
	${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern

SRCS=	net_stub.c netisr.c rump_net.c

# sys/kern networking (sockets, mbufs, etc.)
SRCS+=	sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c uipc_mbuf2.c	\
	uipc_socket.c uipc_socket2.c uipc_syscalls.c

# src/lib/libkern
SRCS+=	intoa.c

# automatically in sync src/lib
SHLIB_MAJOR=    0
SHLIB_MINOR=    0

CPPFLAGS+=	-I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/librump/rumpnet/opt
CPPFLAGS+=	-DMAXUSERS=32

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.1.2.3
log
@Update haad-dm branch to haad-dm-base2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.rumpnet,v 1.3 2008/11/25 18:38:08 pooka Exp $
d9 1
a9 2
	${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern		\
	${RUMPTOP}/../net
a16 3
# radix trie support
SRCS+=	radix.c

@


