OpenBSD CVS

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


[BACK] Up to [local] / src / sys / net

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.54 / (download) - annotate - [select for diffs], Sun Jan 2 22:36:04 2022 UTC (2 years, 5 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

spelling
ok jmc@ reads ok tb@

Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 27 17:59:13 2019 UTC (4 years, 6 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

use correct forward type declaration from uvm.

ok kettenis@

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jul 19 00:17:16 2019 UTC (4 years, 10 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

ttysleep(): drop unused timeout parameter

All callers sleep indefinitely.

With help from visa@.

ok visa@, ratchov@, kn@

Revision 1.51 / (download) - annotate - [select for diffs], Fri Nov 9 14:14:31 2018 UTC (5 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers for
m_leadingspace() and m_trailingspace(). Convert all callers to call
directly the functions and remove the defines.
OK krw@, mpi@

Revision 1.50 / (download) - annotate - [select for diffs], Tue May 15 09:21:52 2018 UTC (6 years ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.49: +3 -1 lines
Diff to previous 1.49 (colored)

Take NET_LOCK for pppioctl when called via the tty ioctl handler

ok mpi

Revision 1.49 / (download) - annotate - [select for diffs], Tue May 15 08:57:21 2018 UTC (6 years ago) by mpi
Branch: MAIN
Changes since 1.48: +7 -1 lines
Diff to previous 1.48 (colored)

Grab the KERNEL_LOCK() in pppasyncstart/pppasyncrelinq/pppasyncctlp.

The tty layer still relies on it to serialize access to its data.

Fixes crashes reported & tested by form@ via mikeb@.

ok mikeb@

Revision 1.48 / (download) - annotate - [select for diffs], Mon Feb 19 08:59:52 2018 UTC (6 years, 3 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (colored)

Remove almost unused `flags' argument of suser().

The account flag `ASU' will no longer be set but that makes suser()
mpsafe since it no longer mess with a per-process field.

No objection from millert@, ok tedu@, bluhm@

Revision 1.47 / (download) - annotate - [select for diffs], Sat Dec 30 23:08:29 2017 UTC (6 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Don't pull in <sys/file.h> just to get fcntl.h

ok deraadt@ krw@

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jan 24 10:08:30 2017 UTC (7 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

A space here, a space there. Soon we're talking real whitespace
rectification.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Dec 19 15:57:30 2016 UTC (7 years, 5 months ago) by mpi
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Stop mentioning splsoftnet() in comments, it's almost history.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Sep 15 02:00:18 2016 UTC (7 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

all pools have their ipl set via pool_setipl, so fold it into pool_init.

the ioff argument to pool_init() is unused and has been for many
years, so this replaces it with an ipl argument. because the ipl
will be set on init we no longer need pool_setipl.

most of these changes have been done with coccinelle using the spatch
below. cocci sucks at formatting code though, so i fixed that by hand.

the manpage and subr_pool.c bits i did myself.

ok tedu@ jmatthew@

@ipl@
expression pp;
expression ipl;
expression s, a, o, f, m, p;
@@
-pool_init(pp, s, a, o, f, m, p);
-pool_setipl(pp, ipl);
+pool_init(pp, s, a, ipl, f, m, p);

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jan 25 18:47:00 2016 UTC (8 years, 4 months ago) by stefan
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.42: +5 -4 lines
Diff to previous 1.42 (colored)

Convert to uiomove(). Diff from Martin Natano.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jan 14 09:44:08 2016 UTC (8 years, 4 months ago) by sf
Branch: MAIN
Changes since 1.41: +3 -6 lines
Diff to previous 1.41 (colored)

Increase buffer sizes and watermarks for tty and ppp

Use 115200 the default speed for buffer sizing in ttymalloc(). A lot
of devices call ttymalloc(0) so this affects quite a few of them.

Increases the buffer size for 9600 < baud <= 115200 from 1k to 4k.

Make ppp use the lo/hi watermarks from the tty layer which are
adjusted according to speed + buffer size. The previous fixed values
of 100 and 400 were way too small

Make pty call ttymalloc() with baud == 1000000, which is the common
value used in the tree for "fast".

ok deraadt@

Revision 1.41 / (download) - annotate - [select for diffs], Mon Dec 21 21:49:02 2015 UTC (8 years, 5 months ago) by sf
Branch: MAIN
Changes since 1.40: +13 -15 lines
Diff to previous 1.40 (colored)

Move ppp, nmea, endrun, and msts prototypes to tty.h

Fix inconsistent arguments for pppopen/pppclose/pppstart.
Use passed in argument p in pppopen instead of curproc.

"Looks good to me" deraadt@

Revision 1.40 / (download) - annotate - [select for diffs], Sat Dec 5 10:07:55 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.39: +1 -3 lines
Diff to previous 1.39 (colored)

remove old lint annotations

Revision 1.39 / (download) - annotate - [select for diffs], Tue Nov 24 13:37:16 2015 UTC (8 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.38: +1 -2 lines
Diff to previous 1.38 (colored)

No need for <net/if_types.h>

As a bonus this removes a "#if NCARP > 0", say yeah!

Revision 1.38 / (download) - annotate - [select for diffs], Sun Sep 13 17:53:44 2015 UTC (8 years, 8 months ago) by mpi
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

There's no point in abstracting ifp->if_output() as long as pf_test()
needs to see lo0 in the output path.

ok claudio@

Revision 1.37 / (download) - annotate - [select for diffs], Sat Sep 12 20:26:07 2015 UTC (8 years, 9 months ago) by mpi
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.

Use instead the RTF_LOCAL flag to loop local traffic back to the
corresponding protocol queue.

With this change rt_ifp is now always the same as rt_ifa->ifa_ifp.

ok claudio@

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 15 22:16:42 2015 UTC (8 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.35: +4 -5 lines
Diff to previous 1.35 (colored)

m_freem() can handle NULL, do not check for this condition beforehands.
ok stsp mpi

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jul 8 07:21:50 2015 UTC (8 years, 11 months ago) by mpi
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

MFREE(9) is dead, long live m_freem(9)!

ok bluhm@, claudio@, dlg@

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 16 11:09:40 2015 UTC (8 years, 11 months ago) by mpi
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Store a unique ID, an interface index, rather than a pointer to the
receiving interface in the packet header of every mbuf.

The interface pointer should now be retrieved when necessary with
if_get().  If a NULL pointer is returned by if_get(), the interface
has probably been destroy/removed and the mbuf should be freed.

Such mechanism will simplify garbage collection of mbufs and limit
problems with dangling ifp pointers.

Tested by jmatthew@ and krw@, discussed with many.

ok mikeb@, bluhm@, dlg@

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 3 00:50:09 2015 UTC (9 years ago) by dlg
Branch: MAIN
Changes since 1.32: +86 -70 lines
Diff to previous 1.32 (colored)

there's been a long standing issue in ppp on a tty/serial line where it allocates mbufs at IPL_SOFTTTY, which is above the IPL_NET the mbuf layer protects itself at.

recent improvements to diagnostics in pools and mbufs now panic
instead of letting these things silently corrupt.

this reworks the ppp handling in the tty layer so it has its own
private pool to allocate packet memory out of. these packets get
built and then queued for softnet to process. softnet dequeues the
packet and attaches it to mbufs as external storage before handing
it on to the rest of the stack.

this was reported on bugs@ and tested by both Walter Daugherity and
Martin van den Nieuwelaar
ok deraadt@ mpi@

Revision 1.32 / (download) - annotate - [select for diffs], Fri Apr 10 13:58:20 2015 UTC (9 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.31: +4 -5 lines
Diff to previous 1.31 (colored)

replace the use of ifqueues for most input queues serviced by netisr
with niqueues.

this change is so big because there's a lot of code that takes
pointers to different input queues (eg, ether_input picks between
ipv4, ipv6, pppoe, arp, and mpls input queues) and falls through
to code to enqueue packets against the pointer. if i changed only
one of the input queues id have to add sepearate code paths, one
for ifqueues and one for niqueues in each of these places

by flipping all these input queues at once i can keep the currently
common code common.

testing by mpi@ sthen@ and rafael zalamena
ok mpi@ sthen@ claudio@ henning@

Revision 1.31 / (download) - annotate - [select for diffs], Tue Feb 10 21:56:10 2015 UTC (9 years, 4 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@

Revision 1.30 / (download) - annotate - [select for diffs], Fri Dec 5 15:50:04 2014 UTC (9 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.

ok mikeb@, krw@, bluhm@, tedu@

Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 15 19:08:21 2014 UTC (9 years, 8 months ago) by miod
Branch: MAIN
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

Remove non-standard <sys/dkstat.h> header. It has not contained anything
related to disk stastics for almost 17 years, and the remaining
userland-visible defines duplicate those found in <sys/sched.h>.

Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and
update all users to cope with this.

ok kettenis@

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 22 11:06:10 2014 UTC (9 years, 10 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)

Fewer <netinet/in_systm.h> !

Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 19 12:18:35 2014 UTC (10 years, 1 month ago) by henning
Branch: MAIN
Changes since 1.26: +0 -9 lines
Diff to previous 1.26 (colored)

remove very questionable altq "optimization" - claudio and I can't
convince ourselves that that was right to begin with. anyway, begone.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Mar 28 23:10:05 2013 UTC (11 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

code that calls timeout functions should include timeout.h
slipped by on i386, but the zaurus doesn't automagically pick it up.
spotted by patrick

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 28 19:39:33 2012 UTC (12 years, 2 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

More p_pid to p_p->ps_pid updates. OK deraadt@, guenther@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 11 16:22:33 2012 UTC (12 years, 5 months ago) by dhill
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.23: +16 -47 lines
Diff to previous 1.23 (colored)

ansify and de'register some prototypes

ok miod@

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jul 6 02:51:16 2011 UTC (12 years, 11 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

use IF_IS_EMPTY istead of mucking if ifqueue internals

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jul 5 21:11:36 2011 UTC (12 years, 11 months ago) by guenther
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored)

Revert henning's commit-n-run that broke the tree

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 5 20:03:23 2011 UTC (12 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

IFQ_IS_EMPTY instead of fiddling with ifqueue internals
isn't it awesome that 5 out of 6 cases of this crap were in the various ppp
implementations? ok claudio ryan
the 6th to be fixed when we return from MEC

Revision 1.8.4.6 / (download) - annotate - [select for diffs], Thu Feb 19 10:57:23 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.8.4.5: +27 -27 lines
Diff to previous 1.8.4.5 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.20 / (download) - annotate - [select for diffs], Wed Dec 10 07:22:42 2003 UTC (20 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.19: +22 -22 lines
Diff to previous 1.19 (colored)

de-register.  deraadt ok

Revision 1.19 / (download) - annotate - [select for diffs], Tue Sep 23 16:51:13 2003 UTC (20 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Replace select backends with poll backends.  selscan() and pollscan()
now call the poll backend.  With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 18 19:32:20 2003 UTC (20 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

comment spelling, from jonathon gray

Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 15 20:32:19 2003 UTC (20 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

change arguments to suser.  suser now takes the process, and a flags
argument.  old cred only calls user suser_ucred.  this will allow future
work to more flexibly implement the idea of a root process.  looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@  testing and further review miod@

Revision 1.12.4.3 / (download) - annotate - [select for diffs], Mon May 19 22:30:41 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.12.4.2: +7 -2 lines
Diff to previous 1.12.4.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync

Revision 1.8.4.5 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:29 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.8.4.4: +42 -21 lines
Diff to previous 1.8.4.4 (colored) to branchpoint 1.8 (colored)

Sync the SMP branch with 3.3

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 9 12:03:22 2003 UTC (21 years, 3 months ago) by kjc
Branch: MAIN
CVS Tags: UBC_SYNC_A, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.15: +7 -2 lines
Diff to previous 1.15 (colored)

use MGETHDR instead of MGET for the first mbuf.
altq expects struct pkthdr in a mbuf chain.
this fixes a panic caused by uninitialized m_pkthdr.tags when altq is
enabled on ppp.
also, initialize m_pkthdr.len and m_pkthdr.rcvif as a caller of
MGETHDR is supposed to do.

report and test by matthieu@
ok deraadt@, henning@, dhartmei@

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:46 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.12.4.1: +37 -21 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored)

sync to -current

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 1 19:31:35 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.14: +37 -21 lines
Diff to previous 1.14 (colored)

license update of CMU parts.  due to communication with wcw+@andrew.cmu.edu,
pushed for by tygs@netcologne.de.  Apparently we also now known how to talk
to the lawyers there, if we were so mad.  Note that a few other copyright
issues in pppd still remain, so this does not close this story.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:30:46 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.12: +27 -18 lines
Diff to previous 1.12 (colored)

Sync UBC branch to -current

Revision 1.8.4.4 / (download) - annotate - [select for diffs], Thu Mar 28 14:57:37 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.8.4.3: +16 -16 lines
Diff to previous 1.8.4.3 (colored) to branchpoint 1.8 (colored)

Merge in -current from roughly a week ago

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:10 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.13: +18 -18 lines
Diff to previous 1.13 (colored)

First round of __P removal in sys

Revision 1.8.4.3 / (download) - annotate - [select for diffs], Wed Mar 6 02:15:07 2002 UTC (22 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.8.4.2: +10 -1 lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored)

Merge in trunk

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 13 08:14:48 2002 UTC (22 years, 4 months ago) by kjc
Branch: MAIN
Changes since 1.12: +10 -1 lines
Diff to previous 1.12 (colored)

sync with KAME.

make altq actually work with kernl ppp.
add if_start for the altq case to kick transmission.
don't call ppp_restart() to prevent useless interrupt
loop under rate-limiting.

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:54:18 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.8.4.1: +2 -6 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 15 03:38:34 2001 UTC (23 years ago) by itojun
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

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

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

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 16 12:53:34 2001 UTC (23 years, 1 month ago) by ho
Branch: MAIN
Changes since 1.10: +2 -5 lines
Diff to previous 1.10 (colored)

No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Mon May 14 22:40:03 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.8: +5 -6 lines
Diff to previous 1.8 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 9 14:56:44 2001 UTC (23 years, 3 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

Remove two unnecessary splx(). This was missed somewhere along the way, since
this was done long ago in NetBSD during an update to ppp-2.3b4.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 30 01:05:19 2000 UTC (23 years, 11 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Convert to use new timeout API.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 4 20:39:28 1999 UTC (24 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Branch point for: SMP
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

fix unsigned without a size-type

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 5 04:27:03 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.6: +205 -204 lines
Diff to previous 1.6 (colored)

Minor changes from ppp 2.3.1

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 15 03:19:24 1997 UTC (27 years, 5 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

prevent warning:
ppp_tty.c:790: warning: `s' might be used uninitialized in this function

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 25 14:20:51 1996 UTC (27 years, 10 months ago) by joshd
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +198 -175 lines
Diff to previous 1.4 (colored)

Kernel changes for ppp2.3a4.

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 10 12:31:13 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.3: +13 -13 lines
Diff to previous 1.3 (colored)

if_name/if_unit -> if_xname/if_softc

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 21 22:28:42 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.2: +31 -11 lines
Diff to previous 1.2 (colored)

partial sync with netbsd 960418, more to come

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 3 21:07:12 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.1: +14 -13 lines
Diff to previous 1.1 (colored)

From NetBSD: 960217 merge

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:07 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:53:07 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

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