NetBSD

CVS log for src/sys/netinet/ip_var.h

[BACK] Up to [NetBSD] / src / sys / netinet

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 11:09:55 2011 (8 months ago) by jruoho
Branches: jruoho-x86intr
Diff to previous 1.96: preferred, colored next main 1.97: preferred, colored
Changes since revision 1.96: +3 -1 lines
Sync with HEAD.

Revision 1.91.6.2: download - view: text, markup, annotated - select for diffs
Tue May 31 05:05:07 2011 (8 months, 1 week ago) by rmind
Branches: rmind-uvmplock
Diff to previous 1.91.6.1: preferred, colored to branchpoint 1.91: preferred, colored next main 1.92: preferred, colored
Changes since revision 1.91.6.1: +2 -0 lines
sync with head

Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue May 3 19:44:31 2011 (9 months, 1 week ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, HEAD
Diff to previous 1.96: preferred, colored
Changes since revision 1.96: +3 -1 lines
*_drain() routines may be called with locks held, so instead of doing
any work in *_drain(), set a drain-needed flag.  Do the work in the
fasttimo handler.

Contributed by Coyote Point Systems, Inc.

Revision 1.91.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 21:55:58 2011 CET (11 months ago) by rmind
Branches: rmind-uvmplock
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +8 -25 lines
sync with head

Revision 1.91.4.3: download - view: text, markup, annotated - select for diffs
Sat Nov 6 09:08:50 2010 CET (15 months ago) by uebayasi
Branches: uebayasi-xip
Diff to previous 1.91.4.2: preferred, colored to branchpoint 1.91: preferred, colored next main 1.92: preferred, colored
Changes since revision 1.91.4.2: +2 -2 lines
Sync with HEAD.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Fri Nov 5 01:21:51 2010 CET (15 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base4, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
ip_reass_packet: finish abstraction; some clean-up.
Discussed some time ago with matt@.

Revision 1.91.4.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 09:22:40 2010 (15 months, 2 weeks ago) by uebayasi
Branches: uebayasi-xip
Diff to previous 1.91.4.1: preferred, colored to branchpoint 1.91: preferred, colored
Changes since revision 1.91.4.1: +1 -3 lines
Sync with HEAD (-D20101022).

Revision 1.87.4.3: download - view: text, markup, annotated - select for diffs
Sat Oct 9 05:32:38 2010 (16 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.87.4.2: preferred, colored to branchpoint 1.87: preferred, colored next main 1.88: preferred, colored
Changes since revision 1.87.4.2: +2 -4 lines
sync with head

Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Aug 25 02:05:14 2010 (17 months, 2 weeks ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base3
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +2 -4 lines
Use own IPv4 reassembly queue entry structure and leave struct ipqent only
for TCP.  Now both struct ipfr_qent, struct ipfr_queue and hashed fragment
queue are abstracted and no longer public.

Revision 1.91.4.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 08:47:47 2010 (17 months, 3 weeks ago) by uebayasi
Branches: uebayasi-xip
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +7 -22 lines
Sync with HEAD.

Revision 1.87.4.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 00:54:56 2010 (17 months, 4 weeks ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.87.4.1: preferred, colored to branchpoint 1.87: preferred, colored
Changes since revision 1.87.4.1: +7 -22 lines
sync with head.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Jul 19 21:16:45 2010 (18 months, 3 weeks ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Diff to previous 1.93: preferred, colored
Changes since revision 1.93: +1 -5 lines
Revert previous change of making struct ipqent invisible to userland.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Jul 19 16:09:45 2010 (18 months, 3 weeks ago) by rmind
Branches: MAIN
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +6 -25 lines
Abstract IP reassembly into single generic routine - ip_reass_packet().
Make struct ipq private and struct ipqent not visible to userland.
Push ip_len adjustment into reassembly layer.

OK matt@

Revision 1.92: download - view: text, markup, annotated - select for diffs
Wed Jul 14 00:16:10 2010 (18 months, 4 weeks ago) by rmind
Branches: MAIN
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +12 -4 lines
Split-off IPv4 re-assembly mechanism into a separate module.  Abstract
into ip_reass_init(), ip_reass_lookup(), etc (note: abstraction is not
yet complete).  No functional changes to the actual mechanism.

OK matt@

Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 10:14:17 2009 (2 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +8 -6 lines
sync with head.

Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 19:33:38 2009 CET (2 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to previous 1.90: preferred, colored next main 1.91: preferred, colored
Changes since revision 1.90: +2 -1 lines
Sync with HEAD.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Feb 1 18:04:11 2009 CET (3 years ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +2 -1 lines
Init ipflow pool dynamically instead of using a linkset.

Revision 1.84.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 14:29:32 2009 CET (3 years ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.84.6.2: preferred, colored to branchpoint 1.84: preferred, colored next main 1.85: preferred, colored
Changes since revision 1.84.6.2: +1 -1 lines
Sync with HEAD.

Revision 1.87.10.1: download - view: text, markup, annotated - select for diffs
Mon Oct 20 00:17:46 2008 (3 years, 3 months ago) by haad
Branches: haad-dm
Diff to previous 1.87: preferred, colored next main 1.88: preferred, colored
Changes since revision 1.87: +7 -6 lines
Sync with HEAD.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Oct 12 13:15:54 2008 (3 years, 3 months ago) by plunky
Branches: MAIN
CVS tags: netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +2 -2 lines
update ip_pcbopts() to use sockopt(9) API.

cleans up function and one small fix is that we now stop copying user
options to the mbuf when the _EOL is given, previously this function
would continue to copy options.

Revision 1.84.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 12:40:58 2008 (3 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.84.6.1: preferred, colored to branchpoint 1.84: preferred, colored
Changes since revision 1.84.6.1: +5 -4 lines
Sync with HEAD.

Revision 1.87.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 06:37:01 2008 (3 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to previous 1.87: preferred, colored next main 1.88: preferred, colored
Changes since revision 1.87: +6 -5 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Aug 16 23:51:44 2008 (3 years, 5 months ago) by plunky
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +2 -2 lines
constify sockopt in the PRCO_SETOPT path

Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Aug 6 17:01:23 2008 (3 years, 6 months ago) by plunky
Branches: MAIN
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +6 -5 lines
Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.

approved by core

Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:24:24 2008 (3 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +38 -56 lines
Sync with HEAD.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Apr 12 07:58:22 2008 (3 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, haad-dm
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +2 -8 lines
Make IP, TCP, UDP, and ICMP statistics per-CPU.  The stats are collated
when the user requests them via sysctl.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Apr 9 07:14:20 2008 (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to previous 1.85: preferred, colored
Changes since revision 1.85: +2 -18 lines
- ipflow is not used outside ip_flow.c; move its definition there.
- Make ipflow_reap() private to ip_flow.c, and introduce ipflow_prune()
  for external callers to use (avoids returning an ipflow * that is never
  actually used anyway).

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Apr 7 08:31:28 2008 (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +38 -34 lines
Change IP stats from a structure to an array of uint64_t's.

Note: This is ABI-compatible with the old ipstat structure; old netstat
binaries will continue to work properly.

Revision 1.79.10.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 03:05:06 2008 CET (3 years, 10 months ago) by matt
Branches: matt-armv6
Diff to previous 1.79.10.2: preferred, colored to branchpoint 1.79: preferred, colored next main 1.80: preferred, colored
Changes since revision 1.79.10.2: +2 -41 lines
sync with HEAD

Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 22:07:08 2008 CET (3 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to previous 1.80: preferred, colored next main 1.81: preferred, colored
Changes since revision 1.80: +3 -37 lines
Sync with HEAD.

Revision 1.72.2.6: download - view: text, markup, annotated - select for diffs
Mon Feb 11 16:00:05 2008 CET (3 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.72.2.5: preferred, colored to branchpoint 1.72: preferred, colored next main 1.73: preferred, colored
Changes since revision 1.72.2.5: +2 -41 lines
sync with head.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Feb 6 04:20:51 2008 CET (4 years ago) by matt
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +2 -41 lines
Add a new ip_id generation scheme based on a Fisher-Yates shuffle over a
sliding window.  XXX replace use of arc4random RSN.

Revision 1.72.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 10:47:17 2008 CET (4 years ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.72.2.4: preferred, colored to branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.4: +8 -2 lines
sync with head

Revision 1.79.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:57:29 2008 CET (4 years, 1 month ago) by matt
Branches: matt-armv6
Diff to previous 1.79.10.1: preferred, colored to branchpoint 1.79: preferred, colored
Changes since revision 1.79.10.1: +8 -2 lines
sync with HEAD

Revision 1.80.10.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 22:57:23 2008 CET (4 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to previous 1.80: preferred, colored next main 1.81: preferred, colored
Changes since revision 1.80: +8 -2 lines
Sync with HEAD

Revision 1.80.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 20:57:40 2007 CET (4 years, 1 month ago) by ad
Branches: vmlocking2
Diff to previous 1.80: preferred, colored next main 1.81: preferred, colored
Changes since revision 1.80: +8 -2 lines
Sync with head.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Dec 25 19:33:47 2007 CET (4 years, 1 month ago) by perry
Branches: MAIN
CVS tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2 lines
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Dec 22 17:04:45 2007 CET (4 years, 1 month ago) by matt
Branches: MAIN
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +6 -1 lines
Make sure ip_newid etal doesn't return an ip_id of 0.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Dec 22 16:40:02 2007 CET (4 years, 1 month ago) by matt
Branches: MAIN
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +2 -1 lines
Add ipq_tos to struct ipqe.  (Doesn't increase size since the last member
was a u_int16_t).

Revision 1.79.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:33:51 2007 CET (4 years, 3 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +1 -2 lines
sync with HEAD

Revision 1.72.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 13:36:09 2007 (4 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.72.2.3: preferred, colored to branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.3: +1 -2 lines
sync with head.

Revision 1.78.4.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:44:51 2007 (4 years, 4 months ago) by ad
Branches: vmlocking
Diff to previous 1.78.4.1: preferred, colored to branchpoint 1.78: preferred, colored next main 1.79: preferred, colored
Changes since revision 1.78.4.1: +1 -2 lines
Sync with head.

Revision 1.79.12.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 17:29:03 2007 (4 years, 4 months ago) by yamt
Branches: yamt-x86pmap
Diff to previous 1.79: preferred, colored next main 1.80: preferred, colored
Changes since revision 1.79: +1 -2 lines
sync with head.

Revision 1.79.8.1: download - view: text, markup, annotated - select for diffs
Thu Oct 4 17:44:53 2007 (4 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.79: preferred, colored next main 1.80: preferred, colored
Changes since revision 1.79: +1 -2 lines
Sync with HEAD.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Oct 2 22:35:04 2007 (4 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, 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, 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.79: preferred, colored
Changes since revision 1.79: +1 -2 lines
Delete the unused second argument to ip_stripoptions(), move it
closer to its single caller in if_eon.c, try to move fewer bytes
by moving the IP header forward instead of moving the tail of the
mbuf backward, and use m_adj(9) instead of fiddling directly with
mbuf data members.

Revision 1.72.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:42:59 2007 (4 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.72.2.2: preferred, colored to branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.2: +4 -3 lines
sync with head.

Revision 1.78.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 22:11:25 2007 (4 years, 7 months ago) by mjf
Branches: mjf-ufs-trans
Diff to previous 1.78: preferred, colored next main 1.79: preferred, colored
Changes since revision 1.78: +4 -3 lines
Sync with head.

Revision 1.77.20.2: download - view: text, markup, annotated - select for diffs
Sun Apr 15 18:04:00 2007 (4 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to previous 1.77.20.1: preferred, colored to branchpoint 1.77: preferred, colored next main 1.78: preferred, colored
Changes since revision 1.77.20.1: +4 -3 lines
sync with head.

Revision 1.78.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 15:26:50 2007 (4 years, 10 months ago) by ad
Branches: vmlocking
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +4 -3 lines
Sync with head.

Revision 1.78.8.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 21:28:00 2007 (4 years, 10 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to previous 1.78: preferred, colored next main 1.79: preferred, colored
Changes since revision 1.78: +4 -3 lines
Pullup to -current

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Mar 25 22:12:20 2007 (4 years, 10 months ago) by liamjfoy
Branches: MAIN
CVS tags: yamt-x86pmap-base, yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +4 -3 lines
Add net.inet.ip.hashsize to control the IPv4 fast forward hash table size.

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

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 10:11:45 2007 CET (4 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.72.2.1: preferred, colored to branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.1: +2 -2 lines
sync with head.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Feb 17 23:34:11 2007 CET (4 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2 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.76.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 04:58:47 2006 (5 years, 5 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.76: preferred, colored next main 1.77: preferred, colored
Changes since revision 1.76: +4 -4 lines
sync with head

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 17:11:01 2006 (5 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +3 -5 lines
sync with head.

Revision 1.76.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 13:40:10 2006 (5 years, 9 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to previous 1.76: preferred, colored next main 1.77: preferred, colored
Changes since revision 1.76: +4 -4 lines
Sync with head.

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 16:39:23 2006 CET (5 years, 11 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to previous 1.76: preferred, colored next main 1.77: preferred, colored
Changes since revision 1.76: +4 -4 lines
sync with head.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Feb 16 21:17:20 2006 CET (5 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, 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, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, peter-altq-base, peter-altq, 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, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +4 -4 lines
Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Dec 24 21:45:09 2005 CET (6 years, 1 month ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Dec 11 13:24:57 2005 CET (6 years, 2 months ago) by christos
Branches: MAIN
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
merge ktrace-lwp.

Revision 1.56.2.7: download - view: text, markup, annotated - select for diffs
Sun Dec 11 11:29:24 2005 CET (6 years, 2 months ago) by christos
Branches: ktrace-lwp
Diff to previous 1.56.2.6: preferred, colored next main 1.57: preferred, colored
Changes since revision 1.56.2.6: +2 -4 lines
Sync with head.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Dec 11 00:36:23 2005 CET (6 years, 2 months ago) by elad
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
Multiple inclusion protection, as suggested by christos@ on tech-kern@
few days ago.

Revision 1.72.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 22:23:33 2005 CET (6 years, 2 months ago) by yamt
Branches: yamt-readahead
Diff to previous 1.72: preferred, colored next main 1.73: preferred, colored
Changes since revision 1.72: +1 -3 lines
sync with head.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Nov 22 18:52:38 2005 CET (6 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +0 -2 lines
revert rev.1.72 as it isn't necessary.

Revision 1.56.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 15:11:07 2005 CET (6 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.56.2.5: preferred, colored
Changes since revision 1.56.2.5: +26 -5 lines
Sync with HEAD. Here we go again...

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri May 6 06:28:37 2005 (6 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +3 -1 lines
Add #include <sys/protosw.h> when _KERNEL

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 13:29:33 2005 (6 years, 9 months ago) by kent
Branches: kent-audio2
Diff to previous 1.69: preferred, colored next main 1.70: preferred, colored
Changes since revision 1.69: +24 -5 lines
sync with -current

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Apr 29 12:39:09 2005 (6 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio2-base
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +1 -2 lines
move decl of inetsw to its own header to avoid array of incomplete type.
found by gcc4.  reported by Adam Ciarcinski.

Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 13 23:34:57 2005 (6 years, 9 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Diff to previous 1.69: preferred, colored next main 1.70: preferred, colored
Changes since revision 1.69: +24 -4 lines
Pull up revision 1.70 (requested by yamt in ticket #145):
when doing TSO, avoid to use duplicated ip_id heavily.
XXX ip_randomid

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Apr 7 14:22:47 2005 (6 years, 10 months ago) by yamt
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +24 -4 lines
when doing TSO, avoid to use duplicated ip_id heavily.
XXX ip_randomid

Revision 1.56.2.5: download - view: text, markup, annotated - select for diffs
Sat Dec 18 10:33:05 2004 CET (7 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.56.2.4: preferred, colored
Changes since revision 1.56.2.4: +2 -1 lines
Sync with HEAD.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Dec 15 05:25:19 2004 CET (7 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, matt-timespec, kent-audio1-beforemerge
Branch point for: netbsd-3, kent-audio2
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +2 -1 lines
Don't perform checksums on loopback interfaces.  They can be reenabled with
the net.inet.*.do_loopback_cksum sysctl.

Approved by: groo

Revision 1.56.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 15:37:12 2004 (7 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.56.2.3: preferred, colored
Changes since revision 1.56.2.3: +1 -1 lines
Fix the sync with head I botched.

Revision 1.56.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 16:54:54 2004 (7 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.56.2.2: preferred, colored
Changes since revision 1.56.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.56.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 12:54:43 2004 (7 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.56.2.1: preferred, colored
Changes since revision 1.56.2.1: +59 -42 lines
Sync with HEAD

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Apr 22 03:01:41 2004 (7 years, 9 months ago) by matt
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1, BEFORE-IPF413
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +4 -1 lines
Constify protosw arrays.  This can reduce the kernel .data section by
over 4K (if all the network protocols) are loaded.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Apr 21 19:49:46 2004 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +36 -36 lines
no space between function name and paren: foo (blah) -> foo(blah)

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Apr 18 23:00:36 2004 (7 years, 9 months ago) by matt
Branches: MAIN
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +38 -38 lines
De __P()

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Dec 12 22:17:59 2003 CET (8 years, 2 months ago) by scw
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, BEFORE-IPF411
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +2 -1 lines
Make fast-ipsec and ipflow (Fast Forwarding) interoperate.

The idea is that we only clear M_CANFASTFWD if an SPD exists
for the packet. Otherwise, it's safe to add a fast-forward
cache entry for the route.

To make this work properly, we invalidate the entire ipflow
cache if a fast-ipsec key is added or changed.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Dec 8 03:23:27 2003 CET (8 years, 2 months ago) by jonathan
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1 lines
Add new field ipq_nfrags to struct ipq. Maintain count of fragments
(fragments, not fragmented packets) in each queue entry.
Use ipq_nfrags to maintain a count of total fragments in reassembly queue.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Dec 7 00:56:10 2003 CET (8 years, 2 months ago) by jonathan
Branches: MAIN
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Replace the single global IP reassembly list/listhead, with a
hashtable of list-heads. Independently re-invented, then reworked to
match similar code in FreeBSD.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Nov 26 22:15:47 2003 CET (8 years, 2 months ago) by itojun
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +1 -5 lines
define RANDOM_IP_ID by default (unifdef -DRANDOM_IP_ID).
one use remains in sys/netipsec, which is kept for freebsd source code compat.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Nov 25 15:44:13 2003 CET (8 years, 2 months ago) by itojun
Branches: MAIN
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
knf

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Nov 17 22:34:27 2003 CET (8 years, 2 months ago) by jonathan
Branches: MAIN
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +19 -1 lines
Revert the (default) ip_id algorithm to the pre-randomid algorithm,
due to demonstrated low-period repeated IDs from the randomized IP_id
code.  Consensus is that the low-period repetition (much less than
2^15) is not suitable for general-purpose use.

Allocators of new IPv4 IDs should now call the function ip_newid().
Randomized IP_ids is now a config-time option, "options RANDOM_IP_ID".
ip_newid() can use ip_random-id()_IP_ID if and only if configured
with RANDOM_IP_ID. A sysctl knob should be  provided.

This API may be reworked in the near future to support linear ip_id
counters per (src,dst) IP-address pair.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Sep 6 05:36:31 2003 (8 years, 5 months ago) by itojun
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +3 -2 lines
randomize IPv4/v6 fragment ID and IPv6 flowlabel.  avoids predictability
of these fields.  ip_id.c is from openbsd.  ip6_id.c is adapted by kame.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Aug 19 03:20:03 2003 (8 years, 5 months ago) by itojun
Branches: MAIN
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
make ip_fragment public (it is for coming PF integration)

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Aug 7 18:33:14 2003 (8 years, 6 months ago) by agc
Branches: MAIN
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +2 -6 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.56.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:27:00 2003 (8 years, 7 months ago) by darrenr
Branches: ktrace-lwp
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Jun 30 00:31:57 2003 (8 years, 7 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +1 -1 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Jun 28 16:22:09 2003 (8 years, 7 months ago) by darrenr
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Jun 23 15:58:06 2003 (8 years, 7 months ago) by martin
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +7 -4 lines
Protect opt_*.h includes by _KERNEL_OPT

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Jun 23 13:02:15 2003 (8 years, 7 months ago) by martin
Branches: MAIN
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +4 -1 lines
Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Jun 15 04:49:33 2003 (8 years, 7 months ago) by matt
Branches: MAIN
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +2 -1 lines
Change the way multicasts are kept.  They now use a hash table in the same
manner as the ifaddr hash table.  By doing this, the mkludge code can go
away.  At the same time, keep track of what pcbs are using what ifaddr and
when an address is deleted from an interface, notify/abort all sockets
that have that address as a source.  Switch IGMP and multicasts to use pools
for allocation.  Fix a number of potential problems in the igmp code where
allocation failures could cause a trap/panic.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Feb 26 07:31:15 2003 CET (8 years, 11 months ago) by matt
Branches: MAIN
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +5 -1 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.50: download - view: text, markup, annotated - select for diffs
Tue Jan 28 23:35:20 2003 CET (9 years ago) by wiz
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
success, not sucess. Noted by mjl.

Revision 1.45.4.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 20:44:05 2002 (9 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to previous 1.45.4.3: preferred, colored to branchpoint 1.45: preferred, colored next main 1.46: preferred, colored
Changes since revision 1.45.4.3: +2 -2 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 17 23:23:06 2002 (9 years, 4 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to previous 1.45.2.3: preferred, colored to branchpoint 1.45: preferred, colored next main 1.46: preferred, colored
Changes since revision 1.45.2.3: +1 -1 lines
Catch up to -current.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Sep 11 04:41:20 2002 (9 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.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
correct signedness mixup in pointer passing.  sync w/kame

Revision 1.45.4.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 10:49:17 2002 (9 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to previous 1.45.4.2: preferred, colored to branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.2: +7 -1 lines
sync kqueue branch with HEAD

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 1 04:46:48 2002 (9 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.45.2.2: preferred, colored to branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.2: +7 -1 lines
Catch up to -current.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 12:36:59 2002 (9 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to previous 1.47: preferred, colored next main 1.48: preferred, colored
Changes since revision 1.47: +7 -1 lines
catch up with -current.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jul 1 00:40:35 2002 (9 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +7 -1 lines
Changes to allow the IPv4 and IPv6 layers to align headers themseves,
as necessary:
* Implement a new mbuf utility routine, m_copyup(), is is like
  m_pullup(), except that it always prepends and copies, rather
  than only doing so if the desired length is larger than m->m_len.
  m_copyup() also allows an offset into the destination mbuf, which
  allows space for packet headers, in the forwarding case.
* Add *_HDR_ALIGNED_P() macros for IP, IPv6, ICMP, and IGMP.  These
  macros expand to 1 if __NO_STRICT_ALIGNMENT is defined, so that
  architectures which do not have strict alignment constraints don't
  pay for the test or visit the new align-if-needed path.
* Use the new macros to check if a header needs to be aligned, or to
  assert that it already is, as appropriate.

Note: This code is still somewhat experimental.  However, the new
code path won't be visited if individual device drivers continue
to guarantee that packets are delivered to layer 3 already properly
aligned (which are rules that are already in use).

Revision 1.45.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 19:50:58 2002 (9 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to previous 1.45.4.1: preferred, colored to branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.1: +6 -5 lines
catch up with -current on kqueue branch

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 05:48:53 2002 (9 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.45.2.1: preferred, colored to branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +6 -5 lines
Catch up to -current.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue May 7 04:59:38 2002 (9 years, 9 months ago) by matt
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +6 -5 lines
Change struct ipqe to use TAILQ's instead of LIST's (primarily for TCP's
benefit currently).  Rework tcp_reass code to optimize the 4 most likely causes
of out-of-order packets: first OoO pkt, next OoO pkt in seq, OoO pkt is part
of new chuck of OoO packets, and the OoO pkt fills the first hole.  Add evcnts
to instrument tcp_reass (enabled by the options TCP_REASS_COUNTERS).  This is
part 1/2 of tcp_reass changes.

Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 21:02:57 2002 CET (10 years, 1 month ago) by thorpej
Branches: kqueue
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
Sync kqueue branch with -current.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 01:34:10 2002 CET (10 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
Catch up to -current.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Dec 21 03:51:47 2001 CET (10 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
have rip_ctlinput to notify routing changes to raw sockets
(protosw change to be done).  sync with kame

Revision 1.38.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 12 14:31:50 2001 CET (10 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to previous 1.38.2.2: preferred, colored to branchpoint 1.38: preferred, colored next main 1.39: preferred, colored
Changes since revision 1.38.2.2: +2 -1 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Mar 2 05:26:10 2001 CET (10 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, 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: nathanw_sa, kqueue
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +2 -1 lines
increase ipstat.ips_badaddr if the packet fails to pass address checks.

Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 18 10:23:56 2001 CET (11 years ago) by bouyer
Branches: thorpej_scsipi
Diff to previous 1.38.2.1: preferred, colored to branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.1: +2 -1 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jan 13 08:19:33 2001 CET (11 years ago) by itojun
Branches: MAIN
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1 lines
allow IP_MULTICAST_IF and IP_ADD/DROP_MEMBERSHIP to specify interface
by interface index.  if the interface address specified is in 0.0.0.0/8
it will be considered as interface index in network byteorder.

getsockopt(IP_MULTICAST_IF) preserves old behavior if
setsockopt(IP_MULTICAST_IF) was done with interface address, and
returns interface index if setsockopt(IP_MULTICAST_IF) was done with
interface index (again using the form in 0.0.0.0/8).

Suggested by Dave Thaler, based on RIPv2 MIB spec (RFC1724 section 3.3).

http://mail-index.netbsd.org/tech-net/2001/01/13/0003.html

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:10:34 2000 CET (11 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +34 -33 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Oct 17 04:57:01 2000 (11 years, 3 months ago) by thorpej
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
Add an IP_MTUDISC flag to the flags that can be passed to
ip_output().  This flag, if set, causes ip_output() to set
DF in the IP header if the MTU in the route is not locked.

This allows a bunch of redundant code, which I was never
really all that happy about adding in the first place, to
be eliminated.

Inspired by a similar change made by provos@openbsd.org when
he integrated NetBSD's Path MTU Discovery code into OpenBSD.

Revision 1.41.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 26 18:38:33 2000 (11 years, 5 months ago) by tron
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to previous 1.41: preferred, colored next main 1.42: preferred, colored
Changes since revision 1.41: +3 -1 lines
Pull up from current (approved by thorpej):

Add new sysctl variables "net.inet.ip.lowportmin" and
"net.inet.ip.lowportmax" which can be used to the set minimum
and maximum port number assigned to sockets using
IP_PORTRANGE_LOW.

syssrc/sys/netinet/in.h			1.49 -> 1.50
syssrc/sys/netinet/in_pcb.c		1.66 -> 1.67
syssrc/sys/netinet/ip_input.c		1.116 -> 1.117
syssrc/sys/netinet/ip_var.h		1.41 -> 1.42

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Aug 25 15:35:06 2000 (11 years, 5 months ago) by tron
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +3 -1 lines
Add new sysctl variables "net.inet.ip.lowportmin" and
"net.inet.ip.lowportmax" which can be used to the set minimum
and maximum port number assigned to sockets using
IP_PORTRANGE_LOW.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Mar 30 04:37:40 2000 (11 years, 10 months ago) by simonb
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +1 -3 lines
Delete redundant decl of ip_gif_ttl - it's in <netinet/in_gif.h>.
Delete redundant decl of ip_mforward() - it's in <netinet/ip_mroute.h>.

Revision 1.38.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 19:36:18 1999 CET (12 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to previous 1.38: preferred, colored next main 1.39: preferred, colored
Changes since revision 1.38: +31 -31 lines
Pull up to last week's -current.

Revision 1.36.10.3: download - view: text, markup, annotated - select for diffs
Tue Nov 30 14:35:34 1999 CET (12 years, 2 months ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to previous 1.36.10.2: preferred, colored to branchpoint 1.36: preferred, colored next main 1.37: preferred, colored
Changes since revision 1.36.10.2: +1 -1 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.40: download - view: text, markup, annotated - select for diffs
Sat Nov 20 01:38:00 1999 CET (12 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
Add the `packed' attribute to structures which describe wire protocol data.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Nov 19 11:41:42 1999 CET (12 years, 2 months ago) by bouyer
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +30 -30 lines
Update protocoles and interfaces stats counters to 64bit.
RTM_IFINFO is now 0xf, 0xe is RTM_OIFINFO which returns the old (if_msghdr14)
struct with 32bit counters (binary compat, conditioned on COMPAT_14).
Same for sysctl: node 3 is renamed NET_RT_OIFLIST, NET_RT_IFLIST is now node 4.
Change rt_msg1() to add an mbuf to the mbuf chain instead of just panic()
when the message is larger than MHLEN.

Revision 1.36.8.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 00:34:59 1999 (12 years, 6 months ago) by thorpej
Branches: chs-ubc2
Diff to previous 1.36.8.1: preferred, colored to branchpoint 1.36: preferred, colored next main 1.37: preferred, colored
Changes since revision 1.36.8.1: +2 -2 lines
Update from trunk.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jul 6 14:23:21 1999 (12 years, 7 months ago) by itojun
Branches: MAIN
CVS tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
sync with KAME/NetBSD 1.4, SNAP kit 19990705.
key changes are:
- icmp6 redirect fix (dst check)
- revised ip6 multicast check for loopback i/f
- several RCS ID cleanups

Revision 1.36.10.2: download - view: text, markup, annotated - select for diffs
Tue Jul 6 13:02:47 1999 (12 years, 7 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990705
Diff to previous 1.36.10.1: preferred, colored to branchpoint 1.36: preferred, colored
Changes since revision 1.36.10.1: +2 -31 lines
KAME/NetBSD 1.4, SNAP kit 1999/07/05.
NOTE: this branch is just for reference purposes (i.e. for taking cvs diff).
do not touch anything on the branch.  actual work must be done on HEAD branch.

Revision 1.36.8.1: download - view: text, markup, annotated - select for diffs
Fri Jul 2 01:47:02 1999 (12 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +3 -1 lines
Sync w/ -current.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jul 1 10:12:51 1999 (12 years, 7 months ago) by itojun
Branches: MAIN
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +3 -1 lines
IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
  data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
  package (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
  file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.

Revision 1.36.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 28 08:37:01 1999 (12 years, 7 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990628
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +32 -1 lines
KAME/NetBSD 1.4 SNAP kit, dated 19990628.

NOTE: this branch (kame) is used just for refernce.  this may not compile
due to multiple reasons.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Oct 8 03:41:46 1998 (13 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Branch point for: kame, chs-ubc2
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
Use the pool allocator for ipflow entries.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Oct 8 03:19:26 1998 (13 years, 4 months ago) by thorpej
Branches: MAIN
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +2 -1 lines
Use the pool allocator for ipqent structures.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jun 2 17:48:03 1998 (13 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +4 -3 lines
In addition to the IP flow hash table, put the flows on a list.  The table
is used for fast lookup, the list for traversal of all flows.  Also, use
PRT timers.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue May 12 01:13:40 1998 (13 years, 9 months ago) by thorpej
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +0 -1 lines
Back out previous.  This problem was already fixed in a different way.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue May 12 01:09:35 1998 (13 years, 9 months ago) by matt
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +2 -1 lines
Let usr.sbin/tcpdump build again.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Sat May 9 05:33:00 1998 (13 years, 9 months ago) by mycroft
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002
Diff to previous 1.22: preferred, colored next main 1.23: preferred, colored
Changes since revision 1.22: +4 -1 lines
Pull up patch from kml.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon May 4 21:24:53 1998 (13 years, 9 months ago) by matt
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +7 -1 lines
Default IP flow to being enabled.  Add a sysctl to control the maximum
number of flows (net.inet.ip.maxflows).  If set to 0, will disable fast
path forwarding.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Apr 30 19:47:26 1998 (13 years, 9 months ago) by thorpej
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +2 -1 lines
Need <net/route.h>

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Apr 29 23:37:54 1998 (13 years, 9 months ago) by matt
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +22 -5 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.28: download - view: text, markup, annotated - select for diffs
Wed Apr 29 22:43:29 1998 (13 years, 9 months ago) by matt
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +8 -1 lines
New TCP reassembly code.  The new code reduces the memory needed by
out-of-order packets and builds the infrastructure needed for sending
SACK blocks (to be added shortly).

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Apr 29 05:44:12 1998 (13 years, 9 months ago) by kml
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +8 -7 lines
Add support for deletion of routes added by path MTU discovery;
uses new generic route timeout code.  Add sysctl for timeout period.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Mar 24 04:10:02 1998 CET (13 years, 10 months ago) by kml
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
Ensure that we take the IP option length into account when we calculate
the effective maximum send size for TCP.  ip_optlen() and tcp_optlen()
should probably be inlined for efficiency.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 10 02:27:05 1998 CET (14 years ago) by perry
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +6 -1 lines
add/cleanup multiple inclusion protection.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jan 5 11:31:59 1998 CET (14 years, 1 month ago) by thorpej
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Finishing merging 4.4BSD-Lite2 netinet.  At this point, the only changes
left were SCCS IDs and Copyright dates.

Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jan 5 10:56:04 1998 CET (14 years, 1 month ago) by thorpej
Branches: WFJ-920714, CSRG
CVS tags: lite-2
Diff to previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +2 -2 lines
Import sys/netinet from 4.4BSD-Lite2 for reference purposes.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jan 5 10:54:15 1998 CET (14 years, 1 month ago) by thorpej
Branches: WFJ-920714, CSRG
CVS tags: lite-1, date-03-may-96
Diff to previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +77 -25 lines
Import sys/netinet from 4.4BSD-Lite for reference purposes.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jan 5 10:52:05 1998 CET (14 years, 1 month ago) by lukem
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +3 -1 lines
enhance ephemeral port allocation code:
* support sysctl net.inet.ip.anonportmin (lowest ephemeral port)
  and net.inet.ip.anonportmax (highest ephemeral port).
  these can't be set to >65535, < IPPORT_RESERVED (unless IPNOPRIVPORTS
  is defined), and anonportmin has to be < anonportmax.
* use a cleaner way of only cycling through the available set once;
  this will be useful for when a random allocation scheme is used
* define IPPORT_ANON{MIN,MAX} instead of IPPORT_USER{LOW,HIGH}

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Oct 18 23:18:32 1997 (14 years, 3 months ago) by kml
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +4 -3 lines
change sysctl net.inet.icmp.mtudisc to net.inet.ip.mtudisc

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 12:29:32 1997 (14 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to previous 1.20: preferred, colored next main 1.21: preferred, colored
Changes since revision 1.20: +2 -1 lines
Update marc-pcmcia branch from trunk.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:38:01 1997 (14 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
Define IP_RETURNMTU.  (Matt missed this part of his diff, I guess :-)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jun 24 04:26:05 1997 (14 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +4 -8 lines
Eliminate use of dtom() from the network code, allowing more flexible
use of mbuf external storage and increasing performance (by eliminating
an m_pullup() for clusters in the IP reassembly code).

Changes from Koji Imada <koji@math.human.nagoya-u.ac.jp>, in PR #3628
and #3480, with ever-so-slight integration changes by me.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jan 11 06:21:12 1997 CET (15 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +5 -1 lines
Implement the IP_RECVIF socket option: supply a datagram packet's incoming
interface using a sockaddr_dl in a control mbuf.

Implement SO_TIMESTAMP for IP datagrams.

Move packet information option processing into a generic function
so that they work with multicast UDP and raw IP as well as unicast UDP.

Contributed by Bill Fenner <fenner@parc.xerox.com>.

Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 11 05:01:07 1996 CET (15 years, 2 months ago) by mycroft
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to previous 1.16.4.1: preferred, colored to branchpoint 1.16: preferred, colored next main 1.17: preferred, colored
Changes since revision 1.16.4.1: +2 -2 lines
From trunk:
Eliminate SS_PRIV; instead, pass down a proc pointer to the usrreq methods
that need it.
Fix numerous memory leaks and bogus return values.

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Sun Nov 10 22:57:52 1996 CET (15 years, 3 months ago) by thorpej
Branches: netbsd-1-2
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +7 -6 lines
Update from trunk:
- Make ip_len and ip_off unsigned.
- Make sure we don't accept or transmit packets larger than the
  maximim IP packet size.
This fixes the so-called `death ping' bug.

Sum of work from Bill Fenner <fenner@parc.xerox.com>,
Kevin Lahey <kml@nas.nasa.gov>, and myself.

Thanks to Curt Sampson, Jukka Marin, and Kevin Lahey for testing
this under NetBSD 1.2

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Oct 25 08:24:16 1996 (15 years, 3 months ago) by thorpej
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +7 -6 lines
Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov>
Add a counter to IP stats, to count packets which are discarded on the
grounds that they are too large.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed May 22 15:55:29 1996 (15 years, 8 months ago) by mycroft
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
PRU_CONTROL.  The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 14 00:43:20 1996 CET (16 years ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +4 -5 lines
netinet prototypes

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Nov 21 02:07:38 1995 CET (16 years, 2 months ago) by cgd
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +38 -38 lines
make netinet work on systems where pointers and longs are 64 bits
(like the alpha).  Biggest problem: IP headers were overlayed with
structure which included pointers, and which therefore didn't overlay
properly on 64-bit machines.  Solution: instead of threading pointers
through IP header overlays, add a "queue element" structure to do
the threading, and point it at the ip headers.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jun 12 02:47:47 1995 (16 years, 8 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6 lines
Various cleanup, including:
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun May 14 10:23:03 1995 (16 years, 9 months ago) by cgd
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
drop (and record) malformed IP fragments.  Fixes pr 1030 (differently).

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Apr 13 08:36:06 1995 (16 years, 10 months ago) by cgd
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +36 -37 lines
be a bit more careful and explicit with types.  (basically a large no-op.)

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Mar 26 22:32:33 1995 (16 years, 10 months ago) by jtc
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
KERNEL -> _KERNEL

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jun 29 08:38:29 1994 (17 years, 7 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 13 08:06:28 1994 (17 years, 9 months ago) by mycroft
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +45 -39 lines
Update to 4.4-Lite networking code, with a few local changes.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 11 00:27:43 1994 CET (18 years, 1 month ago) by mycroft
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +21 -21 lines
Change the counters to be all the same type -- u_long.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jan 10 21:14:26 1994 CET (18 years, 1 month ago) by mycroft
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +1 -6 lines
Should compile now with or without `options MULTICAST'.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jan 9 02:06:19 1994 CET (18 years, 1 month ago) by mycroft
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +35 -2 lines
Prototype the rest.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jan 8 22:21:53 1994 CET (18 years, 1 month ago) by mycroft
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +5 -5 lines
Fix some inconsistent spacing; spaces at the end of lines, etc.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Dec 6 05:59:42 1993 CET (18 years, 2 months ago) by hpeyerl
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +14 -1 lines
multicast support.
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 20 05:50:29 1993 (18 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base, magnum
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
more rcsid additions and file header cleanups

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Apr 19 05:48:36 1993 (18 years, 9 months ago) by mycroft
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +5 -0 lines
Add consistent multiple-inclusion protection.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 10:45:37 1993 CET (18 years, 10 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 10:45:37 1993 CET (18 years, 10 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.de.netbsd.org <zafer@aydogan.de>