CVS log for src/sys/net/if_ieee1394subr.c
Up to [cvs.NetBSD.org] / src / sys / net
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.69.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 16 05:13:13 2023 UTC (17 months, 1 week ago) by thorpej
Branches: thorpej-ifq
Diff to: previous 1.69.8.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.8.1: +3 -3
lines
if_transmit_lock() and if_enqueue() are equivalent. if_enqueue() is
a better name, so collapse everything down to that and garbage-collect
if_transmit_lock().
Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Thu Nov 16 04:30:22 2023 UTC (17 months, 1 week ago) by thorpej
Branches: thorpej-ifq
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3
lines
IFQ_CLASSIFY() -> ifq_classify_packet().
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Sep 3 02:47:59 2022 UTC (2 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Branch point for: thorpej-ifq
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -3
lines
Garbage-collect the remaining vestiges of netisr.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Sep 3 01:35:03 2022 UTC (2 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +6 -13
lines
Convert ARP from a legacy netisr to pktqueue.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Dec 31 14:25:24 2021 UTC (3 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4
lines
sys: Use if_init wrapper function.
Exception: Not in kern_pmf.c, for the kind of silly reason that it
avoids having kern_pmf.c refer to symbols defined only in net; this
avoids a pain in the rump.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Aug 28 06:23:42 2020 UTC (4 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -12
lines
net: introduce IFQ_ENQUEUE_ISR to assemble packet queuing routines (NFCI)
Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:45 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +5 -6
lines
Sync with HEAD
Revision 1.59.12.5: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:04 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.59.12.4: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.12.4: +3 -3
lines
Sync with HEAD, resolve a few conflicts
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Dec 22 14:28:56 2018 UTC (6 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
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,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
Replace M_ALIGN and MH_ALIGN by m_align.
Revision 1.59.12.4: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:50 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.59.12.3: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.12.3: +4 -5
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Nov 15 10:23:56 2018 UTC (6 years, 5 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-1126
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -5
lines
Remove the 't' argument from m_tag_find().
Revision 1.59.12.3: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:10 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.59.12.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.12.2: +4 -4
lines
Sync with HEAD
Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:02 2018 UTC (6 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728
Branch point for: phil-wifi
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -4
lines
Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.
This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.
Revision 1.59.12.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:15 2018 UTC (6 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.59.12.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.12.1: +4 -5
lines
Sync with HEAD
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed May 9 06:35:10 2018 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0625,
pgoyette-compat-0521
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +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.61: download - view: text, markup, annotated - select for diffs
Mon May 7 09:51:02 2018 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -4
lines
Use m_remove_pkthdr.
ok knakahara@ (for L2TP)
Revision 1.59.12.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:22 2018 UTC (6 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -4
lines
Synch with HEAD
Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Apr 26 19:56:55 2018 UTC (7 years ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0502
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -4
lines
m_copy -> m_copym
Revision 1.45.18.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:02 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.45.18.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.18.1: +33 -66
lines
update from HEAD
Revision 1.48.2.8: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:11 2017 UTC (7 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.2.7: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.7: +17 -6
lines
Sync with HEAD
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:05 2017 UTC (8 years ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +17 -6
lines
Sync with HEAD
Revision 1.56.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:49 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.56.2.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.2.1: +17 -6
lines
Sync with HEAD
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Feb 14 03:05:06 2017 UTC (8 years, 2 months 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.58: preferred, colored
Changes since revision 1.58: +17 -6
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.56.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:20 2016 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5
lines
Sync with HEAD
Revision 1.48.2.7: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:08 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.2.6: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.6: +8 -6
lines
Sync with HEAD
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Oct 3 11:06:06 2016 UTC (8 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +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.57: download - view: text, markup, annotated - select for diffs
Mon Aug 15 09:14:12 2016 UTC (8 years, 8 months ago) by maxv
Branches: MAIN
CVS tags: localcount-20160914
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -3
lines
Memory leak, found by brainy; not tested, but obvious enough
Revision 1.48.2.6: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:21 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.2.5: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.5: +3 -3
lines
Sync with HEAD
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Jun 22 10:44:32 2016 UTC (8 years, 10 months ago) by knakahara
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
fix: locking about IFQ_ENQUEUE and ALTQ
- If NET_MPSAFE is not defined, IFQ_LOCK is nop. Currently, that means
IFQ_ENQUEUE() of some paths such as bridge_enqueue() is called parallel
wrongly.
- If ALTQ is enabled, Tx processing should call if_transmit() (= IFQ_ENQUEUE
+ ifp->if_start()) instead of ifp->if_transmit() to call ALTQ_ENQUEUE()
and ALTQ_DEQUEUE().
Furthermore, ALTQ processing is always required KERNEL_LOCK currently.
Revision 1.48.2.5: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:38 2016 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.2.4: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.4: +7 -18
lines
Sync with HEAD
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Apr 28 01:37:17 2016 UTC (9 years ago) by knakahara
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -16
lines
introduce new ifnet MP-scalable sending interface "if_transmit".
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Apr 28 00:16:56 2016 UTC (9 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +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.48.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:17 2016 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.2.3: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.3: +6 -6
lines
Sync with HEAD
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Apr 20 09:01:04 2016 UTC (9 years ago) by knakahara
Branches: MAIN
CVS tags: nick-nhusb-base-20160422
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -5
lines
IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE caller
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Apr 7 03:22:15 2016 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -3
lines
- tidy up error messages
- add a length argument to arpresolve()
- add KASSERT for overflow
Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:06 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.2.2: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.2: +5 -4
lines
Sync with HEAD (as of 26th Dec)
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Oct 13 12:33:07 2015 UTC (9 years, 6 months ago) by roy
Branches: MAIN
CVS tags: nick-nhusb-base-20160319,
nick-nhusb-base-20151226
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -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.48.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:10 2015 UTC (9 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +4 -2
lines
Sync with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:21:26 2015 UTC (9 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -2
lines
sprinkle _KERNEL_OPT
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:25 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -38
lines
Sync with HEAD
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jun 4 09:19:59 2015 UTC (9 years, 10 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -38
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.48: download - view: text, markup, annotated - select for diffs
Fri Nov 28 08:29:00 2014 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -5
lines
Remove dead codes and make if_free_sadl static
No functional change.
Revision 1.45.18.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:34 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +17 -8
lines
Rebase to HEAD as of a few days ago.
Revision 1.45.32.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:15 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +17 -8
lines
Rebase.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Jun 5 23:48:16 2014 UTC (10 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +12 -6
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.45.22.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:12 2014 UTC (10 years, 11 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +9 -6
lines
sync with head
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu May 15 09:04:03 2014 UTC (10 years, 11 months ago) by msaitoh
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +9 -6
lines
Put schednetisr() into splnet()/splx() pair.
This might avoids delay of processing a packet.
Revision 1.39.10.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:54 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.39.10.3: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.10.3: +15 -15
lines
sync with head.
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:18:01 2010 UTC (14 years, 11 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +15 -15
lines
sync with head
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:19 2010 UTC (15 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +15 -15
lines
Sync with HEAD.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:22:23 2010 UTC (15 years ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
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,
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,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
khorben-n900,
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,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy,
rmind-smpnet
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +7 -7
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.44: download - view: text, markup, annotated - select for diffs
Wed Mar 31 12:17:01 2010 UTC (15 years, 1 month ago) by pgoyette
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2
lines
Now that fw_port.h is gone, we need to directly include <sys/select.h>
Fixes build break reported by myself.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Mar 29 03:05:27 2010 UTC (15 years, 1 month ago) by kiyohara
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +9 -10
lines
Bye-bye fw_port.h.
Revision 1.39.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:27 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.39.10.2: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.10.2: +7 -18
lines
sync with head
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:08:01 2010 UTC (15 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +7 -18
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.39.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:15 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.39.10.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.10.1: +5 -24
lines
sync with head.
Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:11 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +5 -24
lines
Sync with HEAD.
Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:31 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.1: +3 -22
lines
Sync with HEAD.
Revision 1.40.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:25 2008 UTC (16 years, 4 months ago) by haad
Branches: haad-dm
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +5 -24
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Nov 7 00:20:13 2008 UTC (16 years, 5 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,
matt-premerge-20091211,
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.40: preferred, colored
Changes since revision 1.40: +5 -24
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.39.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:22 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -9
lines
Sync with HEAD.
Revision 1.39.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:27 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -9
lines
sync with head.
Revision 1.39.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:40 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -9
lines
sync with head.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:09 2008 UTC (17 years ago) by martin
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,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.35.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:05 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.35.2.2: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.2: +15 -13
lines
sync with HEAD
Revision 1.28.10.6: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:37:00 2008 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.10.5: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.10.5: +11 -11
lines
sync with head.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Feb 20 17:05:53 2008 UTC (17 years, 2 months 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,
mjf-devfs2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +11 -11
lines
s/u_\(int[0-9]*_t\)/u\1/g
(change u_int*_t to uint*_t)
Revision 1.36.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:01 2008 UTC (17 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +6 -4
lines
Sync with HEAD.
Revision 1.28.10.5: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:59 2008 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.10.4: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.10.4: +6 -4
lines
sync with head.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Feb 7 01:22:00 2008 UTC (17 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: mjf-devfs-base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -4
lines
Start patching up the kernel so that a network driver always has
the opportunity to handle an ioctl before generic ifioctl handling
occurs. This will ease extending the kernel and sharing of code
between drivers.
First steps: Make the signature of ifioctl_common() match struct
ifinet->if_ioctl. Convert SIOCSIFCAP and SIOCSIFMTU to the new
ifioctl() regime, throughout the kernel.
Revision 1.28.10.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:04 2008 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.10.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.10.3: +3 -6
lines
sync with head
Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:11 2008 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.35.2.1: preferred, colored
Changes since revision 1.35.2.1: +3 -6
lines
sync with HEAD
Revision 1.36.12.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:57:07 2008 UTC (17 years, 3 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +3 -6
lines
Sync with HEAD
Revision 1.36.8.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:32 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +3 -6
lines
Sync with head.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Dec 20 21:08:22 2007 UTC (17 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: vmlocking2-base3,
matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -6
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.35.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:33:32 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -7
lines
sync with HEAD
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:41 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +11 -8
lines
Sync with head.
Revision 1.34.14.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:56 2007 UTC (17 years, 7 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +11 -8
lines
Sync with HEAD.
Revision 1.28.10.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:42:08 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.10.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.10.2: +12 -9
lines
sync with head.
Revision 1.34.10.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:23:10 2007 UTC (17 years, 7 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +11 -8
lines
Sync with HEAD.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Aug 30 02:17:35 2007 UTC (17 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
bouyer-xeni386
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -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.35: download - view: text, markup, annotated - select for diffs
Sun Aug 26 22:59:08 2007 UTC (17 years, 8 months ago) by dyoung
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +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.32.12.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:59:12 2007 UTC (18 years, 1 month ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.32.12.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.12.1: +3 -3
lines
Sync with HEAD.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:16 2007 UTC (18 years, 2 months ago) by christos
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,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: vmlocking,
nick-csl-alignment,
jmcneill-pm
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.32.12.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:43 2007 UTC (18 years, 2 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -7
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.28.10.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:34 2007 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.10.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.10.1: +7 -7
lines
sync with head.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:34:08 2007 UTC (18 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -7
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.31.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:06 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +3 -3
lines
sync with head
Revision 1.31.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:53:38 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +3 -3
lines
sync with head.
Revision 1.28.10.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:27 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +122 -88
lines
sync with head.
Revision 1.31.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:09:12 2006 UTC (18 years, 10 months ago) by chap
Branches: chap-midi
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +3 -3
lines
Sync with head.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:42 2006 UTC (18 years, 10 months ago) by kardel
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
rpaulo-netinet-merge-pcb-base,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
newlock2,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +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.31.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:18:52 2006 UTC (19 years, 2 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +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.31: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:51 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
peter-altq-base,
peter-altq,
elad-kernelauth-base,
elad-kernelauth
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
chap-midi
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2
lines
merge ktrace-lwp.
Revision 1.23.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:10:32 2005 UTC (19 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.5: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.5: +121 -87
lines
Sync with HEAD. Here we go again...
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Aug 6 14:09:54 2005 UTC (19 years, 8 months ago) by kiyohara
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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +39 -10
lines
Using DLT_APPLE_IP_OVER_IEEE1394.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jul 11 15:37:05 2005 UTC (19 years, 9 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +84 -79
lines
ieee1394 import from FreeBSD.
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:32:38 2005 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.4: preferred, colored
Changes since revision 1.23.2.4: +5 -5
lines
Sync with HEAD.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jan 8 03:18:18 2005 UTC (20 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
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,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge
Branch point for: yamt-lazymbuf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -5
lines
constify broadcastaddr.
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:36:38 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.3: preferred, colored
Changes since revision 1.23.2.3: +2 -2
lines
Fix the sync with head I botched.
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:16 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.2: preferred, colored
Changes since revision 1.23.2.2: +2 -2
lines
Sync with HEAD.
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:58:59 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.1: preferred, colored
Changes since revision 1.23.2.1: +6 -28
lines
Sync with HEAD.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Aug 20 07:46:21 2004 UTC (20 years, 8 months ago) by tron
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
Pass correct "mbuf" pointer to BPF framework.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Aug 19 20:58:24 2004 UTC (20 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -28
lines
Factor out the hand-crafting of mbufs from the interface files. Reviewed by
gimpy. XXX: I could have used bpf_mtap2 on some of the new functions, but I
chose not to, because I just wanted to do what amounts to a code move.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:14 2004 UTC (20 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -3
lines
Sync with HEAD
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Oct 26 19:09:44 2003 UTC (21 years, 6 months ago) by christos
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.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
Fix uninitialized variable warnings.`
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Oct 3 20:56:11 2003 UTC (21 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2
lines
when dropping M_PKTHDR, need to free m_tag associated with it.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 24 08:17:57 2003 UTC (21 years, 10 months ago) by grant
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +4 -2
lines
Pull up revision 1.23 (requested by itojun in ticket #1325):
don't call if_free_sadl() until very end of if_detach() logic. many of
routing table manipulation code assumes the presense of AF_LINK sockaddr.
should fix PR 21581
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri May 23 10:06:18 2003 UTC (21 years, 11 months ago) by itojun
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -2
lines
don't call if_free_sadl() until very end of if_detach() logic. many of
routing table manipulation code assumes the presense of AF_LINK sockaddr.
should fix PR 21581
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 6 09:59:35 2003 UTC (21 years, 11 months ago) by enami
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2
lines
Initialize mb.m_data.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu May 1 07:52:58 2003 UTC (22 years ago) by itojun
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -6
lines
bpf_mtap() does not care about M_PKTHDR at the top. M_COPY_PKTHDR has some
consequences, so avoid it. if we need to attach dummy headers, we should
use M_PREPEND instead.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 1 07:41:59 2003 UTC (22 years ago) by itojun
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -4
lines
don't be too verbose on nd6_storelladdr failure
Revision 1.9.2.7: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:45:10 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.9.2.6: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.6: +4 -2
lines
Catch up to -current.
Revision 1.11.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:43:42 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.2.4: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.4: +6 -4
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.19: download - view: text, markup, annotated - select for diffs
Thu Sep 26 13:06:56 2002 UTC (22 years, 7 months ago) by onoe
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.18: preferred, colored
Changes since revision 1.18: +6 -4
lines
initialize pkthdr for dummy mbuf before calling bpf_mtap().
Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:48:52 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.2.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.3: +13 -11
lines
sync kqueue branch with HEAD
Revision 1.9.2.6: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:46:38 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.5: preferred, colored
Changes since revision 1.9.2.5: +13 -11
lines
Catch up to -current.
Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:36:48 2002 UTC (22 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.1: +13 -11
lines
catch up with -current.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jun 25 03:42:28 2002 UTC (22 years, 10 months ago) by onoe
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -1
lines
Fill ar_hrd for AF_ARP.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jun 24 12:00:49 2002 UTC (22 years, 10 months ago) by enami
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
Actually inject the arp packet into softintr queue.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jun 24 08:06:22 2002 UTC (22 years, 10 months ago) by itojun
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -10
lines
integrate IEEE1394 ARP into generic ARP logic.
XXX there's no check at all in ar_hrd, and we don't set ar_hrd on outgoing.
it seems like a bad thing.
Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:50:25 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.2: +6 -6
lines
catch up with -current on kqueue branch
Revision 1.9.2.5: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:48:15 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.4: preferred, colored
Changes since revision 1.9.2.4: +6 -6
lines
Catch up to -current.
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Thu May 30 13:52:25 2002 UTC (22 years, 11 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -6
lines
Catch up with -current.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu May 16 09:08:33 2002 UTC (22 years, 11 months ago) by haya
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -6
lines
Bugfix: s/__NetBSD_Version/__NetBSD_Version__/. IPv4 over IEEE 1394
will work with this change.
Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:48:21 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.3: preferred, colored
Changes since revision 1.9.2.3: +16 -12
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:02:05 2002 UTC (23 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +16 -12
lines
Catch up with -current.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Mar 5 04:13:01 2002 UTC (23 years, 2 months ago) by itojun
Branches: MAIN
CVS tags: newlock-base,
newlock,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +16 -12
lines
bring in latest ALTQ from kjc. ALTQify some of the drivers.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:02:06 2002 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2
lines
Sync kqueue branch with -current.
Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:33:52 2002 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.2: preferred, colored
Changes since revision 1.9.2.2: +2 -3
lines
Catch up to -current.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:25 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3
lines
don't need <sys/types.h> when including <sys/param.h>
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:17:22 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.1: preferred, colored
Changes since revision 1.9.2.1: +4 -1
lines
Catch up to -current.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 12 23:49:39 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1
lines
add RCSIDs
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:08:05 2001 UTC (23 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -4
lines
Catch up to -current.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 14 05:44:24 2001 UTC (23 years, 10 months ago) by itojun
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: kqueue
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2
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.3.2.7: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:39 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.6: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.6: +3 -3
lines
Sync with HEAD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 13 23:30:14 2001 UTC (24 years ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +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.3.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:17:09 2001 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.5: preferred, colored
Changes since revision 1.3.2.5: +2 -4
lines
Sync with HEAD.
Revision 1.3.2.5: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:51 2001 UTC (24 years, 3 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.4: preferred, colored
Changes since revision 1.3.2.4: +8 -12
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jan 17 19:08:59 2001 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -3
lines
Correct last commit.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 17 18:44:14 2001 UTC (24 years, 3 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -3
lines
move local variable sdl from ieee1394_ifdetach() to ieee1394_ifattach(), so that
this file is compilable after previous change
XXX not tested
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jan 17 00:30:51 2001 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +8 -12
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.3.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:51 2001 UTC (24 years, 3 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.3: preferred, colored
Changes since revision 1.3.2.3: +6 -1
lines
Sync with HEAD
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Dec 18 19:44:34 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
Fill in if_dlt.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Dec 13 22:07:51 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -1
lines
Add ALTQ glue.
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:31 2000 UTC (24 years, 4 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.2: preferred, colored
Changes since revision 1.3.2.2: +7 -1
lines
Sync with HEAD (for UBC fixes).
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 12 18:00:27 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -0
lines
Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:05:53 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.1: preferred, colored
Changes since revision 1.3.2.1: +750 -0
lines
Sync with HEAD.
Revision 1.3.2.1
Mon Nov 20 12:12:19 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.3: +0 -750
lines
file if_ieee1394subr.c was added on branch thorpej_scsipi on 2000-11-22 16:05:53 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 20 12:12:19 2000 UTC (24 years, 5 months ago) by onoe
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +91 -33
lines
Use DMA from mbuf instead of copy in transmit.
Still use memcpy in receiving because we must use buffer fill mode
and many packets may share single receive buffer.
XXX: Workaround(?) for CXD3222: it fails to DMA for selfid packet according
to code placement. I'm not sure about the reason (cache? timing? bug?).
Fixed the bug: transmitter sometimes stop and OACTIVE bit of if_fw
never be cleared.
Fixed the bug: freeing free buffer.
Enable ieee1394_drain and ieee1394_watchdog for loss of fragment.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Nov 14 11:14:56 2000 UTC (24 years, 5 months ago) by onoe
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +305 -103
lines
Add support for link fragmentation and reassemble for IEEE-1394.
XXX: drain is still not yet implemented, thus memory leak will occur
in case of any of fragment lost.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Nov 5 17:17:15 2000 UTC (24 years, 5 months ago) by onoe
Branches: MAIN
First Prototype implementation of network interface part for IEEE1394 (if_fw).
Current status:
Only OHCI chip is supported (fwohci).
ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
sometimes works but not stable.
Not implemented yet:
IRM (Isochronous Resource Manager) functionality.
Link layer fragmentation.
Topology map.
More to do:
clean ups
MCAP
charactor device part
dhcp
There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.
CVSweb <webmaster@jp.NetBSD.org>