
CVS log for src/sys/netinet6/ip6_output.c
Up to [NetBSD] / src / sys / netinet6
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.129.2.2: download - view: text, markup, annotated - select for diffs
Sat May 16 12:41:50 2009 (10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.129.2.1: preferred, colored to branchpoint 1.129: preferred, colored next main 1.130: preferred, colored
Changes since revision 1.129.2.1: +44 -39
lines
sync with head
Revision 1.135.6.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:22:29 2009 (10 months ago) by jym
Branches: jym-xensuspend
Diff to previous 1.135: preferred, colored next main 1.136: preferred, colored
Changes since revision 1.135: +52 -46
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu May 7 23:51:47 2009 (10 months, 1 week ago) by elad
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,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-base,
rmind-uvmplock,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
HEAD
Diff to previous 1.138: preferred, colored
Changes since revision 1.138: +16 -13
lines
Remove some more "priv" variable usage in favor of kauth(9) calls.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Wed May 6 23:41:59 2009 (10 months, 1 week ago) by elad
Branches: MAIN
Diff to previous 1.137: preferred, colored
Changes since revision 1.137: +34 -32
lines
Remove some usage of "priv" and "privileged" variables and instead pass
around credentials. Also push down kauth(9) calls closer to where the
operation is done.
Mailing list reference:
http://mail-index.netbsd.org/tech-net/2009/04/30/msg001270.html
Revision 1.129.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 10:14:19 2009 (10 months, 2 weeks ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.129: preferred, colored
Changes since revision 1.129: +152 -198
lines
sync with head.
Revision 1.134.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 09:37:23 2009 (10 months, 3 weeks ago) by skrll
Branches: nick-hppapmap
Diff to previous 1.134.2.1: preferred, colored to branchpoint 1.134: preferred, colored next main 1.135: preferred, colored
Changes since revision 1.134.2.1: +10 -9
lines
Sync with HEAD.
Revision 1.135.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 21 00:56:04 2009 (10 months, 4 weeks ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RELEASE,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Diff to previous 1.135: preferred, colored next main 1.136: preferred, colored
Changes since revision 1.135: +4 -3
lines
Pull up following revision(s) (requested by drochner in ticket #713):
sys/netinet6/ip6_output.c: revision 1.137
fix traversing of a control mbuf in the case that a message len
is not aligned wrt CMSG_ALIGN - the length counter drops below 0
in this case which was not checked for,
fixes crashes (with isc_dhcrelay4) reported by Uwe in tech-net
(subject: netbsd5-rc3 crash caused by isc_dhcrelay)
Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Apr 18 14:40:52 2009 (11 months ago) by drochner
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Diff to previous 1.136: preferred, colored
Changes since revision 1.136: +4 -3
lines
fix traversing of a control mbuf in the case that a message len
is not aligned wrt CMSG_ALIGN - the length counter drops below 0
in this case which was not checked for,
fixes crashes (with isc_dhcrelay4) reported by Uwe in tech-net
(subject: netbsd5-rc3 crash caused by isc_dhcrelay)
Revision 1.136: download - view: text, markup, annotated - select for diffs
Wed Mar 18 17:00:23 2009 CET (12 months ago) by cegger
Branches: MAIN
Diff to previous 1.135: preferred, colored
Changes since revision 1.135: +8 -8
lines
bzero -> memset
Revision 1.134.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 14:20:14 2009 CET (13 months, 4 weeks ago) by skrll
Branches: nick-hppapmap
Diff to previous 1.134: preferred, colored
Changes since revision 1.134: +7 -2
lines
Sync with HEAD.
Revision 1.126.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 14:29:33 2009 CET (14 months ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.126.6.2: preferred, colored to branchpoint 1.126: preferred, colored next main 1.127: preferred, colored
Changes since revision 1.126.6.2: +87 -93
lines
Sync with HEAD.
Revision 1.129.8.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 02:15:27 2008 CET (15 months ago) by haad
Branches: haad-dm
Diff to previous 1.129.8.1: preferred, colored to branchpoint 1.129: preferred, colored next main 1.130: preferred, colored
Changes since revision 1.129.8.1: +7 -2
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.135: download - view: text, markup, annotated - select for diffs
Mon Oct 27 21:03:07 2008 CET (16 months, 3 weeks ago) by plunky
Branches: MAIN
CVS tags: nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: netbsd-5,
jym-xensuspend
Diff to previous 1.134: preferred, colored
Changes since revision 1.134: +7 -2
lines
sockopt_getmbuf() may fail, handle that possibility
Revision 1.129.8.1: download - view: text, markup, annotated - select for diffs
Mon Oct 20 00:17:52 2008 (16 months, 4 weeks ago) by haad
Branches: haad-dm
Diff to previous 1.129: preferred, colored
Changes since revision 1.129: +139 -191
lines
Sync with HEAD.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Oct 12 17:24:10 2008 (17 months ago) by plunky
Branches: MAIN
CVS tags: matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap
Diff to previous 1.133: preferred, colored
Changes since revision 1.133: +7 -4
lines
ip6_pcbopts() is called with the socket lock held, use M_NOWAIT
Revision 1.133: download - view: text, markup, annotated - select for diffs
Sun Oct 12 17:12:17 2008 (17 months ago) by plunky
Branches: MAIN
Diff to previous 1.132: preferred, colored
Changes since revision 1.132: +6 -3
lines
ip6_pcbopt() is in the ctloutput path, we should not
sleep here because socket lock is held. use M_NOWAIT
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sun Oct 12 13:34:48 2008 (17 months, 1 week ago) by plunky
Branches: MAIN
Diff to previous 1.131: preferred, colored
Changes since revision 1.131: +68 -90
lines
convert ip6_[sg]etmoptions() to use sockopt(9) API
should be no functional change
Revision 1.131: download - view: text, markup, annotated - select for diffs
Sun Oct 12 12:25:04 2008 (17 months, 1 week ago) by plunky
Branches: MAIN
Diff to previous 1.130: preferred, colored
Changes since revision 1.130: +10 -5
lines
do not sleep while allocating memory, socket lock is held
(use ENOBUFS for failure)
Revision 1.126.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 12:40:59 2008 (17 months, 3 weeks ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.126.6.1: preferred, colored to branchpoint 1.126: preferred, colored
Changes since revision 1.126.6.1: +78 -119
lines
Sync with HEAD.
Revision 1.129.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 06:37:01 2008 (18 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to previous 1.129: preferred, colored next main 1.130: preferred, colored
Changes since revision 1.129: +80 -121
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Wed Aug 6 17:01:23 2008 (19 months, 1 week ago) by plunky
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Diff to previous 1.129: preferred, colored
Changes since revision 1.129: +80 -121
lines
Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.
approved by core
Revision 1.126.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:24:27 2008 (21 months, 2 weeks ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.126: preferred, colored
Changes since revision 1.126: +16 -14
lines
Sync with HEAD.
Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 14:35:35 2008 (22 months ago) by yamt
Branches: yamt-pf42
Diff to previous 1.128: preferred, colored next main 1.129: preferred, colored
Changes since revision 1.128: +5 -4
lines
sync with head.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Wed Apr 23 08:09:05 2008 (22 months, 3 weeks ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
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.128: preferred, colored
Changes since revision 1.128: +5 -4
lines
Make IPSEC and FAST_IPSEC stats per-cpu. Use <net/net_stats.h> and
netstat_sysctl().
Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Apr 15 05:57:04 2008 (23 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to previous 1.127: preferred, colored
Changes since revision 1.127: +13 -12
lines
Make ip6 and icmp6 stats per-cpu.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Apr 9 01:37:43 2008 (23 months, 1 week ago) by thorpej
Branches: MAIN
Diff to previous 1.126: preferred, colored
Changes since revision 1.126: +12 -12
lines
Change IPv6 stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old ip6stat structure; old netstat
binaries will continue to work properly.
Revision 1.120.8.4: download - view: text, markup, annotated - select for diffs
Sun Mar 23 03:05:07 2008 CET (23 months, 3 weeks ago) by matt
Branches: matt-armv6
Diff to previous 1.120.8.3: preferred, colored to branchpoint 1.120: preferred, colored next main 1.121: preferred, colored
Changes since revision 1.120.8.3: +8 -8
lines
sync with HEAD
Revision 1.126.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 22 03:53:33 2008 CET (2 years ago) by keiichi
Branches: keiichi-mipv6
Diff to previous 1.126: preferred, colored next main 1.127: preferred, colored
Changes since revision 1.126: +308 -51
lines
imported Mobile IPv6 code developed by the SHISA project
(http://www.mobileip.jp/).
Revision 1.122.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 22:07:13 2008 CET (2 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to previous 1.122.2.2: preferred, colored to branchpoint 1.122: preferred, colored next main 1.123: preferred, colored
Changes since revision 1.122.2.2: +8 -8
lines
Sync with HEAD.
Revision 1.88.4.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 10:47:23 2008 CET (2 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.88.4.6: preferred, colored to branchpoint 1.88: preferred, colored next main 1.89: preferred, colored
Changes since revision 1.88.4.6: +17 -18
lines
sync with head
Revision 1.123.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 19 13:15:34 2008 CET (2 years, 2 months ago) by bouyer
Branches: bouyer-xeni386
Diff to previous 1.123.6.2: preferred, colored to branchpoint 1.123: preferred, colored next main 1.124: preferred, colored
Changes since revision 1.123.6.2: +5 -4
lines
Sync with HEAD
Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Jan 14 05:16:45 2008 CET (2 years, 2 months ago) by dyoung
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,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to previous 1.125: preferred, colored
Changes since revision 1.125: +7 -6
lines
Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase
in in6_losing().
Revision 1.123.6.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 00:44:38 2008 CET (2 years, 2 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to previous 1.123.6.1: preferred, colored to branchpoint 1.123: preferred, colored
Changes since revision 1.123.6.1: +1 -2
lines
Sync with HEAD
Revision 1.125: download - view: text, markup, annotated - select for diffs
Thu Jan 10 09:06:12 2008 CET (2 years, 2 months ago) by dyoung
Branches: MAIN
Diff to previous 1.124: preferred, colored
Changes since revision 1.124: +3 -4
lines
Save some rtcache_getrt() calls.
Revision 1.120.8.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:57:37 2008 CET (2 years, 2 months ago) by matt
Branches: matt-armv6
Diff to previous 1.120.8.2: preferred, colored to branchpoint 1.120: preferred, colored
Changes since revision 1.120.8.2: +14 -15
lines
sync with HEAD
Revision 1.123.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 22:57:30 2008 CET (2 years, 2 months ago) by bouyer
Branches: bouyer-xeni386
Diff to previous 1.123: preferred, colored
Changes since revision 1.123: +14 -15
lines
Sync with HEAD
Revision 1.122.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 01:46:33 2007 CET (2 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to previous 1.122.2.1: preferred, colored to branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.1: +14 -15
lines
Sync with HEAD.
Revision 1.123.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 20:57:46 2007 CET (2 years, 2 months ago) by ad
Branches: vmlocking2
Diff to previous 1.123: preferred, colored next main 1.124: preferred, colored
Changes since revision 1.123: +14 -15
lines
Sync with head.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Thu Dec 20 20:53:34 2007 CET (2 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: vmlocking2-base3,
matt-armv6-base
Diff to previous 1.123: preferred, colored
Changes since revision 1.123: +14 -15
lines
Poison struct route->ro_rt uses in the kernel by changing the name
to _ro_rt. Use rtcache_getrt() to access a route cache's struct
rtentry *.
Introduce struct ifnet->if_dl that always points at the interface
identifier/link-layer address. Make code that treated the first
ifaddr on struct ifnet->if_addrlist as the interface address use
if_dl, instead.
Remove stale debugging code from net/route.c. Move the rtflush()
code into rtcache_clear() and delete rtflush(). Delete rtalloc(),
because nothing uses it any more.
Make ND6_HINT an inline, lowercase subroutine, nd6_hint.
I've done my best to convert IP Filter, the ISO stack, and the
AppleTalk stack to rtcache_getrt(). They compile, but I have not
tested them. I have given the changes to PF, GRE, IPv4 and IPv6
stacks a lot of exercise.
Revision 1.122.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 01:49:13 2007 CET (2 years, 4 months ago) by mjf
Branches: mjf-devfs
Diff to previous 1.122: preferred, colored
Changes since revision 1.122: +8 -22
lines
Sync with HEAD.
Revision 1.88.4.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 12:45:12 2007 CET (2 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.88.4.5: preferred, colored to branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.5: +23 -37
lines
sync with head.
Revision 1.121.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 17:02:57 2007 CET (2 years, 4 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to previous 1.121: preferred, colored next main 1.122: preferred, colored
Changes since revision 1.121: +23 -37
lines
Sync with HEAD
Revision 1.120.6.3: download - view: text, markup, annotated - select for diffs
Sun Nov 11 17:48:34 2007 CET (2 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.120.6.2: preferred, colored to branchpoint 1.120: preferred, colored next main 1.121: preferred, colored
Changes since revision 1.120.6.2: +8 -22
lines
Sync with HEAD.
Revision 1.120.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 8 12:00:14 2007 CET (2 years, 4 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to previous 1.120.8.1: preferred, colored to branchpoint 1.120: preferred, colored
Changes since revision 1.120.8.1: +8 -22
lines
sync with -HEAD
Revision 1.123: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:48:24 2007 CET (2 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2,
bouyer-xeni386
Diff to previous 1.122: preferred, colored
Changes since revision 1.122: +8 -22
lines
Use sockaddr_in6_init().
Revision 1.120.8.1: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:34:04 2007 CET (2 years, 4 months ago) by matt
Branches: matt-armv6
Diff to previous 1.120: preferred, colored
Changes since revision 1.120: +490 -491
lines
sync with HEAD
Revision 1.120.6.2: download - view: text, markup, annotated - select for diffs
Sun Nov 4 22:03:43 2007 CET (2 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to previous 1.120.6.1: preferred, colored to branchpoint 1.120: preferred, colored
Changes since revision 1.120.6.1: +17 -17
lines
Sync with HEAD.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Thu Nov 1 21:33:57 2007 CET (2 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to previous 1.121: preferred, colored
Changes since revision 1.121: +17 -17
lines
De-__P().
Revision 1.88.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 13:36:13 2007 (2 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.88.4.4: preferred, colored to branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.4: +475 -476
lines
sync with head.
Revision 1.117.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:44:55 2007 (2 years, 5 months ago) by ad
Branches: vmlocking
Diff to previous 1.117.2.2: preferred, colored to branchpoint 1.117: preferred, colored next main 1.118: preferred, colored
Changes since revision 1.117.2.2: +475 -476
lines
Sync with head.
Revision 1.120.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 20:29:23 2007 (2 years, 5 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.120: preferred, colored
Changes since revision 1.120: +475 -476
lines
Sync with HEAD.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Wed Sep 19 06:33:44 2007 (2 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base
Branch point for: bouyer-xenamd64
Diff to previous 1.120: preferred, colored
Changes since revision 1.120: +475 -476
lines
1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that
tells a socket that it should both add a protocol header to tx'd
datagrams and remove the header from rx'd datagrams:
int onoff = 1, s = socket(...);
setsockopt(s, SOL_SOCKET, SO_NOHEADER, &onoff);
2) Add an implementation of (SOL_SOCKET, SO_NOHEADER) for raw IPv4
sockets.
3) Reorganize the protocols' pr_ctloutput implementations a bit.
Consistently return ENOPROTOOPT when an option is unsupported,
and EINVAL if a supported option's arguments are incorrect.
Reorganize the flow of code so that it's more clear how/when
options are passed down the stack until they are handled.
Shorten some pr_ctloutput staircases for readability.
4) Extract common mbuf code into subroutines, add new sockaddr
methods, and introduce a new subroutine, fsocreate(), for reuse
later; use it first in sys_socket():
struct mbuf *m_getsombuf(struct socket *so)
Create an mbuf and make its owner the socket `so'.
struct mbuf *m_intopt(struct socket *so, int val)
Create an mbuf, make its owner the socket `so', put the
int `val' into it, and set its length to sizeof(int).
int fsocreate(..., int *fd)
Create a socket, a la socreate(9), put the socket into the
given LWP's descriptor table, return the descriptor at `fd'
on success.
void *sockaddr_addr(struct sockaddr *sa, socklen_t *slenp)
const void *sockaddr_const_addr(const struct sockaddr *sa, socklen_t *slenp)
Extract a pointer to the address part of a sockaddr. Write
the length of the address part at `slenp', if `slenp' is
not NULL.
socklen_t sockaddr_getlen(const struct sockaddr *sa)
Return the length of a sockaddr. This just evaluates to
sa->sa_len. I only add this for consistency with code that
appears in a portable userland library that I am going to
import.
const struct sockaddr *sockaddr_any(const struct sockaddr *sa)
Return the "don't care" sockaddr in the same family as
`sa'. This is the address a client should sobind(9) if it
does not care the source address and, if applicable, the
port et cetera that it uses.
const void *sockaddr_anyaddr(const struct sockaddr *sa, socklen_t *slenp)
Return the "don't care" sockaddr in the same family as
`sa'. This is the address a client should sobind(9) if it
does not care the source address and, if applicable, the
port et cetera that it uses.
Revision 1.88.4.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:43:33 2007 (2 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.88.4.3: preferred, colored to branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.3: +91 -128
lines
sync with head.
Revision 1.117.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 22:11:44 2007 (2 years, 8 months ago) by mjf
Branches: mjf-ufs-trans
Diff to previous 1.117: preferred, colored next main 1.118: preferred, colored
Changes since revision 1.117: +80 -117
lines
Sync with head.
Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 10 01:58:13 2007 (2 years, 9 months ago) by ad
Branches: vmlocking
Diff to previous 1.117.2.1: preferred, colored to branchpoint 1.117: preferred, colored
Changes since revision 1.117.2.1: +2 -10
lines
Sync with head.
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 8 16:17:55 2007 (2 years, 9 months ago) by ad
Branches: vmlocking
Diff to previous 1.117: preferred, colored
Changes since revision 1.117: +80 -109
lines
Sync with head.
Revision 1.106.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 4 03:54:26 2007 (2 years, 9 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to previous 1.106: preferred, colored next main 1.107: preferred, colored
Changes since revision 1.106: +71 -10
lines
Update to today's netbsd-4.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Jun 3 01:26:26 2007 (2 years, 9 months ago) by alc
Branches: MAIN
CVS tags: 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: matt-armv6,
jmcneill-pm
Diff to previous 1.119: preferred, colored
Changes since revision 1.119: +2 -10
lines
don't increment `ip6stat.ip6s_noroute' here, it has already been done in
in6_src:in6_selectroute().
ok dyoung@
Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Thu May 24 21:13:16 2007 (2 years, 9 months ago) by pavel
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-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
Diff to previous 1.106: preferred, colored next main 1.107: preferred, colored
Changes since revision 1.106: +71 -10
lines
Pull up following revision(s) (requested by degroote in ticket #667):
sys/netinet/tcp_input.c: revision 1.260
sys/netinet/tcp_output.c: revision 1.154
sys/netinet/tcp_subr.c: revision 1.210
sys/netinet6/icmp6.c: revision 1.129
sys/netinet6/in6_proto.c: revision 1.70
sys/netinet6/ip6_forward.c: revision 1.54
sys/netinet6/ip6_input.c: revision 1.94
sys/netinet6/ip6_output.c: revision 1.114
sys/netinet6/raw_ip6.c: revision 1.81
sys/netipsec/ipcomp_var.h: revision 1.4
sys/netipsec/ipsec.c: revision 1.26 via patch,1.31-1.32
sys/netipsec/ipsec6.h: revision 1.5
sys/netipsec/ipsec_input.c: revision 1.14
sys/netipsec/ipsec_netbsd.c: revision 1.18,1.26
sys/netipsec/ipsec_output.c: revision 1.21 via patch
sys/netipsec/key.c: revision 1.33,1.44
sys/netipsec/xform_ipcomp.c: revision 1.9
sys/netipsec/xform_ipip.c: revision 1.15
sys/opencrypto/deflate.c: revision 1.8
Commit my SoC work
Add ipv6 support for fast_ipsec
Note that currently, packet with extensions headers are not correctly
supported
Change the ipcomp logic
Add sysctl tree to modify the fast_ipsec options related to ipv6. Similar
to the sysctl kame interface.
Choose the good default policy, depending of the adress family of the
desired policy
Increase the refcount for the default ipv6 policy so nobody can reclaim it
Always compute the sp index even if we don't have any sp in spd. It will
let us to choose the right default policy (based on the adress family
requested).
While here, fix an error message
Use dynamic array instead of an static array to decompress. It lets us to
decompress any data, whatever is the radio decompressed data / compressed
data.
It fixes the last issues with fast_ipsec and ipcomp.
While here, bzero -> memset, bcopy -> memcpy, FREE -> free
Reviewed a long time ago by sam@
Revision 1.119: download - view: text, markup, annotated - select for diffs
Wed May 23 19:15:02 2007 (2 years, 9 months ago) by christos
Branches: MAIN
Diff to previous 1.118: preferred, colored
Changes since revision 1.118: +18 -45
lines
Ansify + add a few comments, from Karl Sjödahl
Revision 1.114.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 12:56:04 2007 (2 years, 10 months ago) by yamt
Branches: yamt-idlelwp
Diff to previous 1.114.2.2: preferred, colored next main 1.115: preferred, colored
Changes since revision 1.114.2.2: +64 -66
lines
sync with head.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Wed May 2 22:40:27 2007 (2 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to previous 1.117: preferred, colored
Changes since revision 1.117: +64 -66
lines
Eliminate address family-specific route caches (struct route, struct
route_in6, struct route_iso), replacing all caches with a struct
route.
The principle benefit of this change is that all of the protocol
families can benefit from route cache-invalidation, which is
necessary for correct routing. Route-cache invalidation fixes an
ancient PR, kern/3508, at long last; it fixes various other PRs,
also.
Discussions with and ideas from Joerg Sonnenberger influenced this
work tremendously. Of course, all design oversights and bugs are
mine.
DETAILS
1 I added to each address family a pool of sockaddrs. I have
introduced routines for allocating, copying, and duplicating,
and freeing sockaddrs:
struct sockaddr *sockaddr_alloc(sa_family_t af, int flags);
struct sockaddr *sockaddr_copy(struct sockaddr *dst,
const struct sockaddr *src);
struct sockaddr *sockaddr_dup(const struct sockaddr *src, int flags);
void sockaddr_free(struct sockaddr *sa);
sockaddr_alloc() returns either a sockaddr from the pool belonging
to the specified family, or NULL if the pool is exhausted. The
returned sockaddr has the right size for that family; sa_family
and sa_len fields are initialized to the family and sockaddr
length---e.g., sa_family = AF_INET and sa_len = sizeof(struct
sockaddr_in). sockaddr_free() puts the given sockaddr back into
its family's pool.
sockaddr_dup() and sockaddr_copy() work analogously to strdup()
and strcpy(), respectively. sockaddr_copy() KASSERTs that the
family of the destination and source sockaddrs are alike.
The 'flags' argumet for sockaddr_alloc() and sockaddr_dup() is
passed directly to pool_get(9).
2 I added routines for initializing sockaddrs in each address
family, sockaddr_in_init(), sockaddr_in6_init(), sockaddr_iso_init(),
etc. They are fairly self-explanatory.
3 structs route_in6 and route_iso are no more. All protocol families
use struct route. I have changed the route cache, 'struct route',
so that it does not contain storage space for a sockaddr. Instead,
struct route points to a sockaddr coming from the pool the sockaddr
belongs to. I added a new method to struct route, rtcache_setdst(),
for setting the cache destination:
int rtcache_setdst(struct route *, const struct sockaddr *);
rtcache_setdst() returns 0 on success, or ENOMEM if no memory is
available to create the sockaddr storage.
It is now possible for rtcache_getdst() to return NULL if, say,
rtcache_setdst() failed. I check the return value for NULL
everywhere in the kernel.
4 Each routing domain (struct domain) has a list of live route
caches, dom_rtcache. rtflushall(sa_family_t af) looks up the
domain indicated by 'af', walks the domain's list of route caches
and invalidates each one.
Revision 1.114.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:59:58 2007 CET (3 years ago) by rmind
Branches: yamt-idlelwp
Diff to previous 1.114.2.1: preferred, colored
Changes since revision 1.114.2.1: +14 -14
lines
Sync with HEAD.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:03:26 2007 CET (3 years ago) by christos
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to previous 1.116: preferred, colored
Changes since revision 1.116: +14 -14
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 17:55:03 2007 CET (3 years ago) by yamt
Branches: yamt-idlelwp
Diff to previous 1.114: preferred, colored
Changes since revision 1.114: +22 -27
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.88.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 10:11:52 2007 CET (3 years ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.88.4.2: preferred, colored to branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.2: +100 -48
lines
sync with head.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Feb 22 00:00:08 2007 CET (3 years ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to previous 1.115: preferred, colored
Changes since revision 1.115: +3 -3
lines
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sat Feb 17 23:34:14 2007 CET (3 years, 1 month ago) by dyoung
Branches: MAIN
Diff to previous 1.114: preferred, colored
Changes since revision 1.114: +21 -26
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.114: download - view: text, markup, annotated - select for diffs
Sat Feb 10 10:43:05 2007 CET (3 years, 1 month ago) by degroote
Branches: MAIN
Branch point for: yamt-idlelwp
Diff to previous 1.113: preferred, colored
Changes since revision 1.113: +71 -10
lines
Commit my SoC work
Add ipv6 support for fast_ipsec
Note that currently, packet with extensions headers are not correctly
supported
Change the ipcomp logic
Revision 1.102.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 1 09:48:44 2007 CET (3 years, 1 month ago) by ad
Branches: newlock2
Diff to previous 1.102.2.2: preferred, colored to branchpoint 1.102: preferred, colored next main 1.103: preferred, colored
Changes since revision 1.102.2.2: +8 -12
lines
Sync with head.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon Jan 29 07:13:58 2007 CET (3 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Diff to previous 1.112: preferred, colored
Changes since revision 1.112: +7 -7
lines
Cosmetic: bzero -> memset, remove gratuitous cast, compare pointer
with NULL instead of 0.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon Jan 29 07:12:48 2007 CET (3 years, 1 month ago) by dyoung
Branches: MAIN
Diff to previous 1.111: preferred, colored
Changes since revision 1.111: +3 -7
lines
In In ip6_setmoptions(), don't leave a route cache (struct route_in6)
on the stack if we exit with EADDRNOTAVAIL.
(I already fixed this bug once tonight. Clearly, ip6_setmoptions
was cut-and-pasted from ip_setmoptions.)
Revision 1.102.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 02:04:15 2007 CET (3 years, 2 months ago) by ad
Branches: newlock2
Diff to previous 1.102.2.1: preferred, colored to branchpoint 1.102: preferred, colored
Changes since revision 1.102.2.1: +52 -46
lines
Sync with head.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Jan 4 20:07:04 2007 CET (3 years, 2 months ago) by elad
Branches: MAIN
Diff to previous 1.110: preferred, colored
Changes since revision 1.110: +5 -5
lines
Consistent usage of KAUTH_GENERIC_ISSUSER.
Revision 1.88.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 21:50:39 2006 CET (3 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.88.4.1: preferred, colored to branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.1: +102 -65
lines
sync with head.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Wed Dec 27 19:49:40 2006 CET (3 years, 2 months ago) by alc
Branches: MAIN
Diff to previous 1.109: preferred, colored
Changes since revision 1.109: +15 -12
lines
CID-3317: check for 'm != NULL' before using it (rework the code path to
explicitly return `EINVAL'. Before, it was done but later in
ip6_setpktopt() when checking for 'len < ...')
CID-3316: check for 'm != NULL' before using it
ok christos@
Revision 1.102.4.3: download - view: text, markup, annotated - select for diffs
Mon Dec 18 12:42:23 2006 CET (3 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to previous 1.102.4.2: preferred, colored to branchpoint 1.102: preferred, colored next main 1.103: preferred, colored
Changes since revision 1.102.4.2: +16 -18
lines
sync with head.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Dec 15 22:18:55 2006 CET (3 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4
Diff to previous 1.108: preferred, colored
Changes since revision 1.108: +16 -18
lines
Introduce new helper functions to abstract the route caching.
rtcache_init and rtcache_init_noclone lookup ro_dst and store
the result in ro_rt, taking care of the reference counting and
calling the domain specific route cache.
rtcache_free checks if a route was cashed and frees the reference.
rtcache_copy copies ro_dst of the given struct route, checking that
enough space is available and incrementing the reference count of the
cached rtentry if necessary.
rtcache_check validates that the cached route is still up. If it isn't,
it tries to look it up again. Afterwards ro_rt is either a valid again
or NULL.
rtcache_copy is used internally.
Adjust to callers of rtalloc/rtflush in the tree to check the sanity of
ro_dst first (if necessary). If it doesn't fit the expectations, free
the cache, otherwise check if the cached route is still valid. After
that combination, a single check for ro_rt == NULL is enough to decide
whether a new lookup needs to be done with a different ro_dst.
Make the route checking in gre stricter by repeating the loop check
after revalidation.
Remove some unused RADIX_MPATH code in in6_src.c. The logic is slightly
changed here to first validate the route and check RTF_GATEWAY
afterwards. This is sementically equivalent though.
etherip doesn't need sc_route_expire similiar to the gif changes from
dyoung@ earlier.
Based on the earlier patch from dyoung@, reviewed and discussed with
him.
Revision 1.102.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 08:19:16 2006 CET (3 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to previous 1.102.4.1: preferred, colored to branchpoint 1.102: preferred, colored
Changes since revision 1.102.4.1: +35 -30
lines
sync with head.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Dec 9 06:33:08 2006 CET (3 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-splraiseipl-base3
Diff to previous 1.107: preferred, colored
Changes since revision 1.107: +13 -20
lines
Here are various changes designed to protect against bad IPv4
routing caused by stale route caches (struct route). Route caches
are sprinkled throughout PCBs, the IP fast-forwarding table, and
IP tunnel interfaces (gre, gif, stf).
Stale IPv6 and ISO route caches will be treated by separate patches.
Thank you to Christoph Badura for suggesting the general approach
to invalidating route caches that I take here.
Here are the details:
Add hooks to struct domain for tracking and for invalidating each
domain's route caches: dom_rtcache, dom_rtflush, and dom_rtflushall.
Introduce helper subroutines, rtflush(ro) for invalidating a route
cache, rtflushall(family) for invalidating all route caches in a
routing domain, and rtcache(ro) for notifying the domain of a new
cached route.
Chain together all IPv4 route caches where ro_rt != NULL. Provide
in_rtcache() for adding a route to the chain. Provide in_rtflush()
and in_rtflushall() for invalidating IPv4 route caches. In
in_rtflush(), set ro_rt to NULL, and remove the route from the
chain. In in_rtflushall(), walk the chain and remove every route
cache.
In rtrequest1(), call rtflushall() to invalidate route caches when
a route is added.
In gif(4), discard the workaround for stale caches that involves
expiring them every so often.
Replace the pattern 'RTFREE(ro->ro_rt); ro->ro_rt = NULL;' with a
call to rtflush(ro).
Update ipflow_fastforward() and all other users of route caches so
that they expect a cached route, ro->ro_rt, to turn to NULL.
Take care when moving a 'struct route' to rtflush() the source and
to rtcache() the destination.
In domain initializers, use .dom_xxx tags.
KNF here and there.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Dec 2 19:59:17 2006 CET (3 years, 3 months ago) by dyoung
Branches: MAIN
Diff to previous 1.106: preferred, colored
Changes since revision 1.106: +6 -7
lines
Use the queue(3) macros instead of open-coding them. Shorten
staircases. Remove unnecessary casts. Where appropriate, s/8/NBBY/.
De-__P(). KNF.
No functional changes intended.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sat Nov 25 19:41:36 2006 CET (3 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: wrstuden-fixsa,
netbsd-4
Diff to previous 1.105: preferred, colored
Changes since revision 1.105: +2 -35
lines
move tso-by-software code to their own files. no functional changes.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Nov 23 20:41:58 2006 CET (3 years, 3 months ago) by yamt
Branches: MAIN
Diff to previous 1.104: preferred, colored
Changes since revision 1.104: +52 -6
lines
implement ipv6 TSO.
partly from Matthias Scheler. tested by him.
Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 22:39:37 2006 CET (3 years, 4 months ago) by ad
Branches: newlock2
Diff to previous 1.102: preferred, colored
Changes since revision 1.102: +11 -10
lines
Sync with head.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Nov 16 02:33:45 2006 CET (3 years, 4 months ago) by christos
Branches: MAIN
Diff to previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.102.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 08:07:35 2006 (3 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to previous 1.102: preferred, colored
Changes since revision 1.102: +11 -10
lines
sync with head
Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Oct 12 03:32:39 2006 (3 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to previous 1.102: preferred, colored
Changes since revision 1.102: +11 -10
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.94.2.5: download - view: text, markup, annotated - select for diffs
Sat Sep 9 04:58:55 2006 (3 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.94.2.4: preferred, colored to branchpoint 1.94: preferred, colored next main 1.95: preferred, colored
Changes since revision 1.94.2.4: +1145 -281
lines
sync with head
Revision 1.94.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 17:25:42 2006 (3 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.94.6.3: preferred, colored to branchpoint 1.94: preferred, colored next main 1.95: preferred, colored
Changes since revision 1.94.6.3: +6 -10
lines
sync with head.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Aug 30 19:15:22 2006 (3 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to previous 1.101: preferred, colored
Changes since revision 1.101: +6 -10
lines
remove impossible comparisons.
Revision 1.94.6.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 17:46:48 2006 (3 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.94.6.2: preferred, colored to branchpoint 1.94: preferred, colored
Changes since revision 1.94.6.2: +42 -8
lines
sync with head
Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Jul 24 00:06:13 2006 (3 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to previous 1.100: preferred, colored
Changes since revision 1.100: +11 -8
lines
Use the LWP cached credentials where sane.
Revision 1.98.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 19:50:06 2006 (3 years, 8 months ago) by gdamore
Branches: gdamore-uart
Diff to previous 1.98: preferred, colored next main 1.99: preferred, colored
Changes since revision 1.98: +33 -2
lines
Merge from HEAD.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Jul 12 15:11:27 2006 (3 years, 8 months ago) by tron
Branches: MAIN
Diff to previous 1.99: preferred, colored
Changes since revision 1.99: +19 -2
lines
Add diagnostic checks for hardware-assisted checksum related flags in
the mbuf which supposed to get sent out:
- Complain in ip_output() if any of the IPv6 related flags are set.
- Complain in ip6_output() if any of the IPv4 related flags are set.
- Complain in both functions if the flags indicate that both a TCP and
UCP checksum should be calculated by the hardware.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Jul 8 21:58:40 2006 (3 years, 8 months ago) by rpaulo
Branches: MAIN
Diff to previous 1.98: preferred, colored
Changes since revision 1.98: +16 -2
lines
Add a missing piece from RFC 3542. KAME-NetBSD-current branch
revision 1.1.1.2.2.5:
do not call pfctlinput2(PRC_MSGSIZE) on fragmentation to avoid
notification storm
From Keiichi SHIMA:
"In the current NetBSD code, the PRC_MSGSIZE message will be generated
for every fragmented packets when a node is trying to send a big
packet. That was the intermediate behavior while RFC3542 was under
discussion."
By (obviously) the KAME project.
Revision 1.88.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 17:11:08 2006 (3 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +1416 -499
lines
sync with head.
Revision 1.94.4.2: download - view: text, markup, annotated - select for diffs
Fri Jun 2 00:39:03 2006 (3 years, 9 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to previous 1.94.4.1: preferred, colored to branchpoint 1.94: preferred, colored next main 1.95: preferred, colored
Changes since revision 1.94.4.1: +1110 -277
lines
Sync with head.
Revision 1.95.4.1: download - view: text, markup, annotated - select for diffs
Wed May 24 17:50:45 2006 (3 years, 9 months ago) by tron
Branches: peter-altq
Diff to previous 1.95: preferred, colored next main 1.96: preferred, colored
Changes since revision 1.95: +1109 -275
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.94.6.2: download - view: text, markup, annotated - select for diffs
Wed May 24 12:59:09 2006 (3 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.94.6.1: preferred, colored to branchpoint 1.94: preferred, colored
Changes since revision 1.94.6.1: +1109 -275
lines
sync with head.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun May 14 23:19:34 2006 (3 years, 10 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: gdamore-uart
Diff to previous 1.97: preferred, colored
Changes since revision 1.97: +6 -5
lines
integrate kauth.
Revision 1.95.2.6: download - view: text, markup, annotated - select for diffs
Sat May 13 01:06:36 2006 (3 years, 10 months ago) by elad
Branches: elad-kernelauth
Diff to previous 1.95.2.5: preferred, colored to branchpoint 1.95: preferred, colored next main 1.96: preferred, colored
Changes since revision 1.95.2.5: +4 -3
lines
adapt to kauth kpi, include sys/kauth.h where needed..
Revision 1.95.2.5: download - view: text, markup, annotated - select for diffs
Fri May 12 01:31:35 2006 (3 years, 10 months ago) by elad
Branches: elad-kernelauth
Diff to previous 1.95.2.4: preferred, colored to branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.4: +1106 -278
lines
sync with head
Revision 1.95.2.4: download - view: text, markup, annotated - select for diffs
Sun May 7 01:32:11 2006 (3 years, 10 months ago) by christos
Branches: elad-kernelauth
Diff to previous 1.95.2.3: preferred, colored to branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.3: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri May 5 02:03:22 2006 (3 years, 10 months ago) by rpaulo
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to previous 1.96: preferred, colored
Changes since revision 1.96: +1107 -275
lines
Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.
From the KAME project (www.kame.net).
Reviewed by core.
Revision 1.94.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 13:40:12 2006 (3 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +6 -5
lines
Sync with head.
Revision 1.95.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 19 06:46:12 2006 (3 years, 11 months ago) by elad
Branches: elad-kernelauth
Diff to previous 1.95.2.2: preferred, colored to branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.2: +4 -3
lines
sync with head.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Apr 15 02:28:16 2006 (3 years, 11 months ago) by christos
Branches: MAIN
Diff to previous 1.95: preferred, colored
Changes since revision 1.95: +4 -3
lines
Coverity CID 608: #ifdef out dead code.
Revision 1.94.6.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 10:07:39 2006 CET (4 years ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +4 -4
lines
sync with head.
Revision 1.95.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 10 16:20:54 2006 CET (4 years ago) by elad
Branches: elad-kernelauth
Diff to previous 1.95.2.1: preferred, colored to branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.1: +7 -7
lines
generic_authorize() -> kauth_authorize_generic().
Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 02:19:40 2006 CET (4 years ago) by elad
Branches: elad-kernelauth
Diff to previous 1.95: preferred, colored
Changes since revision 1.95: +10 -7
lines
Adapt to kernel authorization KPI.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Mar 6 00:47:08 2006 CET (4 years ago) by rpaulo
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq,
elad-kernelauth
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +4 -4
lines
NDP-related improvements:
RFC4191
- supports host-side router-preference
RFC3542
- if DAD fails on a interface, disables IPv6 operation on the
interface
- don't advertise MLD report before DAD finishes
Others
- fixes integer overflow for valid and preferred lifetimes
- improves timer granularity for MLD, using callout-timer.
- reflects rtadvd's IPv6 host variable information into kernel
(router only)
- adds a sysctl option to enable/disable pMTUd for multicast
packets
- performs NUD on PPP/GRE interface by default
- Redirect works regardless of ip6_accept_rtadv
- removes RFC1885-related code
From the KAME project via SUZUKI Shinsuke.
Reviewed by core.
Revision 1.94.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 23 17:59:20 2006 CET (4 years ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.94.2.3: preferred, colored to branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.3: +10 -10
lines
ip6_raw_ctloutput(): s/in6pcb/inpcb
ip6_optlen(): convert to inpcb
Revision 1.94.2.3: download - view: text, markup, annotated - select for diffs
Tue Feb 14 03:25:13 2006 CET (4 years, 1 month ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.94.2.2: preferred, colored to branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.2: +27 -27
lines
in6pcb -> inpcb.
Revision 1.94.2.2: download - view: text, markup, annotated - select for diffs
Tue Feb 7 17:57:16 2006 CET (4 years, 1 month ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.94.2.1: preferred, colored to branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.1: +3 -3
lines
sotoinpcb_hdr -> sotoinpcb.
Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 7 05:58:11 2006 CET (4 years, 1 month ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +3 -3
lines
remove in6_pcb.h and include in_pcb.h.
Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 15:52:42 2006 CET (4 years, 1 month ago) by yamt
Branches: yamt-uio_vmspace
Diff to previous 1.93: preferred, colored next main 1.94: preferred, colored
Changes since revision 1.93: +254 -235
lines
sync with head.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Jan 21 01:15:36 2006 CET (4 years, 1 month ago) by rpaulo
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to previous 1.93: preferred, colored
Changes since revision 1.93: +254 -235
lines
Better support of IPv6 scoped addresses.
- most of the kernel code will not care about the actual encoding of
scope zone IDs and won't touch "s6_addr16[1]" directly.
- similarly, most of the kernel code will not care about link-local
scoped addresses as a special case.
- scope boundary check will be stricter. For example, the current
*BSD code allows a packet with src=::1 and dst=(some global IPv6
address) to be sent outside of the node, if the application do:
s = socket(AF_INET6);
bind(s, "::1");
sendto(s, some_global_IPv6_addr);
This is clearly wrong, since ::1 is only meaningful within a single
node, but the current implementation of the *BSD kernel cannot
reject this attempt.
- and, while there, don't try to remove the ff02::/32 interface route
entry in in6_ifdetach() as it's already gone.
This also includes some level of support for the standard source
address selection algorithm defined in RFC3484, which will be
completed on in the future.
From the KAME project via JINMEI Tatuya.
Approved by core@.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Dec 11 13:25:02 2005 CET (4 years, 3 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +2 -2
lines
merge ktrace-lwp.
Revision 1.61.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 15:11:25 2005 CET (4 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.61.2.6: preferred, colored next main 1.62: preferred, colored
Changes since revision 1.61.2.6: +70 -6
lines
Sync with HEAD. Here we go again...
Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Sep 23 23:21:58 2005 (4 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3
lines
change bcopy to memmove since this was supposed to be an ovbcopy (from kre)
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Aug 18 02:30:59 2005 (4 years, 7 months ago) by yamt
Branches: MAIN
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +3 -5
lines
- introduce M_MOVE_PKTHDR and use it where appropriate.
intended to be mostly API compatible with openbsd/freebsd.
- remove a glue #define in netipsec/ipsec_osdep.h.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Aug 10 15:08:11 2005 (4 years, 7 months ago) by yamt
Branches: MAIN
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +17 -4
lines
re-implement ipv6 tx loopback checksum omission.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Aug 10 14:58:37 2005 (4 years, 7 months ago) by yamt
Branches: MAIN
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +55 -2
lines
ipv6 tx checksum offloading. reviewed by Jason Thorpe.
Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 13:29:34 2005 (4 years, 10 months ago) by kent
Branches: kent-audio2
Diff to previous 1.87: preferred, colored next main 1.88: preferred, colored
Changes since revision 1.87: +5 -3
lines
sync with -current
Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 09:36:41 2005 CET (5 years ago) by yamt
Branches: yamt-km
Diff to previous 1.87: preferred, colored next main 1.88: preferred, colored
Changes since revision 1.87: +5 -3
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.61.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 17:53:30 2005 CET (5 years ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.61.2.5: preferred, colored
Changes since revision 1.61.2.5: +5 -3
lines
Sync with HEAD.
Hi Perry!
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Feb 28 10:27:07 2005 CET (5 years ago) by itojun
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +5 -3
lines
make ip6_getpmtu back to static
Revision 1.61.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 17 20:32:55 2005 CET (5 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.61.2.4: preferred, colored
Changes since revision 1.61.2.4: +35 -30
lines
Sync with HEAD.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Dec 21 12:37:47 2004 CET (5 years, 2 months ago) by drochner
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +35 -30
lines
fix ifindex argument checks for IPV6_JOIN_GROUP,
IPV6_LEAVE_GROUP and IPV6_MULTICAST_IF -
0 is always legal
Revision 1.61.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 10:33:06 2004 CET (5 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.61.2.3: preferred, colored
Changes since revision 1.61.2.3: +6 -11
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Dec 4 17:10:25 2004 CET (5 years, 3 months ago) by peter
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to previous 1.85: preferred, colored
Changes since revision 1.85: +6 -11
lines
Convert lo(4) to a clonable device.
This also removes the loif array and changes all code to use the new
lo0ifp pointer which points to the lo0 ifnet structure.
Approved by christos.
Revision 1.61.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 15:37:35 2004 (5 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.61.2.2: preferred, colored
Changes since revision 1.61.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 16:55:15 2004 (5 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.61.2.1: preferred, colored
Changes since revision 1.61.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 12:55:13 2004 (5 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +205 -88
lines
Sync with HEAD
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Jul 14 05:06:08 2004 (5 years, 8 months ago) by itojun
Branches: MAIN
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +7 -3
lines
- update ro_pmtu on IPsec tunnel encapsulation. ro != ro_pmtu is used as the
sign for the existence of routing header.
- fragment to 1280 on IPv6-over-IPv6 encapsulation, as ICMPv6 too big may not
give you enough information to update pmtu cache.
from iij seil team, via kame.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Jul 6 06:30:29 2004 (5 years, 8 months ago) by minoura
Branches: MAIN
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +4 -3
lines
Remove broken code for now: getsockopt(s, IPPROTO_IP, IP_IPSEC_POLICY,...).
It returned EINVAL, now returns ENOPROTOOPT.
Ok'd by itojun.
Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 20:01:09 2004 (5 years, 9 months ago) by tron
Branches: netbsd-2-0
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-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
Diff to previous 1.82: preferred, colored next main 1.83: preferred, colored
Changes since revision 1.82: +12 -2
lines
Pull up revision 1.83 (requested by itojun in ticket #468):
implement IPV6_USE_MIN_MTU sockopt. needed by bind9 + EDNS0 + big receive buffer.
Revision 1.44.4.5: download - view: text, markup, annotated - select for diffs
Mon Jun 14 04:47:57 2004 (5 years, 9 months ago) by jmc
Branches: netbsd-1-6
Diff to previous 1.44.4.4: preferred, colored to branchpoint 1.44: preferred, colored next main 1.45: preferred, colored
Changes since revision 1.44.4.4: +12 -2
lines
Pullup rev 1.83 (requested by itojun in ticket #1709)
Implement IPV6_USE_MIN_MTU sockopt.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Jun 11 06:10:10 2004 (5 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +12 -2
lines
implement IPV6_USE_MIN_MTU sockopt. needed by bind9 + EDNS0 + big receive buffer.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Mar 23 19:21:38 2004 CET (5 years, 11 months ago) by martti
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +3 -5
lines
Make ip6_getpmtu() globally visible. This is needed by IPFilter 4.x.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Mar 2 03:28:28 2004 CET (6 years ago) by thorpej
Branches: MAIN
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +9 -3
lines
Use the new IPSEC_PCB_SKIP_IPSEC() to bypass a socket policy lookup
when possible. This shaves several cycles from the output path for
non-IPsec connections, even if the policy is cached in the PCB.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Mar 1 23:32:35 2004 CET (6 years ago) by itojun
Branches: MAIN
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +6 -6
lines
knf
Revision 1.44.4.4: download - view: text, markup, annotated - select for diffs
Sat Feb 7 21:06:04 2004 CET (6 years, 1 month ago) by jmc
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002
Diff to previous 1.44.4.3: preferred, colored to branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.3: +173 -88
lines
Pullup rev 1.78 (requested by itojun in ticket #1605)
Strictly follow RFC2460 section 5 last paragraph (sending rule when
PMTU < 1280).
Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Feb 6 09:07:55 2004 CET (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +2 -10
lines
remove unneeded #ifdef
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Feb 4 06:17:28 2004 CET (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +114 -30
lines
strictly follow RFC2460 section 5 last paragraph
(sending rule when PMTU < 1280). pointed out by guninski at guninski.com
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Jan 24 14:02:41 2004 CET (6 years, 1 month ago) by darrenr
Branches: MAIN
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +3 -5
lines
make ip6_getpmtu() externally visible
Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Jan 19 06:14:58 2004 CET (6 years, 2 months ago) by itojun
Branches: MAIN
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +9 -2
lines
do not lookup security policy if IPV6_FORWARDING.
avoids possible infinite ipsec encapsulation on
ip6_input -> ip6_forward -(tunnel mode)-> ip6_output
case. from kame
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Dec 10 23:35:35 2003 CET (6 years, 3 months ago) by itojun
Branches: MAIN
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +6 -5
lines
fix cases where pktinfo specifies outgoing interface of "0".
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Dec 10 12:46:33 2003 CET (6 years, 3 months ago) by itojun
Branches: MAIN
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +12 -8
lines
use if_indexlim (instead of if_index) and ifindex2ifnet[x] != NULL
to check if interface exists, as (1) if_index has different meaning
(2) ifindex2ifnet could become NULL when interface gets destroyed,
since when we have introduced dynamically-created interfaces. from kame
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Nov 6 07:10:51 2003 CET (6 years, 4 months ago) by itojun
Branches: MAIN
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +5 -5
lines
correct behavior when ipv6mr_interface is 0. Matthias Drochner
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Oct 30 02:43:09 2003 CET (6 years, 4 months ago) by simonb
Branches: MAIN
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +2 -5
lines
Remove some assigned-to but otherwise unused variables.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Oct 3 22:56:11 2003 (6 years, 5 months ago) by itojun
Branches: MAIN
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +3 -2
lines
when dropping M_PKTHDR, need to free m_tag associated with it.
Revision 1.44.4.3: download - view: text, markup, annotated - select for diffs
Thu Oct 2 22:29:06 2003 (6 years, 5 months ago) by tron
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1
Diff to previous 1.44.4.2: preferred, colored to branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.2: +3 -3
lines
Pull up revision 1.54 via patch (requested by itojun in ticket #1491):
sync with latest KAME in6_ifaddr/prefix/default router manipulation.
behavior changes:
- two iocts used by ndp(8) are now obsolete (backward compat provided).
use sysctl path instead.
- lo0 does not get ::1 automatically. it will get ::1 when lo0 comes up.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Sep 6 05:36:33 2003 (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3
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.69: download - view: text, markup, annotated - select for diffs
Sat Sep 6 01:20:50 2003 (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4
lines
u_short -> u_int16_t. sync w/ kame.
don't set ip6_plen where unneeded (i.e. before calling ip6_output)
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Sep 4 05:07:33 2003 (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +7 -3
lines
don't use m_cat to mbuf of different types. KAME-PR-495
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Aug 25 02:10:27 2003 (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +42 -25
lines
don't commit value into ip6_ptkopts until the validation is done.
(note: the code will be updated with 2292bis definition soon, hopefully)
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Aug 23 00:00:40 2003 (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +2 -5
lines
remove ipsec_set/getsocket. now we explicitly pass socket * to ip{,6}_output.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Aug 22 23:53:08 2003 (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +4 -6
lines
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.64: download - view: text, markup, annotated - select for diffs
Fri Aug 22 22:29:01 2003 (6 years, 6 months ago) by jonathan
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
Change KAME code for ip_output()/ip6_output() to obtain struct socket*
from the explicit inpcb*/in6pcb* argument. set_socket() becomes redundant.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Aug 22 22:20:09 2003 (6 years, 6 months ago) by jonathan
Branches: MAIN
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +6 -4
lines
Replace the set_socket() method of passing an extra struct socket*
argument to ip6_output() with a new explicit struct in6pcb* argument.
(The underlying socket can be obtained via in6pcb->inp6_socket.)
In preparation for fast-ipsec. Reviewed by itojun.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Aug 7 18:33:28 2003 (6 years, 7 months ago) by agc
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +3 -7
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.61: download - view: text, markup, annotated - select for diffs
Fri Jun 6 10:13:43 2003 (6 years, 9 months ago) by itojun
Branches: MAIN
Branch point for: ktrace-lwp
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +7 -6
lines
- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)
- routing header declaration with RFC3542
(note: sizeof(ip6_rthdr0) has changed!)
also, sync up with RFC2460 routing header definition (no "strict" source
routing mode any more)
part of advanced API update (RFC2292 -> 3542).
Revision 1.31.2.14: download - view: text, markup, annotated - select for diffs
Mon Nov 11 23:15:48 2002 CET (7 years, 4 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to previous 1.31.2.13: preferred, colored next main 1.32: preferred, colored
Changes since revision 1.31.2.13: +5 -5
lines
Catch up to -current
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Nov 2 08:30:58 2002 CET (7 years, 4 months ago) by perry
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +5 -5
lines
/*CONTCOND*/ while (0)'ed macros
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Oct 31 18:36:16 2002 CET (7 years, 4 months ago) by itojun
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4
lines
plug a memory leak. from sam leffler. sync w/kame
Revision 1.31.2.13: download - view: text, markup, annotated - select for diffs
Fri Oct 18 04:45:23 2002 (7 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.12: preferred, colored
Changes since revision 1.31.2.12: +1 -1
lines
Catch up to -current.
Revision 1.44.4.2: download - view: text, markup, annotated - select for diffs
Mon Oct 14 00:39:05 2002 (7 years, 5 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Diff to previous 1.44.4.1: preferred, colored to branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.1: +3 -3
lines
Pull up revision 1.58 (requested by itojun in ticket #855):
length field on PADN option, before jumbo payload option was wrong.
sync w/kame
Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 20:44:19 2002 (7 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to previous 1.36.2.2: preferred, colored to branchpoint 1.36: preferred, colored next main 1.37: preferred, colored
Changes since revision 1.36.2.2: +56 -56
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.23.2.6: download - view: text, markup, annotated - select for diffs
Mon Sep 23 15:48:36 2002 (7 years, 5 months ago) by itojun
Branches: netbsd-1-5
Diff to previous 1.23.2.5: preferred, colored to branchpoint 1.23: preferred, colored next main 1.24: preferred, colored
Changes since revision 1.23.2.5: +2 -2
lines
Correct length field on PADN option, before jumbo payload option.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Sep 23 15:28:55 2002 (7 years, 5 months ago) by itojun
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
length field on PADN option, before jumbo payload option was wrong.
sync w/kame
Revision 1.31.2.12: download - view: text, markup, annotated - select for diffs
Tue Sep 17 23:23:25 2002 (7 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.11: preferred, colored
Changes since revision 1.31.2.11: +55 -55
lines
Catch up to -current.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Sep 11 04:46:45 2002 (7 years, 6 months ago) by itojun
Branches: MAIN
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +51 -51
lines
KNF - return is not a function. sync w/kame.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Sep 11 04:41:26 2002 (7 years, 6 months ago) by itojun
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +6 -6
lines
correct signedness mixup in pointer passing. sync w/kame
Revision 1.31.2.11: download - view: text, markup, annotated - select for diffs
Fri Jul 12 03:40:33 2002 (7 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.10: preferred, colored
Changes since revision 1.31.2.10: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.31.2.10: download - view: text, markup, annotated - select for diffs
Tue Jun 25 00:11:52 2002 (7 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.9: preferred, colored
Changes since revision 1.31.2.9: +5 -5
lines
Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 19:51:16 2002 (7 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to previous 1.36.2.1: preferred, colored to branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +216 -145
lines
catch up with -current on kqueue branch
Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 17:52:46 2002 (7 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to previous 1.44.2.1: preferred, colored to branchpoint 1.44: preferred, colored next main 1.45: preferred, colored
Changes since revision 1.44.2.1: +146 -103
lines
catch up with -current.
Revision 1.31.2.9: download - view: text, markup, annotated - select for diffs
Thu Jun 20 05:49:22 2002 (7 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.8: preferred, colored
Changes since revision 1.31.2.8: +216 -146
lines
Catch up to -current.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Jun 9 16:43:12 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3
lines
whitespace cleanup
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Jun 8 23:22:33 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3
lines
sync with latest KAME in6_ifaddr/prefix/default router manipulation.
behavior changes:
- two iocts used by ndp(8) are now obsolete (backward compat provided).
use sysctl path instead.
- lo0 does not get ::1 automatically. it will get ::1 when lo0 comes up.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jun 8 00:03:02 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +78 -2
lines
sync IPV6_CHECKSUM handling with kame.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Jun 7 19:13:56 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +6 -2
lines
comment
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Jun 7 16:48:56 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +4 -5
lines
whitespace
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jun 7 16:43:11 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +2 -14
lines
remove #if 0'ed portion
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Jun 7 16:29:10 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +56 -80
lines
KNF a bit
Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Jun 7 06:18:12 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +7 -7
lines
typo
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Jun 7 06:07:55 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +7 -7
lines
'fall through' is not a valid LINT keyword.
Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 5 05:50:25 2002 (7 years, 9 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +6 -4
lines
Pull up revision 1.46 (via patch) (requested by itojun in ticket #123):
do not try to update rmx_mtu if rmx_mtu == 0 (obey ifmtu)
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri May 31 05:18:54 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +6 -6
lines
do not try to update rmx_mtu if rmx_mtu == 0 (obey ifmtu)
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Thu May 30 15:52:33 2002 (7 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +76 -49
lines
Catch up with -current.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed May 29 09:53:41 2002 (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +76 -49
lines
attach nd_ifinfo structure into if_afdata.
split IPv6 link MTU (advertised by RA) from real link MTU.
sync with kame
Revision 1.31.2.8: download - view: text, markup, annotated - select for diffs
Mon Apr 1 09:48:51 2002 (7 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.7: preferred, colored
Changes since revision 1.31.2.7: +4 -3
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Mar 28 02:33:50 2002 CET (7 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +4 -3
lines
make sure to check address family in route cache
(I really hate IPv4 mapped address...)
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Tue Feb 26 21:14:37 2002 CET (8 years ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to previous 1.23.2.4: preferred, colored to branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.4: +4 -2
lines
Apply patch (requested by martti):
Fix it so that IPFilter handles IPv6 traffic.
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 21:03:22 2002 CET (8 years, 2 months ago) by thorpej
Branches: kqueue
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +91 -100
lines
Sync kqueue branch with -current.
Revision 1.31.2.7: download - view: text, markup, annotated - select for diffs
Tue Jan 8 01:34:21 2002 CET (8 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.6: preferred, colored
Changes since revision 1.31.2.6: +22 -21
lines
Catch up to -current.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Dec 20 08:26:37 2001 CET (8 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base,
ifpoll,
eeh-devprop-base,
eeh-devprop
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +11 -16
lines
centralize multicast group management (in6_join/leavegroup).
have a flag for ip6_output() to fragment to minimum MTU.
sync with kame
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Dec 18 04:04:04 2001 CET (8 years, 3 months ago) by itojun
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +13 -7
lines
reduce white space/cosmetic diffs w/kame.
Revision 1.31.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 14 20:18:10 2001 CET (8 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.5: preferred, colored
Changes since revision 1.31.2.5: +5 -2
lines
Catch up to -current.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Nov 13 01:57:02 2001 CET (8 years, 4 months ago) by lukem
Branches: MAIN
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +4 -1
lines
add RCSIDs
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 22:19:32 2001 CET (8 years, 4 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to previous 1.39: preferred, colored next main 1.40: preferred, colored
Changes since revision 1.39: +2 -2
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Oct 24 08:36:38 2001 (8 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
more whitespace sync with kame
Revision 1.31.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 22 22:42:03 2001 (8 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.4: preferred, colored
Changes since revision 1.31.2.4: +67 -80
lines
Catch up to -current.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Oct 18 09:44:34 2001 (8 years, 5 months ago) by itojun
Branches: MAIN
Branch point for: thorpej-mips-cache
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +1 -11
lines
reduce diffs with kame (mostly cosmetic).
move IPV6_CHECKSUM processing to sys/netinet6/raw_ip6.c.
constify a couple of places.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Oct 17 10:23:06 2001 (8 years, 5 months ago) by itojun
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +1 -12
lines
unifdef OLDIP6OUTPUT
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Oct 15 11:51:17 2001 (8 years, 5 months ago) by itojun
Branches: MAIN
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +70 -62
lines
implement IPV6_V6ONLY socket option from draft-ietf-ipngwg-rfc2553bis-03.txt.
IPV6_BINDV6ONLY (netbsd only) is deprecated, but still work just like before.
Revision 1.31.2.4: download - view: text, markup, annotated - select for diffs
Thu Jun 21 22:08:59 2001 (8 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.3: preferred, colored
Changes since revision 1.31.2.3: +9 -6
lines
Catch up to -current.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 11 15:49:18 2001 (8 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: kqueue
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +1 -5
lines
remove IPV6FIREWALL case, which is never used
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Sun Apr 22 20:11:17 2001 (8 years, 10 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to previous 1.23.2.3: preferred, colored to branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +9 -2
lines
Pull up revision 1.35 (requested by itojun):
Disallow addresses that are not supposed to be put into IPv6
source, on IPV6_PKTINFO setsockopt.
Revision 1.8.2.5: download - view: text, markup, annotated - select for diffs
Sat Apr 21 19:46:56 2001 (8 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to previous 1.8.2.4: preferred, colored to branchpoint 1.8: preferred, colored next main 1.9: preferred, colored
Changes since revision 1.8.2.4: +18 -25
lines
Sync with HEAD
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Apr 11 06:57:53 2001 (8 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +9 -2
lines
disallow userland programs from specifying addresses with IPV6_PKTINFO
setsockopt, if:
- the address is not verified by DAD (= not ready)
- the address is an anycast address (= not permitted as source)
sync with kame
Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 9 03:58:41 2001 (8 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.2: preferred, colored
Changes since revision 1.31.2.2: +16 -27
lines
Catch up with -current.
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 6 02:28:02 2001 (8 years, 11 months ago) by he
Branches: netbsd-1-5
Diff to previous 1.23.2.2: preferred, colored to branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +9 -1
lines
Pull up revision 1.28 (requested by itojun):
Record IPsec packet history in 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.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Mar 30 13:08:57 2001 (8 years, 11 months ago) by itojun
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +10 -24
lines
enable FAKE_LOOPBACK_IF case by default.
now traffic on loopback interface will be presented to bpf as normal wire
format packet (without KAME scopeid in s6_addr16[1]).
fix KAME PR 250 (host mistakenly accepts packets to fe80::x%lo0).
sync with kame.
Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Tue Mar 27 17:32:38 2001 (8 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to previous 1.8.2.3: preferred, colored to branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.3: +7 -4
lines
Sync with HEAD.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Mar 25 11:58:43 2001 (8 years, 11 months ago) by itojun
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3
lines
re-initialize mopt in ip6_insert_jumboopt(). sync with kame
From: csapuntz@stanford.edu
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 21 08:52:14 2001 CET (9 years ago) by itojun
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +6 -3
lines
set rmx_mtu to L2 interface mtu, instead of 0, on mtudisc timeout.
ip6_output() change is for safety. sync with kame
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 13 21:29:50 2001 CET (9 years ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31.2.1: preferred, colored
Changes since revision 1.31.2.1: +3 -3
lines
Be more careful not to dereference curproc when there might not be
a process context.
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 23:49:57 2001 CET (9 years ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +5 -4
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 18:01:56 2001 CET (9 years ago) by he
Branches: netbsd-1-5
Diff to previous 1.23.2.1: preferred, colored to branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +2 -2
lines
Pull up revision 1.30 (requested by itojun):
Remove a misplaced semicolon after ``if'' conditional.
Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 20:17:26 2001 CET (9 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to previous 1.8.2.2: preferred, colored to branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.2: +45 -23
lines
Sync with HEAD.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Feb 10 05:14:28 2001 CET (9 years, 1 month ago) by itojun
Branches: MAIN
Branch point for: nathanw_sa
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +21 -20
lines
to sync with kame better, (1) remove register declaration for variables,
(2) sync whitespaces, (3) update comments. (4) bring in some of portability
and logging enhancements. no functional changes here.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Feb 6 02:27:29 2001 CET (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
bad semicolon after "if" conditional. sync with kame
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 4 20:22:08 2001 CET (9 years, 1 month ago) by he
Branches: netbsd-1-5
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +15 -2
lines
Pull up revision 1.29 (via patch, requested by itojun):
Avoid panic when a packet with nonexistent link-local address is
issued.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Feb 2 16:54:56 2001 CET (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +16 -3
lines
avoid panic when a packet with nonexistent link-local address is issued.
kame 1.151 -> 1.152.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Jan 24 10:04:17 2001 CET (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +10 -2
lines
- 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.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 17:06:22 2000 CET (9 years, 3 months ago) by bouyer
Branches: thorpej_scsipi
Diff to previous 1.8.2.1: preferred, colored to branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +11 -20
lines
Sync with HEAD.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:10:53 2000 CET (9 years, 4 months ago) by bouyer
Branches: thorpej_scsipi
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +348 -146
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Nov 11 01:52:39 2000 CET (9 years, 4 months ago) by thorpej
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +11 -20
lines
Restructure the PFIL_HOOKS mechanism a bit:
- All packets are passed to PFIL_HOOKS as they come off the wire, i.e.
fields in protocol headers in network order, etc.
- Allow for multiple hooks to be registered, using a "key" and a "dlt".
The "dlt" is a BPF data link type, indicating what type of header is
present.
- INET and INET6 register with key == AF_INET or AF_INET6, and
dlt == DLT_RAW.
- PFIL_HOOKS now take an argument for the filter hook, and mbuf **,
an ifnet *, and a direction (PFIL_IN or PFIL_OUT), thus making them
less IP (really, IP Filter) centric.
Maintain compatibility with IP Filter by adding wrapper functions for
IP Filter.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Oct 23 05:45:25 2000 (9 years, 4 months ago) by itojun
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +13 -17
lines
make IFA_STATS really work on IPv6.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Aug 19 10:15:54 2000 (9 years, 7 months ago) by itojun
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +48 -17
lines
- icmp6 nodeinfo: remove possibility of unaligned pointer access.
- jumbo payload output: fix incorrect mbuf manipulation
- pedant: align issues, mbuf assumption
(sync with kame)
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jul 6 14:51:41 2000 (9 years, 8 months ago) by itojun
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +2 -3
lines
remove unnecessary #include <netkey/key_debug.h>. from kame.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 19:10:02 2000 (9 years, 8 months ago) by minoura
Branches: minoura-xpg4dl
Diff to previous 1.21: preferred, colored next main 1.22: preferred, colored
Changes since revision 1.21: +52 -16
lines
Sync w/ netbsd-1-5-base.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jun 20 04:24:42 2000 (9 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
avoid possible mbuf leaks on ipsec policy violation.(sync with kame)
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jun 3 16:36:37 2000 (9 years, 9 months ago) by itojun
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +49 -13
lines
sync with kame.
- use latest source address selection code - in6_src.c.
- correct frag header insertion.
- deep copy ip6 header portion in ip6_mloopback to avoid overwrite.
- do not bark when we forward packet to loopback.
- some cosmetics.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri May 19 22:09:27 2000 (9 years, 10 months ago) by itojun
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
correct manipulation of link-local scoped address on loopback.
now "telnet fe80::1%lo0" should work again.
(we have another bug near here - will attack it soon)
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri May 19 06:34:43 2000 (9 years, 10 months ago) by thorpej
Branches: MAIN
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
NULL != 0
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri May 19 03:40:18 2000 (9 years, 10 months ago) by itojun
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +67 -43
lines
do not mistakingly forward link-local scoped packet (the bug was added
with "beyondscope" icmp6 support).
"options FAKE_LOOPBACK_IF" will honor scope on loopback outputs. rcvif will
be real interface, not the loopback, just like when multicast loopback.
(sync with kame)
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Mar 29 05:38:53 2000 (9 years, 11 months ago) by simonb
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +1 -2
lines
Remove duplicate declaration of ifindex2ifnet - it's in <net/if.h>.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Mar 1 13:49:46 2000 CET (10 years ago) by itojun
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
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.16: download - view: text, markup, annotated - select for diffs
Sun Feb 20 01:56:43 2000 CET (10 years, 1 month ago) by darrenr
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
pass "struct pfil_head *" to pfil_add_hook and pfil_remove hook rather
than "struct protosw *".
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Feb 17 11:59:39 2000 CET (10 years, 1 month ago) by darrenr
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +29 -1
lines
Change the use of pfil hooks. There is no longer a single list of all
pfil information, instead, struct protosw now contains a structure
which caontains list heads, etc. The per-protosw pfil struct is passed
to pfil_hook_get(), along with an in/out flag to get the head of the
relevant filter list. This has been done for only IPv4 and IPv6, at
present, with these patches only enabling filtering for IPPROTO_IP and
IPPROTO_IPV6, although it is possible to have tcp/udp, etc, dedicated
filters now also. The ipfilter code has been updated to only filter
IPv4 packets - next major release of ipfilter is required for ipv6.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Feb 6 13:49:46 2000 CET (10 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
fix include pathname for better rfc2292 compliance.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jan 31 15:19:03 2000 CET (10 years, 1 month ago) by itojun
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +18 -9
lines
bring in latest KAME ipsec tree.
- interop issues in ipcomp is fixed
- padding type (after ESP) is configurable
- key database memory management (need more fixes)
- policy specification is revisited
XXX m->m_pkthdr.rcvif is still overloaded - hope to fix it soon
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jan 26 18:06:37 2000 CET (10 years, 1 month ago) by itojun
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +40 -1
lines
make setsockopt(IPV6_PORTRANGE) work. obeys IPNOPRIVPORTS.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jan 6 16:46:10 2000 CET (10 years, 2 months ago) by itojun
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +3 -69
lines
remove extra portability #ifdef (like #ifdef __FreeBSD__) in KAME IPv6/IPsec
code, from netbsd-current repository.
#ifdef'ed version is always available from ftp.kame.net.
XXX please do not make too many diff-unfriendly changes, we'll need to take
bunch of diffs on upgrade...
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jan 6 07:41:19 2000 CET (10 years, 2 months ago) by itojun
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +20 -2
lines
make IPV6_BINDV6ONLY setsockopt available. it controls behavior of
AF_INET6 wildcard listening socket. heavily documented in ip6(4).
net.inet6.ip6.bindv6only defines default value. default is 1.
"options INET6_BINDV6ONLY" removes any code fragment that supports
IPV6_BINDV6ONLY == 0 case (not defopt'ed as use of this is rare).
Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 19:36:25 1999 CET (10 years, 2 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to previous 1.8: preferred, colored next main 1.9: preferred, colored
Changes since revision 1.8: +118 -29
lines
Pull up to last week's -current.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Dec 13 16:17:23 1999 CET (10 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +118 -29
lines
sync IPv6 part with latest KAME tree. IPsec part is left unmodified
due to massive changes in KAME side.
- IPv6 output goes through nd6_output
- faith can capture IPv4 packets as well - you can run IPv4-to-IPv6 translator
using heavily modified DNS servers
- per-interface statistics (required for IPv6 MIB)
- interface autoconfig is revisited
- udp input handling has a big change for mapped address support.
- introduce in4_cksum() for non-overwriting checksumming
- introduce m_pulldown()
- neighbor discovery cleanups/improvements
- netinet/in.h strictly conforms to RFC2553 (no extra defs visible to userland)
- IFA_STATS is fixed a bit (not tested)
- and more more more.
TODO:
- cleanup os-independency #ifdef
- avoid rcvif dual use (for IPsec) to help ifdetach
(sorry for jumbo commit, I can't separate this any more...)
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 30 14:35:54 1999 CET (10 years, 3 months ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to previous 1.1.2.1: preferred, colored next main 1.2: preferred, colored
Changes since revision 1.1.2.1: +579 -62
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.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 00:36:05 1999 (10 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to previous 1.2.2.1: preferred, colored next main 1.3: preferred, colored
Changes since revision 1.2.2.1: +15 -3
lines
Update from trunk.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jul 31 20:41:16 1999 (10 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.7: preferred, colored
Changes since revision 1.7: +3 -1
lines
sync with recent KAME.
- loosen ipsec restriction on packet diredtion.
- revise icmp6 redirect handling on IsRouter bit.
- tcp/udp notification processing (link-local address case)
- cosmetic fixes (better code share across *BSD).
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jul 30 12:35:36 1999 (10 years, 7 months ago) by itojun
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2
lines
remove reference to in6_systm.h (file itself will be removed afterwords)
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 22 14:56:57 1999 (10 years, 8 months ago) by itojun
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +9 -1
lines
- implement IPv6 pmtud, which is necessary for TCP6.
- fix memory leak on SO_DEBUG over TCP.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jul 22 05:59:42 1999 (10 years, 8 months ago) by itojun
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
change unnecessary u_long/long into u_int32_t or something relevant.
more fixes should follow.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jul 10 00:57:28 1999 (10 years, 8 months ago) by thorpej
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h).
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jul 3 23:30:19 1999 (10 years, 8 months ago) by thorpej
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +2 -0
lines
RCS ID police.
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 2 01:48:28 1999 (10 years, 8 months ago) by thorpej
Branches: chs-ubc2
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +0 -0
lines
Sync w/ -current.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jul 1 10:12:56 1999 (10 years, 8 months ago) by itojun
Branches: MAIN
Branch point for: chs-ubc2
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +2011 -0
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.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 28 08:37:05 1999 (10 years, 8 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990705,
kame_14_19990628
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +2011 -0
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.1
Mon Jun 28 08:37:05 1999 (10 years, 8 months ago) by itojun
Branches: MAIN
Branch point for: kame
FILE REMOVED
file ip6_output.c was initially added on branch kame.
cvsweb.de.netbsd.org <zafer@aydogan.de>