The NetBSD Project

CVS log for src/sys/net/if_ppp.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / net

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.172.8.2 / (download) - annotate - [select for diffs], Thu Nov 16 04:30:22 2023 UTC (3 months, 2 weeks ago) by thorpej
Branch: thorpej-ifq
Changes since 1.172.8.1: +3 -3 lines
Diff to previous 1.172.8.1 (colored) to branchpoint 1.172 (colored)

IFQ_CLASSIFY() -> ifq_classify_packet().

Revision 1.172.8.1 / (download) - annotate - [select for diffs], Wed Nov 15 02:08:34 2023 UTC (3 months, 2 weeks ago) by thorpej
Branch: thorpej-ifq
Changes since 1.172: +4 -4 lines
Diff to previous 1.172 (colored)

Rename ifq_enqueue() -> if_enqueue(), ifq_enqueue2() -> if_enqueue2().

Revision 1.172 / (download) - annotate - [select for diffs], Sat Sep 3 02:47:59 2022 UTC (18 months ago) by thorpej
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Branch point for: thorpej-ifq
Changes since 1.171: +2 -3 lines
Diff to previous 1.171 (colored)

Garbage-collect the remaining vestiges of netisr.

Revision 1.171 / (download) - annotate - [select for diffs], Sat Aug 27 19:15:00 2022 UTC (18 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.170: +6 -2 lines
Diff to previous 1.170 (colored)

Ensure that all queues passed to ifq_enqueue2() have a valid ifq_lock.

Revision 1.170 / (download) - annotate - [select for diffs], Sat Aug 27 19:04:43 2022 UTC (18 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.169: +6 -5 lines
Diff to previous 1.169 (colored)

Consistently use IFQ_SET_MAXLEN(), rather than open-coding it.  NFC.

Revision 1.169 / (download) - annotate - [select for diffs], Wed Jul 6 08:07:23 2022 UTC (19 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.168: +4 -2 lines
Diff to previous 1.168 (colored)

net/if_ppp.c: Avoid user-controlled overrun in PPPIOCSCOMPRESS.

Reported-by: syzbot+2c7bda7dc2b6c0d4f279@syzkaller.appspotmail.com

Revision 1.168 / (download) - annotate - [select for diffs], Wed Jul 6 08:06:59 2022 UTC (19 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.167: +76 -64 lines
Diff to previous 1.167 (colored)

net/if_ppp.c: Sprinkle KNF.  No functional change intended.

Revision 1.161.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:15 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.161.2.2: +2 -16 lines
Diff to previous 1.161.2.2 (colored) to branchpoint 1.161 (colored) next main 1.162 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.161.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:57 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.161.2.1: +10 -13 lines
Diff to previous 1.161.2.1 (colored) to branchpoint 1.161 (colored)

Merge changes from current as of 20200406

Revision 1.166.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:06 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.166: +10 -13 lines
Diff to previous 1.166 (colored) next main 1.167 (colored)

Sync with head.

Revision 1.167 / (download) - annotate - [select for diffs], Wed Jan 29 04:28:27 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.166: +10 -13 lines
Diff to previous 1.166 (colored)

Adopt <net/if_stats.h>.

Revision 1.166 / (download) - annotate - [select for diffs], Fri Sep 20 08:45:29 2019 UTC (4 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.165: +3 -16 lines
Diff to previous 1.165 (colored)

dedup

Revision 1.165 / (download) - annotate - [select for diffs], Tue Jun 25 12:30:50 2019 UTC (4 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.164: +3 -4 lines
Diff to previous 1.164 (colored)

 Simplify "LIST_HEAD();" to make the code more understandable.
No functional change.

Revision 1.161.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:45 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.161: +25 -19 lines
Diff to previous 1.161 (colored)

Sync with HEAD

Revision 1.159.2.4 / (download) - annotate - [select for diffs], Sat Jan 26 22:00:36 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.159.2.3: +23 -20 lines
Diff to previous 1.159.2.3 (colored) to branchpoint 1.159 (colored) next main 1.160 (colored)

Sync with HEAD

Revision 1.164 / (download) - annotate - [select for diffs], Fri Jan 25 08:51:29 2019 UTC (5 years, 1 month ago) by knakahara
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, isaki-audio2-base, isaki-audio2
Changes since 1.163: +23 -20 lines
Diff to previous 1.163 (colored)

Add __cacheline_aligned to ppp softc list and its mutex just in case.

Revision 1.159.2.3 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:58 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.159.2.2: +5 -2 lines
Diff to previous 1.159.2.2 (colored) to branchpoint 1.159 (colored)

Synch with HEAD

Revision 1.158.8.2 / (download) - annotate - [select for diffs], Fri Jan 11 15:55:01 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.158.8.1: +5 -2 lines
Diff to previous 1.158.8.1 (colored) to branchpoint 1.158 (colored) next main 1.159 (colored)

Pull up following revision(s) (requested by knakahara in ticket #1162):

	sys/net/if_ppp.c: revision 1.162
	sys/net/if_ppp.c: revision 1.163

Fix missing mutex_exit in ppp_create().

Fix missing splx in ppp_inproc().

Revision 1.163 / (download) - annotate - [select for diffs], Fri Jan 11 02:57:21 2019 UTC (5 years, 1 month ago) by knakahara
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.162: +4 -2 lines
Diff to previous 1.162 (colored)

Fix missing splx in ppp_inproc().

Revision 1.162 / (download) - annotate - [select for diffs], Fri Jan 11 02:55:41 2019 UTC (5 years, 1 month ago) by knakahara
Branch: MAIN
Changes since 1.161: +3 -2 lines
Diff to previous 1.161 (colored)

Fix missing mutex_exit in ppp_create().

Revision 1.159.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:38:10 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.159.2.1: +4 -4 lines
Diff to previous 1.159.2.1 (colored) to branchpoint 1.159 (colored)

Sync with HEAD

Revision 1.158.8.1 / (download) - annotate - [select for diffs], Thu Jul 26 23:55:31 2018 UTC (5 years, 7 months ago) by snj
Branch: netbsd-8
Changes since 1.158: +2 -6 lines
Diff to previous 1.158 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #938):
	sys/arch/acorn32/podulebus/if_ie.c: revision 1.41
	sys/arch/amiga/dev/if_es.c: revision 1.58
	sys/arch/amiga/dev/if_qn.c: revision 1.45
	sys/arch/arm/at91/at91emac.c: revision 1.20
	sys/arch/arm/ep93xx/epe.c: revision 1.37
	sys/arch/emips/ebus/if_le_ebus.c: revision 1.14
	sys/arch/emips/ebus/if_le_ebus.c: revision 1.15
	sys/arch/mac68k/dev/if_mc.c: revision 1.46
	sys/arch/macppc/dev/am79c950.c: revision 1.39
	sys/arch/newsmips/apbus/if_sn.c: revision 1.40
	sys/arch/next68k/dev/mb8795.c: revision 1.59
	sys/arch/playstation2/dev/if_smap.c: revision 1.25
	sys/arch/playstation2/dev/if_smap.c: revision 1.26
	sys/arch/sun2/dev/if_ec.c: revision 1.28
	sys/arch/sun3/dev/if_ie.c: revision 1.63
	sys/arch/x68k/dev/if_ne_intio.c: revision 1.19
	sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63
	sys/dev/bi/if_ni.c: revision 1.45
	sys/dev/cadence/if_cemac.c: revision 1.12
	sys/dev/ic/am7990.c: revision 1.78
	sys/dev/ic/am79900.c: revision 1.27
	sys/dev/ic/an.c: revision 1.67
	sys/dev/ic/cs89x0.c: revision 1.40
	sys/dev/ic/dm9000.c: revision 1.13
	sys/dev/ic/dm9000.c: revision 1.14
	sys/dev/ic/dp8390.c: revision 1.88
	sys/dev/ic/elink3.c: revision 1.141
	sys/dev/ic/elinkxl.c: revision 1.122
	sys/dev/ic/hme.c: revision 1.98
	sys/dev/ic/i82586.c: revision 1.77
	sys/dev/ic/lance.c: revision 1.53
	sys/dev/ic/mb86950.c: revision 1.27
	sys/dev/ic/mb86960.c: revision 1.86
	sys/dev/ic/mtd803.c: revision 1.34
	sys/dev/ic/pdq_ifsubr.c: revision 1.59
	sys/dev/ic/rrunner.c: revision 1.86
	sys/dev/ic/seeq8005.c: revision 1.58
	sys/dev/ic/sgec.c: revision 1.47
	sys/dev/ic/smc90cx6.c: revision 1.72
	sys/dev/ic/smc91cxx.c: revision 1.96
	sys/dev/ic/tropic.c: revision 1.49
	sys/dev/ic/wi.c: revision 1.245
	sys/dev/isa/if_eg.c: revision 1.93
	sys/dev/isa/if_el.c: revision 1.95
	sys/dev/isa/if_iy.c: revision 1.101
	sys/dev/ofw/ofnet.c: revision 1.58
	sys/dev/pci/if_alc.c: revision 1.27
	sys/dev/pci/if_de.c: revision 1.152
	sys/dev/pci/if_fpa.c: revision 1.61
	sys/dev/pci/if_jme.c: revision 1.34
	sys/dev/pci/if_tl.c: revision 1.108
	sys/dev/pci/if_vte.c: revision 1.19
	sys/dev/pci/ixgbe/ixgbe.h: revision 1.50
	sys/dev/pcmcia/if_cnw.c: revision 1.62
	sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17
	sys/dev/pcmcia/if_ray.c: revision 1.89
	sys/dev/pcmcia/if_xi.c: revision 1.81
	sys/dev/pcmcia/mhzc.c: revision 1.51
	sys/dev/pcmcia/xirc.c: revision 1.34
	sys/dev/qbus/if_de.c: revision 1.33
	sys/dev/qbus/if_qe.c: revision 1.78
	sys/dev/qbus/if_qt.c: revision 1.22
	sys/dev/sbus/be.c: revision 1.87
	sys/dev/sbus/qe.c: revision 1.68
	sys/dev/scsipi/if_se.c: revision 1.96
	sys/dev/usb/if_atu.c: revision 1.59
	sys/net/if_l2tp.c: revision 1.28 via patch
	sys/net/if_ppp.c: revision 1.160
It's not required to include net/bpfdesc.h. Remove it.
--
Simplify like other drivers. NULL check of ifp->if_bpf is done in
bpf_mtap(), so it's not required to do it here.
--
Remove duplicated inclusion of net/bpf.h.
--
Remove duplicated inclusion of net/bpf.h.
--
Simplify bpf_mtap() call. No functional change.

Revision 1.161 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:02 2018 UTC (5 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Branch point for: phil-wifi
Changes since 1.160: +4 -4 lines
Diff to previous 1.160 (colored)

 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

 This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.

Revision 1.159.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:06 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.159: +2 -6 lines
Diff to previous 1.159 (colored)

Sync with HEAD

Revision 1.160 / (download) - annotate - [select for diffs], Mon Jun 25 04:59:42 2018 UTC (5 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.159: +2 -6 lines
Diff to previous 1.159 (colored)

 Remove duplicated inclusion of net/bpf.h.

Revision 1.136.12.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:02 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.136.12.3: +73 -17 lines
Diff to previous 1.136.12.3 (colored) to branchpoint 1.136 (colored) next main 1.137 (colored)

update from HEAD

Revision 1.159 / (download) - annotate - [select for diffs], Sun Sep 17 20:39:04 2017 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.158: +4 -2 lines
Diff to previous 1.158 (colored)

Add one more not supported error

Revision 1.152.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:20 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.152: +3 -5 lines
Diff to previous 1.152 (colored) next main 1.153 (colored)

Sync with HEAD

Revision 1.146.4.6 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:08 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146.4.5: +63 -11 lines
Diff to previous 1.146.4.5 (colored) to branchpoint 1.146 (colored) next main 1.147 (colored)

Sync with HEAD

Revision 1.158 / (download) - annotate - [select for diffs], Sun Oct 2 14:17:07 2016 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.157: +3 -3 lines
Diff to previous 1.157 (colored)

MFREE -> m_free

Revision 1.157 / (download) - annotate - [select for diffs], Sun Aug 7 17:38:34 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: localcount-20160914
Changes since 1.156: +11 -63 lines
Diff to previous 1.156 (colored)

modularize some more drivers and merge the module glue

Revision 1.156 / (download) - annotate - [select for diffs], Sat Aug 6 22:54:34 2016 UTC (7 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.155: +4 -2 lines
Diff to previous 1.155 (colored)

Destroy the mutex when detaching ppp.  Otherwise on a re-attach (ie,
module reload) we can end up with a panic "lock already initialized"

Revision 1.155 / (download) - annotate - [select for diffs], Sat Aug 6 12:48:23 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.154: +6 -4 lines
Diff to previous 1.154 (colored)

make strip and slip modular, and cosmetic for ppp.

Revision 1.154 / (download) - annotate - [select for diffs], Sat Aug 6 12:42:40 2016 UTC (7 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.153: +4 -4 lines
Diff to previous 1.153 (colored)

Change the internal name of the module to match its external (file
system) name.  Otherwise "bad things" can happen, such as modload(8)
being able to load a second copy!

Revision 1.153 / (download) - annotate - [select for diffs], Sat Aug 6 02:35:06 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: MAIN
Changes since 1.152: +109 -9 lines
Diff to previous 1.152 (colored)

Modularize the ppp driver, and adjust dependencies of the compressor
modules.

For now, this is still included as a built-in module in GENERIC kernels.

Revision 1.146.4.5 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:21 2016 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146.4.4: +3 -3 lines
Diff to previous 1.146.4.4 (colored) to branchpoint 1.146 (colored)

Sync with HEAD

Revision 1.152 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:16 2016 UTC (7 years, 8 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Changes since 1.151: +3 -3 lines
Diff to previous 1.151 (colored)

Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.

Revision 1.146.4.4 / (download) - annotate - [select for diffs], Sun May 29 08:44:38 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146.4.3: +3 -3 lines
Diff to previous 1.146.4.3 (colored) to branchpoint 1.146 (colored)

Sync with HEAD

Revision 1.151 / (download) - annotate - [select for diffs], Thu Apr 28 00:16:56 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored)

Constify rtentry of if_output

We no longer need to change rtentry below if_output.

The change makes it clear where rtentries are changed (or not)
and helps forthcoming locking (os psrefing) rtentries.

Revision 1.146.4.3 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:17 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146.4.2: +5 -8 lines
Diff to previous 1.146.4.2 (colored) to branchpoint 1.146 (colored)

Sync with HEAD

Revision 1.150 / (download) - annotate - [select for diffs], Wed Apr 20 09:01:04 2016 UTC (7 years, 10 months ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422
Changes since 1.149: +5 -8 lines
Diff to previous 1.149 (colored)

IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE caller

Revision 1.146.4.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:10 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146.4.1: +9 -5 lines
Diff to previous 1.146.4.1 (colored) to branchpoint 1.146 (colored)

Sync with HEAD

Revision 1.149 / (download) - annotate - [select for diffs], Mon Aug 24 22:21:26 2015 UTC (8 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.148: +4 -2 lines
Diff to previous 1.148 (colored)

sprinkle _KERNEL_OPT

Revision 1.148 / (download) - annotate - [select for diffs], Thu Aug 20 11:18:53 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.147: +5 -3 lines
Diff to previous 1.147 (colored)

Honor pseudo attach decl generated by config(1).

Revision 1.146.4.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:25 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146: +3 -2 lines
Diff to previous 1.146 (colored)

Sync with HEAD

Revision 1.147 / (download) - annotate - [select for diffs], Mon Apr 20 10:19:54 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.146: +3 -2 lines
Diff to previous 1.146 (colored)

Introduce p2p_rtrequest() so that IFF_POINTOPOINT interfaces can work
with RTF_LOCAL.
Fixes PR kern/49829.

Revision 1.136.12.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:34 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.136.12.2: +1195 -1157 lines
Diff to previous 1.136.12.2 (colored) to branchpoint 1.136 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.141.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:15 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.141: +1195 -1157 lines
Diff to previous 1.141 (colored) next main 1.142 (colored)

Rebase.

Revision 1.146 / (download) - annotate - [select for diffs], Tue Jul 1 15:03:58 2014 UTC (9 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.145: +1195 -1171 lines
Diff to previous 1.145 (colored)

KNF. No functional change.

Revision 1.145 / (download) - annotate - [select for diffs], Mon Jun 30 12:56:51 2014 UTC (9 years, 8 months ago) by ozaki-r
Branch: MAIN
Changes since 1.144: +6 -12 lines
Diff to previous 1.144 (colored)

Cleanup ppp_inproc

- Remove unnecessary variable isr
- Use pktq instead of rv to switch between inet/inet6 and other protocols

ok msaitoh@ and rmind@

Revision 1.144 / (download) - annotate - [select for diffs], Thu Jun 5 23:48:16 2014 UTC (9 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.143: +23 -7 lines
Diff to previous 1.143 (colored)

- 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.

Revision 1.136.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:41:09 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.136.2.2: +10 -10 lines
Diff to previous 1.136.2.2 (colored) to branchpoint 1.136 (colored) next main 1.137 (colored)

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")

Revision 1.138.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:12 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.138: +16 -12 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

sync with head

Revision 1.143 / (download) - annotate - [select for diffs], Sat May 17 14:51:09 2014 UTC (9 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.142: +5 -3 lines
Diff to previous 1.142 (colored)

ppp_inproc: handle non-IP protocols correctly (hi msaitoh); PR/48813.

Revision 1.142 / (download) - annotate - [select for diffs], Thu May 15 09:23:03 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.141: +6 -4 lines
Diff to previous 1.141 (colored)

 Save a NETISR_* value in a variable and call schednetisr() after enqueue
a packet for readability and future modification.

Revision 1.141 / (download) - annotate - [select for diffs], Wed Sep 18 23:34:55 2013 UTC (10 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.140: +6 -6 lines
Diff to previous 1.140 (colored)

Add bpf_filter_ext() to use with BPF COP, restore bpf_filter() as it was
originally to preserve compatibility.  Similarly, add bpf_validate_ext()
which takes bpf_ctx_t.

Revision 1.140 / (download) - annotate - [select for diffs], Fri Aug 30 15:00:08 2013 UTC (10 years, 6 months ago) by rmind
Branch: MAIN
Changes since 1.139: +6 -6 lines
Diff to previous 1.139 (colored)

bpf_filter: add a custom argument which can be passed to coprocessor routine.

Revision 1.139 / (download) - annotate - [select for diffs], Thu Aug 29 14:25:41 2013 UTC (10 years, 6 months ago) by rmind
Branch: MAIN
Changes since 1.138: +10 -10 lines
Diff to previous 1.138 (colored)

Implement BPF_COP/BPF_COPX instructions in the misc category (BPF_MISC)
which add a capability to call external functions in a predetermined way.

It can be thought as a BPF "coprocessor" -- a generic mechanism to offload
more complex packet inspection operations.  There is no default coprocessor
and this functionality is not targeted to the /dev/bpf.  This is primarily
targeted to the kernel subsystems, therefore there is no way to set a custom
coprocessor at the userlevel.

Discussed on: tech-net@
OK: core@

Revision 1.136.12.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:01 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.136.12.1: +3 -3 lines
Diff to previous 1.136.12.1 (colored) to branchpoint 1.136 (colored)

resync with head

Revision 1.136.2.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:48 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.136.2.1: +3 -3 lines
Diff to previous 1.136.2.1 (colored) to branchpoint 1.136 (colored)

sync with (a bit old) head

Revision 1.138 / (download) - annotate - [select for diffs], Sun Nov 25 09:06:43 2012 UTC (11 years, 3 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored)

Don't check mp for NULL twice.  From Michael W. Bomardieri <mb@il.net>
via tech-net@NetBSD.org.  Thanks!

Revision 1.136.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:47 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.136.8.1 / (download) - annotate - [select for diffs], Wed Oct 31 16:07:46 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored) next main 1.137 (colored)

Pull up following revision(s) (requested by christos in ticket #638):
	sys/net/if_ppp.c: revision 1.137
	sys/netinet6/ip6_flow.c: revision 1.20
	sys/net/if_fddisubr.c: revision 1.82
	sys/net/if_ethersubr.c: revision 1.192
	sys/netinet6/in6_var.h: revision 1.66
	sys/net/if_atmsubr.c: revision 1.50
PR/47058: Antti Kantee: If the ipv6 flow code modifies the mbuf, pass the
change up to the caller.

Revision 1.136.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:43 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored)

sync with head

Revision 1.137 / (download) - annotate - [select for diffs], Thu Oct 11 20:05:50 2012 UTC (11 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored)

PR/47058: Antti Kantee: If the ipv6 flow code modifies the mbuf, pass the
change up to the caller.

Revision 1.136 / (download) - annotate - [select for diffs], Fri Oct 28 22:08:14 2011 UTC (12 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6
Changes since 1.135: +2 -18 lines
Diff to previous 1.135 (colored)

For these interfaces, the implementation of SIOCSIFDSTADDR is identical
to SIOCINITIFADDR, and SIOCSIFDSTADDR callers always fall back to
SIOCINITIFADDR, so just get rid of the SIOCSIFDSTADDR case.

Revision 1.135 / (download) - annotate - [select for diffs], Fri Oct 28 20:13:32 2011 UTC (12 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.134: +2 -9 lines
Diff to previous 1.134 (colored)

Don't kauth-orize SIOCSIFMTU in pppsioctl() and stf_ioctl(), ifioctl()
has already done that for us.

Revision 1.134 / (download) - annotate - [select for diffs], Sun Aug 7 13:51:37 2011 UTC (12 years, 7 months ago) by rmind
Branch: MAIN
Changes since 1.133: +13 -14 lines
Diff to previous 1.133 (colored)

Convert ppp_list_lock to mutex(9).

Revision 1.132.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:52 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.132: +3 -3 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Sync with HEAD.

Revision 1.130.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:13 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.130.4.2: +1 -1 lines
Diff to previous 1.130.4.2 (colored) to branchpoint 1.130 (colored) next main 1.131 (colored)

sync with head

Revision 1.133 / (download) - annotate - [select for diffs], Sat Apr 2 08:11:32 2011 UTC (12 years, 11 months ago) by mbalmer
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.132: +3 -3 lines
Diff to previous 1.132 (colored)

Fix misplaced parenthesis.  From henning.petersen@t-online.de, thanks.

Revision 1.130.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:51 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.130.4.1: +4 -4 lines
Diff to previous 1.130.4.1 (colored) to branchpoint 1.130 (colored)

sync with head

Revision 1.130.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:38 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.130.2.1: +2 -2 lines
Diff to previous 1.130.2.1 (colored) to branchpoint 1.130 (colored) next main 1.131 (colored)

Sync with HEAD (-D20101022).

Revision 1.122.2.4 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:36 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.122.2.3: +4 -4 lines
Diff to previous 1.122.2.3 (colored) to branchpoint 1.122 (colored) next main 1.123 (colored)

sync with head

Revision 1.132 / (download) - annotate - [select for diffs], Sat Aug 21 13:19:40 2010 UTC (13 years, 6 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.131: +4 -4 lines
Diff to previous 1.131 (colored)

Update the rest of the kernel to conform to the module subsystem's new
locking protocol.

Revision 1.122.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:54 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.122.2.2: +6 -8 lines
Diff to previous 1.122.2.2 (colored) to branchpoint 1.122 (colored)

sync with head.

Revision 1.130.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:01 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.130: +6 -8 lines
Diff to previous 1.130 (colored)

sync with head

Revision 1.130.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:19 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.130: +6 -8 lines
Diff to previous 1.130 (colored)

Sync with HEAD.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Apr 5 07:22:23 2010 UTC (13 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.130: +6 -8 lines
Diff to previous 1.130 (colored)

Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf
check into the inline functions as well the fourth argument for
bpf_attach.

Revision 1.122.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:27 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.122.2.1: +6 -19 lines
Diff to previous 1.122.2.1 (colored) to branchpoint 1.122 (colored)

sync with head

Revision 1.130 / (download) - annotate - [select for diffs], Tue Jan 19 22:08:01 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.129: +6 -19 lines
Diff to previous 1.129 (colored)

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.

Revision 1.128.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:22:19 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.128: +4 -4 lines
Diff to previous 1.128 (colored) next main 1.129 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.122.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:15 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.122: +217 -92 lines
Diff to previous 1.122 (colored)

sync with head.

Revision 1.123.4.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:16 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.123.4.2: +4 -4 lines
Diff to previous 1.123.4.2 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored)

Sync with HEAD.

Revision 1.129 / (download) - annotate - [select for diffs], Wed Apr 15 20:44:25 2009 UTC (14 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.128: +4 -4 lines
Diff to previous 1.128 (colored)

Remove a few KAUTH_GENERIC_ISSUSER in favor of more descriptive
alternatives.

Discussed on tech-kern:

	http://mail-index.netbsd.org/tech-kern/2009/04/11/msg004798.html

Input from ad@, christos@, dyoung@, tsutsui@.

Okay ad@.

Revision 1.123.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:33:38 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.123.4.1: +10 -2 lines
Diff to previous 1.123.4.1 (colored) to branchpoint 1.123 (colored)

Sync with HEAD.

Revision 1.128 / (download) - annotate - [select for diffs], Mon Jan 19 15:16:34 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.127: +10 -2 lines
Diff to previous 1.127 (colored)

ppp_get_compressor: take module_lock when trying to load a module.  PR/40428

Revision 1.123.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:11 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.123: +206 -88 lines
Diff to previous 1.123 (colored)

Sync with HEAD.

Revision 1.121.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:31 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.121.6.2: +204 -86 lines
Diff to previous 1.121.6.2 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

Sync with HEAD.

Revision 1.127 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:36 2008 UTC (15 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.126: +11 -12 lines
Diff to previous 1.126 (colored)

kill MALLOC and FREE macros.

Revision 1.123.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:25 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.123: +197 -78 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.126 / (download) - annotate - [select for diffs], Sat Nov 29 23:15:20 2008 UTC (15 years, 3 months ago) by cube
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.125: +79 -33 lines
Diff to previous 1.125 (colored)

Fix handling of ppp compressor modules, from Andrew Doran's input.
 - ref count each compressor
 - allow {un,}registration of several modules at once
 - une RUN_ONCE to make sure the mutex is initialised, because
   unfortunately built-in (and bootloader-loaded) modules init functions
   are run before pseudo-devices attach (reported by Nick Hudson).

Revision 1.125 / (download) - annotate - [select for diffs], Tue Nov 25 02:40:36 2008 UTC (15 years, 3 months ago) by cube
Branch: MAIN
Changes since 1.124: +138 -64 lines
Diff to previous 1.124 (colored)

Rework the way PPP compmressors are handled and allow them to be
automatically loaded when needed.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Nov 7 00:20:13 2008 UTC (15 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.123: +14 -15 lines
Diff to previous 1.123 (colored)

*** Summary ***

When a link-layer address changes (e.g., ifconfig ex0 link
02:de:ad:be:ef:02 active), send a gratuitous ARP and/or a Neighbor
Advertisement to update the network-/link-layer address bindings
on our LAN peers.

Refuse a change of ethernet address to the address 00:00:00:00:00:00
or to any multicast/broadcast address.  (Thanks matt@.)

Reorder ifnet ioctl operations so that driver ioctls may inherit
the functions of their "class"---ether_ioctl(), fddi_ioctl(), et
cetera---and the class ioctls may inherit from the generic ioctl,
ifioctl_common(), but both driver- and class-ioctls may override
the generic behavior.  Make network drivers share more code.

Distinguish a "factory" link-layer address from others for the
purposes of both protecting that address from deletion and computing
EUI64.

Return consistent, appropriate error codes from network drivers.

Improve readability.  KNF.

*** Details ***

In if_attach(), always initialize the interface ioctl routine,
ifnet->if_ioctl, if the driver has not already initialized it.
Delete if_ioctl == NULL tests everywhere else, because it cannot
happen.

In the ioctl routines of network interfaces, inherit common ioctl
behaviors by calling either ifioctl_common() or whichever ioctl
routine is appropriate for the class of interface---e.g., ether_ioctl()
for ethernets.

Stop (ab)using SIOCSIFADDR and start to use SIOCINITIFADDR.  In
the user->kernel interface, SIOCSIFADDR's argument was an ifreq,
but on the protocol->ifnet interface, SIOCSIFADDR's argument was
an ifaddr.  That was confusing, and it would work against me as I
make it possible for a network interface to overload most ioctls.
On the protocol->ifnet interface, replace SIOCSIFADDR with
SIOCINITIFADDR.  In ifioctl(), return EPERM if userland tries to
invoke SIOCINITIFADDR.

In ifioctl(), give the interface the first shot at handling most
interface ioctls, and give the protocol the second shot, instead
of the other way around. Finally, let compatibility code (COMPAT_OSOCK)
take a shot.

Pull device initialization out of switch statements under
SIOCINITIFADDR.  For example, pull ..._init() out of any switch
statement that looks like this:

        switch (...->sa_family) {
        case ...:
                ..._init();
                ...
                break;
        ...
        default:
                ..._init();
                ...
                break;
        }

Rewrite many if-else clauses that handle all permutations of IFF_UP
and IFF_RUNNING to use a switch statement,

        switch (x & (IFF_UP|IFF_RUNNING)) {
        case 0:
                ...
                break;
        case IFF_RUNNING:
                ...
                break;
        case IFF_UP:
                ...
                break;
        case IFF_UP|IFF_RUNNING:
                ...
                break;
        }

unifdef lots of code containing #ifdef FreeBSD, #ifdef NetBSD, and
#ifdef SIOCSIFMTU, especially in fwip(4) and in ndis(4).

In ipw(4), remove an if_set_sadl() call that is out of place.

In nfe(4), reuse the jumbo MTU logic in ether_ioctl().

Let ethernets register a callback for setting h/w state such as
promiscuous mode and the multicast filter in accord with a change
in the if_flags: ether_set_ifflags_cb() registers a callback that
returns ENETRESET if the caller should reset the ethernet by calling
if_init(), 0 on success, != 0 on failure.  Pull common code from
ex(4), gem(4), nfe(4), sip(4), tlp(4), vge(4) into ether_ioctl(),
and register if_flags callbacks for those drivers.

Return ENOTTY instead of EINVAL for inappropriate ioctls.  In
zyd(4), use ENXIO instead of ENOTTY to indicate that the device is
not any longer attached.

Add to if_set_sadl() a boolean 'factory' argument that indicates
whether a link-layer address was assigned by the factory or some
other source.  In a comment, recommend using the factory address
for generating an EUI64, and update in6_get_hw_ifid() to prefer a
factory address to any other link-layer address.

Add a routing message, RTM_LLINFO_UPD, that tells protocols to
update the binding of network-layer addresses to link-layer addresses.
Implement this message in IPv4 and IPv6 by sending a gratuitous
ARP or a neighbor advertisement, respectively.  Generate RTM_LLINFO_UPD
messages on a change of an interface's link-layer address.

In ether_ioctl(), do not let SIOCALIFADDR set a link-layer address
that is broadcast/multicast or equal to 00:00:00:00:00:00.

Make ether_ioctl() call ifioctl_common() to handle ioctls that it
does not understand.

In gif(4), initialize if_softc and use it, instead of assuming that
the gif_softc and ifp overlap.

Let ifioctl_common() handle SIOCGIFADDR.

Sprinkle rtcache_invariants(), which checks on DIAGNOSTIC kernels
that certain invariants on a struct route are satisfied.

In agr(4), rewrite agr_ioctl_filter() to be a bit more explicit
about the ioctls that we do not allow on an agr(4) member interface.

bzero -> memset.  Delete unnecessary casts to void *.  Use
sockaddr_in_init() and sockaddr_in6_init().  Compare pointers with
NULL instead of "testing truth".  Replace some instances of (type
*)0 with NULL.  Change some K&R prototypes to ANSI C, and join
lines.

Revision 1.121.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:18 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.121.6.1: +1 -2 lines
Diff to previous 1.121.6.1 (colored) to branchpoint 1.121 (colored)

Sync with HEAD.

Revision 1.122.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:58 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.122: +3 -4 lines
Diff to previous 1.122 (colored) next main 1.123 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.122.6.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:50 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.122: +3 -4 lines
Diff to previous 1.122 (colored) next main 1.123 (colored)

Sync with head.

Revision 1.121.8.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:13 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.121.8.1: +3 -4 lines
Diff to previous 1.121.8.1 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

sync with head.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Jun 15 16:37:21 2008 UTC (15 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.122: +3 -4 lines
Diff to previous 1.122 (colored)

- add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD)
- kill memsets where M_ZERO can be used.

Revision 1.121.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:22 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.121: +5 -2 lines
Diff to previous 1.121 (colored)

Sync with HEAD.

Revision 1.121.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:27 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.121: +5 -2 lines
Diff to previous 1.121 (colored)

sync with head.

Revision 1.122 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:37 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.121: +5 -2 lines
Diff to previous 1.121 (colored)

Merge the socket locking patch:

- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.

With much feedback from matt@ and plunky@.

Revision 1.116.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:05 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.116.8.2: +5 -6 lines
Diff to previous 1.116.8.2 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored)

sync with HEAD

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:01 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.119: +6 -6 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with HEAD.

Revision 1.101.2.7 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:59 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.6: +5 -6 lines
Diff to previous 1.101.2.6 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

sync with head.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Feb 7 01:22:01 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.120: +5 -6 lines
Diff to previous 1.120 (colored)

Start patching up the kernel so that a network driver always has
the opportunity to handle an ioctl before generic ifioctl handling
occurs.  This will ease extending the kernel and sharing of code
between drivers.

First steps:  Make the signature of ifioctl_common() match struct
ifinet->if_ioctl.  Convert SIOCSIFCAP and SIOCSIFMTU to the new
ifioctl() regime, throughout the kernel.

Revision 1.101.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:47:05 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.5: +3 -2 lines
Diff to previous 1.101.2.5 (colored) to branchpoint 1.101 (colored)

sync with head

Revision 1.116.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:12 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.116.8.1: +3 -2 lines
Diff to previous 1.116.8.1 (colored) to branchpoint 1.116 (colored)

sync with HEAD

Revision 1.119.8.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:48 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.119: +3 -2 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with HEAD

Revision 1.120 / (download) - annotate - [select for diffs], Fri Jan 4 21:18:15 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.119: +3 -2 lines
Diff to previous 1.119 (colored)

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.116.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:33:32 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.116: +10 -11 lines
Diff to previous 1.116 (colored)

sync with HEAD

Revision 1.101.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:02 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.4: +8 -9 lines
Diff to previous 1.101.2.4 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.116.6.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:02 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.116.6.1: +8 -9 lines
Diff to previous 1.116.6.1 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.118.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:40:07 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored) next main 1.119 (colored)

Sync with HEAD.

Revision 1.114.2.6 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:17 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.114.2.5: +3 -3 lines
Diff to previous 1.114.2.5 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored)

Sync with head.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Oct 19 12:16:44 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.117.2.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:59 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.117: +7 -8 lines
Diff to previous 1.117 (colored) next main 1.118 (colored)

sync with head.

Revision 1.114.2.5 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:26 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.114.2.4: +4 -4 lines
Diff to previous 1.114.2.4 (colored) to branchpoint 1.114 (colored)

Sync with head.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Oct 8 16:18:05 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.117: +7 -8 lines
Diff to previous 1.117 (colored)

Use the softint API.

Revision 1.116.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:56 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.116: +4 -4 lines
Diff to previous 1.116 (colored)

Sync with HEAD.

Revision 1.101.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:42:09 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.3: +14 -37 lines
Diff to previous 1.101.2.3 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.116.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:23:10 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.116: +4 -4 lines
Diff to previous 1.116 (colored) next main 1.117 (colored)

Sync with HEAD.

Revision 1.117 / (download) - annotate - [select for diffs], Sat Sep 1 04:32:50 2007 UTC (16 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.116: +4 -4 lines
Diff to previous 1.116 (colored)

Use ifreq_setaddr(), ifreq_getaddr(), sockaddr_in_init(), and
sockaddr_copy().  Constify.  Compare pointers with NULL, not 0.
Don't "test truth" of pointers, but compare with NULL.

Revision 1.114.2.4 / (download) - annotate - [select for diffs], Sun Jul 15 15:52:59 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.114.2.3: +2 -14 lines
Diff to previous 1.114.2.3 (colored) to branchpoint 1.114 (colored)

Sync with head.

Revision 1.114.2.3 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:53 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.114.2.2: +2 -17 lines
Diff to previous 1.114.2.2 (colored) to branchpoint 1.114 (colored)

Sync with head.

Revision 1.116 / (download) - annotate - [select for diffs], Sat Jul 14 21:02:40 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.115: +2 -29 lines
Diff to previous 1.115 (colored)

Generic soft interrupts are mandatory.

Revision 1.114.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:58 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with head.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Jul 9 21:11:00 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.114.2.2 / (download) - annotate - [select for diffs], Sun Jul 1 21:50:44 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.114.2.1: +3 -3 lines
Diff to previous 1.114.2.1 (colored) to branchpoint 1.114 (colored)

Adapt to callout API change.

Revision 1.114.2.1 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:50 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.114: +7 -8 lines
Diff to previous 1.114 (colored)

- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.111.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:59:12 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.111.4.1: +11 -7 lines
Diff to previous 1.111.4.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Sync with HEAD.

Revision 1.114 / (download) - annotate - [select for diffs], Wed Mar 7 22:20:05 2007 UTC (17 years ago) by liamjfoy
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.113: +6 -2 lines
Diff to previous 1.113 (colored)

Add IPv6 Fast Forward - the IPv4 counterpart:

If ip6_forward successfully forwards a packet, a cache, in this case a
ip6flow struct entry, will be created. ether_input and friends will
then be able to call ip6flow_fastforward with the packet which will then
be passed to if_output (unless an issue is found - in that case the packet
is passed back to ip6_input).

ok matt@ christos@ dyoung@ and joerg@

Revision 1.113 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:16 2007 UTC (17 years ago) by christos
Branch: MAIN
Changes since 1.112: +7 -7 lines
Diff to previous 1.112 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.111.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:43 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.101.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:35 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.2: +3 -3 lines
Diff to previous 1.101.2.2 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.112 / (download) - annotate - [select for diffs], Sat Feb 17 22:34:08 2007 UTC (17 years ago) by dyoung
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored)

KNF: de-__P, bzero -> memset, bcmp -> memcmp.  Remove extraneous
   parentheses in return statements.

Cosmetic: don't open-code TAILQ_FOREACH().

Cosmetic: change types of variables to avoid oodles of casts: in
   in6_src.c, avoid casts by changing several route_in6 pointers
   to struct route pointers.  Remove unnecessary casts to caddr_t
   elsewhere.

Pave the way for eliminating address family-specific route caches:
   soon, struct route will not embed a sockaddr, but it will hold
   a reference to an external sockaddr, instead.  We will set the
   destination sockaddr using rtcache_setdst().  (I created a stub
   for it, but it isn't used anywhere, yet.)  rtcache_free() will
   free the sockaddr.  I have extracted from rtcache_free() a helper
   subroutine, rtcache_clear().  rtcache_clear() will "forget" a
   cached route, but it will not forget the destination by releasing
   the sockaddr.  I use rtcache_clear() instead of rtcache_free()
   in rtcache_update(), because rtcache_update() is not supposed
   to forget the destination.

Constify:

   1 Introduce const accessor for route->ro_dst, rtcache_getdst().

   2 Constify the 'dst' argument to ifnet->if_output().  This
     led me to constify a lot of code called by output routines.

   3 Constify the sockaddr argument to protosw->pr_ctlinput.  This
     led me to constify a lot of code called by ctlinput routines.

   4 Introduce const macros for converting from a generic sockaddr
     to family-specific sockaddrs, e.g., sockaddr_in: satocsin6,
     satocsin, et cetera.

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:20 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.1: +31 -19 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.108.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:00 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.108.6.1: +19 -11 lines
Diff to previous 1.108.6.1 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)

sync with head.

Revision 1.108.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:29 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.108: +19 -11 lines
Diff to previous 1.108 (colored) next main 1.109 (colored)

Sync with head.

Revision 1.111 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:40 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.110: +4 -4 lines
Diff to previous 1.110 (colored)

__unused removal on arguments; approved by core.

Revision 1.110 / (download) - annotate - [select for diffs], Wed Oct 25 20:28:45 2006 UTC (17 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.109: +17 -9 lines
Diff to previous 1.109 (colored)

Kill some KAUTH_GENERIC_ISSUSER uses.

Revision 1.108.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:24 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.108: +5 -5 lines
Diff to previous 1.108 (colored)

sync with head

Revision 1.109 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:28 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.108: +5 -5 lines
Diff to previous 1.108 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.105.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:58:06 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.105: +29 -25 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

sync with head

Revision 1.105.6.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:46:14 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.105.6.2: +22 -18 lines
Diff to previous 1.105.6.2 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

sync with head

Revision 1.108 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:12 2006 UTC (17 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.107: +22 -18 lines
Diff to previous 1.107 (colored)

Use the LWP cached credentials where sane.

Revision 1.105.6.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:53:39 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.105.6.1: +8 -9 lines
Diff to previous 1.105.6.1 (colored) to branchpoint 1.105 (colored)

sync with head.

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:27 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101: +62 -69 lines
Diff to previous 1.101 (colored)

sync with head.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:09:12 2006 UTC (17 years, 8 months ago) by chap
Branch: chap-midi
Changes since 1.106: +8 -9 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Sync with head.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:42 2006 UTC (17 years, 9 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Changes since 1.106: +8 -9 lines
Diff to previous 1.106 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.105.4.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:37 2006 UTC (17 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.105.4.1: +10 -9 lines
Diff to previous 1.105.4.1 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

Sync with head.

Revision 1.105.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:44 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.105: +8 -7 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.105.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:56 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.105: +10 -9 lines
Diff to previous 1.105 (colored)

sync with head.

Revision 1.106 / (download) - annotate - [select for diffs], Sun May 14 21:19:33 2006 UTC (17 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.105: +8 -7 lines
Diff to previous 1.105 (colored)

integrate kauth.

Revision 1.105.8.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:58 2006 UTC (17 years, 10 months ago) by christos
Branch: elad-kernelauth
Changes since 1.105.8.2: +3 -2 lines
Diff to previous 1.105.8.2 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.105.8.2 / (download) - annotate - [select for diffs], Fri Mar 10 15:05:22 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.105.8.1: +9 -9 lines
Diff to previous 1.105.8.1 (colored) to branchpoint 1.105 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.105.8.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:11:55 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.105: +9 -9 lines
Diff to previous 1.105 (colored)

Adapt to kernel authorization KPI.

Revision 1.105.4.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:18:52 2006 UTC (18 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.105: +8 -9 lines
Diff to previous 1.105 (colored)

Adapt for timecounters: mostly use get*time(), use bintime's for timeout
calculations and use "time_second" instead of "time.tv_sec".

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:02:57 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored) next main 1.105 (colored)

sync with head.

Revision 1.105 / (download) - annotate - [select for diffs], Mon Jan 2 01:42:36 2006 UTC (18 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

ppp_dequeue: fix a mbuf leak/packet loss introduced by rev.1.104.

Revision 1.104 / (download) - annotate - [select for diffs], Wed Dec 28 08:13:24 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.103: +18 -4 lines
Diff to previous 1.103 (colored)

PR/5901: Felix A. Croes: PPP fast queue blocks traffic at normal priority.
Applied fix, similar to the one suggested in the PR. We use a counter to
limit the number of consecutive packets accepted from the fast queue. This
number can be set via ioctl, but this has not been implemented. Since there
are only 2 queues other proposed solutions such as ALTQ are overkill and
they have not been implemented in the past 7 years. Now LCP echos can be
used to detect that the line is up.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Dec 11 23:05:25 2005 UTC (18 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.102: +27 -53 lines
Diff to previous 1.102 (colored)

ANSI function decls and application of static.

Revision 1.84.2.8 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:19 2005 UTC (18 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.84.2.7: +7 -2 lines
Diff to previous 1.84.2.7 (colored) next main 1.85 (colored)

Sync with head.

Revision 1.101.8.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:29 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.101: +7 -2 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

sync with head.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Nov 27 05:35:52 2005 UTC (18 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Changes since 1.101: +7 -2 lines
Diff to previous 1.101 (colored)

Overhaul how TTY line disciplines are handled:
- Replace references to linesw[0] with a ttyldisc_default() function
  that returns the default ("termios") line discipline.
- The linesw[] array is gone, replaced by a linked list.
- ttyldisc_add() and ttyldisc_remove() have been replaced by
  ttyldisc_attach() and ttyldisc_detach().
- Things that provide line disciplines are now responsible for
  registering those disciplines with the system.  The linesw
  structures are no longer declared in tty_conf.c
- Line disciplines are now refcounted; a lookup causes a reference to
  be held.  ttyldisc_release() releases the reference.  Attempts to
  detach an in-use line discipline result in EBUSY.
- Fix function signature lossage in if_sl.c, if_strip.c, and tty_tb.c
  that was masked by the old tty_conf.c
- tty_init() is no longer necessary; delete it and its call from main().

Revision 1.84.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:32 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.84.2.6: +9 -10 lines
Diff to previous 1.84.2.6 (colored)

Sync with HEAD. Here we go again...

Revision 1.101 / (download) - annotate - [select for diffs], Sun May 29 21:22:52 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.100: +7 -7 lines
Diff to previous 1.100 (colored)

- sprinkle const
- remove unneeded casts
- use more mem*() instead of b*() funcs.

Revision 1.100 / (download) - annotate - [select for diffs], Tue May 17 04:14:58 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.99: +4 -5 lines
Diff to previous 1.99 (colored)

Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to
implement, xtoa(), but I think defining the samestring 50 times is a bit
too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...

Revision 1.95.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:31 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.95: +12 -41 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

sync with -current

Revision 1.84.2.6 / (download) - annotate - [select for diffs], Fri Apr 1 14:31:34 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.84.2.5: +8 -37 lines
Diff to previous 1.84.2.5 (colored)

Sync with HEAD.

Revision 1.99 / (download) - annotate - [select for diffs], Thu Mar 31 21:19:35 2005 UTC (18 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.98: +4 -8 lines
Diff to previous 1.98 (colored)

no point in assigning to ifq twice.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Mar 31 17:07:39 2005 UTC (18 years, 11 months ago) by explorer
Branch: MAIN
Changes since 1.97: +4 -2 lines
Diff to previous 1.97 (colored)

Fix error with ifq not being set before use.  Explicitly set it to NULL just before it may be set to the fastq, since if this becomes a loop (and in one case already is) this will always work.  ifq_enqueue2() is designed to handle this case.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Mar 31 15:48:13 2005 UTC (18 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.96: +9 -36 lines
Diff to previous 1.96 (colored)

factor out the interface queueing code into two functions. One used by
the non point-to-point interfaces that has one queue, and one used by
the point to point interfaces that has two queues. No functional changes.
XXX: The ALTQ stuff makes the code ugly.
XXX: More cleanup to come

Revision 1.95.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:31 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.95: +6 -6 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.84.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:58 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.84.2.4: +6 -6 lines
Diff to previous 1.84.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.96 / (download) - annotate - [select for diffs], Sat Feb 26 22:45:09 2005 UTC (19 years ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.95: +6 -6 lines
Diff to previous 1.95 (colored)

nuke trailing whitespace

Revision 1.84.2.4 / (download) - annotate - [select for diffs], Sat Dec 18 09:32:50 2004 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.84.2.3: +132 -48 lines
Diff to previous 1.84.2.3 (colored)

Sync with HEAD.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Dec 5 15:03:13 2004 UTC (19 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

pasto: simple_lock -> simple_unlock.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Dec 5 15:00:47 2004 UTC (19 years, 3 months ago) by peter
Branch: MAIN
Changes since 1.93: +5 -2 lines
Diff to previous 1.93 (colored)

Don't forget to call bpfdetach in the clone destroy function.
While here, add a missing static and change some spaces to tabs.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Dec 5 13:32:03 2004 UTC (19 years, 3 months ago) by he
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

Fix an obvious typo: scf -> sc.  Discovered while compiling for x68k.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Dec 5 05:42:19 2004 UTC (19 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

void in arg prototype.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Dec 5 04:15:16 2004 UTC (19 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.90: +128 -47 lines
Diff to previous 1.90 (colored)

Make ppp a cloning device. Based on the work of Quentin Garnier.

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:38 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.84.2.2: +2 -2 lines
Diff to previous 1.84.2.2 (colored)

Fix the sync with head I botched.

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:16 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.84.2.1: +0 -0 lines
Diff to previous 1.84.2.1 (colored)

Sync with HEAD.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:15 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.84: +29 -19 lines
Diff to previous 1.84 (colored)

Sync with HEAD

Revision 1.90 / (download) - annotate - [select for diffs], Sat Jul 3 18:11:33 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.89: +9 -18 lines
Diff to previous 1.89 (colored)

I changed pppoutput to use M_PREPEND.  pppoutput was duplicating
the functionality of M_PREPEND, but with a bug: m_pkthdr.len was
not updated in pppoutput as it is in M_PREPEND.

Also, replace the loop that measures the length of the mbuf chain
with a call to m_length.

This fixes a PR from an anonymous bug reporter.  Thank you, anonymous
bug reporter.  Thanks, Itojun, for bringing the anonymous bug report
to my attention.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Apr 21 18:40:39 2004 UTC (19 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

kill sprintf, use snprintf

Revision 1.88 / (download) - annotate - [select for diffs], Tue Oct 28 20:16:28 2003 UTC (20 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.87: +3 -2 lines
Diff to previous 1.87 (colored)

Also, if we're going to bail, we should free the memory we just allocated...

Revision 1.87 / (download) - annotate - [select for diffs], Tue Oct 28 20:15:19 2003 UTC (20 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.86: +3 -4 lines
Diff to previous 1.86 (colored)

Previous patch created a dead break.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Oct 25 18:29:12 2003 UTC (20 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.85: +6 -2 lines
Diff to previous 1.85 (colored)

Fix uninitialized variable warnings

Revision 1.85 / (download) - annotate - [select for diffs], Mon Sep 1 16:51:25 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.84: +17 -2 lines
Diff to previous 1.84 (colored)

Add a new ioctl PPPIOCGRAWIN to get the last characters we got from the
remote site.

Revision 1.84 / (download) - annotate - [select for diffs], Fri May 2 03:15:24 2003 UTC (20 years, 10 months ago) by itojun
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

KNF

Revision 1.83 / (download) - annotate - [select for diffs], Thu Mar 27 17:50:28 2003 UTC (20 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

PR/20844: Iain Hibbert: PPP Compressors cannot be loaded as LKM

Revision 1.82 / (download) - annotate - [select for diffs], Sun Jan 19 23:44:03 2003 UTC (21 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.81: +4 -4 lines
Diff to previous 1.81 (colored)

Remove variable that is only assigned too but not referenced.

Revision 1.69.2.8 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:45 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.69.2.7: +2 -2 lines
Diff to previous 1.69.2.7 (colored) next main 1.70 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.81 / (download) - annotate - [select for diffs], Wed Oct 2 02:27:54 2002 UTC (21 years, 5 months ago) by itojun
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.80: +19 -15 lines
Diff to previous 1.80 (colored)

backout previous two - if you use ppp* interface, kernel panics instantly.
it is apparent that the change was untested, and severety is high.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Sep 25 23:24:37 2002 UTC (21 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.79: +2 -3 lines
Diff to previous 1.79 (colored)

Remove unused variable so the file compiles again.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Sep 25 16:10:15 2002 UTC (21 years, 5 months ago) by darrenr
Branch: MAIN
Changes since 1.78: +15 -18 lines
Diff to previous 1.78 (colored)

Keep m_pkthdr.len updated correctly and use it rather than a loop to find
out the total length of the packet.

Revision 1.69.2.7 / (download) - annotate - [select for diffs], Fri Sep 6 08:48:55 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.69.2.6: +38 -22 lines
Diff to previous 1.69.2.6 (colored)

sync kqueue branch with HEAD

Revision 1.67.2.10 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:39 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.67.2.9: +38 -22 lines
Diff to previous 1.67.2.9 (colored) next main 1.68 (colored)

Catch up to -current.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:36:48 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.77: +38 -22 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

catch up with -current.

Revision 1.67.2.9 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:29 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.8: +2 -3 lines
Diff to previous 1.67.2.8 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Jul 1 22:09:31 2002 UTC (21 years, 8 months ago) by itojun
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.77: +38 -22 lines
Diff to previous 1.77 (colored)

new copyright boilerplate from CMU.  from openbsd

Revision 1.67.2.8 / (download) - annotate - [select for diffs], Mon Jun 24 22:11:32 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.7: +3 -3 lines
Diff to previous 1.67.2.7 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.69.2.6 / (download) - annotate - [select for diffs], Sun Jun 23 17:50:25 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.69.2.5: +5 -3 lines
Diff to previous 1.69.2.5 (colored)

catch up with -current on kqueue branch

Revision 1.67.2.7 / (download) - annotate - [select for diffs], Thu Jun 20 03:48:15 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.6: +4 -2 lines
Diff to previous 1.67.2.6 (colored)

Catch up to -current.

Revision 1.77 / (download) - annotate - [select for diffs], Sun May 12 20:38:15 2002 UTC (21 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.76: +4 -2 lines
Diff to previous 1.76 (colored)

Make ppp_softc[] extern and declare in if_ppp.c

Revision 1.67.2.6 / (download) - annotate - [select for diffs], Mon Apr 1 07:48:21 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.5: +25 -3 lines
Diff to previous 1.67.2.5 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.76 / (download) - annotate - [select for diffs], Sun Mar 17 19:41:10 2002 UTC (21 years, 11 months ago) by atatat
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored)

Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.

Revision 1.69.2.5 / (download) - annotate - [select for diffs], Sat Mar 16 16:02:06 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.69.2.4: +24 -2 lines
Diff to previous 1.69.2.4 (colored)

Catch up with -current.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Mar 5 04:13:01 2002 UTC (22 years ago) by itojun
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.74: +24 -2 lines
Diff to previous 1.74 (colored)

bring in latest ALTQ from kjc.  ALTQify some of the drivers.

Revision 1.67.2.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:15:00 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.4: +2 -4 lines
Diff to previous 1.67.2.4 (colored)

Catch up to -current.

Revision 1.69.2.4 / (download) - annotate - [select for diffs], Mon Feb 11 20:10:28 2002 UTC (22 years ago) by jdolecek
Branch: kqueue
Changes since 1.69.2.3: +2 -4 lines
Diff to previous 1.69.2.3 (colored)

Sync w/ -current.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jan 14 18:19:15 2002 UTC (22 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.73: +2 -4 lines
Diff to previous 1.73 (colored)

Include <machine/intr.h> unconditionally, instead of only doing so if
__HAVE_GENERIC_SOFT_INTERRUPTS and relying on <sys/param.h> to provide it
otherwise; pointed out by Aymeric Vincent.

Revision 1.69.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 20:02:08 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.69.2.2: +4 -5 lines
Diff to previous 1.69.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.67.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:17:23 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.3: +4 -5 lines
Diff to previous 1.67.2.3 (colored)

Catch up to -current.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Nov 13 00:49:35 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.72: +2 -6 lines
Diff to previous 1.72 (colored)

remove unnecessary #if NFOO > 0    .... #endif  wrappers

Revision 1.72 / (download) - annotate - [select for diffs], Mon Nov 12 23:49:41 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.71: +4 -1 lines
Diff to previous 1.71 (colored)

add RCSIDs

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Sat Aug 25 06:16:57 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.69.2.1: +3 -2 lines
Diff to previous 1.69.2.1 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:12:12 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.2: +6 -5 lines
Diff to previous 1.67.2.2 (colored)

Catch up with -current.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Thu Aug 16 16:52:39 2001 UTC (22 years, 6 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pullup [jdolecek]:

sys/arch/amiga/dev/grf_cl.c                     1.26
sys/arch/amiga/dev/grfioctl.h                   1.14
sys/arch/hpcmips/dev/plumvideo.c                1.20
sys/arch/macppc/dev/ofb.c                       1.25
sys/arch/sparc/dev/cgtwo.c                      1.35
sys/arch/sparc/include/fbio.h                   patch
sys/arch/sparc64/include/fbio.h                 patch
sys/arch/sun3/dev/cg2.c                         1.14
sys/arch/sun3/include/fbio.h                    patch
sys/dev/pci/tga.c                               1.35
sys/dev/tc/cfb.c                                1.28
sys/dev/tc/mfb.c                                1.27
sys/dev/tc/sfb.c                                1.46
sys/dev/tc/sfbplus.c                            1.10 via patch
sys/dev/tc/tfb.c                                1.30
sys/dev/tc/xcfb.c                               1.23
sys/net/if_ppp.c                                1.71

  Use unsigned variable types to make bounds checking more correct.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Aug 5 18:07:55 2001 UTC (22 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored)

use unsigned variable types as appropriate

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:50 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

update to -current

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jul 18 16:43:09 2001 UTC (22 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

bzero -> memset

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:08:09 2001 UTC (22 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.1: +32 -24 lines
Diff to previous 1.67.2.1 (colored)

Catch up to -current.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jun 14 05:44:24 2001 UTC (22 years, 8 months ago) by itojun
Branch: MAIN
Branch point for: kqueue
Changes since 1.68: +1 -3 lines
Diff to previous 1.68 (colored)

change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific
interfaces only).

was: if_lastchange get updated on every packet transmission/receipt.
now: if_lastchange get updated when IFF_UP is changed.

Revision 1.55.2.6 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:40 2001 UTC (22 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.55.2.5: +32 -22 lines
Diff to previous 1.55.2.5 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD

Revision 1.68 / (download) - annotate - [select for diffs], Fri Apr 13 23:30:14 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.67: +32 -22 lines
Diff to previous 1.67 (colored)

Remove the use of splimp() from the NetBSD kernel.  splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:54 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.67: +3 -2 lines
Diff to previous 1.67 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.55.2.5 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:51 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.55.2.4: +57 -19 lines
Diff to previous 1.55.2.4 (colored) to branchpoint 1.55 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jan 17 00:30:51 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

Fix a rather annoying problem where the sockaddr_dl which holds
the link level name for the interface (ifp->if_sadl) is allocated
before ifp->if_addrlen is initialized, which could lead to allocating
too little space for the link level address.

Do this by splitting allocation of the link level name out of
if_attach() and into if_alloc_sadl(), which is normally called
by functions like ether_ifattach().  Network interfaces which
don't have a link-specific attach routine must call if_alloc_sadl()
themselves (example: gif).

Link level names are freed by if_free_sadl(), which can be called
from e.g. ether_ifdetach().  Drivers never need call if_free_sadl()
themselves as if_detach() will do it if it is not already done.

While here, add the ability to pass an AF_LINK address to
SIOCSIFADDR in ether_ioctl() (this is what caused me to notice
the problem that the above fixes).

Revision 1.66 / (download) - annotate - [select for diffs], Mon Jan 15 16:33:30 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.65: +57 -20 lines
Diff to previous 1.65 (colored)

For SLIP/STRIP/PPP, use generic soft interrupts, if available.

Revision 1.55.2.4 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:51 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.55.2.3: +46 -14 lines
Diff to previous 1.55.2.3 (colored) to branchpoint 1.55 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Mon Dec 18 19:50:44 2000 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64 (colored)

Fill in if_dlt.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Dec 18 18:57:21 2000 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.63: +46 -15 lines
Diff to previous 1.63 (colored)

Add ALTQ support.

Revision 1.55.2.3 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:31 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.55.2.2: +5 -5 lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.63 / (download) - annotate - [select for diffs], Tue Dec 12 18:00:27 2000 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored)

Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:54 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.55.2.1: +2 -2 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored)

Sync with HEAD.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:10:04 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.55: +24 -21 lines
Diff to previous 1.55 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.62 / (download) - annotate - [select for diffs], Thu Oct 26 01:26:15 2000 UTC (23 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Fix typo (thinko?), which didn't allow MRU to be set below the default
value (instead of the minimum value). Patch supplied by Stephen Degler
in PR #9945, and reviewed by Ignatios Souvatzis.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Oct 6 04:49:53 2000 UTC (23 years, 5 months ago) by onoe
Branch: MAIN
Changes since 1.60: +5 -6 lines
Diff to previous 1.60 (colored)

unique #include opt_inet.h

Revision 1.60 / (download) - annotate - [select for diffs], Wed Oct 4 02:51:18 2000 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.59: +3 -1 lines
Diff to previous 1.59 (colored)

need opt_inet.h for #ifdef INET

Revision 1.59 / (download) - annotate - [select for diffs], Mon Oct 2 03:54:10 2000 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.58: +10 -9 lines
Diff to previous 1.58 (colored)

enable VJC only with INET

Revision 1.58 / (download) - annotate - [select for diffs], Thu Mar 30 09:45:36 2000 UTC (23 years, 11 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.57: +9 -9 lines
Diff to previous 1.57 (colored)

Kill some more register declarations.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Mar 23 07:03:25 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.55.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:10 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Pull up to last week's -current.

Revision 1.50.6.2 / (download) - annotate - [select for diffs], Tue Nov 30 13:35:06 1999 UTC (24 years, 3 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.50.6.1: +0 -0 lines
Diff to previous 1.50.6.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Nov 27 18:45:08 1999 UTC (24 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Fix typo introduced in rev. 1.55.
It caused IP6 packets to be sent as AF_UNSPEC instead of AF_INET6.

Revision 1.50.4.3 / (download) - annotate - [select for diffs], Mon Aug 2 22:32:28 1999 UTC (24 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.50.4.2: +72 -3 lines
Diff to previous 1.50.4.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Update from trunk.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jul 30 10:35:38 1999 UTC (24 years, 7 months ago) by itojun
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.54: +72 -3 lines
Diff to previous 1.54 (colored)

remove reference to in6_systm.h (file itself will be removed afterwords)

Revision 1.50.4.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:45:20 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.50.4.1: +7 -1 lines
Diff to previous 1.50.4.1 (colored) to branchpoint 1.50 (colored)

Sync w/ -current.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jul 1 08:12:48 1999 UTC (24 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.53: +7 -1 lines
Diff to previous 1.53 (colored)

IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
  data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
  package (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
  file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.

Revision 1.50.6.1 / (download) - annotate - [select for diffs], Mon Jun 28 06:36:56 1999 UTC (24 years, 8 months ago) by itojun
Branch: kame
CVS Tags: kame_14_19990705, kame_14_19990628
Changes since 1.50: +7 -1 lines
Diff to previous 1.50 (colored)

KAME/NetBSD 1.4 SNAP kit, dated 19990628.

NOTE: this branch (kame) is used just for refernce.  this may not compile
due to multiple reasons.

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:27:34 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.50: +61 -47 lines
Diff to previous 1.50 (colored)

Sync w/ -current.

Revision 1.53 / (download) - annotate - [select for diffs], Fri May 14 21:33:41 1999 UTC (24 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.52: +19 -9 lines
Diff to previous 1.52 (colored)

Fix compilation problem caused by recent changes to filtering code.

Revision 1.52 / (download) - annotate - [select for diffs], Wed May 12 18:50:51 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +41 -37 lines
Diff to previous 1.51 (colored)

Decouple inbound and outbound filters.  Now instead of using "active-filter"
and "pass-filter" and "inbound" and "outbound" qualifiers in the filter
expression, use new "active-filter-in", "active-filter-out", "pass-filter-in",
and "pass-filter-out" without these qualifiers.

This is necessary due to the horrible, awful way "inbound" and "outbound"
were specified for the filter programs when a packet was passed through them.
Basically, the "address" byte in the serial PPP header was overwritten with
a value to indicate the direction.  However, the "address" byte doesn't even
exist on PPP headers for all other PPP encaps!  So, this old method worked
only for serial encaps, and corrupted packets for all others (PPPoE, ATM, etc.)

Revision 1.51 / (download) - annotate - [select for diffs], Tue May 11 02:18:52 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +10 -10 lines
Diff to previous 1.50 (colored)

* Start out with a data link type of DLT_NULL.  When we change an interface
to serial encap, change its data link type to DLT_PPP_SERIAL.
* Work around some serious bogosity in the filtering code which utterly
breaks proper functioning of BPF.  The PPP code and pppd(8) WILL be changed
to fix this.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jan 9 21:47:09 1999 UTC (25 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Branch point for: kame, chs-ubc2
Changes since 1.49: +6 -6 lines
Diff to previous 1.49 (colored)

Use M_LINK{0,1} for our own mbuf flags, rather than arbitrarily picking
2 bits.

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Fri Dec 11 04:53:05 1998 UTC (25 years, 2 months ago) by kenh
Branch: kenh-if-detach
Changes since 1.47: +61 -24 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

The beginnings of interface detach support.  Still some bugs, but mostly
works for me.

This work was originally by Bill Studenmund, and cleaned up by me.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 10 17:48:40 1998 UTC (25 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.48: +6 -50 lines
Diff to previous 1.48 (colored)

Revert IPX changes that I committed accidentally.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 10 11:01:01 1998 UTC (25 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.47: +51 -6 lines
Diff to previous 1.47 (colored)

defopt

Revision 1.47 / (download) - annotate - [select for diffs], Thu Sep 3 14:12:36 1998 UTC (25 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: kenh-if-detach-base, chs-ubc-base, chs-ubc
Branch point for: kenh-if-detach
Changes since 1.46: +21 -5 lines
Diff to previous 1.46 (colored)

PR/5414: Ronald Khoo: tcpdump ppp does not respect inbound/outbound qualifiers.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Aug 2 15:09:50 1998 UTC (25 years, 7 months ago) by sommerfe
Branch: MAIN
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored)

Fix PR5898: ppp delays last packet.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jul 9 22:30:01 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.44: +6 -1 lines
Diff to previous 1.44 (colored)

Glue in fast forwarding.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jul 8 18:05:48 1998 UTC (25 years, 8 months ago) by sommerfe
Branch: MAIN
Changes since 1.43: +10 -6 lines
Diff to previous 1.43 (colored)

Only run pppasyncstart (sc->sc_start) from the netisr handler.
This allows pppoutput to be called from splimp (e.g., when ipflow is
in use.) without requiring pppasyncstart to run at splimp.
This is believed to fix PR5624.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jul 6 13:51:32 1998 UTC (25 years, 8 months ago) by jtk
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

use #ifdef INET so this compiles again

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jul 5 00:51:26 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

defopt INET, NETATALK.

Revision 1.41 / (download) - annotate - [select for diffs], Sat May 2 14:34:24 1998 UTC (25 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Merge changes from pppd-2.3.4; adds ppp-deflate-draft stuff and updates
zlib. Maybe we can merge our other copy of zlib with this one now and
avoid having two copies?

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jun 16 17:01:36 1997 UTC (26 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

From Paul Mackerras: use sl_compress_setup, not sl_compress_init

Revision 1.39 / (download) - annotate - [select for diffs], Sat May 17 21:11:59 1997 UTC (26 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Update to ppp-2.3b5

Revision 1.38 / (download) - annotate - [select for diffs], Wed Apr 16 12:54:42 1997 UTC (26 years, 10 months ago) by is
Branch: MAIN
Changes since 1.37: +1 -3 lines
Diff to previous 1.37 (colored)

Made pppoutput() public again on behalf of Martin Husemann (PR 3455).
Apparently, the BISDN package uses this function.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Mar 12 20:26:50 1997 UTC (26 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.36: +100 -75 lines
Diff to previous 1.36 (colored)

Update to ppp-2.3b4; from Paul Mackerras

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Wed Mar 12 15:56:58 1997 UTC (26 years, 11 months ago) by is
Branch: is-newarp
Changes since 1.35: +15 -15 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Merge in changes from The Trunk

Revision 1.36 / (download) - annotate - [select for diffs], Tue Mar 4 21:40:07 1997 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.35: +15 -15 lines
Diff to previous 1.35 (colored)

Use splimp() to block interrupts, not splhigh().

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Wed Dec 11 03:43:51 1996 UTC (27 years, 2 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.31: +1 -4 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

From trunk:
Eliminate SS_PRIV; instead, pass down a proc pointer to the usrreq methods
that need it.
Fix numerous memory leaks and bogus return values.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Oct 13 02:11:03 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.34: +14 -14 lines
Diff to previous 1.34 (colored)

backout previous kprintf change

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 10 22:59:48 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.33: +21 -21 lines
Diff to previous 1.33 (colored)

- printf -> kprintf, sprintf -> ksprintf

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jun 13 21:50:32 1996 UTC (27 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.32: +1 -5 lines
Diff to previous 1.32 (colored)

no need for a local implementation of SIOCGIFMTU; delete it.

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 22 13:55:10 1996 UTC (27 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.31: +1 -4 lines
Diff to previous 1.31 (colored)

Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
PRU_CONTROL.  The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.

Revision 1.31 / (download) - annotate - [select for diffs], Tue May 7 02:40:36 1996 UTC (27 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.30: +24 -23 lines
Diff to previous 1.30 (colored)

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 19 01:00:49 1996 UTC (27 years, 11 months ago) by paulus
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Make inclusion of the PPP BSD-Compress and Deflate compressors
dependent on the PPP_BSDCOMP and PPP_DEFLATE kernel configuration
options, respectively.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Mar 15 02:28:03 1996 UTC (27 years, 11 months ago) by paulus
Branch: MAIN
Changes since 1.28: +176 -43 lines
Diff to previous 1.28 (colored)

Added packet filtering, support for "PPP Deflate" packet compression,
trivial multicast support, and support for xon/xoff output flow
control to the PPP subsystem.  Fixed several bugs, including making
the accumulation and resetting of statistics more consistent.  State
for the VJ compressor is now dynamically allocated.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Feb 13 22:00:18 1996 UTC (28 years ago) by christos
Branch: MAIN
Changes since 1.27: +15 -25 lines
Diff to previous 1.27 (colored)

Net prototypes

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 7 12:43:41 1996 UTC (28 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.26: +9 -6 lines
Diff to previous 1.26 (colored)

wrt. previous change: can't compute `ilen' that early; just do computation
separately when logging.
Notes: consider using mbuf pkthdr length field in PPP code.
       condider doing packet log after de-compression.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 7 10:25:58 1996 UTC (28 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored)

Init variable before use (PRs 1646 & 2042).

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 27 06:30:38 1995 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +1 -17 lines
Diff to previous 1.24 (colored)

Remove old workaround for a bug.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 5 05:55:09 1995 UTC (28 years, 5 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.23: +13 -10 lines
Diff to previous 1.23 (colored)

Add some missing statistics.  From Thorsten Lockert.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Aug 12 23:59:21 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +1 -6 lines
Diff to previous 1.22 (colored)

splnet --> splsoftnet

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jul 4 06:28:20 1995 UTC (28 years, 8 months ago) by paulus
Branch: MAIN
Changes since 1.21: +787 -981 lines
Diff to previous 1.21 (colored)

Latest version of PPP stuff, with packet compression and other
improvements.  The PPP kernel code is now split into if_ppp.c,
containing generic PPP support, and ppp_tty.c, which specifically
supports PPP on async tty devices (as a line discipline).  This is
so that other devices can be supported without making them look
like ttys.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 8 02:56:58 1995 UTC (29 years ago) by cgd
Branch: MAIN
Changes since 1.20: +11 -11 lines
Diff to previous 1.20 (colored)

fixed sized types, where appropriate.  when casting pointers to
integers to do math on them, cast to long.  ioctl commands are
u_longs.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 30 21:48:52 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.19: +6 -5 lines
Diff to previous 1.19 (colored)

be more careful with types, also pull in headers where necessary.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Thu Jul 28 05:17:58 1994 UTC (29 years, 7 months ago) by cgd
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Changes since 1.15.2.1: +2 -1 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

from trunk

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 27 09:05:33 1994 UTC (29 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

bug 367. paulus says the fix is right & critical.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Jul 20 02:56:01 1994 UTC (29 years, 7 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.15: +50 -40 lines
Diff to previous 1.15 (colored)

update from trunk, to fix serious ppp lossage.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 20 01:49:20 1994 UTC (29 years, 7 months ago) by paulus
Branch: MAIN
Changes since 1.17: +16 -10 lines
Diff to previous 1.17 (colored)

The ppp interface now retries the mbuf allocation when it receives
a character and it doesn't already have enough space allocated.
It still needs cluster mbufs to be able to decompress VJ-compressed
packets.  It drops packets if it can't allocate mbufs rather than
taking the interface down.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 20 01:40:11 1994 UTC (29 years, 7 months ago) by paulus
Branch: MAIN
Changes since 1.16: +40 -45 lines
Diff to previous 1.16 (colored)

Due to popular revulsion, the ppp interface now drops packets if

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jul 18 23:45:33 1994 UTC (29 years, 7 months ago) by paulus
Branch: MAIN
Changes since 1.15: +12 -3 lines
Diff to previous 1.15 (colored)

If we can't get mbuf clusters, take the ppp interface down instead
of writing beyond the end of ordinary mbufs.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 3 06:44:03 1994 UTC (29 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

bug #319. fix from <alasdair@wildcat.demon.co.uk>

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 29 06:36:16 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 20 00:35:39 1994 UTC (29 years, 8 months ago) by paulus
Branch: MAIN
Changes since 1.12: +84 -127 lines
Diff to previous 1.12 (colored)

Some restructuring of the PPP packet input procedure to make it easier
to implement PPP over sync lines and PPP compression protocols.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 14 03:09:23 1994 UTC (29 years, 8 months ago) by paulus
Branch: MAIN
Changes since 1.11: +7 -4 lines
Diff to previous 1.11 (colored)

some minor splx-type bug fixes from christos@deshaw.com.

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 29 23:44:23 1994 UTC (29 years, 9 months ago) by paulus
Branch: MAIN
Changes since 1.10: +4 -5 lines
Diff to previous 1.10 (colored)

check for escaped char before checking for escape char
so if peer escapes 0x5d we interpret it correctly

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 24 02:33:56 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

MIN -> min, MAX -> max

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 13 06:02:48 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +7 -6 lines
Diff to previous 1.8 (colored)

Update to 4.4-Lite networking code, with a few local changes.

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 8 12:33:49 1994 UTC (29 years, 10 months ago) by paulus
Branch: MAIN
Changes since 1.7: +502 -347 lines
Diff to previous 1.7 (colored)

Version from ppp-2.1 release;
this version has been restructured to make more of the code usable
with sync serial drivers

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 25 05:56:06 1994 UTC (30 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.6: +24 -24 lines
Diff to previous 1.6 (colored)

PPP_HEADER_LEN -> PPP_HDRLEN

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 23 07:36:06 1993 UTC (30 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

include <machine/cpu.h> rather than <machine/mtpr.h> -- if the latter
exists at all, it's supposed to be included by <machine/cpu.h>

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 18 00:40:54 1993 UTC (30 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +25 -24 lines
Diff to previous 1.4 (colored)

Canonicalize all #includes.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Sun Nov 14 20:19:58 1993 UTC (30 years, 3 months ago) by mycroft
Branch: magnum
Changes since 1.3.2.3: +27 -30 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Canonicalize all #includes.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 4 03:45:23 1993 UTC (30 years, 4 months ago) by paulus
Branch: MAIN
Changes since 1.3: +11 -6 lines
Diff to previous 1.3 (colored)

Removed test (CCOUNT(&sc->sc_ttyp->t_outq) == 0) for whether
to call pppstart or not: now we call pppstart for every packet,
which should aid recovery from lost transmitter interrupts.
Also a fix for 386BSD/FreeBSD which doesn't affect NetBSD.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Wed Oct 27 01:42:19 1993 UTC (30 years, 4 months ago) by mycroft
Branch: magnum
Changes since 1.3.2.2: +4 -1 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

Call pppstart() redundantly.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Oct 16 10:49:27 1993 UTC (30 years, 4 months ago) by mycroft
Branch: magnum
Changes since 1.3.2.1: +1 -2 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Nuke references to machine/mtpr.h.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:53:59 1993 UTC (30 years, 5 months ago) by mycroft
Branch: magnum
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Make all files using spl*() #include cpu.h.  Changes from trunk.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 2 12:10:59 1993 UTC (30 years, 6 months ago) by paulus
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.2: +67 -54 lines
Diff to previous 1.2 (colored)

Fixed bug in if_ppp.c so that received IP packets are passed correctly to BPF.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 31 00:05:27 1993 UTC (30 years, 6 months ago) by paulus
Branch: MAIN
Changes since 1.1: +322 -157 lines
Diff to previous 1.1 (colored)

Modified if_ppp.c and if_ppp.h to add priority queueing for "interactive"
traffic (done in a similar fashion to if_sl.c), and BPF support.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Aug 14 06:38:37 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN

ppp from paul mackerras

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>