OpenBSD CVS

CVS log for src/sys/net/netisr.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.61 / (download) - annotate - [select for diffs], Thu Jul 6 04:55:05 2023 UTC (11 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.60: +1 -3 lines
Diff to previous 1.60 (colored)

big update to pfsync to try and clean up locking in particular.

moving pf forward has been a real struggle, and pfsync has been a
constant source of pain. we have been papering over the problems
for a while now, but it reached the point that it needed a fundamental
restructure, which is what this diff is.

the big headliner changes in this diff are:

- pfsync specific locks

this is the whole reason for this diff.

rather than rely on NET_LOCK or KERNEL_LOCK or whatever, pfsync now
has it's own locks to protect it's internal data structures. this
is important because pfsync runs a bunch of timeouts and tasks to
push pfsync packets out on the wire, or when it's handling requests
generated by incoming pfsync packets, both of which happen outside
pf itself running. having pfsync specific locks around pfsync data
structures makes the mutations of these data structures a lot more
explicit and auditable.

- partitioning

to enable future parallelisation of the network stack, this rewrite
includes support for pfsync to partition states into different "slices".
these slices run independently, ie, the states collected by one slice
are serialised into a separate packet to the states collected and
serialised by another slice.

states are mapped to pfsync slices based on the pf state hash, which
is the same hash that the rest of the network stack and multiq
hardware uses.

- no more pfsync called from netisr

pfsync used to be called from netisr to try and bundle packets, but now
that there's multiple pfsync slices this doesnt make sense. instead it
uses tasks in softnet tqs.

- improved bulk transfer handling

there's shiny new state machines around both the bulk transmit and
receive handling. pfsync used to do horrible things to carp demotion
counters, but now it is very predictable and returns the counters back
where they started.

- better tdb handling

the tdb handling was pretty hairy, but hrvoje has kicked this around
a lot with ipsec and sasyncd and we've found and fixed a bunch of
issues as a result of that testing.

- mpsafe pf state purges

this was committed previously, but because the locks pfsync relied on
weren't clear this just caused a ton of bugs. as part of this diff it's
now reliable, and moves a big chunk of work out from under KERNEL_LOCK,
which in turn improves the responsiveness and throughput of a firewall
even if you're not using pfsync.

there's a bunch of other little changes along the way, but the above are
the big ones.

hrvoje has done performance testing with this diff and notes a big
improvement when pfsync is not in use. performance when pfsync is
enabled is about the same, but im hoping the slices means we can scale
along with pf as it improves.

lots (months) of testing by me and hrvoje on pfsync boxes
tests and ok sashan@
deraadt@ says this is a good time to put it in

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jul 14 10:52:21 2022 UTC (22 months, 4 weeks ago) by mvs
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.59: +9 -9 lines
Diff to previous 1.59 (colored)

Replace tabs by spaces after "#define". No functional changes, just
prevent future diffs to be ugly.

ok bluhm@

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jun 29 16:04:49 2022 UTC (23 months, 1 week ago) by mvs
Branch: MAIN
Changes since 1.58: +1 -3 lines
Diff to previous 1.58 (colored)

Remove switch(4) remains.

ok claudio@ mpi@

Revision 1.58 / (download) - annotate - [select for diffs], Wed Jun 29 09:08:07 2022 UTC (23 months, 1 week ago) by mvs
Branch: MAIN
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored)

ether_input() called with shared netlock, but pppoe(4) wants it to be
exclusive. Do the pppoe(4) input within netisr handler with exclusive
netlok held and remove kernel lock hack from ether_input().

This is the step back, but it makes ether_input() path better then it
is now.

Tested by Hrvoje Popovski.

ok bluhm@ claudio@

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jun 28 08:01:40 2022 UTC (23 months, 2 weeks ago) by mvs
Branch: MAIN
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (colored)

