The NetBSD Project

CVS log for src/sys/net/Attic/if_fddisubr.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.109.2.2
Wed Apr 8 14:08:57 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.109.2.1: +2 -2 lines
Merge changes from current as of 20200406

Revision 1.111.6.1
Sat Jan 25 22:38:52 2020 UTC (5 years ago) by ad
Branches: ad-namecache
FILE REMOVED
Changes since revision 1.111: +2 -2 lines
Sync with head.

Revision 1.112
Mon Jan 20 18:38:18 2020 UTC (5 years ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, HEAD
FILE REMOVED
Changes since revision 1.111: +2 -2 lines
Remove FDDI support.

Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:45 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -5 lines
Sync with HEAD

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Feb 5 06:17:03 2019 UTC (6 years ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -5 lines
 Remove very old IFF_NOTRAILERS flag.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun Feb 3 03:19:28 2019 UTC (6 years ago) by mrg
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -2 lines
- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily

Revision 1.105.12.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:15 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.105.12.1: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.12.1: +3 -3 lines
Sync with HEAD

Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed May 9 06:35:10 2018 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3 lines
Replace
	m_copym(m, 0, M_COPYALL, M_DONTWAIT)
by
	m_copypacket(m, M_DONTWAIT)
when it is clear that we are copying a packet (that has M_PKTHDR) and not
a raw mbuf chain.

Revision 1.105.12.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:22 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +9 -7 lines
Synch with HEAD

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Apr 29 07:16:28 2018 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0502
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +5 -3 lines
Add missing pserialize_read_exit in error branch, spotted during my
previous commit.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Apr 29 07:13:10 2018 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +5 -5 lines
Remove references to m_copy in comments.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Apr 26 19:56:55 2018 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -3 lines
m_copy -> m_copym

Revision 1.81.18.5: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:02 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.81.18.4: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.18.4: +56 -90 lines
update from HEAD

Revision 1.88.4.9: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:11 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.4.8: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.4.8: +14 -5 lines
Sync with HEAD

Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:05 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +18 -7 lines
Sync with HEAD

Revision 1.99.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:49 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.99.2.2: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.2: +18 -9 lines
Sync with HEAD

Revision 1.88.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 07:41:27 2017 UTC (7 years, 11 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +5 -3 lines
Sync with netbsd-7-1-RELEASE

Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Feb 14 03:05:06 2017 UTC (8 years ago) by ozaki-r
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: pgoyette-compat
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +14 -5 lines
Do ND in L2_output in the same manner as arpresolve

The benefits of this change are:
- The flow is consistent with IPv4 (and FreeBSD and OpenBSD)
  - old: ip6_output => nd6_output (do ND if needed) => L2_output (lookup a stored cache)
  - new: ip6_output => L2_output (lookup a cache. Do ND if cache not found)
- We can remove some workarounds in nd6_output
- We can move L2 specific operations to their own place
- The performance slightly improves because one cache lookup is reduced

Revision 1.88.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 19:14:17 2017 UTC (8 years ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +5 -3 lines
Pull up following revision(s) (requested by maxv in ticket #1355):
	sys/net/if_arcsubr.c: revision 1.76 via patch
	sys/net/if_ecosubr.c: revision 1.50 via patch
	sys/net/if_ethersubr.c: revision 1.236 via patch
	sys/net/if_fddisubr.c: revision 1.104 via patch
	sys/net/if_tokensubr.c: revision 1.80 via patch
Don't forget to free the mbuf when we decide not to reply to an ARP
request. This obviously is a terrible bug, since it allows a remote sender
to DoS the system with specially-crafted requests sent in a loop.

Revision 1.88.6.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 19:14:01 2017 UTC (8 years ago) by snj
Branches: netbsd-7-0
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +5 -3 lines
Pull up following revision(s) (requested by maxv in ticket #1355):
	sys/net/if_arcsubr.c: revision 1.76 via patch
	sys/net/if_ecosubr.c: revision 1.50 via patch
	sys/net/if_ethersubr.c: revision 1.236 via patch
	sys/net/if_fddisubr.c: revision 1.104 via patch
	sys/net/if_tokensubr.c: revision 1.80 via patch
Don't forget to free the mbuf when we decide not to reply to an ARP
request. This obviously is a terrible bug, since it allows a remote sender
to DoS the system with specially-crafted requests sent in a loop.

Revision 1.88.4.8: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:58 2017 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.4.7: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.7: +6 -6 lines
Sync with HEAD

Revision 1.81.14.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 05:48:00 2017 UTC (8 years ago) by snj
Branches: netbsd-6
Diff to: previous 1.81.14.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.14.1: +5 -3 lines
Pull up following revision(s) (requested by maxv in ticket #1429):
	sys/net/if_arcsubr.c: revision 1.76 via patch
	sys/net/if_ecosubr.c: revision 1.50 via patch
	sys/net/if_ethersubr.c: revision 1.236 via patch
	sys/net/if_fddisubr.c: revision 1.104 via patch
	sys/net/if_tokensubr.c: revision 1.80 via patch
Don't forget to free the mbuf when we decide not to reply to an ARP
request. This obviously is a terrible bug, since it allows a remote sender
to DoS the system with specially-crafted requests sent in a loop.

Revision 1.81.14.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 05:47:28 2017 UTC (8 years ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.81.14.1: preferred, colored; next MAIN 1.81.14.2: preferred, colored
Changes since revision 1.81.14.1: +5 -3 lines
Pull up following revision(s) (requested by maxv in ticket #1429):
	sys/net/if_arcsubr.c: revision 1.76 via patch
	sys/net/if_ecosubr.c: revision 1.50 via patch
	sys/net/if_ethersubr.c: revision 1.236 via patch
	sys/net/if_fddisubr.c: revision 1.104 via patch
	sys/net/if_tokensubr.c: revision 1.80 via patch
Don't forget to free the mbuf when we decide not to reply to an ARP
request. This obviously is a terrible bug, since it allows a remote sender
to DoS the system with specially-crafted requests sent in a loop.

Revision 1.81.20.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 05:46:51 2017 UTC (8 years ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +5 -3 lines
Pull up following revision(s) (requested by maxv in ticket #1429):
	sys/net/if_arcsubr.c: revision 1.76 via patch
	sys/net/if_ecosubr.c: revision 1.50 via patch
	sys/net/if_ethersubr.c: revision 1.236 via patch
	sys/net/if_fddisubr.c: revision 1.104 via patch
	sys/net/if_tokensubr.c: revision 1.80 via patch
Don't forget to free the mbuf when we decide not to reply to an ARP
request. This obviously is a terrible bug, since it allows a remote sender
to DoS the system with specially-crafted requests sent in a loop.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Jan 24 18:37:20 2017 UTC (8 years ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20170204
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +6 -4 lines
Don't forget to free the mbuf when we decide not to reply to an ARP
request. This obviously is a terrible bug, since it allows a remote sender
to DoS the system with specially-crafted requests sent in a loop.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Jan 11 13:08:29 2017 UTC (8 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -4 lines
Get rid of unnecessary header inclusions

Revision 1.99.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:20 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.99.2.1: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.2.1: +7 -6 lines
Sync with HEAD

Revision 1.88.4.7: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:08 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.4.6: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.6: +27 -12 lines
Sync with HEAD

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Oct 3 11:06:06 2016 UTC (8 years, 4 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20161204, nick-nhusb-base-20161004
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +5 -5 lines
Fix race condition on ifqueue used by traditional netisr

If a underlying network device driver supports MSI/MSI-X, RX interrupts
can be delivered to arbitrary CPUs. This means that Layer 2 subroutines
such as ether_input (softint) and subsequent Layer 3 subroutines (softint)
which are called via traditional netisr can be dispatched on an arbitrary
CPU. Layer 2 subroutines now run without any locks (expected) and so a
Layer 2 subroutine and a Layer 3 subroutine can run in parallel.

There is a shared data between a Layer 2 routine and a Layer 3 routine,
that is ifqueue and IF_ENQUEUE (from L2) and IF_DEQUEUE (from L3) on it
are racy now.

To fix the race condition, use ifqueue#ifq_lock to protect ifqueue
instead of splnet that is meaningless now.

The same race condition exists in route_intr. Fix it as well.

Reviewed by knakahara@

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Oct 3 07:13:29 2016 UTC (8 years, 4 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -3 lines
Add missing return

Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:10 2016 UTC (8 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +22 -8 lines
Sync with HEAD

Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Aug 1 03:15:30 2016 UTC (8 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20160806, localcount-20160914
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +22 -8 lines
Apply pserialize and psref to struct ifaddr and its variants

This change makes struct ifaddr and its variants (in_ifaddr and in6_ifaddr)
MP-safe by using pserialize and psref. At this moment, pserialize_perform
and psref_target_destroy are disabled because (1) we don't need them
because of softnet_lock (2) they cause a deadlock because of softnet_lock.
So we'll enable them when we remove softnet_lock in the future.

Revision 1.88.4.6: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:38 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.4.5: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.5: +4 -4 lines
Sync with HEAD

Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Apr 28 00:16:56 2016 UTC (8 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -4 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.88.4.5: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:17 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.4.4: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.4: +6 -6 lines
Sync with HEAD

Revision 1.98: download - view: text, markup, annotated - select for diffs
Wed Apr 20 09:01:04 2016 UTC (8 years, 10 months ago) by knakahara
Branches: MAIN
CVS tags: nick-nhusb-base-20160422
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -5 lines
IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE caller

Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Apr 7 03:22:15 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +4 -3 lines
- tidy up error messages
- add a length argument to arpresolve()
- add KASSERT for overflow

Revision 1.88.4.4: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:32 2016 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.4.3: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.3: +3 -3 lines
Sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:12 2016 UTC (9 years ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160319
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3 lines
Introduce softint-based if_input

This change intends to run the whole network stack in softint context
(or normal LWP), not hardware interrupt context. Note that the work is
still incomplete by this change; to that end, we also have to softint-ify
if_link_state_change (and bpf) which can still run in hardware interrupt.

This change softint-ifies at ifp->if_input that is called from
each device driver (and ieee80211_input) to ensure Layer 2 runs
in softint (e.g., ether_input and bridge_input). To this end,
we provide a framework (called percpuq) that utlizes softint(9)
and percpu ifqueues. With this patch, rxintr of most drivers just
queues received packets and schedules a softint, and the softint
dequeues packets and does rest packet processing.

To minimize changes to each driver, percpuq is allocated in struct
ifnet for now and that is initialized by default (in if_attach).
We probably have to move percpuq to softc of each driver, but it's
future work. At this point, only wm(4) has percpuq in its softc
as a reference implementation.

Additional information including performance numbers can be found
in the thread at tech-kern@ and tech-net@:
http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html

Acknowledgment: riastradh@ greatly helped this work.
Thank you very much!

Revision 1.88.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:06 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.4.2: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.2: +4 -5 lines
Sync with HEAD (as of 26th Dec)

Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Oct 13 12:33:07 2015 UTC (9 years, 4 months ago) by roy
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -4 lines
arpresolve() now returns 0 on success otherwise an error code.
Callers of arpresolve() now pass the error code back to their caller,
masking out EWOULDBLOCK.

This allows applications such as ping(8) to display a suitable error
condition.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed Sep 30 06:25:59 2015 UTC (9 years, 4 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -3 lines
Remove extra opt_gateway.h

Revision 1.88.4.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:10 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.4.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.1: +5 -3 lines
Sync with HEAD

Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:21:26 2015 UTC (9 years, 5 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -2 lines
sprinkle _KERNEL_OPT

Revision 1.88.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:25 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +9 -68 lines
Sync with HEAD

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Jun 4 09:19:59 2015 UTC (9 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -29 lines
Pull out route lookups from L2 output routines

Route lookups for routes of RTF_GATEWAY were done in L2 output
routines such as ether_output, but they should be done in L3
i.e., before L2 output routines. This change places the lookups
between L3 output routines (say ip_output) and the L2 output
routines.

The change is based on dyoung's patch submitted in the thread:
https://mail-index.netbsd.org/tech-net/2013/02/01/msg003847.html
You can find out detailed investigations by dyoung about the
issue in there.

Note that the change introduces a workaround for MPLS. ether_output
knew that it needs to fill the ethertype of a frame as MPLS,
based on a tag of an original route (rtentry), but now we don't
pass it to ehter_output. So we have to tell that in another way.
We use mtag to do so for now, which introduces some overhead.
We should fix it somehow in the future.

Discussed on tech-kern and tech-net.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon May 25 08:31:34 2015 UTC (9 years, 8 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +7 -17 lines
Remove leftover DECNET-related stuffs

No objection on tech-kern and tech-net.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon May 25 08:29:01 2015 UTC (9 years, 8 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +7 -29 lines
Remove leftover IPX-related stuffs

No objection on tech-kern and tech-net.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed May 20 09:17:18 2015 UTC (9 years, 9 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +7 -9 lines
Remove leftover use of AF_NS and NS option

Unnecessary NETISR_NS is also removed.

Revision 1.81.18.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:34 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.81.18.3: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.18.3: +33 -13 lines
Rebase to HEAD as of a few days ago.

Revision 1.84.10.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:15 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +35 -15 lines
Rebase.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Jun 7 09:34:02 2014 UTC (10 years, 8 months ago) by martin
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-base, netbsd-7-1-RC1, 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
Branch point for: nick-nhusb, netbsd-7-nhusb, netbsd-7-0, netbsd-7
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +9 -4 lines
Try to untangle the ifdef mess a bit more

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Jun 6 00:25:28 2014 UTC (10 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3 lines
Adjust previous change for the #ifdef mess and fix the build.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Jun 5 23:48:16 2014 UTC (10 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +21 -9 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.81.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:09 2014 UTC (10 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.81.8.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.8.1: +3 -135 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.84.6.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:12 2014 UTC (10 years, 9 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +13 -10 lines
sync with head

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu May 15 09:04:03 2014 UTC (10 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +13 -10 lines
 Put schednetisr() into splnet()/splx() pair.
This might avoids delay of processing a packet.

Revision 1.81.18.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:25 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.81.18.2: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.18.2: +2 -100 lines
resync from head

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Mar 1 18:25:56 2013 UTC (11 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-earlyentropy, rmind-smpnet
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -100 lines
Retire OSI network stack. OK core@

Revision 1.81.18.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:01 2013 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.81.18.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.18.1: +3 -37 lines
resync with head

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Feb 5 17:30:02 2013 UTC (12 years ago) by joerg
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -37 lines
Remove remnants of AF_IMPLINK.

Revision 1.81.18.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:47 2012 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.81.14.1: download - view: text, markup, annotated - select for diffs
Wed Oct 31 16:07:46 2012 UTC (12 years, 3 months 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
Branch point for: netbsd-6-1
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +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.81.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:43 2012 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
sync with head

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Oct 11 20:05:50 2012 UTC (12 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
PR/47058: Antti Kantee: If the ipv6 flow code modifies the mbuf, pass the
change up to the caller.

Revision 1.75.10.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:53 2010 UTC (14 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.75.10.3: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.10.3: +3 -4 lines
sync with head.

Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:18:01 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +3 -4 lines
sync with head

Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:19 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +3 -4 lines
Sync with HEAD.

Revision 1.76.12.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:28:21 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +4 -4 lines
sync to netbsd-5

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:22:23 2010 UTC (14 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6-0, netbsd-6
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -4 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.75.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:26 2010 UTC (14 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.75.10.2: preferred, colored; branchpoint 1.75: preferred, colored
Changes since revision 1.75.10.2: +7 -15 lines
sync with head

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Feb 4 21:48:11 2010 UTC (15 years ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -2 lines
Explicitly include opt_gateway.h when depending on GATEWAY.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:08:00 2010 UTC (15 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -13 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.76.10.1: download - view: text, markup, annotated - select for diffs
Sat Nov 21 19:56:35 2009 UTC (15 years, 3 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +4 -4 lines
Pull up following revision(s) (requested by christos in ticket #1156):
	sys/net/if_arcsubr.c: revision 1.61
	sys/net/if_ethersubr.c: revision 1.173
	sys/net/if_fddisubr.c: revision 1.78
	sys/net/if_tokensubr.c: revision 1.58 via patch
	sys/netinet/if_arp.c: revision 1.149
ar_tha() can return NULL; treat this as an error.

Revision 1.76.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 21 19:43:41 2009 UTC (15 years, 3 months ago) by snj
Branches: netbsd-5
CVS tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +4 -4 lines
Pull up following revision(s) (requested by christos in ticket #1156):
	sys/net/if_arcsubr.c: revision 1.61
	sys/net/if_ethersubr.c: revision 1.173
	sys/net/if_fddisubr.c: revision 1.78
	sys/net/if_tokensubr.c: revision 1.58 via patch
	sys/netinet/if_arp.c: revision 1.149
ar_tha() can return NULL; treat this as an error.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Nov 20 02:14:56 2009 UTC (15 years, 3 months ago) by christos
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4 lines
ar_tha() can return NULL; treat this as an error.

Revision 1.75.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:14 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.75.10.1: preferred, colored; branchpoint 1.75: preferred, colored
Changes since revision 1.75.10.1: +5 -4 lines
sync with head.

Revision 1.76.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:11 2009 UTC (16 years, 1 month ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +5 -4 lines
Sync with HEAD.

Revision 1.75.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:31 2009 UTC (16 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.75.6.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.6.1: +3 -2 lines
Sync with HEAD.

Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:25 2008 UTC (16 years, 2 months ago) by haad
Branches: haad-dm
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +5 -4 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Nov 7 00:20:13 2008 UTC (16 years, 3 months ago) by dyoung
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-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -4 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.75.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:57 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +4 -4 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.75.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:22 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
Sync with HEAD.

Revision 1.75.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:27 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +4 -4 lines
sync with head.

Revision 1.75.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:40 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
sync with head.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun May 11 20:13:30 2008 UTC (16 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, 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, simonb-wapbl, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5-0, netbsd-5, matt-nb5-mips64, haad-dm
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
Where applicable, s/0/NULL/, s/Bcmp/memcmp/.  Remove a gratuitous
cast from a call to nd6_storelladdr().

Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:04 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.71.2.2: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.2: +7 -7 lines
sync with HEAD

Revision 1.56.2.7: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:37:00 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.6: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.2.6: +7 -7 lines
sync with head.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Feb 20 17:05:53 2008 UTC (17 years ago) by matt
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -7 lines
s/u_\(int[0-9]*_t\)/u\1/g
(change u_int*_t to uint*_t)

Revision 1.56.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:02 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.5: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.2.5: +6 -8 lines
sync with head

Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:10 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.71.2.1: preferred, colored
Changes since revision 1.71.2.1: +6 -8 lines
sync with HEAD

Revision 1.73.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:57:05 2008 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +6 -8 lines
Sync with HEAD

Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:31 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking2
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +6 -8 lines
Sync with head.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Dec 20 21:08:21 2007 UTC (17 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: vmlocking2-base3, mjf-devfs-base, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +6 -8 lines
Constify struct ifnet->if_sadl and every use throughout the tree.
Add if_set_sadl() that both sets the link-layer address length and
replaces the current link-layer address with a new one, and use it
throughout the tree.

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:33:30 2007 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +10 -8 lines
sync with HEAD

Revision 1.56.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:00 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.4: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.2.4: +3 -3 lines
sync with head.

Revision 1.69.4.3: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:49:00 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.69.4.2: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.4.2: +3 -3 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.72.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:40:06 2007 UTC (17 years, 3 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -3 lines
Sync with HEAD.

Revision 1.68.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:17:16 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.68.2.2: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.2: +3 -3 lines
Sync with head.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:16:44 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:40 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.1: +9 -7 lines
Sync with head.

Revision 1.69.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:55 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.69.4.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.4.1: +9 -7 lines
Sync with HEAD.

Revision 1.56.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:42:05 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.3: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.2.3: +21 -15 lines
sync with head.

Revision 1.68.10.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:23:09 2007 UTC (17 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.68.10.1: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.10.1: +9 -7 lines
Sync with HEAD.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Aug 30 02:17:35 2007 UTC (17 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +9 -7 lines
Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool
and dom_sa_len members from struct domain.  Pools of fixed-size
objects are too rigid for sockaddr_dls, whose size can vary over
a wide range.

Return sockaddr_dl to its "historical" size.  Now that I'm using
malloc(9) instead of pool(9) to allocate sockaddr_dl, I can create
a sockaddr_dl of any size in the kernel, so expanding sockaddr_dl
is useless.

Avoid using sizeof(struct sockaddr_dl) in the kernel.

Introduce sockaddr_dl_alloc() for allocating & initializing an
arbitrary sockaddr_dl on the heap.

Add an argument, the sockaddr length, to sockaddr_alloc(),
sockaddr_copy(), and sockaddr_dl_setaddr().

Constify: LLADDR() -> CLLADDR().

Where the kernel overwrites LLADDR(), use sockaddr_dl_setaddr(),
instead.  Used properly, sockaddr_dl_setaddr() will not overrun
the end of the sockaddr.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Aug 26 23:07:16 2007 UTC (17 years, 5 months ago) by dyoung
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
Constify: LLADDR -> CLLADDR.  I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).

Use sockaddr_dl_setaddr() in a few places.

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:27:53 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -6 lines
Sync with HEAD.

Revision 1.68.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:49:39 2007 UTC (17 years, 6 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -6 lines
Sync with HEAD.

Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 02:37:23 2007 UTC (17 years, 6 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +5 -5 lines
Sync with HEAD.

Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 7 04:38:18 2007 UTC (17 years, 6 months ago) by dyoung
Branches: matt-mips64
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.1: +808 -0 lines
Constify.

Revision 1.70.2.1
Tue Aug 7 04:38:17 2007 UTC (17 years, 6 months ago) by dyoung
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.70: +0 -808 lines
file if_fddisubr.c was added on branch matt-mips64 on 2007-08-07 04:38:18 +0000

Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Aug 7 04:38:17 2007 UTC (17 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: matt-mips64-base
Branch point for: matt-mips64
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +5 -5 lines
Constify.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jul 21 02:24:11 2007 UTC (17 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: hpcarm-cleanup
Branch point for: jmcneill-pm
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3 lines
Use NULL instead of 0 for null pointers.

Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:59:11 2007 UTC (17 years, 11 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.65.2.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.1: +11 -7 lines
Sync with HEAD.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Mar 7 22:20:05 2007 UTC (17 years, 11 months ago) by liamjfoy
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, nick-csl-alignment
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +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.67: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:15 2007 UTC (17 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +7 -7 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:41 2007 UTC (17 years, 11 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +18 -17 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.56.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:34 2007 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.2: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.2.2: +18 -17 lines
sync with head.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:34:08 2007 UTC (18 years ago) by dyoung
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +18 -17 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.63.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:11 2007 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +13 -17 lines
Sync with head.

Revision 1.56.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:20 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.1: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.2.1: +13 -107 lines
sync with head.

Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 18 14:43:31 2006 UTC (18 years, 2 months ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +11 -15 lines
Pull up following revision(s) (requested by is in ticket #280):
	sys/net/if_fddisubr.c: revision 1.64
	sys/netiso/clnp_input.c: revision 1.34
Avoid overlapping struct assignment for FDDI. Should fix netiso like in the
Ethernet case.

Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 18 11:42:16 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +13 -17 lines
sync with head.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Dec 10 14:21:32 2006 UTC (18 years, 2 months ago) by is
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -4 lines
Explain llc XID magic constants, correcting the XID header format tag.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Dec 10 12:34:42 2006 UTC (18 years, 2 months ago) by is
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +11 -15 lines
Avoid overlapping struct assignment for FDDI. Should fix netiso like in the
Ethernet case.

Revision 1.58.8.3: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:54 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.58.8.2: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.8.2: +2 -92 lines
sync with head.

Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:06 2006 UTC (18 years, 5 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +48 -95 lines
sync with head

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Sep 7 02:40:33 2006 UTC (18 years, 5 months ago) by dogcow
Branches: MAIN
CVS tags: yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base, netbsd-4-base
Branch point for: yamt-splraiseipl, newlock2, netbsd-4
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -92 lines
remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.

Revision 1.58.8.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:53:38 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.58.8.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.8.1: +3 -3 lines
sync with head.

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:27 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +57 -21 lines
sync with head.

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:09:12 2006 UTC (18 years, 8 months ago) by chap
Branches: chap-midi
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +3 -3 lines
Sync with head.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:42 2006 UTC (18 years, 8 months ago) by kardel
Branches: MAIN
CVS tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 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.58.6.3: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:38:37 2006 UTC (18 years, 8 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.58.6.2: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.6.2: +48 -5 lines
Sync with head.

Revision 1.58.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:43 2006 UTC (18 years, 9 months ago) by tron
Branches: peter-altq
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +50 -7 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.58.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:56 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +50 -7 lines
sync with head.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu May 18 09:05:51 2006 UTC (18 years, 9 months ago) by liamjfoy
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +42 -3 lines
Integrate Common Address Redundancy Procotol (CARP) from OpenBSD

'pseudo-device	carp'

Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri May 12 01:20:33 2006 UTC (18 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +8 -4 lines
since ar_tha() can return NULL, don't pass it directly to functions
that expect real addresses.  explicitly KASSERT() that it is not
NULL in the kernel and just avoid using it userland.

(the kernel could be more defensive about this, but, until now it
would have just crashed anyway.)

Revision 1.58.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:06 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.58.6.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.6.1: +4 -4 lines
Sync with head.

Revision 1.58.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:46:10 2006 UTC (18 years, 10 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +4 -4 lines
sync with head.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Apr 15 02:26:17 2006 UTC (18 years, 10 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
Coverity CID 1146: Protect against NULL deref.

Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:18:52 2006 UTC (19 years ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3 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.58: download - view: text, markup, annotated - select for diffs
Sun Dec 11 23:05:25 2005 UTC (19 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +9 -16 lines
ANSI function decls and application of static.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:51 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2 lines
merge ktrace-lwp.

Revision 1.50.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:10:32 2005 UTC (19 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.50.2.6: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.6: +32 -41 lines
Sync with HEAD. Here we go again...

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon May 30 04:17:59 2005 UTC (19 years, 8 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-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +32 -41 lines
bcopy -> memcpy
bcmp -> memcmp
and remove casts.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:31 2005 UTC (19 years, 9 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +24 -43 lines
sync with -current

Revision 1.50.2.6: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:31:34 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.50.2.5: preferred, colored
Changes since revision 1.50.2.5: +5 -24 lines
Sync with HEAD.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Mar 31 15:48:13 2005 UTC (19 years, 10 months ago) by christos
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -24 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.53.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:31 2005 UTC (19 years, 11 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +21 -21 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.50.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:52:57 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.50.2.4: preferred, colored
Changes since revision 1.50.2.4: +21 -21 lines
Sync with HEAD.

Hi Perry!

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:45:09 2005 UTC (19 years, 11 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.53: preferred, colored
Changes since revision 1.53: +21 -21 lines
nuke trailing whitespace

Revision 1.50.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:32:50 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.50.2.3: preferred, colored
Changes since revision 1.50.2.3: +9 -3 lines
Sync with HEAD.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Dec 6 02:59:23 2004 UTC (20 years, 2 months 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.52: preferred, colored
Changes since revision 1.52: +9 -3 lines
Sprinkle #ifdef INET to make a GENERIC kernel compile with INET undefined.

Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:36:36 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.50.2.2: preferred, colored
Changes since revision 1.50.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:16 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.50.2.1: preferred, colored
Changes since revision 1.50.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:13 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +36 -9 lines
Sync with HEAD

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Mar 22 18:02:12 2004 UTC (20 years, 11 months ago) by matt
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.51: preferred, colored
Changes since revision 1.51: +5 -9 lines
Update my copyright to not include advertising clause.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:32:53 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +35 -4 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Jun 23 11:02:11 2003 UTC (21 years, 8 months ago) by martin
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -2 lines
Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri May 16 04:54:55 2003 UTC (21 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +10 -6 lines
use strlcpy

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed May 14 15:50:51 2003 UTC (21 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -58 lines
unifdef for readability/clarity.  thorpej ok

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Feb 26 07:47:42 2003 UTC (21 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Fix tpyo.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Feb 26 06:31:13 2003 UTC (21 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +15 -2 lines
Add MBUFTRACE kernel option.
Do a little mbuf rework while here.  Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *).  These are not performance critical and making them
call m_get saves considerable space.  Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.

Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:43:41 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.40.2.3: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.3: +3 -3 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.38.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:22:47 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.38.2.5: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.5: +3 -3 lines
Catch up to -current.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Sep 11 05:36:26 2002 UTC (22 years, 5 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.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
KNF - return is not a function.

Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:50:24 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.40.2.2: preferred, colored
Changes since revision 1.40.2.2: +3 -2 lines
catch up with -current on kqueue branch

Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 15:52:08 2002 UTC (22 years, 8 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -2 lines
catch up with -current.

Revision 1.38.2.5: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:48:12 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.38.2.4: preferred, colored
Changes since revision 1.38.2.4: +3 -2 lines
Catch up to -current.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Jun 4 10:00:24 2002 UTC (22 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2 lines
add a blank line

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:02:04 2002 UTC (23 years, 1 month ago) by thorpej
Branches: kqueue
Diff to: previous 1.40.2.1: preferred, colored
Changes since revision 1.40.2.1: +5 -6 lines
Sync kqueue branch with -current.

Revision 1.38.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:17:20 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.38.2.3: preferred, colored
Changes since revision 1.38.2.3: +5 -1 lines
Catch up to -current.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Nov 12 23:49:38 2001 UTC (23 years, 3 months ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, 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, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -1 lines
add RCSIDs

Revision 1.38.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:54 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.38.2.2: preferred, colored
Changes since revision 1.38.2.2: +1 -6 lines
Catch up to -current.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Oct 17 08:23:06 2001 UTC (23 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -6 lines
unifdef OLDIP6OUTPUT

Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:12:10 2001 UTC (23 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.38.2.1: preferred, colored
Changes since revision 1.38.2.1: +7 -1 lines
Catch up with -current.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:50 2001 UTC (23 years, 6 months ago) by lukem
Branches: kqueue
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -1 lines
update to -current

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jul 24 06:29:13 2001 UTC (23 years, 7 months ago) by matt
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -1 lines
Update the max_linkhdr when we attach a fddi interface.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:08:02 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -5 lines
Catch up to -current.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jun 14 05:44:24 2001 UTC (23 years, 8 months ago) by itojun
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +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.28.2.5: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:39 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.28.2.4: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.4: +3 -3 lines
Sync with HEAD

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Apr 13 23:30:13 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 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.28.2.4: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:50 2001 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.28.2.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.3: +4 -26 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Jan 17 00:30:51 2001 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -27 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.28.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:50 2001 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.28.2.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.2: +19 -7 lines
Sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Dec 18 19:44:33 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1 lines
Fill in if_dlt.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 13 22:07:50 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +19 -8 lines
Add ALTQ glue.

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:30 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.1: +10 -1 lines
Sync with HEAD (for UBC fixes).

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Dec 12 18:00:26 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +10 -1 lines
Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:10:01 2000 UTC (24 years, 3 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +39 -23 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Oct 15 15:39:11 2000 UTC (24 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -3 lines
suppress warning on nd6_storelladdr failure.  the failure could happen
easily when we have routing table with too many entries.  sync with kame.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:09:42 2000 UTC (24 years, 8 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +16 -7 lines
Sync w/ netbsd-1-5-base.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jun 14 05:10:28 2000 UTC (24 years, 8 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Check the multicast bit in the header mbuf while interrupts are still blocked.
Otherwise we can run off into space if the packet was sent immediately and the
mbuf freed.
Pointed out by Boris Popov (not on our lists).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun May 28 02:49:36 2000 UTC (24 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +14 -5 lines
Fix bpf output on fddi to actually work.  Make it compatible with ULTRIX
and Tru64.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Mar 30 09:45:35 2000 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +16 -16 lines
Kill some more register declarations.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 6 20:52:12 2000 UTC (24 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Use the new macros in if.h for setting ifp->if_baudrate.

Revision 1.28.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:09 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +9 -1 lines
Pull up to last week's -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Dec 13 15:17:19 1999 UTC (25 years, 2 months ago) by itojun
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +9 -1 lines
sync IPv6 part with latest KAME tree.   IPsec part is left unmodified
due to massive changes in KAME side.
- IPv6 output goes through nd6_output
- faith can capture IPv4 packets as well - you can run IPv4-to-IPv6 translator
  using heavily modified DNS servers
- per-interface statistics (required for IPv6 MIB)
- interface autoconfig is revisited
- udp input handling has a big change for mapped address support.
- introduce in4_cksum() for non-overwriting checksumming
- introduce m_pulldown()
- neighbor discovery cleanups/improvements
- netinet/in.h strictly conforms to RFC2553 (no extra defs visible to userland)
- IFA_STATS is fixed a bit (not tested)
- and more more more.

TODO:
- cleanup os-independency #ifdef
- avoid rcvif dual use (for IPsec) to help ifdetach

(sorry for jumbo commit, I can't separate this any more...)

Revision 1.25.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:35:03 1999 UTC (25 years, 2 months ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.25.6.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.6.1: +8 -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.28: download - view: text, markup, annotated - select for diffs
Tue Sep 21 22:18:51 1999 UTC (25 years, 5 months ago) by matt
Branches: MAIN
CVS tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Make NETATALK over FDDI.

Revision 1.25.4.2: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:45:19 1999 UTC (25 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.25.4.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.4.1: +53 -2 lines
Sync w/ -current.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Jul 1 08:12:48 1999 UTC (25 years, 7 months ago) by itojun
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +53 -2 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.25.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 28 06:36:56 1999 UTC (25 years, 7 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990705, kame_14_19990628
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +53 -2 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.25.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:27:34 1999 UTC (25 years, 8 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +20 -8 lines
Sync w/ -current.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue May 18 23:57:20 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +20 -8 lines
Rework layer 2 protocol input routines.  Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Fri Dec 11 04:53:05 1998 UTC (26 years, 2 months ago) by kenh
Branches: kenh-if-detach
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +2 -1 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.25: download - view: text, markup, annotated - select for diffs
Thu Dec 10 15:51:48 1998 UTC (26 years, 2 months ago) by christos
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.24: preferred, colored
Changes since revision 1.24: +1 -3 lines
IPX fixes.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Oct 13 02:34:32 1998 UTC (26 years, 4 months ago) by kim
Branches: MAIN
CVS tags: kenh-if-detach-base, chs-ubc-base, chs-ubc
Branch point for: kenh-if-detach
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5 lines
Use ETHERTYPE_ATALK instead of ETHERTYPE_AT.  The former seems more common.
Our other constants also use "ATALK".

Added many new ETHERTYPE constants to sys/net/ethertypes.h, including the
ones from libpcap and tcpdump "ethertype.h" files.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jul 5 06:49:16 1998 UTC (26 years, 7 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
defopt NS, NSIP.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jul 5 04:37:41 1998 UTC (26 years, 7 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
defopt ISO TPIP.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jul 5 03:14:43 1998 UTC (26 years, 7 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
defopt LLC

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jul 5 02:12:34 1998 UTC (26 years, 7 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
defopt CCITT.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jul 5 00:51:26 1998 UTC (26 years, 7 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1 lines
defopt INET, NETATALK.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri May 1 03:58:55 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Squash a typo.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri May 1 03:44:52 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +18 -5 lines
Add FDDI source address spoofing via pseudo_AF_HDRCMPLT.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Apr 29 21:37:54 1998 UTC (26 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -1 lines
Add support for "fast" forwarding.  Add hooks in if_ethersubr.c and
if_fddisubr.c to fastpath IP forwarding.  If ip_forward successfully
forwards a packet, it will create a cache (ipflow) entry.  ether_input
and fddi_input will first call ipflow_fastforward with the received
packet and if the packet passes enough tests, it will be forwarded (the
ttl is decremented and the cksum is adjusted incrementally).

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:29:12 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +2 -1 lines
Update marc-pcmcia branch from trunk.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 2 19:42:00 1997 UTC (27 years, 4 months ago) by is
Branches: MAIN
CVS tags: 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-base
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Reimplement a test for broadcast addresses advertized, which was left out
when rewriting the ARP system.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Apr 3 21:07:42 1997 UTC (27 years, 10 months ago) by christos
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +35 -35 lines
Fix compile problems (from Veego)

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Apr 2 21:23:27 1997 UTC (27 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
Add netatalk stubs.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Mar 24 00:35:04 1997 UTC (27 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +219 -110 lines
Resolve conflicts from merge.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Mar 24 00:30:08 1997 UTC (27 years, 11 months ago) by thorpej
Branches: thomas
CVS tags: pdq-970321, date-03-may-96
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +269 -70 lines
Update from Matt Thomas <matt@3am-software.com>.  Notable highlight:
the DEFTA (TurboChannel) card now works on the Alpha!

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Mar 19 16:17:04 1997 UTC (27 years, 11 months ago) by is
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +37 -4 lines
Deal with AF_ARP on transmission --- without it, the new ARP code doesn't
work.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Mar 15 18:12:28 1997 UTC (27 years, 11 months ago) by is
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +57 -5 lines
New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.

Revision 1.9.4.3: download - view: text, markup, annotated - select for diffs
Sun Mar 9 20:59:04 1997 UTC (27 years, 11 months ago) by is
Branches: is-newarp
Diff to: previous 1.9.4.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.2: +6 -2 lines
netinet/if_ether.h -> netinet/if_inarp.h

Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Thu Feb 20 16:41:07 1997 UTC (28 years ago) by is
Branches: is-newarp
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.1: +8 -4 lines
Give fddi_ifattach() a 2nd parameter, like ether_ifattach(): a pointer to the
link level address. xxx_ifattach() copy it to the sockaddr_dl structure
associated with the interface.

Change pdq to pass that parameter.
Change frontend to not copy the l.l.a. itself.

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Fri Feb 7 18:06:59 1997 UTC (28 years ago) by is
Branches: is-newarp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +49 -5 lines
Snapshot of new ARP code.

Our old ARP code was hardwired for 6-byte length medium
addresses, while the protocol is designed for any size.

This snapshot contains a first hack at getting rid of
Ethernet specific data structures. The ep driver is updated
(and tested on the PCI bus), the iy and fpa drivers have been
updated, but not real life tested yet.

If you want to test this with other drivers, you have to update
them first yourself, and probably tag the relevant directories.
Better contact me if you want to do this.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Oct 21 01:58:23 1996 UTC (28 years, 4 months ago) by perry
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
Small fix to make this compile even if no BPFs are being compiled
in. Unfortunately, the BPF-only code called a label that wan't also
being #if'ed, and this made the compiler bitch. Now that we compile
with -Werror, this prevented the thing from compiling at all! (sigh)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Oct 13 02:11:01 1996 UTC (28 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -12 lines
backout previous kprintf change

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:59:47 1996 UTC (28 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +17 -13 lines
- printf -> kprintf, sprintf -> ksprintf

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jul 10 18:54:23 1996 UTC (28 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
#ifdef the declaration of 'ac' in fddi_input on ISO, since it's only
used if ISO is defined and -Wall complains.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 7 23:20:21 1996 UTC (28 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -6 lines
Fix new warnings.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue May 7 02:40:32 1996 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -2 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.3: download - view: text, markup, annotated - select for diffs
Sun Dec 24 03:32:03 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -11 lines
Remove old comment regarding trailers.
Fix a diagnostic message.
Make some variables use fixed-size types.
Initialize if_output in fddi_ifattach().

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 19 04:35:29 1995 UTC (29 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +16 -20 lines
local adaptations, and fix a could of compilation errors

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Aug 19 00:59:47 1995 UTC (29 years, 6 months ago) by cgd
Branches: thomas
CVS tags: thomas-pdq-950816
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Generic FDDI support by Matt Thomas.  Support for DEC "PDQ" FDDI chipset
and for the PCI attachment of said chipset ("if_fpa"), also from Matt Thomas.
Arguably, pdq* doesn't belong in sys/dev/ic, but it's going to be shared by
various bus attachment devices at some point in the future, and there's no
other place that seems to fit as well.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 19 00:59:47 1995 UTC (29 years, 6 months ago) by cgd
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>