CVS log for src/sys/net/if_ppp.c
Up to [cvs.NetBSD.org] / src / sys / net
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.173: download - view: text, markup, annotated - select for diffs
Fri Jul 5 04:31:53 2024 UTC (4 months, 3 weeks ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +4 -6
lines
sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
Revision 1.172.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 16 04:30:22 2023 UTC (12 months, 2 weeks ago) by thorpej
Branches: thorpej-ifq
Diff to: previous 1.172.8.1: preferred, colored; branchpoint 1.172: preferred, colored; next MAIN 1.173: preferred, colored
Changes since revision 1.172.8.1: +3 -3
lines
IFQ_CLASSIFY() -> ifq_classify_packet().
Revision 1.172.8.1: download - view: text, markup, annotated - select for diffs
Wed Nov 15 02:08:34 2023 UTC (12 months, 2 weeks ago) by thorpej
Branches: thorpej-ifq
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +4 -4
lines
Rename ifq_enqueue() -> if_enqueue(), ifq_enqueue2() -> if_enqueue2().
Revision 1.172: download - view: text, markup, annotated - select for diffs
Sat Sep 3 02:47:59 2022 UTC (2 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
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
Branch point for: thorpej-ifq
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +2 -3
lines
Garbage-collect the remaining vestiges of netisr.
Revision 1.171: download - view: text, markup, annotated - select for diffs
Sat Aug 27 19:15:00 2022 UTC (2 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +6 -2
lines
Ensure that all queues passed to ifq_enqueue2() have a valid ifq_lock.
Revision 1.170: download - view: text, markup, annotated - select for diffs
Sat Aug 27 19:04:43 2022 UTC (2 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +6 -5
lines
Consistently use IFQ_SET_MAXLEN(), rather than open-coding it. NFC.
Revision 1.169: download - view: text, markup, annotated - select for diffs
Wed Jul 6 08:07:23 2022 UTC (2 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +4 -2
lines
net/if_ppp.c: Avoid user-controlled overrun in PPPIOCSCOMPRESS.
Reported-by: syzbot+2c7bda7dc2b6c0d4f279@syzkaller.appspotmail.com
Revision 1.168: download - view: text, markup, annotated - select for diffs
Wed Jul 6 08:06:59 2022 UTC (2 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +76 -64
lines
net/if_ppp.c: Sprinkle KNF. No functional change intended.
Revision 1.161.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:15 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.161.2.2: preferred, colored; branchpoint 1.161: preferred, colored; next MAIN 1.162: preferred, colored
Changes since revision 1.161.2.2: +2 -16
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.161.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:57 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.161.2.1: preferred, colored; branchpoint 1.161: preferred, colored
Changes since revision 1.161.2.1: +10 -13
lines
Merge changes from current as of 20200406
Revision 1.166.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:06 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.166: preferred, colored; next MAIN 1.167: preferred, colored
Changes since revision 1.166: +10 -13
lines
Sync with head.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Jan 29 04:28:27 2020 UTC (4 years, 10 months ago) by thorpej
Branches: 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
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +10 -13
lines
Adopt <net/if_stats.h>.
Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Sep 20 08:45:29 2019 UTC (5 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -16
lines
dedup
Revision 1.165: download - view: text, markup, annotated - select for diffs
Tue Jun 25 12:30:50 2019 UTC (5 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: netbsd-9-base,
netbsd-9-4-RELEASE,
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
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +3 -4
lines
Simplify "LIST_HEAD();" to make the code more understandable.
No functional change.
Revision 1.161.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:45 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +25 -19
lines
Sync with HEAD
Revision 1.159.2.4: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:36 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.159.2.3: preferred, colored; branchpoint 1.159: preferred, colored; next MAIN 1.160: preferred, colored
Changes since revision 1.159.2.3: +23 -20
lines
Sync with HEAD
Revision 1.164: download - view: text, markup, annotated - select for diffs
Fri Jan 25 08:51:29 2019 UTC (5 years, 10 months ago) by knakahara
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +23 -20
lines
Add __cacheline_aligned to ppp softc list and its mutex just in case.
Revision 1.159.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:58 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.159.2.2: preferred, colored; branchpoint 1.159: preferred, colored
Changes since revision 1.159.2.2: +5 -2
lines
Synch with HEAD
Revision 1.158.8.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 15:55:01 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.158.8.1: preferred, colored; branchpoint 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158.8.1: +5 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 11 02:57:21 2019 UTC (5 years, 10 months ago) by knakahara
Branches: MAIN
CVS tags: pgoyette-compat-20190118
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +4 -2
lines
Fix missing splx in ppp_inproc().
Revision 1.162: download - view: text, markup, annotated - select for diffs
Fri Jan 11 02:55:41 2019 UTC (5 years, 10 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +3 -2
lines
Fix missing mutex_exit in ppp_create().
Revision 1.159.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:10 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.159.2.1: preferred, colored; branchpoint 1.159: preferred, colored
Changes since revision 1.159.2.1: +4 -4
lines
Sync with HEAD
Revision 1.158.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 26 23:55:31 2018 UTC (6 years, 4 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +2 -6
lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:02 2018 UTC (6 years, 5 months ago) by msaitoh
Branches: 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
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:06 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -6
lines
Sync with HEAD
Revision 1.160: download - view: text, markup, annotated - select for diffs
Mon Jun 25 04:59:42 2018 UTC (6 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -6
lines
Remove duplicated inclusion of net/bpf.h.
Revision 1.136.12.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:02 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.136.12.3: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.12.3: +73 -17
lines
update from HEAD
Revision 1.159: download - view: text, markup, annotated - select for diffs
Sun Sep 17 20:39:04 2017 UTC (7 years, 2 months ago) by christos
Branches: 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
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +4 -2
lines
Add one more not supported error
Revision 1.152.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:20 2016 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152: +3 -5
lines
Sync with HEAD
Revision 1.146.4.6: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:08 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.146.4.5: preferred, colored; branchpoint 1.146: preferred, colored; next MAIN 1.147: preferred, colored
Changes since revision 1.146.4.5: +63 -11
lines
Sync with HEAD
Revision 1.158: download - view: text, markup, annotated - select for diffs
Sun Oct 2 14:17:07 2016 UTC (8 years, 2 months ago) by christos
Branches: 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
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +3 -3
lines
MFREE -> m_free
Revision 1.157: download - view: text, markup, annotated - select for diffs
Sun Aug 7 17:38:34 2016 UTC (8 years, 3 months ago) by christos
Branches: MAIN
CVS tags: localcount-20160914
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +11 -63
lines
modularize some more drivers and merge the module glue
Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Aug 6 22:54:34 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 6 12:48:23 2016 UTC (8 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +6 -4
lines
make strip and slip modular, and cosmetic for ppp.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Sat Aug 6 12:42:40 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 6 02:35:06 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +109 -9
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:21 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.146.4.4: preferred, colored; branchpoint 1.146: preferred, colored
Changes since revision 1.146.4.4: +3 -3
lines
Sync with HEAD
Revision 1.152: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:16 2016 UTC (8 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun May 29 08:44:38 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.146.4.3: preferred, colored; branchpoint 1.146: preferred, colored
Changes since revision 1.146.4.3: +3 -3
lines
Sync with HEAD
Revision 1.151: download - view: text, markup, annotated - select for diffs
Thu Apr 28 00:16:56 2016 UTC (8 years, 7 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:17 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.146.4.2: preferred, colored; branchpoint 1.146: preferred, colored
Changes since revision 1.146.4.2: +5 -8
lines
Sync with HEAD
Revision 1.150: download - view: text, markup, annotated - select for diffs
Wed Apr 20 09:01:04 2016 UTC (8 years, 7 months ago) by knakahara
Branches: MAIN
CVS tags: nick-nhusb-base-20160422
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +5 -8
lines
IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE caller
Revision 1.146.4.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:10 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.146.4.1: preferred, colored; branchpoint 1.146: preferred, colored
Changes since revision 1.146.4.1: +9 -5
lines
Sync with HEAD
Revision 1.149: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:21:26 2015 UTC (9 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +4 -2
lines
sprinkle _KERNEL_OPT
Revision 1.148: download - view: text, markup, annotated - select for diffs
Thu Aug 20 11:18:53 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +5 -3
lines
Honor pseudo attach decl generated by config(1).
Revision 1.146.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:25 2015 UTC (9 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +3 -2
lines
Sync with HEAD
Revision 1.147: download - view: text, markup, annotated - select for diffs
Mon Apr 20 10:19:54 2015 UTC (9 years, 7 months ago) by roy
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +3 -2
lines
Introduce p2p_rtrequest() so that IFF_POINTOPOINT interfaces can work
with RTF_LOCAL.
Fixes PR kern/49829.
Revision 1.136.12.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:34 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.136.12.2: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.12.2: +1195 -1157
lines
Rebase to HEAD as of a few days ago.
Revision 1.141.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:15 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141: +1195 -1157
lines
Rebase.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Tue Jul 1 15:03:58 2014 UTC (10 years, 5 months ago) by msaitoh
Branches: 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
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +1195 -1171
lines
KNF. No functional change.
Revision 1.145: download - view: text, markup, annotated - select for diffs
Mon Jun 30 12:56:51 2014 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +6 -12
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 5 23:48:16 2014 UTC (10 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +23 -7
lines
- 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 - view: text, markup, annotated - select for diffs
Thu May 22 11:41:09 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.136.2.2: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.2.2: +10 -10
lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:46:12 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +16 -12
lines
sync with head
Revision 1.143: download - view: text, markup, annotated - select for diffs
Sat May 17 14:51:09 2014 UTC (10 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +5 -3
lines
ppp_inproc: handle non-IP protocols correctly (hi msaitoh); PR/48813.
Revision 1.142: download - view: text, markup, annotated - select for diffs
Thu May 15 09:23:03 2014 UTC (10 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +6 -4
lines
Save a NETISR_* value in a variable and call schednetisr() after enqueue
a packet for readability and future modification.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Wed Sep 18 23:34:55 2013 UTC (11 years, 2 months ago) by rmind
Branches: 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
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +6 -6
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 30 15:00:08 2013 UTC (11 years, 3 months ago) by rmind
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +6 -6
lines
bpf_filter: add a custom argument which can be passed to coprocessor routine.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu Aug 29 14:25:41 2013 UTC (11 years, 3 months ago) by rmind
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +10 -10
lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:01 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.136.12.1: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.12.1: +3 -3
lines
resync with head
Revision 1.136.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:48 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.136.2.1: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.1: +3 -3
lines
sync with (a bit old) head
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sun Nov 25 09:06:43 2012 UTC (12 years ago) by mbalmer
Branches: 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
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:47 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.136.8.1: download - view: text, markup, annotated - select for diffs
Wed Oct 31 16:07:46 2012 UTC (12 years, 1 month ago) by riz
Branches: 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
Diff to: previous 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:43 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3
lines
sync with head
Revision 1.137: download - view: text, markup, annotated - select for diffs
Thu Oct 11 20:05:50 2012 UTC (12 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base6
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3
lines
PR/47058: Antti Kantee: If the ipv6 flow code modifies the mbuf, pass the
change up to the caller.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Fri Oct 28 22:08:14 2011 UTC (13 years, 1 month ago) by dyoung
Branches: 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
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +2 -18
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 28 20:13:32 2011 UTC (13 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +2 -9
lines
Don't kauth-orize SIOCSIFMTU in pppsioctl() and stf_ioctl(), ifioctl()
has already done that for us.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Aug 7 13:51:37 2011 UTC (13 years, 3 months ago) by rmind
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +13 -14
lines
Convert ppp_list_lock to mutex(9).
Revision 1.132.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:52 2011 UTC (13 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132: +3 -3
lines
Sync with HEAD.
Revision 1.130.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:13 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.130.4.2: preferred, colored; branchpoint 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130.4.2: +1 -1
lines
sync with head
Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Apr 2 08:11:32 2011 UTC (13 years, 8 months ago) by mbalmer
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -3
lines
Fix misplaced parenthesis. From henning.petersen@t-online.de, thanks.
Revision 1.130.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:51 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.130.4.1: preferred, colored; branchpoint 1.130: preferred, colored
Changes since revision 1.130.4.1: +4 -4
lines
sync with head
Revision 1.130.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:38 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.130.2.1: preferred, colored; branchpoint 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130.2.1: +2 -2
lines
Sync with HEAD (-D20101022).
Revision 1.122.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:36 2010 UTC (14 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.122.2.3: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.2.3: +4 -4
lines
sync with head
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Aug 21 13:19:40 2010 UTC (14 years, 3 months ago) by pgoyette
Branches: 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
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +4 -4
lines
Update the rest of the kernel to conform to the module subsystem's new
locking protocol.
Revision 1.122.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:54 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.122.2.2: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.2: +6 -8
lines
sync with head.
Revision 1.130.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:18:01 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +6 -8
lines
sync with head
Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:19 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +6 -8
lines
Sync with HEAD.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:22:23 2010 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base10,
uebayasi-xip-base2,
uebayasi-xip-base1
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +6 -8
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:27 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.122.2.1: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.1: +6 -19
lines
sync with head
Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:08:01 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +6 -19
lines
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 - view: text, markup, annotated - select for diffs
Wed May 13 17:22:19 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +4 -4
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.122.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:15 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +217 -92
lines
sync with head.
Revision 1.123.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:16 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.123.4.2: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.4.2: +4 -4
lines
Sync with HEAD.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Wed Apr 15 20:44:25 2009 UTC (15 years, 7 months ago) by elad
Branches: 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
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 3 18:33:38 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.123.4.1: preferred, colored; branchpoint 1.123: preferred, colored
Changes since revision 1.123.4.1: +10 -2
lines
Sync with HEAD.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Mon Jan 19 15:16:34 2009 UTC (15 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +10 -2
lines
ppp_get_compressor: take module_lock when trying to load a module. PR/40428
Revision 1.123.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:11 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +206 -88
lines
Sync with HEAD.
Revision 1.121.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:31 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.121.6.2: preferred, colored; branchpoint 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121.6.2: +204 -86
lines
Sync with HEAD.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:36 2008 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +11 -12
lines
kill MALLOC and FREE macros.
Revision 1.123.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:25 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +197 -78
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Sat Nov 29 23:15:20 2008 UTC (16 years ago) by cube
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +79 -33
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 25 02:40:36 2008 UTC (16 years ago) by cube
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +138 -64
lines
Rework the way PPP compmressors are handled and allow them to be
automatically loaded when needed.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Fri Nov 7 00:20:13 2008 UTC (16 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +14 -15
lines
*** 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 - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:18 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.121.6.1: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.6.1: +1 -2
lines
Sync with HEAD.
Revision 1.122.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:58 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122: +3 -4
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.122.6.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:33:50 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122: +3 -4
lines
Sync with head.
Revision 1.121.8.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:15:13 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.121.8.1: preferred, colored; branchpoint 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121.8.1: +3 -4
lines
sync with head.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Jun 15 16:37:21 2008 UTC (16 years, 5 months ago) by christos
Branches: 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
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +3 -4
lines
- 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 - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:22 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +5 -2
lines
Sync with HEAD.
Revision 1.121.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:27 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +5 -2
lines
sync with head.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:38:37 2008 UTC (16 years, 7 months ago) by ad
Branches: 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
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +5 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:05 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.116.8.2: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.8.2: +5 -6
lines
sync with HEAD
Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:01 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +6 -6
lines
Sync with HEAD.
Revision 1.101.2.7: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:59 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.101.2.6: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.6: +5 -6
lines
sync with head.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Feb 7 01:22:01 2008 UTC (16 years, 9 months ago) by dyoung
Branches: 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
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +5 -6
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:05 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.101.2.5: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.5: +3 -2
lines
sync with head
Revision 1.116.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:12 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.116.8.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.8.1: +3 -2
lines
sync with HEAD
Revision 1.119.8.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:48 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +3 -2
lines
Sync with HEAD
Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Jan 4 21:18:15 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 23:33:32 2007 UTC (17 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +10 -11
lines
sync with HEAD
Revision 1.101.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:02 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.101.2.4: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.4: +8 -9
lines
sync with head.
Revision 1.116.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:49:02 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.116.6.1: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.6.1: +8 -9
lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 25 22:40:07 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +3 -3
lines
Sync with HEAD.
Revision 1.114.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:17:17 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.114.2.5: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.2.5: +3 -3
lines
Sync with head.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:16:44 2007 UTC (17 years, 1 month ago) by ad
Branches: 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
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:59 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117: +7 -8
lines
sync with head.
Revision 1.114.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:22:26 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.114.2.4: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.4: +4 -4
lines
Sync with head.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon Oct 8 16:18:05 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +7 -8
lines
Use the softint API.
Revision 1.116.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:56 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +4 -4
lines
Sync with HEAD.
Revision 1.101.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:42:09 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.101.2.3: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.3: +14 -37
lines
sync with head.
Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:23:10 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +4 -4
lines
Sync with HEAD.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Sep 1 04:32:50 2007 UTC (17 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 15 15:52:59 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.114.2.3: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.3: +2 -14
lines
Sync with head.
Revision 1.114.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:53 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.114.2.2: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.2: +2 -17
lines
Sync with head.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Jul 14 21:02:40 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
matt-armv6,
jmcneill-pm
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -29
lines
Generic soft interrupts are mandatory.
Revision 1.114.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:10:58 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +3 -3
lines
Sync with head.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:11:00 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 1 21:50:44 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.114.2.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.1: +3 -3
lines
Adapt to callout API change.
Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:31:50 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +7 -8
lines
- 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 - view: text, markup, annotated - select for diffs
Mon Mar 12 05:59:12 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.111.4.1: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.4.1: +11 -7
lines
Sync with HEAD.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Mar 7 22:20:05 2007 UTC (17 years, 9 months ago) by liamjfoy
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +6 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:16 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +7 -7
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.111.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:43 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.101.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:35 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.101.2.2: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.2: +3 -3
lines
sync with head.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:34:08 2007 UTC (17 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:20 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.1: +31 -19
lines
sync with head.
Revision 1.108.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:00 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.108.6.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.6.1: +19 -11
lines
sync with head.
Revision 1.108.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:29 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +19 -11
lines
Sync with head.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:40 2006 UTC (18 years ago) by christos
Branches: 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
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -4
lines
__unused removal on arguments; approved by core.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Wed Oct 25 20:28:45 2006 UTC (18 years, 1 month ago) by elad
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +17 -9
lines
Kill some KAUTH_GENERIC_ISSUSER uses.
Revision 1.108.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:24 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +5 -5
lines
sync with head
Revision 1.109: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:28 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +5 -5
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.105.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:06 2006 UTC (18 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +29 -25
lines
sync with head
Revision 1.105.6.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:46:14 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.105.6.2: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.6.2: +22 -18
lines
sync with head
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:12 2006 UTC (18 years, 4 months ago) by ad
Branches: 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
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +22 -18
lines
Use the LWP cached credentials where sane.
Revision 1.105.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:53:39 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.105.6.1: preferred, colored; branchpoint 1.105: preferred, colored
Changes since revision 1.105.6.1: +8 -9
lines
sync with head.
Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:27 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +62 -69
lines
sync with head.
Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:09:12 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +8 -9
lines
Sync with head.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:42 2006 UTC (18 years, 5 months ago) by kardel
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +8 -9
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 1 22:38:37 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.105.4.1: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.4.1: +10 -9
lines
Sync with head.
Revision 1.105.10.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:44 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +8 -7
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.105.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:56 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +10 -9
lines
sync with head.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun May 14 21:19:33 2006 UTC (18 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +8 -7
lines
integrate kauth.
Revision 1.105.8.3: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:58 2006 UTC (18 years, 7 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.105.8.2: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.8.2: +3 -2
lines
- 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 - view: text, markup, annotated - select for diffs
Fri Mar 10 15:05:22 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.105.8.1: preferred, colored; branchpoint 1.105: preferred, colored
Changes since revision 1.105.8.1: +9 -9
lines
generic_authorize() -> kauth_authorize_generic().
Revision 1.105.8.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:11:55 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +9 -9
lines
Adapt to kernel authorization KPI.
Revision 1.105.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:18:52 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +8 -9
lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 15 10:02:57 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +3 -3
lines
sync with head.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Jan 2 01:42:36 2006 UTC (18 years, 11 months ago) by yamt
Branches: 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
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3
lines
ppp_dequeue: fix a mbuf leak/packet loss introduced by rev.1.104.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Dec 28 08:13:24 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +18 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 11 23:05:25 2005 UTC (18 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +27 -53
lines
ANSI function decls and application of static.
Revision 1.84.2.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:19 2005 UTC (18 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.84.2.7: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.7: +7 -2
lines
Sync with head.
Revision 1.101.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:29 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +7 -2
lines
sync with head.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Nov 27 05:35:52 2005 UTC (19 years ago) by thorpej
Branches: MAIN
CVS tags: yamt-readahead-base3,
ktrace-lwp-base
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +7 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 10 14:10:32 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.6: preferred, colored
Changes since revision 1.84.2.6: +9 -10
lines
Sync with HEAD. Here we go again...
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun May 29 21:22:52 2005 UTC (19 years, 6 months ago) by christos
Branches: 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
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +7 -7
lines
- sprinkle const
- remove unneeded casts
- use more mem*() instead of b*() funcs.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue May 17 04:14:58 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -5
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:31 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +12 -41
lines
sync with -current
Revision 1.84.2.6: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:31:34 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.5: preferred, colored
Changes since revision 1.84.2.5: +8 -37
lines
Sync with HEAD.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Mar 31 21:19:35 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -8
lines
no point in assigning to ifq twice.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Mar 31 17:07:39 2005 UTC (19 years, 8 months ago) by explorer
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 31 15:48:13 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +9 -36
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:31 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +6 -6
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.84.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:52:58 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.4: preferred, colored
Changes since revision 1.84.2.4: +6 -6
lines
Sync with HEAD.
Hi Perry!
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:45:09 2005 UTC (19 years, 9 months ago) by perry
Branches: 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
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +6 -6
lines
nuke trailing whitespace
Revision 1.84.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:32:50 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.3: preferred, colored
Changes since revision 1.84.2.3: +132 -48
lines
Sync with HEAD.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Dec 5 15:03:13 2004 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -3
lines
pasto: simple_lock -> simple_unlock.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Dec 5 15:00:47 2004 UTC (20 years ago) by peter
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +5 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 5 13:32:03 2004 UTC (20 years ago) by he
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3
lines
Fix an obvious typo: scf -> sc. Discovered while compiling for x68k.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Dec 5 05:42:19 2004 UTC (20 years ago) by christos
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3
lines
void in arg prototype.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Dec 5 04:15:16 2004 UTC (20 years ago) by christos
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +128 -47
lines
Make ppp a cloning device. Based on the work of Quentin Garnier.
Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:36:38 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.2: preferred, colored
Changes since revision 1.84.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:16 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.1: preferred, colored
Changes since revision 1.84.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:15 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +29 -19
lines
Sync with HEAD
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Jul 3 18:11:33 2004 UTC (20 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +9 -18
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 21 18:40:39 2004 UTC (20 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3
lines
kill sprintf, use snprintf
Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Oct 28 20:16:28 2003 UTC (21 years, 1 month ago) by mycroft
Branches: 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
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -2
lines
Also, if we're going to bail, we should free the memory we just allocated...
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Oct 28 20:15:19 2003 UTC (21 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -4
lines
Previous patch created a dead break.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:29:12 2003 UTC (21 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +6 -2
lines
Fix uninitialized variable warnings
Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Sep 1 16:51:25 2003 UTC (21 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +17 -2
lines
Add a new ioctl PPPIOCGRAWIN to get the last characters we got from the
remote site.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri May 2 03:15:24 2003 UTC (21 years, 7 months ago) by itojun
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3
lines
KNF
Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Mar 27 17:50:28 2003 UTC (21 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3
lines
PR/20844: Iain Hibbert: PPP Compressors cannot be loaded as LKM
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Jan 19 23:44:03 2003 UTC (21 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -4
lines
Remove variable that is only assigned too but not referenced.
Revision 1.69.2.8: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:43:45 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.69.2.7: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.7: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 2 02:27:54 2002 UTC (22 years, 2 months ago) by itojun
Branches: 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
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +19 -15
lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 25 23:24:37 2002 UTC (22 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -3
lines
Remove unused variable so the file compiles again.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Sep 25 16:10:15 2002 UTC (22 years, 2 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +15 -18
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 08:48:55 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.69.2.6: preferred, colored
Changes since revision 1.69.2.6: +38 -22
lines
sync kqueue branch with HEAD
Revision 1.67.2.10: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:46:39 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.67.2.9: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.9: +38 -22
lines
Catch up to -current.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:36:48 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +38 -22
lines
catch up with -current.
Revision 1.67.2.9: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:29 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67.2.8: preferred, colored
Changes since revision 1.67.2.8: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Jul 1 22:09:31 2002 UTC (22 years, 5 months ago) by itojun
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +38 -22
lines
new copyright boilerplate from CMU. from openbsd
Revision 1.67.2.8: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:11:32 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67.2.7: preferred, colored
Changes since revision 1.67.2.7: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 17:50:25 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.69.2.5: preferred, colored
Changes since revision 1.69.2.5: +5 -3
lines
catch up with -current on kqueue branch
Revision 1.67.2.7: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:48:15 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67.2.6: preferred, colored
Changes since revision 1.67.2.6: +4 -2
lines
Catch up to -current.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun May 12 20:38:15 2002 UTC (22 years, 6 months ago) by matt
Branches: 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
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -2
lines
Make ppp_softc[] extern and declare in if_ppp.c
Revision 1.67.2.6: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:48:21 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67.2.5: preferred, colored
Changes since revision 1.67.2.5: +25 -3
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Mar 17 19:41:10 2002 UTC (22 years, 8 months ago) by atatat
Branches: MAIN
CVS tags: eeh-devprop-base,
eeh-devprop
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 16 16:02:06 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.69.2.4: preferred, colored
Changes since revision 1.69.2.4: +24 -2
lines
Catch up with -current.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Mar 5 04:13:01 2002 UTC (22 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: newlock-base,
newlock
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +24 -2
lines
bring in latest ALTQ from kjc. ALTQify some of the drivers.
Revision 1.67.2.5: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:15:00 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67.2.4: preferred, colored
Changes since revision 1.67.2.4: +2 -4
lines
Catch up to -current.
Revision 1.69.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:10:28 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.69.2.3: preferred, colored
Changes since revision 1.69.2.3: +2 -4
lines
Sync w/ -current.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Jan 14 18:19:15 2002 UTC (22 years, 10 months ago) by kleink
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -4
lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 10 20:02:08 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.69.2.2: preferred, colored
Changes since revision 1.69.2.2: +4 -5
lines
Sync kqueue branch with -current.
Revision 1.67.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:17:23 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67.2.3: preferred, colored
Changes since revision 1.67.2.3: +4 -5
lines
Catch up to -current.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Nov 13 00:49:35 2001 UTC (23 years ago) by lukem
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -6
lines
remove unnecessary #if NFOO > 0 .... #endif wrappers
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Nov 12 23:49:41 2001 UTC (23 years ago) by lukem
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -1
lines
add RCSIDs
Revision 1.69.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:16:57 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.69.2.1: preferred, colored
Changes since revision 1.69.2.1: +3 -2
lines
Merge Aug 24 -current into the kqueue branch.
Revision 1.67.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:12:12 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67.2.2: preferred, colored
Changes since revision 1.67.2.2: +6 -5
lines
Catch up with -current.
Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 16:52:39 2001 UTC (23 years, 3 months ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 5 18:07:55 2001 UTC (23 years, 4 months ago) by jdolecek
Branches: 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
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -2
lines
use unsigned variable types as appropriate
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:50 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -4
lines
update to -current
Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Jul 18 16:43:09 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -4
lines
bzero -> memset
Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:08:09 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67.2.1: preferred, colored
Changes since revision 1.67.2.1: +32 -24
lines
Catch up to -current.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Jun 14 05:44:24 2001 UTC (23 years, 5 months ago) by itojun
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:40 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.55.2.5: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.5: +32 -22
lines
Sync with HEAD
Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Apr 13 23:30:14 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +32 -22
lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:54 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -2
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.55.2.5: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:51 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.55.2.4: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.4: +57 -19
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Jan 17 00:30:51 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 15 16:33:30 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +57 -20
lines
For SLIP/STRIP/PPP, use generic soft interrupts, if available.
Revision 1.55.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:51 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.55.2.3: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.3: +46 -14
lines
Sync with HEAD
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Dec 18 19:50:44 2000 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -1
lines
Fill in if_dlt.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Dec 18 18:57:21 2000 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +46 -15
lines
Add ALTQ support.
Revision 1.55.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:31 2000 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.55.2.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.2: +5 -5
lines
Sync with HEAD (for UBC fixes).
Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Dec 12 18:00:27 2000 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -6
lines
Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.
Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:05:54 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.1: +2 -2
lines
Sync with HEAD.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:10:04 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +24 -21
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Oct 26 01:26:15 2000 UTC (24 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 6 04:49:53 2000 UTC (24 years, 2 months ago) by onoe
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -6
lines
unique #include opt_inet.h
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Oct 4 02:51:18 2000 UTC (24 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -1
lines
need opt_inet.h for #ifdef INET
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Oct 2 03:54:10 2000 UTC (24 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +10 -9
lines
enable VJC only with INET
Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Mar 30 09:45:36 2000 UTC (24 years, 8 months ago) by augustss
Branches: 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
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +9 -9
lines
Kill some more register declarations.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:03:25 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:10 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -2
lines
Pull up to last week's -current.
Revision 1.50.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:35:06 1999 UTC (25 years ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.50.6.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.6.1: +0 -0
lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 27 18:45:08 1999 UTC (25 years ago) by hannken
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
chs-ubc2-newbase
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 2 22:32:28 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.50.4.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.4.2: +72 -3
lines
Update from trunk.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jul 30 10:35:38 1999 UTC (25 years, 4 months ago) by itojun
Branches: 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
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +72 -3
lines
remove reference to in6_systm.h (file itself will be removed afterwords)
Revision 1.50.4.2: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:45:20 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.50.4.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.4.1: +7 -1
lines
Sync w/ -current.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Jul 1 08:12:48 1999 UTC (25 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +7 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 28 06:36:56 1999 UTC (25 years, 5 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990705,
kame_14_19990628
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +7 -1
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 21 01:27:34 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +61 -47
lines
Sync w/ -current.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri May 14 21:33:41 1999 UTC (25 years, 6 months ago) by tron
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +19 -9
lines
Fix compilation problem caused by recent changes to filtering code.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed May 12 18:50:51 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +41 -37
lines
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 - view: text, markup, annotated - select for diffs
Tue May 11 02:18:52 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +10 -10
lines
* 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 - view: text, markup, annotated - select for diffs
Sat Jan 9 21:47:09 1999 UTC (25 years, 10 months ago) by thorpej
Branches: 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
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -6
lines
Use M_LINK{0,1} for our own mbuf flags, rather than arbitrarily picking
2 bits.
Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Fri Dec 11 04:53:05 1998 UTC (25 years, 11 months ago) by kenh
Branches: kenh-if-detach
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +61 -24
lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 10 17:48:40 1998 UTC (25 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +6 -50
lines
Revert IPX changes that I committed accidentally.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Dec 10 11:01:01 1998 UTC (25 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +51 -6
lines
defopt
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Sep 3 14:12:36 1998 UTC (26 years, 3 months ago) by christos
Branches: MAIN
CVS tags: kenh-if-detach-base,
chs-ubc-base,
chs-ubc
Branch point for: kenh-if-detach
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +21 -5
lines
PR/5414: Ronald Khoo: tcpdump ppp does not respect inbound/outbound qualifiers.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Aug 2 15:09:50 1998 UTC (26 years, 4 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -2
lines
Fix PR5898: ppp delays last packet.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Jul 9 22:30:01 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -1
lines
Glue in fast forwarding.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jul 8 18:05:48 1998 UTC (26 years, 5 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +10 -6
lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 6 13:51:32 1998 UTC (26 years, 5 months ago) by jtk
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2
lines
use #ifdef INET so this compiles again
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jul 5 00:51:26 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -1
lines
defopt INET, NETATALK.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat May 2 14:34:24 1998 UTC (26 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 16 17:01:36 1997 UTC (27 years, 5 months ago) by christos
Branches: 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
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
From Paul Mackerras: use sl_compress_setup, not sl_compress_init
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat May 17 21:11:59 1997 UTC (27 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
Update to ppp-2.3b5
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Apr 16 12:54:42 1997 UTC (27 years, 7 months ago) by is
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -3
lines
Made pppoutput() public again on behalf of Martin Husemann (PR 3455).
Apparently, the BISDN package uses this function.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Mar 12 20:26:50 1997 UTC (27 years, 8 months ago) by christos
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +100 -75
lines
Update to ppp-2.3b4; from Paul Mackerras
Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 15:56:58 1997 UTC (27 years, 8 months ago) by is
Branches: is-newarp
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +15 -15
lines
Merge in changes from The Trunk
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Mar 4 21:40:07 1997 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +15 -15
lines
Use splimp() to block interrupts, not splhigh().
Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 11 03:43:51 1996 UTC (27 years, 11 months ago) by mycroft
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +1 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 13 02:11:03 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
CVS tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +14 -14
lines
backout previous kprintf change
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:59:48 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +21 -21
lines
- printf -> kprintf, sprintf -> ksprintf
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jun 13 21:50:32 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -5
lines
no need for a local implementation of SIOCGIFMTU; delete it.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed May 22 13:55:10 1996 UTC (28 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue May 7 02:40:36 1996 UTC (28 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +24 -23
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 19 01:00:49 1996 UTC (28 years, 8 months ago) by paulus
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 15 02:28:03 1996 UTC (28 years, 8 months ago) by paulus
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +176 -43
lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 13 22:00:18 1996 UTC (28 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +15 -25
lines
Net prototypes
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Feb 7 12:43:41 1996 UTC (28 years, 10 months ago) by pk
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -6
lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 7 10:25:58 1996 UTC (28 years, 10 months ago) by pk
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -5
lines
Init variable before use (PRs 1646 & 2042).
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Dec 27 06:30:38 1995 UTC (28 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -17
lines
Remove old workaround for a bug.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Oct 5 05:55:09 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +13 -10
lines
Add some missing statistics. From Thorsten Lockert.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Aug 12 23:59:21 1995 UTC (29 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -6
lines
splnet --> splsoftnet
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jul 4 06:28:20 1995 UTC (29 years, 5 months ago) by paulus
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +787 -981
lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 8 02:56:58 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +11 -11
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 30 21:48:52 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -5
lines
be more careful with types, also pull in headers where necessary.
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 28 05:17:58 1994 UTC (30 years, 4 months ago) by cgd
Branches: 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
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +2 -1
lines
from trunk
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jul 27 09:05:33 1994 UTC (30 years, 4 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1
lines
bug 367. paulus says the fix is right & critical.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 20 02:56:01 1994 UTC (30 years, 4 months ago) by cgd
Branches: netbsd-1-0
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +50 -40
lines
update from trunk, to fix serious ppp lossage.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 20 01:49:20 1994 UTC (30 years, 4 months ago) by paulus
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +16 -10
lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 20 01:40:11 1994 UTC (30 years, 4 months ago) by paulus
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +40 -45
lines
Due to popular revulsion, the ppp interface now drops packets if
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jul 18 23:45:33 1994 UTC (30 years, 4 months ago) by paulus
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +12 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 3 06:44:03 1994 UTC (30 years, 5 months ago) by deraadt
Branches: MAIN
CVS tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1
lines
bug #319. fix from <alasdair@wildcat.demon.co.uk>
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:36:16 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jun 20 00:35:39 1994 UTC (30 years, 5 months ago) by paulus
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +84 -127
lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 14 03:09:23 1994 UTC (30 years, 5 months ago) by paulus
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -4
lines
some minor splx-type bug fixes from christos@deshaw.com.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 29 23:44:23 1994 UTC (30 years, 6 months ago) by paulus
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -5
lines
check for escaped char before checking for escape char
so if peer escapes 0x5d we interpret it correctly
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 24 02:33:56 1994 UTC (30 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
MIN -> min, MAX -> max
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 13 06:02:48 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -6
lines
Update to 4.4-Lite networking code, with a few local changes.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 8 12:33:49 1994 UTC (30 years, 7 months ago) by paulus
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +502 -347
lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 25 05:56:06 1994 UTC (30 years, 10 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +24 -24
lines
PPP_HEADER_LEN -> PPP_HDRLEN
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 23 07:36:06 1993 UTC (30 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 18 00:40:54 1993 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +25 -24
lines
Canonicalize all #includes.
Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Sun Nov 14 20:19:58 1993 UTC (31 years ago) by mycroft
Branches: magnum
Diff to: previous 1.3.2.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.3: +27 -30
lines
Canonicalize all #includes.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 4 03:45:23 1993 UTC (31 years, 1 month ago) by paulus
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +11 -6
lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 27 01:42:19 1993 UTC (31 years, 1 month ago) by mycroft
Branches: magnum
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.2: +4 -1
lines
Call pppstart() redundantly.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 16 10:49:27 1993 UTC (31 years, 1 month ago) by mycroft
Branches: magnum
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +1 -2
lines
Nuke references to machine/mtpr.h.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 24 08:53:59 1993 UTC (31 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1
lines
Make all files using spl*() #include cpu.h. Changes from trunk.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Sep 2 12:10:59 1993 UTC (31 years, 3 months ago) by paulus
Branches: MAIN
CVS tags: magnum-base
Branch point for: magnum
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +67 -54
lines
Fixed bug in if_ppp.c so that received IP packets are passed correctly to BPF.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 31 00:05:27 1993 UTC (31 years, 3 months ago) by paulus
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +322 -157
lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 14 06:38:37 1993 UTC (31 years, 3 months ago) by deraadt
Branches: MAIN
ppp from paul mackerras
CVSweb <webmaster@jp.NetBSD.org>