Introduce `pipexoutq' mbuf(9) queue, and put outgoing pipex(4) related
PPPOE packets within. Do (*if_output)() calls within netisr handler with
netlock held.

We can't predict netlock state when pipex(4) related (*if_qstart)()
handlers called. This means we can't use netlock within pppac_qstart()
and pppx_if_qstart() handlers.

ok bluhm@

Revision 1.56 / (download) - annotate - [select for diffs], Thu Apr 28 16:56:39 2022 UTC (2 years, 1 month ago) by bluhm
Branch: MAIN
Changes since 1.55: +5 -1 lines
Diff to previous 1.55 (colored)

Decouple IP input and forwarding from protocol input.  This allows
to have parallel IP processing while the upper layers are still not
MP safe.  Introduce ip_ours() that enqueues the packets and ipintr()
that dequeues and processes them with an exclusive netlock.
Note that we still have only one softnet task.  Running IP processing
on multiple CPU will be the next step.
lots of testing Hrvoje Popovski; OK sashan@

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jan 5 20:43:36 2021 UTC (3 years, 5 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.54: +1 -2 lines
Diff to previous 1.54 (colored)

pppoeintr() is no more

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 4 21:21:41 2021 UTC (3 years, 5 months ago) by kn
Branch: MAIN
Changes since 1.53: +1 -2 lines
Diff to previous 1.53 (colored)

Process pppoe(4) packets directly, do not queue through netis

Less scheduling, lock contention and queues.

Previously, if_netisr() handled the net lock around those calls, now
if_input_process() does it before calling ether_input(), so no need to add
or remove NET_*LOCK() anywhere.

OK mvs claudio

Revision 1.53 / (download) - annotate - [select for diffs], Thu Aug 6 12:00:46 2020 UTC (3 years, 10 months ago) by mvs
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.52: +1 -5 lines
Diff to previous 1.52 (colored)

Remove defines for `netisr' bits which are not used anymore.

ok mpi@

Revision 1.52 / (download) - annotate - [select for diffs], Tue Aug 4 09:32:05 2020 UTC (3 years, 10 months ago) by mvs
Branch: MAIN
Changes since 1.51: +1 -3 lines
Diff to previous 1.51 (colored)

We have `pipexinq' and `pipexoutq' mbuf(9) queues to store pipex(4)
related mbufs. Each mbuf(9) passed to these queues stores the pointer to
corresponding pipex(4) session referenced as `m_pkthdr.ph_cookie'. When
session was destroyed its reference can still be in these queues so we
have use after free issue while pipexintr() dereference it.

I removed `pipexinq', `pipexoutq' and pipexintr(). This not only allows
us to avoid issue described above, but also removes unnecessary context
switch in packet processing. Also it makes code simpler.

ok mpi@ yasuoka@

