Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.126 / (download) - annotate - [select for diffs], Mon Sep 24 03:05:53 2012 UTC (7 months, 3 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.125: +5 -5
lines
Diff to previous 1.125 (colored)
Add missing "\n" in log(9)
Revision 1.125 / (download) - annotate - [select for diffs], Tue May 1 15:09:36 2012 UTC (12 months, 2 weeks ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.124: +3 -2
lines
Diff to previous 1.124 (colored)
Explicitly include <sys/kmem.h>
Revision 1.124 / (download) - annotate - [select for diffs], Mon Apr 30 22:51:28 2012 UTC (12 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.123: +6 -6
lines
Diff to previous 1.123 (colored)
- Replace some malloc(9) uses with kmem(9). - G/C M_IPMOPTS, M_IPMADDR and M_BWMETER.
Revision 1.123 / (download) - annotate - [select for diffs], Thu Mar 22 20:34:39 2012 UTC (13 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8
Changes since 1.122: +2 -7
lines
Diff to previous 1.122 (colored)
remove KAME IPSEC, replaced by FAST_IPSEC
Revision 1.122 / (download) - annotate - [select for diffs], Mon Dec 19 11:59:57 2011 UTC (17 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.121: +3 -3
lines
Diff to previous 1.121 (colored)
rename the IPSEC in-kernel CPP variable and config(8) option to KAME_IPSEC, and make IPSEC define it so that existing kernel config files work as before Now the default can be easily be changed to FAST_IPSEC just by setting the IPSEC alias to FAST_IPSEC.
Revision 1.121 / (download) - annotate - [select for diffs], Wed Oct 19 01:52:22 2011 UTC (19 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.120: +4 -8
lines
Diff to previous 1.120 (colored)
Use if_addr_init() and if_mcast_op() instead of ifp->if_ioctl().
Revision 1.120 / (download) - annotate - [select for diffs], Wed Aug 31 18:31:03 2011 UTC (20 months, 2 weeks ago) by plunky
Branch: MAIN
Changes since 1.119: +6 -9
lines
Diff to previous 1.119 (colored)
NULL does not need a cast
Revision 1.119 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:53 2011 UTC (22 months ago) by joerg
Branch: MAIN
Changes since 1.118: +2 -4
lines
Diff to previous 1.118 (colored)
Retire varargs.h support. Move machine/stdarg.h logic into MI sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and derive va_list as required by standards.
Revision 1.118 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:22 2009 UTC (4 years, 2 months ago) by cegger
Branch: 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,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.117: +9 -9
lines
Diff to previous 1.117 (colored)
bzero -> memset
Revision 1.117 / (download) - annotate - [select for diffs], Fri Dec 19 18:49:39 2008 UTC (4 years, 5 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.116: +3 -4
lines
Diff to previous 1.116 (colored)
use M_ZERO on malloc() and remove subsequent bzero().
Revision 1.116 / (download) - annotate - [select for diffs], Wed Oct 1 16:01:51 2008 UTC (4 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
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-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,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.115: +3 -3
lines
Diff to previous 1.115 (colored)
PR/39664: Dave Huang: ip_mrouter_done: free hash using hashdone(9).
Revision 1.115 / (download) - annotate - [select for diffs], Wed Aug 6 15:01:23 2008 UTC (4 years, 9 months ago) by plunky
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Changes since 1.114: +96 -188
lines
Diff to previous 1.114 (colored)
Convert socket options code to use a sockopt structure instead of laying everything into an mbuf. approved by core
Revision 1.114 / (download) - annotate - [select for diffs], Thu May 22 01:08:03 2008 UTC (4 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl
Branch point for: haad-dm
Changes since 1.113: +4 -4
lines
Diff to previous 1.113 (colored)
Don't cast to void * unnecessarily.
Revision 1.113 / (download) - annotate - [select for diffs], Thu May 8 08:00:55 2008 UTC (5 years ago) by taca
Branch: MAIN
CVS Tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Changes since 1.112: +7 -2
lines
Diff to previous 1.112 (colored)
Make sure to clear csum_flags before forward the packet. This change should be fix DIAGNOSTIC kernel's panic when the machine act as multicast router. Advised from tls@ and approved by thorpej@.
Revision 1.112 / (download) - annotate - [select for diffs], Mon May 5 17:11:17 2008 UTC (5 years ago) by ad
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.111: +3 -4
lines
Diff to previous 1.111 (colored)
- Convert hashinit() to use kmem_alloc(). The hash tables can be large and it's better to not have them in kmem_map. - Convert a couple of minor items along the way to kmem_alloc(). - Fix some memory leaks.
Revision 1.111 / (download) - annotate - [select for diffs], Wed Feb 6 03:20:51 2008 UTC (5 years, 3 months ago) by matt
Branch: 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,
mjf-devfs-base,
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
Changes since 1.110: +4 -4
lines
Diff to previous 1.110 (colored)
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.110 / (download) - annotate - [select for diffs], Fri Dec 21 02:07:55 2007 UTC (5 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: vmlocking2-base3,
matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.109: +10 -4
lines
Diff to previous 1.109 (colored)
Add fix for ip_id information leakage. Since the leakage information is primarily used with TCP SYN and RST packets and such packets are less than the smallest sized packet that an IP stack is allowed to fragment, we simply set ip_id to 0 for all packets 68 bytes or less.
Revision 1.109 / (download) - annotate - [select for diffs], Tue Nov 27 22:45:29 2007 UTC (5 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Changes since 1.108: +4 -4
lines
Diff to previous 1.108 (colored)
require that the options argument is the right size, not that it is greater or equal to the requested size. Suggested by Matt Thomas.
Revision 1.108 / (download) - annotate - [select for diffs], Sun Sep 2 07:18:55 2007 UTC (5 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.107: +6 -6
lines
Diff to previous 1.107 (colored)
m_copym(..., 0, M_COPYALL, ...) -> m_copypacket(..., ...).
Revision 1.107 / (download) - annotate - [select for diffs], Sun Sep 2 03:12:23 2007 UTC (5 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.106: +10 -9
lines
Diff to previous 1.106 (colored)
m_copy() was deprecated, apparently, long ago. m_copy(...) -> m_copym(..., M_DONTWAIT).
Revision 1.106 / (download) - annotate - [select for diffs], Fri Aug 31 23:40:08 2007 UTC (5 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.105: +3 -3
lines
Diff to previous 1.105 (colored)
Fix bug in last: add missing ampersand.
Revision 1.105 / (download) - annotate - [select for diffs], Fri Aug 31 21:56:43 2007 UTC (5 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.104: +15 -18
lines
Diff to previous 1.104 (colored)
Stop sharing a sockaddr_in template among multicast routines, because that's just going to cause problems down the road. (Suppose we can have two CPUs in the network stack someday?) Instead, use sockaddr_in_init() to initialize a sockaddr_in on the stack. Use ifreq_setaddr() to initialize ifreq.ifr_addr.
Revision 1.104 / (download) - annotate - [select for diffs], Mon Jul 9 21:11:11 2007 UTC (5 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
matt-armv6,
jmcneill-pm
Changes since 1.103: +6 -6
lines
Diff to previous 1.103 (colored)
Merge some of the less invasive changes from the vmlocking branch: - kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
Revision 1.103 / (download) - annotate - [select for diffs], Wed Jun 13 23:09:59 2007 UTC (5 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.102: +3 -3
lines
Diff to previous 1.102 (colored)
PR/36484: Pavlin Radoslavov: PIM Register in-kernel encapsulation IP_DF setting is incorrect
Revision 1.102 / (download) - annotate - [select for diffs], Wed Apr 25 00:11:18 2007 UTC (6 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.101: +4 -5
lines
Diff to previous 1.101 (colored)
Get rid of some gratuitous casts and join some lines.
Revision 1.101 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:21 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.100: +21 -21
lines
Diff to previous 1.100 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.100 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:45 2006 UTC (6 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-base-1,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
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,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
wrstuden-fixsa,
netbsd-4
Changes since 1.99: +7 -7
lines
Diff to previous 1.99 (colored)
__unused removal on arguments; approved by core.
Revision 1.99 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:38 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.98: +7 -7
lines
Diff to previous 1.98 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.98 / (download) - annotate - [select for diffs], Wed Aug 30 19:00:22 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.97: +28 -31
lines
Diff to previous 1.97 (colored)
Fix initializers.
Revision 1.97 / (download) - annotate - [select for diffs], Tue Apr 25 08:29:08 2006 UTC (7 years ago) by liamjfoy
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.96: +3 -3
lines
Diff to previous 1.96 (colored)
- use MAXTTL ok christos@
Revision 1.96 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:57 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.95: +2 -2
lines
Diff to previous 1.95 (colored)
merge ktrace-lwp.
Revision 1.95 / (download) - annotate - [select for diffs], Wed Aug 3 18:20:11 2005 UTC (7 years, 9 months ago) by gdt
Branch: 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
Changes since 1.94: +51 -38
lines
Diff to previous 1.94 (colored)
Restore to working order; this has apparently been nonworking since the decapsulator dispatch changes in 2001. Problems found and fixed by Christine Jones of BBN. Specifically: Check for a packet's protocol to be ENCAP_PROTO, not AF_INET. Remove one-back cache for last vif, because vif_encapcheck is called for each vif, rather than being expected to find the appropriate vif. The cache usage caused packets to be input on the wrong vif and hence usually dropped. In vif_encapcheck, verify the local source as well. While mrouted endeavors not to create multiple tunnels with a peer, a packet arriving with the wrong local address is still wrong and should not be accepted. (This is a correctness nit, not a security issue.) Order checks to fail quickly for packets being checked to see if they match a vif other than the one they belong on (essentially, check peer source address in outer header first). Claim 69 bits of match (32 each from outer src/dst and 5 from checking that inner dst is within 224/5). This should result in the vif having a higher priority for multicast packets compared to a parallel gif(4) tunnel, and that both seems appropriate if both are configured and seems to match the semantics expected by the decapsulator dispatch machinery. (These changes were made in 2.99.15 and about a dozen nodes are running them with many vifs. ip_mroute.c has not changed significantly since then (February 2005) and the changes applied cleanly to current and compile cleanly.)
Revision 1.94 / (download) - annotate - [select for diffs], Mon Jun 6 06:06:50 2005 UTC (7 years, 11 months ago) by martin
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.93: +4 -4
lines
Diff to previous 1.93 (colored)
Since we decided "const struct mbuf *" would not do the right thing (tm), remove ~all const from mbuf pointers.
Revision 1.93 / (download) - annotate - [select for diffs], Mon Jun 6 04:51:06 2005 UTC (7 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.92: +4 -4
lines
Diff to previous 1.92 (colored)
Adapt to ip_encap.h constification.
Revision 1.92 / (download) - annotate - [select for diffs], Mon Jun 6 02:47:59 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.91: +6 -8
lines
Diff to previous 1.91 (colored)
make this compile again.
Revision 1.91 / (download) - annotate - [select for diffs], Sun May 29 21:40:27 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.90: +6 -6
lines
Diff to previous 1.90 (colored)
change casts to proper unconst. mark XXXUNCONST
Revision 1.90 / (download) - annotate - [select for diffs], Sat Feb 26 22:45:12 2005 UTC (8 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Changes since 1.89: +13 -13
lines
Diff to previous 1.89 (colored)
nuke trailing whitespace
Revision 1.89 / (download) - annotate - [select for diffs], Thu Feb 3 23:08:43 2005 UTC (8 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2,
matt-timespec
Changes since 1.88: +43 -115
lines
Diff to previous 1.88 (colored)
ANSIify function declarations
Revision 1.88 / (download) - annotate - [select for diffs], Wed Feb 2 21:41:55 2005 UTC (8 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.87: +53 -55
lines
Diff to previous 1.87 (colored)
de-__P -- will ANSIfy .c files later.
Revision 1.87 / (download) - annotate - [select for diffs], Sat Jan 15 06:50:47 2005 UTC (8 years, 4 months ago) by manu
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km,
kent-audio2
Changes since 1.86: +3 -4
lines
Diff to previous 1.86 (colored)
Duplicate nested if statement in PIM code (from the OpenBSD tree)
Revision 1.86 / (download) - annotate - [select for diffs], Sat Sep 4 23:30:07 2004 UTC (8 years, 8 months ago) by manu
Branch: MAIN
CVS Tags: kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Changes since 1.85: +1701 -226
lines
Diff to previous 1.85 (colored)
IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on tech-net@
Revision 1.85 / (download) - annotate - [select for diffs], Mon Apr 26 01:31:57 2004 UTC (9 years ago) by matt
Branch: MAIN
CVS Tags: BEFORE-IPF413
Changes since 1.84: +2 -8
lines
Diff to previous 1.84 (colored)
Remove #else clause of __STDC__
Revision 1.84 / (download) - annotate - [select for diffs], Thu Apr 22 01:01:41 2004 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.83: +4 -4
lines
Diff to previous 1.83 (colored)
Constify protosw arrays. This can reduce the kernel .data section by over 4K (if all the network protocols) are loaded.
Revision 1.83 / (download) - annotate - [select for diffs], Wed Apr 21 18:40:41 2004 UTC (9 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.82: +4 -3
lines
Diff to previous 1.82 (colored)
kill sprintf, use snprintf
Revision 1.82 / (download) - annotate - [select for diffs], Wed Nov 19 18:39:34 2003 UTC (9 years, 6 months ago) by jonathan
Branch: 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
Changes since 1.81: +3 -2
lines
Diff to previous 1.81 (colored)
Patch back support for (badly) randomized IP ids, by request: * Include "opt_inet.h" everywhere IP-ids are generated with ip_newid(), so the RANDOM_IP_ID option is visible. Also in ip_id(), to ensure the prototype for ip_randomid() is made visible. * Add new sysctl to enable randomized IP-ids, provided the kernel was configured with RANDOM_IP_ID. (The sysctl defaults to zero, and is a read-only zero if RANDOM_IP_ID is not configured). Note that the implementation of randomized IP ids is still defective, and should not be enabled at all (even if configured) without very careful deliberation. Caveat emptor.
Revision 1.81 / (download) - annotate - [select for diffs], Mon Nov 17 21:34:27 2003 UTC (9 years, 6 months ago) by jonathan
Branch: MAIN
Changes since 1.80: +3 -3
lines
Diff to previous 1.80 (colored)
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.80 / (download) - annotate - [select for diffs], Sat Sep 6 03:36:30 2003 UTC (9 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.79: +3 -3
lines
Diff to previous 1.79 (colored)
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.79 / (download) - annotate - [select for diffs], Fri Aug 22 22:00:37 2003 UTC (9 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.78: +2 -10
lines
Diff to previous 1.78 (colored)
remove ipsec_set/getsocket. now we explicitly pass socket * to ip{,6}_output.
Revision 1.78 / (download) - annotate - [select for diffs], Fri Aug 22 21:53:04 2003 UTC (9 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.77: +6 -4
lines
Diff to previous 1.77 (colored)
change the additional arg to be passed to ip{,6}_output to struct socket *.
this fixes KAME policy lookup which was broken by the previous commit.
Revision 1.77 / (download) - annotate - [select for diffs], Fri Aug 15 03:42:03 2003 UTC (9 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.76: +9 -4
lines
Diff to previous 1.76 (colored)
(fast-ipsec): Add hooks to pass IPv4 IPsec traffic into fast-ipsec, if configured with ``options FAST_IPSEC''. Kernels with KAME IPsec or with no IPsec should work as before. All calls to ip_output() now always pass an additional compulsory argument: the inpcb associated with the packet being sent, or 0 if no inpcb is available. Fast-ipsec tested with ICMP or UDP over ESP. TCP doesn't work, yet.
Revision 1.76 / (download) - annotate - [select for diffs], Thu Aug 7 16:33:13 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.75: +35 -3
lines
Diff to previous 1.75 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.75 / (download) - annotate - [select for diffs], Mon Jun 30 10:34:53 2003 UTC (9 years, 10 months ago) by itojun
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.74: +14 -24
lines
Diff to previous 1.74 (colored)
better ip_mrouter_detach(). by ono@kame
Revision 1.74 / (download) - annotate - [select for diffs], Thu Jun 26 21:49:17 2003 UTC (9 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.73: +3 -3
lines
Diff to previous 1.73 (colored)
fix stats to meet 4.4BSD practice
Revision 1.73 / (download) - annotate - [select for diffs], Thu Jun 26 07:41:48 2003 UTC (9 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.72: +10 -2
lines
Diff to previous 1.72 (colored)
expire mrt if mrt_stall goes empty. ono@kame
Revision 1.72 / (download) - annotate - [select for diffs], Thu Jun 26 03:35:00 2003 UTC (9 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.71: +33 -2
lines
Diff to previous 1.71 (colored)
cleanup multicast routing stuff on if_detach(). XXX sideeffect to running instance of multicast routing daemon unknown
Revision 1.71 / (download) - annotate - [select for diffs], Wed May 14 17:28:31 2003 UTC (10 years ago) by itojun
Branch: MAIN
Changes since 1.70: +6 -6
lines
Diff to previous 1.70 (colored)
more KNF
Revision 1.70 / (download) - annotate - [select for diffs], Wed May 14 17:18:36 2003 UTC (10 years ago) by itojun
Branch: MAIN
Changes since 1.69: +11 -10
lines
Diff to previous 1.69 (colored)
more KNF
Revision 1.69 / (download) - annotate - [select for diffs], Wed May 14 16:57:03 2003 UTC (10 years ago) by itojun
Branch: MAIN
Changes since 1.68: +6 -6
lines
Diff to previous 1.68 (colored)
wrap multiline macro by do {} while (0)
Revision 1.68 / (download) - annotate - [select for diffs], Wed May 14 16:52:53 2003 UTC (10 years ago) by itojun
Branch: MAIN
Changes since 1.67: +3 -3
lines
Diff to previous 1.67 (colored)
constcond
Revision 1.67 / (download) - annotate - [select for diffs], Wed May 14 16:43:44 2003 UTC (10 years ago) by itojun
Branch: MAIN
Changes since 1.66: +531 -514
lines
Diff to previous 1.66 (colored)
KNF
Revision 1.66 / (download) - annotate - [select for diffs], Wed Feb 26 06:31:15 2003 UTC (10 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.65: +3 -2
lines
Diff to previous 1.65 (colored)
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.65 / (download) - annotate - [select for diffs], Sun Jan 19 23:57:01 2003 UTC (10 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.64: +3 -7
lines
Diff to previous 1.64 (colored)
Remove variables that are only assigned too but not referenced.
Revision 1.64 / (download) - annotate - [select for diffs], Tue Nov 5 02:07:25 2002 UTC (10 years, 6 months ago) by fair
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Changes since 1.63: +7 -2
lines
Diff to previous 1.63 (colored)
Add required IPSEC #include files that prevented this from compiling.
Revision 1.63 / (download) - annotate - [select for diffs], Sat Nov 2 07:28:13 2002 UTC (10 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored)
/*CONTCOND*/ while (0)'ed macros
Revision 1.62 / (download) - annotate - [select for diffs], Wed Aug 14 00:23:31 2002 UTC (10 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gehenna-devsw-base
Changes since 1.61: +8 -9
lines
Diff to previous 1.61 (colored)
avoid swapping endian of ip_len and ip_off on mbuf, to meet with M_LEADINGSPACE optimization made last year. should solve PR 17867 and 10195. IP_HDRINCL behavior of raw ip socket is kept unchanged. we may want to provide IP_HDRINCL variant that does not swap endian.
Revision 1.61 / (download) - annotate - [select for diffs], Wed Jul 31 04:07:20 2002 UTC (10 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.60: +41 -2
lines
Diff to previous 1.60 (colored)
bring back old copyright notice lost in rev 1.15 (which is the authors' intent).
Revision 1.60 / (download) - annotate - [select for diffs], Sun Jun 9 16:33:41 2002 UTC (10 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.59: +54 -54
lines
Diff to previous 1.59 (colored)
whitespace
Revision 1.59 / (download) - annotate - [select for diffs], Mon Mar 4 13:24:12 2002 UTC (11 years, 2 months ago) by sommerfeld
Branch: MAIN
CVS Tags: newlock-base,
newlock,
netbsd-1-6-base,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6,
gehenna-devsw
Changes since 1.58: +3 -11
lines
Diff to previous 1.58 (colored)
The "gif*" tunnelling interface does everything ipip does. Move usage example from ipip.4 to gif.4 Excise ipip and stitch up the scars.
Revision 1.58 / (download) - annotate - [select for diffs], Tue Nov 13 00:32:38 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: ifpoll-base,
ifpoll
Changes since 1.57: +4 -1
lines
Diff to previous 1.57 (colored)
add RCSIDs
Revision 1.57 / (download) - annotate - [select for diffs], Sun Nov 4 20:55:28 2001 UTC (11 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.56: +8 -9
lines
Diff to previous 1.56 (colored)
Convert netinet to not use the internal <sys/queue.h> field names but instead the access macros. Use the FOREACH macros where appropriate.
Revision 1.56 / (download) - annotate - [select for diffs], Sun Jul 22 13:34:11 2001 UTC (11 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.55: +2 -2
lines
Diff to previous 1.55 (colored)
seperate -> separate
Revision 1.55 / (download) - annotate - [select for diffs], Sat Jun 2 16:17:10 2001 UTC (11 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.54: +6 -1
lines
Diff to previous 1.54 (colored)
Implement support for IP/TCP/UDP checksum offloading provided by network interfaces. This works by pre-computing the pseudo-header checksum and caching it, delaying the actual checksum to ip_output() if the hardware cannot perform the sum for us. In-bound checksums can either be fully-checked by hardware, or summed up for final verification by software. This method was modeled after how this is done in FreeBSD, although the code is significantly different in most places. We don't delay checksums for IPv6/TCP, but we do take advantage of the cached pseudo-header checksum. Note: hardware-assisted checksumming defaults to "off". It is enabled with ifconfig(8). See the manual page for details. Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet, 3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
Revision 1.54 / (download) - annotate - [select for diffs], Tue May 8 10:07:15 2001 UTC (12 years ago) by itojun
Branch: MAIN
Changes since 1.53: +99 -51
lines
Diff to previous 1.53 (colored)
pull encapsulated packet for vif* via ip_encap framework.
Revision 1.53 / (download) - annotate - [select for diffs], Fri Apr 13 23:30:23 2001 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Changes since 1.52: +2 -2
lines
Diff to previous 1.52 (colored)
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.52 / (download) - annotate - [select for diffs], Wed Jan 24 09:04:15 2001 UTC (12 years, 3 months ago) by itojun
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.51: +3 -3
lines
Diff to previous 1.51 (colored)
- record IPsec packet history into m_aux structure. - let ipfilter look at wire-format packet only (not the decapsulated ones), so that VPN setting can work with NAT/ipfilter settings. sync with kame. TODO: use header history for stricter inbound validation
Revision 1.51 / (download) - annotate - [select for diffs], Wed Nov 8 14:28:15 2000 UTC (12 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.50: +3 -2
lines
Diff to previous 1.50 (colored)
Update for hashinit() change.
Revision 1.50 / (download) - annotate - [select for diffs], Wed Apr 19 06:30:55 2000 UTC (13 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.49: +2 -2
lines
Diff to previous 1.49 (colored)
introduce sys/netinet/ip_encap.c, to dispatch inbound packets to protocol handlers, based on src/dst (for ip proto #4/41). see comment in ip_encap.c for details of the problem we have. there are too many protocol specs for ip proto #4/41. backward compatibility with MROUTING case is now provided in ip_encap.c. fix ipip to work with gif (using ip_encap.c). sorry for breakage. gif now uses ip_encap.c. introduce stf pseudo interface (implements 6to4, another IPv6-over-IPv4 code with ip proto #41).
Revision 1.49 / (download) - annotate - [select for diffs], Sun Apr 16 20:59:49 2000 UTC (13 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.48: +1 -5
lines
Diff to previous 1.48 (colored)
remove an LBL ifdef that we can't turn on anyway.
Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 30 13:25:01 2000 UTC (13 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.47: +83 -83
lines
Diff to previous 1.47 (colored)
Remove register declarations.
Revision 1.47 / (download) - annotate - [select for diffs], Thu Mar 23 07:03:29 2000 UTC (13 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +19 -6
lines
Diff to previous 1.46 (colored)
New callout mechanism with two major improvements over the old timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel. The old timeout()/untimeout() API has been removed from the kernel.
Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 1 12:49:34 2000 UTC (13 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.45: +5 -3
lines
Diff to previous 1.45 (colored)
introduce m->m_pkthdr.aux to hold random data which needs to be passed between protocol handlers. ipsec socket pointers, ipsec decryption/auth information, tunnel decapsulation information are in my mind - there can be several other usage. at this moment, we use this for ipsec socket pointer passing. this will avoid reuse of m->m_pkthdr.rcvif in ipsec code. due to the change, MHLEN will be decreased by sizeof(void *) - for example, for i386, MHLEN was 100 bytes, but is now 96 bytes. we may want to increase MSIZE from 128 to 256 for some of our architectures. take caution if you use it for keeping some data item for long period of time - use extra caution on M_PREPEND() or m_adj(), as they may result in loss of m->m_pkthdr.aux pointer (and mbuf leak). this will bump kernel version. (as discussed in tech-net, tested in kame tree)
Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 1 00:07:50 2000 UTC (13 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.44: +3 -3
lines
Diff to previous 1.44 (colored)
Fix a couple of whitespace glitches.
Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 9 22:57:19 1999 UTC (13 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.43: +3 -1
lines
Diff to previous 1.43 (colored)
defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h).
Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 1 08:12:50 1999 UTC (13 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.42: +8 -2
lines
Diff to previous 1.42 (colored)
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.42 / (download) - annotate - [select for diffs], Sat Mar 27 21:47:59 1999 UTC (14 years, 1 month ago) by nathanw
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Branch point for: kame,
chs-ubc2
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
Alpha printf format fixes. Closes PR kern/7258.
Revision 1.41 / (download) - annotate - [select for diffs], Tue Feb 2 07:10:45 1999 UTC (14 years, 3 months ago) by marc
Branch: MAIN
Changes since 1.40: +1 -5
lines
Diff to previous 1.40 (colored)
remove gre_softc declaration; the symbol is no longer used in this file.
Revision 1.40 / (download) - annotate - [select for diffs], Mon Feb 1 15:09:46 1999 UTC (14 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.39: +3 -1
lines
Diff to previous 1.39 (colored)
Clear mfchashtbl after it's deallocated, to kill a stray pointer. Fixes PR 5400.
Revision 1.39 / (download) - annotate - [select for diffs], Mon Jan 11 21:31:03 1999 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +15 -33
lines
Diff to previous 1.38 (colored)
Adjust for the new IP-IP input path. mrt_ipip_input() is called from ipip_input(), and returns non-zero if mrt_ipip_input() handled the packet. XXX Eventually, the multicast code should probably use regular IP-IP XXX `interfaces', but mrouted knows about the VIF table, etc.
Revision 1.38 / (download) - annotate - [select for diffs], Tue Dec 22 02:51:32 1998 UTC (14 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +5 -5
lines
Diff to previous 1.37 (colored)
ipip_input() -> mrt_ipip_input().
Revision 1.37 / (download) - annotate - [select for diffs], Sun Sep 13 20:27:48 1998 UTC (14 years, 8 months ago) by hwr
Branch: MAIN
CVS Tags: kenh-if-detach-base,
chs-ubc-base,
chs-ubc
Branch point for: kenh-if-detach
Changes since 1.36: +15 -1
lines
Diff to previous 1.36 (colored)
Add a gre tunnel pseudo network device. Gre = generic route encapsulation. This device shows up like any other network interface and can be used to tunnel L3 protocols as e.g. IP over IP.
Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 7 02:44:57 1998 UTC (15 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: eeh-paddr_t-base,
eeh-paddr_t
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (colored)
add flags arg to hashinit(), to pass to malloc().
Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 14 06:42:33 1997 UTC (15 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal,
netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.34: +5 -4
lines
Diff to previous 1.34 (colored)
Make sure we install the route returned by the upcall before trying to forward any queued packets. From Bill Fenner, via Brad Karp.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Oct 13 02:03:06 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot,
mrg-vm-swap,
marc-pcmcia-bp,
is-newarp-before-merge,
is-newarp-base,
is-newarp,
bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.33: +17 -17
lines
Diff to previous 1.33 (colored)
backout previous kprintf changes
Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 10 23:12:50 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.32: +19 -19
lines
Diff to previous 1.32 (colored)
printf -> kprintf, sprintf -> ksprintf
Revision 1.32 / (download) - annotate - [select for diffs], Sat Sep 14 12:35:07 1996 UTC (16 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.31: +1 -2
lines
Diff to previous 1.31 (colored)
remove an unused variable.
Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 9 17:14:04 1996 UTC (16 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +159 -157
lines
Diff to previous 1.30 (colored)
Rework the token bucket filter to use a list of packets rather than a static array. Also, fix several memory leaks. From Bill Fenner.
Revision 1.30 / (download) - annotate - [select for diffs], Mon Sep 9 17:09:50 1996 UTC (16 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +56 -55
lines
Diff to previous 1.29 (colored)
Cosmetic changes, some from Bill Fenner.
Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 9 14:51:17 1996 UTC (16 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.28: +29 -28
lines
Diff to previous 1.28 (colored)
Add in_nullhost() and in_hosteq() macros, to hide some protocol details. Also, fix a bug in TCP wrt SYN+URG packets.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 23 12:12:46 1996 UTC (16 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +31 -28
lines
Diff to previous 1.27 (colored)
Return ENOPROTOOPT rather than picking pseudo-random error values.
Don't allow SIOCGET{VIF,SG}CNT from sockets other than the multicast router.
Restructure rip_ctloutput() like ip_ctloutput(), and fix memory leaks.
Revision 1.27 / (download) - annotate - [select for diffs], Tue May 7 02:40:50 1996 UTC (17 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.26: +4 -5
lines
Diff to previous 1.26 (colored)
Changed struct ifnet to have a pointer to the softc of the underlying device and a printable "external name" (name + unit number), thus eliminating if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)() to take a struct ifnet *, rather than a unit number.
Revision 1.26 / (download) - annotate - [select for diffs], Sat Mar 16 23:54:00 1996 UTC (17 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.25: +5 -5
lines
Diff to previous 1.25 (colored)
Fix printf format args.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 13 23:42:46 1996 UTC (17 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.24: +60 -45
lines
Diff to previous 1.24 (colored)
netinet prototypes
Revision 1.24 / (download) - annotate - [select for diffs], Sat Aug 12 23:59:38 1995 UTC (17 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.23: +18 -18
lines
Diff to previous 1.23 (colored)
splnet --> splsoftnet
Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 12 03:05:12 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +7 -4
lines
Diff to previous 1.22 (colored)
Clear the MFC entry's statistical counters when doing an upcall.
Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 4 07:38:19 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +19 -19
lines
Diff to previous 1.21 (colored)
Simplify ipip_input() a bit. Don't blow away the vif cache if someone sends us a bogus packet.
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jun 4 07:20:47 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +33 -38
lines
Diff to previous 1.20 (colored)
Simply tbf_control() a bit.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 4 06:55:30 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +12 -11
lines
Diff to previous 1.19 (colored)
Eliminate compiler warnings.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jun 4 06:46:08 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +3 -1
lines
Diff to previous 1.18 (colored)
For consistency, set sin_len for SIOC{ADD,DEL}MULTI.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 4 05:07:06 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +3 -7
lines
Diff to previous 1.17 (colored)
Clean up many more casts.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 2 04:23:05 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +50 -58
lines
Diff to previous 1.16 (colored)
Dynamically allocate the deencapsulation interfaces. Abstract the code to reset a vif into a separate function.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 1 21:36:32 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +3 -3
lines
Diff to previous 1.15 (colored)
Avoid byte-swapping IP addresses at run time.
Revision 1.15 / (download) - annotate - [select for diffs], Wed May 31 21:50:39 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +1564 -637
lines
Diff to previous 1.14 (colored)
Integrate multicast 3.5 distribution, with several bugs fixed and general cleanup. This is a (working) snapshot of work in progress.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 13 06:34:00 1995 UTC (18 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.13: +16 -16
lines
Diff to previous 1.13 (colored)
be a bit more careful and explicit with types. (basically a large no-op.)
Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 29 06:38:22 1994 UTC (18 years, 10 months ago) by cgd
Branch: 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
Changes since 1.12: +3 -2
lines
Diff to previous 1.12 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 9 16:01:53 1994 UTC (18 years, 11 months ago) by brezak
Branch: MAIN
Changes since 1.11: +364 -133
lines
Diff to previous 1.11 (colored)
Update to version 2 mrouting; from pre-4.4lite NetBSD + 4.4 mods
Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 4 08:29:51 1994 UTC (18 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +1 -3
lines
Diff to previous 1.10 (colored)
Remove a spurious splx().
Revision 1.10 / (download) - annotate - [select for diffs], Fri May 13 06:06:23 1994 UTC (19 years ago) by mycroft
Branch: MAIN
Changes since 1.9: +138 -366
lines
Diff to previous 1.9 (colored)
Update to 4.4-Lite networking code, with a few local changes.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 10 18:46:04 1994 UTC (19 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +1 -1
lines
Diff to previous 1.8 (colored)
Format police.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 10 17:25:17 1994 UTC (19 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +0 -1
lines
Diff to previous 1.7 (colored)
Deprecate af.h.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 29 11:57:45 1994 UTC (19 years, 3 months ago) by brezak
Branch: MAIN
Changes since 1.6: +4 -0
lines
Diff to previous 1.6 (colored)
Fix some cases of NOT dealing with m_pkthdr's. This code is still suspect though, at least this fixes some panics.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 18 03:26:57 1994 UTC (19 years, 4 months ago) by brezak
Branch: MAIN
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
Fix some prototype detected warnings/errors.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 18 02:36:58 1994 UTC (19 years, 4 months ago) by brezak
Branch: MAIN
Changes since 1.4: +11 -3
lines
Diff to previous 1.4 (colored)
Patch for ip-multicast bugs from mccanne@ee.lbl.gov (Steven McCanne)
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 10 20:14:21 1994 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +1 -2
lines
Diff to previous 1.3 (colored)
Should compile now with or without `options MULTICAST'.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 9 01:06:15 1994 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
Prototype the rest.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 8 21:21:49 1994 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +12 -12
lines
Diff to previous 1.1 (colored)
Fix some inconsistent spacing; spaces at the end of lines, etc.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 6 05:03:32 1993 UTC (19 years, 5 months ago) by hpeyerl
Branch: MAIN
multicast support. >From Chris Maeda, cmaeda@cs.washington.edu These patches are derived from the IP Multicast patches for BSDI.