Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Wed Dec 7 08:33:02 2022 UTC (3 months, 2 weeks ago) by knakahara
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
HEAD
Changes since 1.27: +3 -14
lines
Diff to previous 1.27 (colored)
Refactor ip_encap.[ch] - remove encap_attach() which is no longer used - remove USE_RADIX code in ip_encap.c, which is used for encap_attach() only - remove mask members in encaptab
Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 7 08:28:46 2022 UTC (3 months, 2 weeks ago) by knakahara
Branch: MAIN
Changes since 1.26: +30 -1
lines
Diff to previous 1.26 (colored)
Implement encap_attach_addr() which is used by IP-encaped tunnels. The tunnels attached by encap_attach() can process receiving packets fastly as the softc is searched by radix-tree. However, the tunnels cannot use priority function which decides tunnel's softc by not only source and destination but also other informations. On the other hand, the tunnels attached by encap_attach_func() can use priority function. However, the tunnels can be slow receiving processing as the softc is searched by linear search (and uses each priority function). encap_attach_addr() can be used for tunnels which is fixed tunnel source address and tunnel destination address. The tunnels attached by encap_attach_addr() is searched by thmap(9), so the receiving processing can be fast. Moreover, the tunnels can use priority function.
Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 7 08:27:03 2022 UTC (3 months, 2 weeks ago) by knakahara
Branch: MAIN
Changes since 1.25: +5 -3
lines
Diff to previous 1.25 (colored)
refactor: use typedef for ip_encap priority function
Revision 1.24.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:47 2019 UTC (3 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
Sync with HEAD
Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:56 2018 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
Ssync with HEAD
Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 14 05:09:51 2018 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored)
Use non-variadic function pointer in protosw::pr_input.
Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 28 10:30:20 2018 UTC (5 years ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: phil-wifi,
pgoyette-compat
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored)
Remove unused mbuf tags.
Revision 1.22.10.1 / (download) - annotate - [select for diffs], Sun Dec 10 09:41:31 2017 UTC (5 years, 3 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Changes since 1.22: +3 -4
lines
Diff to previous 1.22 (colored) next main 1.23 (colored)
Pull up following revision(s) (requested by knakahara in ticket #419): sys/net/if_stf.c: revision 1.103 sys/net/if_stf.h: revision 1.8 sys/netinet/in_gif.c: revision 1.89 sys/netinet/in_gif.h: revision 1.17 sys/netinet/in_l2tp.c: revision 1.4 sys/netinet/ip_encap.c: revision 1.66 sys/netinet/ip_encap.h: revision 1.23 sys/netinet/ip_mroute.c: revision 1.148 sys/netinet6/in6_gif.c: revision 1.87 sys/netinet6/in6_gif.h: revision 1.16 sys/netinet6/in6_l2tp.c: revision 1.7 sys/netipsec/xform.h: revision 1.13 sys/netipsec/xform_ipip.c: revision 1.55 Add argument to encapsw->pr_input() instead of m_tag.
Revision 1.13.26.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:04 2017 UTC (5 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.13: +46 -6
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
update from HEAD
Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 15 10:42:41 2017 UTC (5 years, 4 months ago) by knakahara
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.22: +3 -4
lines
Diff to previous 1.22 (colored)
Add argument to encapsw->pr_input() instead of m_tag.
Revision 1.13.44.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:22 2016 UTC (6 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.13.44.1: +12 -2
lines
Diff to previous 1.13.44.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)
Sync with HEAD
Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 4 04:35:09 2016 UTC (6 years, 8 months ago) by knakahara
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.21: +4 -2
lines
Diff to previous 1.21 (colored)
make encap_lock_{enter,exit} interruptable.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 4 04:29:11 2016 UTC (6 years, 8 months ago) by knakahara
Branch: MAIN
Changes since 1.20: +7 -2
lines
Diff to previous 1.20 (colored)
use pserialize(9) and psref(9) (1/2) : without ip_encap radix tree care
Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 4 04:17:25 2016 UTC (6 years, 8 months ago) by knakahara
Branch: MAIN
Changes since 1.19: +4 -1
lines
Diff to previous 1.19 (colored)
let gif(4) promise softint(9) contract (2/2) : ip_encap side The last commit does not care encaptab. This commit fixes encaptab race which is used not only gif(4).
Revision 1.13.44.1 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:33 2016 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.13: +35 -4
lines
Diff to previous 1.13 (colored)
Sync with HEAD
Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 29 01:29:15 2016 UTC (7 years ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Changes since 1.18: +1 -4
lines
Diff to previous 1.18 (colored)
remove unnecessary declarations and fix KNF Thanks to riastradh@
Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 26 07:35:17 2016 UTC (7 years, 1 month ago) by knakahara
Branch: MAIN
Changes since 1.17: +19 -5
lines
Diff to previous 1.17 (colored)
To eliminate gif_softc_list linear search, add extra argument to encapsw.pr_ctlinput().
Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 26 06:00:10 2016 UTC (7 years, 2 months ago) by knakahara
Branch: MAIN
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored)
eliminate variable argument in encapsw
Revision 1.16 / (download) - annotate - [select for diffs], Tue Jan 26 05:58:05 2016 UTC (7 years, 2 months ago) by knakahara
Branch: MAIN
Changes since 1.15: +24 -4
lines
Diff to previous 1.15 (colored)
implement encapsw instead of protosw and uniform prototype. suggested and advised by riastradh@n.o, thanks. BTW, It seems in_stf_input() had bugs...
Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 22 23:27:12 2016 UTC (7 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.14: +4 -9
lines
Diff to previous 1.14 (colored)
Back out previous change to introduce struct encapsw. This change was intended, but Nakahara-san had already made a better one locally! So I'll let him commit that one, and I'll try not to step on anyone's toes again.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 22 05:15:10 2016 UTC (7 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.13: +9 -4
lines
Diff to previous 1.13 (colored)
Don't abuse struct protosw for ip_encap -- introduce struct encapsw. Mostly mechanical change to replace it, culling some now-needless boilerplate around all the users. This does not substantively change the ip_encap API or eliminate abuse of sketchy pointer casts -- that will come later, and will be easier now that it is not tangled up with struct protosw.
Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:17 2009 UTC (13 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12: +19 -2
lines
Diff to previous 1.12 (colored) next main 1.13 (colored)
sync with head.
Revision 1.12.10.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:13 2009 UTC (14 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.12: +19 -2
lines
Diff to previous 1.12 (colored) next main 1.13 (colored)
Sync with HEAD.
Revision 1.11.38.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:32 2009 UTC (14 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11.38.1: +18 -1
lines
Diff to previous 1.11.38.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)
Sync with HEAD.
Revision 1.12.8.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:27 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.12: +19 -2
lines
Diff to previous 1.12 (colored) next main 1.13 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.13 / (download) - annotate - [select for diffs], Tue Nov 25 18:28:05 2008 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
yamt-nfs-mp-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,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
mjf-devfs2-base,
matt-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
khorben-n900,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver,
ad-audiomp2-base,
ad-audiomp2
Branch point for: tls-maxphys,
nick-nhusb
Changes since 1.12: +19 -2
lines
Diff to previous 1.12 (colored)
Make dom_maxrtkey of inet/inet6domain the size of the ip_encap pack structures. This is far from optimal, but gets rid of iffy #ifdef INET in radix.c. The radix bonsai still needs lots of love before loading domains dynamically is possible...
Revision 1.11.38.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:24 2008 UTC (14 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (colored)
Sync with HEAD.
Revision 1.11.40.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:29 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
sync with head.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:37 2008 UTC (14 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: yamt-nfs-mp,
nick-hppapmap,
haad-dm
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (colored)
Merge the socket locking patch: - Socket layer becomes MP safe. - Unix protocols become MP safe. - Allows protocol processing interrupts to safely block on locks. - Fixes a number of race conditions. With much feedback from matt@ and plunky@.
Revision 1.10.26.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:55 2007 UTC (16 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored) next main 1.11 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.9.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:44 2007 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.1: +2 -2
lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
sync with head.
Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 17 22:34:11 2007 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-pf42,
mjf-devfs2
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
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.9.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:11:01 2006 UTC (16 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
sync with head.
Revision 1.3.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:24 2005 UTC (17 years, 3 months ago) by christos
Branch: ktrace-lwp
Changes since 1.3.2.6: +2 -2
lines
Diff to previous 1.3.2.6 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Sync with head.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 10 23:36:23 2005 UTC (17 years, 3 months ago) by elad
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
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,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
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,
ktrace-lwp-base,
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
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
Multiple inclusion protection, as suggested by christos@ on tech-kern@ few days ago.
Revision 1.3.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:11:07 2005 UTC (17 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.5: +3 -3
lines
Diff to previous 1.3.2.5 (colored) to branchpoint 1.3 (colored)
Sync with HEAD. Here we go again...
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 6 06:06:50 2005 UTC (17 years, 9 months ago) by martin
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
Branch point for: yamt-lazymbuf
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored)
Since we decided "const struct mbuf *" would not do the right thing (tm), remove ~all const from mbuf pointers.
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 3 21:40:56 2005 UTC (17 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
Sprinkle some const
Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 2 15:21:35 2005 UTC (17 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
Change the first argument of the encapsulation check function from "const struct mbuf *" to "struct mbuf *". Without this change the actual implementation cannot even use m_copydata() on the mbuf chain which is broken.
Revision 1.5.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:33 2005 UTC (17 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.5: +13 -13
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
sync with -current
Revision 1.5.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:54 2005 UTC (18 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.5: +13 -13
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
sync with head.
Revision 1.3.2.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:47:48 2005 UTC (18 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.4: +13 -13
lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored)
Sync with HEAD.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 2 21:41:55 2005 UTC (18 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
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.5: +13 -13
lines
Diff to previous 1.5 (colored)
de-__P -- will ANSIfy .c files later.
Revision 1.3.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:37:11 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.3: +1 -1
lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)
Fix the sync with head I botched.
Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:54 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.2: +1 -1
lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)
Sync with HEAD.
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:59 2004 UTC (18 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.1: +2 -1
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)
Sync with HEAD.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 17 07:05:34 2004 UTC (18 years, 7 months ago) by itojun
Branch: MAIN
CVS Tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (colored)
initialize max_keylen for ip_encap.c earlier
Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:37 2004 UTC (18 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Sync with HEAD
Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 18 21:00:36 2004 UTC (18 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: BEFORE-IPF413
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
De __P()
Revision 1.1.8.2 / (download) - annotate - [select for diffs], Fri Jan 17 16:37:19 2003 UTC (20 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.8.1: +2 -2
lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Sync with HEAD.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 17 08:11:57 2003 UTC (20 years, 2 months ago) by itojun
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,
nathanw_sa_before_merge,
nathanw_sa_base,
BEFORE-IPF411
Branch point for: ktrace-lwp
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
switch from kame-based m_aux mbuf auxiliary data, to openbsd m_tag implementation. it will simplify porting across *bsd (such as kame/altq), and make us more synchronized. from Joel Wilsson
Revision 1.1.10.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:02:44 2002 UTC (21 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.1: +13 -5
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
Sync kqueue branch with -current.
Revision 1.1.8.1 / (download) - annotate - [select for diffs], Tue Jan 8 00:34:04 2002 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +13 -5
lines
Diff to previous 1.1 (colored)
Catch up to -current.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 21 06:30:43 2001 UTC (21 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
ifpoll-base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
gehenna-devsw,
fvdl_fs64_base,
eeh-devprop-base,
eeh-devprop
Changes since 1.1: +13 -5
lines
Diff to previous 1.1 (colored)
use radix table for inbound tunnel lookup (would increase performance for machines with a lot of tunnels). update route cache for IPvX-over-IPv6 tunnel on path MTU discovery. snyc with kame
Revision 1.1.6.2 / (download) - annotate - [select for diffs], Mon Nov 20 18:10:25 2000 UTC (22 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.6.1: +64 -0
lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.1.6.1, Wed Apr 19 06:30:55 2000 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +0 -64
lines
FILE REMOVED
file ip_encap.h was added on branch thorpej_scsipi on 2000-11-20 18:10:25 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 19 06:30:55 2000 UTC (22 years, 11 months ago) by itojun
Branch: 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,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: thorpej_scsipi,
nathanw_sa,
kqueue
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).