Revision 1.51 / (download) - annotate - [select for diffs], Tue Aug 6 22:57:54 2019 UTC (4 years, 10 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.50: +1 -3 lines
Diff to previous 1.50 (colored)

When we needed the kernel lock for local IP packet delivery, mpi@
introduced a queue to grab the lock for multiple packets.  Now we
have only netlock for both IP and protocol input.  So the queue is
not necessary anymore.  It just switches CPU and decreases performance.
So remove the inet and inet6 ip queue for local packets.
To get TCP running on loopback, we have to queue once between TCP
input and output of the two sockets.  So use the loopback queue in
looutput() unconditionally.
OK visa@

Revision 1.50 / (download) - annotate - [select for diffs], Tue Oct 31 22:05:12 2017 UTC (6 years, 7 months ago) by sashan
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

- add one more softnet taskq
  NOTE: code still runs with single softnet task.  change definition of
  SOFTNET_TASKS in net/if.c, if you want to have more than one softnet task

OK mpi@, OK phessler@

Revision 1.49 / (download) - annotate - [select for diffs], Sun May 28 12:51:34 2017 UTC (7 years ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

Remove all splnet/splx from pipex(4) and pppx(4) and replace some of
them by NET_LOCK/NET_UNLOCK.  Also make the timeout for pipex_timer
run with a thread context and replace pipex softintr by NETISR_PIPEX.

ok mpi

Revision 1.48 / (download) - annotate - [select for diffs], Thu Nov 3 09:04:06 2016 UTC (7 years, 7 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.47: +1 -10 lines
Diff to previous 1.47 (colored)

The networking code no longer runs off software interrupts.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Sep 1 10:06:33 2016 UTC (7 years, 9 months ago) by goda
Branch: MAIN
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored)

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Thu Jul 14 11:13:13 2016 UTC (7 years, 10 months ago) by mpi
Branch: OPENBSD_5_9
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Backport ARP race fix:

Move ARP processing back to the KERNEL_LOCK()ed task until the race
triggered by updating a cached, but removed from the table, entry is
properly fixed.

Diff from dlg@, prodding deraadt@

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jul 13 16:45:19 2016 UTC (7 years, 10 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.45: +3 -1 lines
Diff to previous 1.45 (colored)

Move ARP processing back to the KERNEL_LOCK()ed task until the race
triggered by updating a cached, but removed from the table, entry is
properly fixed.

Diff from dlg@, prodding deraadt@

Revision 1.45 / (download) - annotate - [select for diffs], Tue May 3 14:52:39 2016 UTC (8 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.44: +7 -7 lines
Diff to previous 1.44 (colored)

Stop using a soft-interrupt context to process incoming network packets.

Use a new task that runs holding the KERNEL_LOCK to execute mp-unsafe
code.  Our current goal is to progressively move input functions to the
unlocked task.

This gives a small performance boost confirmed by Hrvoje Popovski's
IPv4 forwarding measurement:

before:					after:

send           receive			send           receive
400kpps        400kpps                  400kpps        400kpps
500kpps        500kpps                  500kpps        500kpps
600kpps        600kpps                  600kpps        600kpps
650kpps        650kpps                  650kpps        640kpps
700kpps        700kpps                  700kpps        700kpps
720kpps        640kpps                  720kpps        710kpps
800kpps        640kpps                  800kpps        650kpps
1.4Mpps        570kpps                  1.4Mpps        590kpps
14Mpps         570kpps                  14Mpps         590kpps


ok kettenis@, bluhm@, dlg@

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jan 8 13:53:24 2016 UTC (8 years, 5 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE
Branch point for: OPENBSD_5_9
Changes since 1.43: +1 -3 lines
Diff to previous 1.43 (colored)

Get rid of the arp and revarp input queues.

Packets of types ARP and REVARP are now processed in the softnet task,
directly from ether_input() and without holding the KERNEL_LOCK.

Tested by many, ok dlg@

Revision 1.43 / (download) - annotate - [select for diffs], Thu Dec 3 12:27:33 2015 UTC (8 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored)

remove nettxintr prototype

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jul 20 21:16:39 2015 UTC (8 years, 10 months ago) by rzalamena
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.41: +1 -3 lines
Diff to previous 1.41 (colored)

Kill NETISR_MPLS, from now on we will use interface input handlers to deal
with MPLS packets.

ok mpi@, claudio@

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 26 11:36:26 2015 UTC (9 years ago) by dlg
Branch: MAIN
Changes since 1.40: +1 -2 lines
Diff to previous 1.40 (colored)

move add_net_randomness from ether_input to the if_input task.

change it from feeding the ethertype of the packet (which is almost
certainly an ip packet or vlan packet, so not that variable) to the
number of packets about to be processed.

ok deraadt@ mpi@

Revision 1.40 / (download) - annotate - [select for diffs], Sun Aug 10 07:28:32 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.39: +1 -5 lines
Diff to previous 1.39 (colored)

No more bluetooth in netintr(), so delete NETISR_BT.  Zap the declaration
for btintr(), as well as the also gone atintr() and clnlintr()

Revision 1.39 / (download) - annotate - [select for diffs], Thu Oct 24 18:50:16 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.38: +4 -3 lines
Diff to previous 1.38 (colored)

Move more stuff under _KERNEL
ok claudio

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 20 09:14:24 2013 UTC (10 years, 9 months ago) by mpi
Branch: MAIN
Changes since 1.37: +1 -3 lines
Diff to previous 1.37 (colored)

tedu netnatm and ueagle(4).

ok mikeb@, sthen@, tedu@ (implied), doc bits ok jmc@

Revision 1.37 / (download) - annotate - [select for diffs], Sun Oct 7 23:56:21 2012 UTC (11 years, 8 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

spacing

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jul 9 04:01:30 2011 UTC (12 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 (colored)

remove more atalk bits

Revision 1.35 / (download) - annotate - [select for diffs], Tue Dec 21 14:56:24 2010 UTC (13 years, 5 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.34: +8 -6 lines
Diff to previous 1.34 (colored)

Convert netisr to a normal soft interrupt instead of hanving MD code
for it. This makes the netisr a real C function which will help further
development. No noticable performance change on i386 and amd64.
With input from kettenis@ and miod@ additional OKs mikeb@ and henning@

Revision 1.34 / (download) - annotate - [select for diffs], Mon Feb 16 00:31:25 2009 UTC (15 years, 3 months ago) by dlg
Branch: MAIN
CVS Tags: 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
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

pfsync v5, mostly written at n2k9, but based on work done at n2k8.

WARNING: THIS BREAKS COMPATIBILITY WITH THE PREVIOUS VERSION OF PFSYNC

this is a new variant of the protocol and a large reworking of the
pfsync code to address some performance issues. the single largest
benefit comes from having multiple pfsync messages of different
types handled in a single packet. pfsyncs handling of pf states is
highly optimised now, along with packet parsing and construction.

huggz for beck@ for testing.
huge thanks to mcbride@ for his help during development and for
finding all the bugs during the initial tests.
thanks to peter sutton for letting me get credit for this work.

ok beck@ mcbride@ "good." deraadt@

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 9 12:54:52 2008 UTC (16 years, 1 month ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

there was a race between the addition of mpls and tx mitigation. this gives
mpls its own bit in netisr instead of accidentally sharing one with tx
mit.

"do it" claudio@

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 7 05:51:12 2008 UTC (16 years, 1 month ago) by mpf
Branch: MAIN
Changes since 1.31: +3 -4 lines
Diff to previous 1.31 (colored)

Prevent virtual interfaces from adding to the random pool.
Also move the sampling into ether_input() where it can happen
at the interrupt and not within splnet() processing, which might
be less random. Discussed with mickey.
OK markus@, mcbride@

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 23 10:55:14 2008 UTC (16 years, 1 month ago) by norby
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@

Revision 1.30 / (download) - annotate - [select for diffs], Thu Apr 10 23:15:45 2008 UTC (16 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.29: +2 -0 lines
Diff to previous 1.29 (colored)

introduce mitigation for the calling of an interfaces start routine.

decent drivers prefer to have a lot of packets on the send queue so they
can queue a lot of them up on the tx ring and then post them all in one
big chunk. unfortunately our stack queues one packet onto the send queue
and then calls the start handler immediately.

this mitigates against that queue, send, queue, send behaviour by trying to
call the start routine only once per softnet. now its queue, queue, queue,
send.

this is the result of a lot of discussion with claudio@
tested by many.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jan 19 18:26:18 2008 UTC (16 years, 4 months ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Fix add_net_randomness() not being called because the wrong
bit in netisr is set.  1 != (1 << 1).
Reported by mickey, fix by me.
OK markus@, miod@, claudio@

Revision 1.28 / (download) - annotate - [select for diffs], Sat Sep 8 02:45:04 2007 UTC (16 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)

we dont need net/rndvar.h since the code that used it has been moved to
if.c.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jun 6 10:04:36 2007 UTC (17 years ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.26: +1 -3 lines
Diff to previous 1.26 (colored)

remove remaining IPX hooks. all inside #ifdef IPX, so no actual change

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 29 18:10:43 2007 UTC (17 years ago) by miod
Branch: MAIN
Changes since 1.25: +8 -3 lines
Diff to previous 1.25 (colored)

Use atomic operations to operate on netisr, instead of clearing it at splhigh.
This changes nothing on legacy architectures, but is a bit faster (and simpler)
on the interesting ones.

Revision 1.25 / (download) - annotate - [select for diffs], Tue May 29 05:43:22 2007 UTC (17 years ago) by claudio
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

IMP is dead and nothing uses NETISR_IMP so remove it from the netisr list.
OK henning@ mcbride@

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 28 08:48:15 2007 UTC (17 years ago) by mcbride
Branch: MAIN
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

Only call add_net_randomness() once per interrupt instead of once per packet.   If multiple packets come in on a single interrupt the times mixed into
the randomness pool will be identical or predictably close anyways, and
nanotime() is expensive.

ok toby jason miod claudio

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 8 07:13:24 2005 UTC (19 years ago) by henning
Branch: MAIN
CVS Tags: 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
Changes since 1.22: +1 -4 lines
Diff to previous 1.22 (colored)

netns bits die

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 7 02:45:11 2005 UTC (19 years ago) by henning
Branch: MAIN
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored)

do not handle CCITT any longer

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 14 12:04:02 2005 UTC (19 years, 5 months ago) by grange
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

First step in Bluetooth protocol stack support.

The code is adopted from the FreeBSD netgraph-based Bluetooth
implementation by Maksim Yevmenkin <m_evmenkin@yahoo.com> but
all netgraph glue was replaced with usual BSD network stack
hooks. This is a work in progress. Only HCI layer works for now,
L2CAP and RFCOMM are on the way.

Help in testing from many, ok markus@.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 28 23:39:45 2004 UTC (19 years, 6 months ago) by canacar
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@

Revision 1.14.2.5 / (download) - annotate - [select for diffs], Sat Jun 7 11:06:06 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.14.2.4: +2 -6 lines
Diff to previous 1.14.2.4 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync SMP branch to -current

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:12 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.18: +2 -6 lines
Diff to previous 1.18 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

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

sync

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Tue May 13 19:36:15 2003 UTC (21 years, 1 month ago) by ho
Branch: SMP
Changes since 1.14.2.3: +2 -2 lines
Diff to previous 1.14.2.3 (colored) to branchpoint 1.14 (colored)

Sync the SMP branch to -current. This includes moving to ELF.

Revision 1.18 / (download) - annotate - [select for diffs], Mon May 12 00:48:52 2003 UTC (21 years, 1 month ago) by jason
Branch: MAIN
CVS Tags: UBC_SYNC_A
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Nuke a whole bunch of commons; ok tedu (still more to come *sigh*)

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

Sync UBC branch to -current

Revision 1.14.2.3 / (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.14.2.2: +12 -12 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored)

Merge in -current from roughly a week ago

Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:09 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.16: +12 -12 lines
Diff to previous 1.16 (colored)

First round of __P removal in sys

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Wed Oct 31 03:29:02 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.14.2.1: +2 -1 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 23 10:44:10 2001 UTC (22 years, 8 months ago) by mickey
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

ipxintr was missing

Revision 1.14.2.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.14: +5 -1 lines
Diff to previous 1.14 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 8 13:23:40 2000 UTC (23 years, 7 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.14: +5 -1 lines
Diff to previous 1.14 (colored)

Opps.
protect from multiple inclusion.
Needed for the netisr_dispatch changes.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 8 15:58:30 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: SMP_BASE, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: SMP
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

s/ipv6intr/ip6intr/

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 24 23:09:11 1999 UTC (25 years ago) by jason
Branch: MAIN
CVS Tags: kame_19991208, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

Only do basic work in the ethernet interrupt context, and queue packets to
be bridged.  Do the real work in a scheduled netisr.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 7 23:15:49 1999 UTC (25 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.11: +11 -1 lines
Diff to previous 1.11 (colored)

global decl for *intr() routines, plus add INET6

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 7 06:13:35 1999 UTC (25 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +6 -5 lines
Diff to previous 1.10 (colored)

update for ipv6

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 23 03:46:02 1997 UTC (26 years, 10 months ago) by denny
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

AppleTalk support based on netatalk-1.4a2 and FreeBSD.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 24 13:34:03 1997 UTC (27 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.8: +1 -0 lines
Diff to previous 1.8 (colored)

OpenBSD tags + some prototyping police

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 19 13:26:16 1996 UTC (27 years, 7 months ago) by mickey
Branch: MAIN
Changes since 1.7: +0 -5 lines
Diff to previous 1.7 (colored)

random device is permanent now.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 29 09:26:40 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

rnd -> random

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 3 02:35:23 1996 UTC (27 years, 11 months ago) by chuck
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

renumber to avoid conflict with freebsd

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 30 21:31:33 1996 UTC (27 years, 11 months ago) by chuck
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

add native mode atm netisr hook

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 19 18:12:30 1996 UTC (28 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

According to the latest config stuff changes (as for if_ppp.c).
the other stuff is just for IPX support.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 29 12:05:54 1996 UTC (28 years, 2 months ago) by mickey
Branch: MAIN
Changes since 1.2: +9 -2 lines
Diff to previous 1.2 (colored)

Initial commit of random source driver.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 19 21:10:45 1996 UTC (28 years, 2 months ago) by mickey
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Merging w/ NetBSD 021796.
speaker upgraded to the current.
some changes to the VM stuff (ie kern_thread.c added and so).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:06 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:06 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.