CVS log for kame/kame/sys/netinet6/ip6_output.c

[BACK] Up to [KAME snap] / kame / kame / sys / netinet6

Request diff between arbitrary revisions - Display revisions graphically


Keyword substitution: kv
Default branch: MAIN


Revision 1.496: download - view: text, markup, annotated - select for diffs
Thu Jun 14 12:09:44 2007 UTC (2 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20100301, openbsd_snap_20091201, openbsd_snap_20090901, openbsd_snap_20090601, openbsd_snap_20090301, openbsd_snap_20090201, openbsd_snap_20080801, openbsd_snap_20080701, openbsd_snap_20080601, openbsd_snap_20080501, openbsd_snap_20080401, openbsd_snap_20080301, openbsd_snap_20080201, openbsd_snap_20080101, openbsd_snap_20071201, openbsd_snap_20071101, openbsd_snap_20071001, openbsd_snap_20070901, openbsd_snap_20070801, openbsd_snap_20070701, netbsd_snap_20100301, netbsd_snap_20091201, netbsd_snap_20090901, netbsd_snap_20090601, netbsd_snap_20090301, netbsd_snap_20090201, netbsd_snap_20080801, netbsd_snap_20080701, netbsd_snap_20080601, netbsd_snap_20080501, netbsd_snap_20080401, netbsd_snap_20080301, netbsd_snap_20080201, netbsd_snap_20080101, netbsd_snap_20071201, netbsd_snap_20071101, netbsd_snap_20071001, netbsd_snap_20070901, netbsd_snap_20070801, netbsd_snap_20070701, freebsd5_snap_20100301, freebsd5_snap_20091201, freebsd5_snap_20090901, freebsd5_snap_20090601, freebsd5_snap_20090301, freebsd5_snap_20090201, freebsd5_snap_20080801, freebsd5_snap_20080701, freebsd5_snap_20080601, freebsd5_snap_20080501, freebsd5_snap_20080401, freebsd5_snap_20080301, freebsd5_snap_20080201, freebsd5_snap_20080101, freebsd5_snap_20071201, freebsd5_snap_20071101, freebsd5_snap_20071001, freebsd5_snap_20070901, freebsd5_snap_20070801, freebsd5_snap_20070701, HEAD
Diff to: previous 1.495: preferred, colored
Changes since revision 1.495: +107 -168 lines
ANSIfy, to reduce diffs with *BSDs.
based on diff from dunceor at gmail.com.
XXX not tested yet, sorry, we need to ressurect buildlab configs.

random thoughts:
- IGMPv3 support needs a serious cleanup.  argument passing is horrible, style
  does not meet style(9) at all.  i'm afraid there could be a lot of bugs.
- DCCP/SCTP/NAT-PT need someone to maintain them, otherwise we should drop
  them at once.
- we should pick a platform (one of *BSD) and try to get KAME tree in sync
  with more recent version of *BSD.  otherwise, KAME tree gets more and more
  out-of-date.

Revision 1.495: download - view: text, markup, annotated - select for diffs
Fri Jan 19 07:57:34 2007 UTC (3 years, 1 month ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20070601, openbsd_snap_20070501, openbsd_snap_20070401, openbsd_snap_20070301, openbsd_snap_20070201, netbsd_snap_20070601, netbsd_snap_20070501, netbsd_snap_20070401, netbsd_snap_20070301, netbsd_snap_20070201, freebsd5_snap_20070601, freebsd5_snap_20070501, freebsd5_snap_20070401, freebsd5_snap_20070301, freebsd5_snap_20070201
Diff to: previous 1.494: preferred, colored
Changes since revision 1.494: +2 -2 lines
fixed unclosed if clause.

Revision 1.494: download - view: text, markup, annotated - select for diffs
Mon Dec 4 07:30:30 2006 UTC (3 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20070101, netbsd_snap_20070101, freebsd5_snap_20070101
Diff to: previous 1.493: preferred, colored
Changes since revision 1.493: +7 -6 lines
reorder statement to meet the above comment (or should we change comment?)

Revision 1.493: download - view: text, markup, annotated - select for diffs
Mon Dec 4 07:28:57 2006 UTC (3 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.492: preferred, colored
Changes since revision 1.492: +6 -4 lines
back out 1.491

Revision 1.492: download - view: text, markup, annotated - select for diffs
Mon Dec 4 06:46:27 2006 UTC (3 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.491: preferred, colored
Changes since revision 1.491: +2 -2 lines
knf

Revision 1.491: download - view: text, markup, annotated - select for diffs
Mon Dec 4 06:39:16 2006 UTC (3 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.490: preferred, colored
Changes since revision 1.490: +5 -6 lines
remove redundant if statement (see the comment right above it)

Revision 1.490: download - view: text, markup, annotated - select for diffs
Mon Dec 4 06:36:37 2006 UTC (3 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.489: preferred, colored
Changes since revision 1.489: +5 -18 lines
remove redundant code setting up ip6_hlim (openbsd)

Revision 1.489: download - view: text, markup, annotated - select for diffs
Wed Nov 22 07:11:16 2006 UTC (3 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20061201, netbsd_snap_20061201, freebsd5_snap_20061201
Diff to: previous 1.488: preferred, colored
Changes since revision 1.488: +8 -8 lines
tab -> space

Revision 1.488: download - view: text, markup, annotated - select for diffs
Wed Nov 22 07:07:17 2006 UTC (3 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.487: preferred, colored
Changes since revision 1.487: +2 -2 lines
indent

Revision 1.487: download - view: text, markup, annotated - select for diffs
Tue Nov 14 07:37:00 2006 UTC (3 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.486: preferred, colored
Changes since revision 1.486: +2 -3 lines
cleanup SCOPEDROUTING (unifdef -USCOPEDROUTING)

Revision 1.486: download - view: text, markup, annotated - select for diffs
Thu Jun 8 04:26:38 2006 UTC (3 years, 9 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20061113, openbsd_snap_20061106, openbsd_snap_20061030, openbsd_snap_20061023, openbsd_snap_20061016, openbsd_snap_20061009, openbsd_snap_20061002, openbsd_snap_20060925, openbsd_snap_20060918, openbsd_snap_20060911, openbsd_snap_20060904, openbsd_snap_20060828, openbsd_snap_20060821, openbsd_snap_20060814, openbsd_snap_20060807, openbsd_snap_20060731, openbsd_snap_20060724, openbsd_snap_20060717, openbsd_snap_20060710, openbsd_snap_20060703, openbsd_snap_20060626, openbsd_snap_20060619, openbsd_snap_20060612, netbsd_snap_20061113, netbsd_snap_20061106, netbsd_snap_20061030, netbsd_snap_20061023, netbsd_snap_20061016, netbsd_snap_20061009, netbsd_snap_20061002, netbsd_snap_20060925, netbsd_snap_20060918, netbsd_snap_20060911, netbsd_snap_20060904, netbsd_snap_20060828, netbsd_snap_20060821, netbsd_snap_20060814, netbsd_snap_20060807, netbsd_snap_20060731, netbsd_snap_20060724, netbsd_snap_20060717, netbsd_snap_20060710, netbsd_snap_20060703, netbsd_snap_20060626, netbsd_snap_20060619, netbsd_snap_20060612, freebsd5_snap_20061113, freebsd5_snap_20061106, freebsd5_snap_20061030, freebsd5_snap_20061023, freebsd5_snap_20061016, freebsd5_snap_20061009, freebsd5_snap_20061002, freebsd5_snap_20060925, freebsd5_snap_20060918, freebsd5_snap_20060911, freebsd5_snap_20060904, freebsd5_snap_20060828, freebsd5_snap_20060821, freebsd5_snap_20060814, freebsd5_snap_20060807, freebsd5_snap_20060731, freebsd5_snap_20060724, freebsd5_snap_20060717, freebsd5_snap_20060710, freebsd5_snap_20060703, freebsd5_snap_20060626, freebsd5_snap_20060619, freebsd5_snap_20060612
Diff to: previous 1.485: preferred, colored
Changes since revision 1.485: +10 -5 lines
- clear rthdr2 related data structures in ip6_clearpktopts.

Revision 1.485: download - view: text, markup, annotated - select for diffs
Tue Mar 28 05:45:22 2006 UTC (3 years, 11 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20060605, openbsd_snap_20060529, openbsd_snap_20060522, openbsd_snap_20060515, openbsd_snap_20060508, openbsd_snap_20060501, openbsd_snap_20060424, openbsd_snap_20060417, openbsd_snap_20060410, openbsd_snap_20060403, netbsd_snap_20060605, netbsd_snap_20060529, netbsd_snap_20060522, netbsd_snap_20060515, netbsd_snap_20060508, netbsd_snap_20060501, netbsd_snap_20060424, netbsd_snap_20060417, netbsd_snap_20060410, netbsd_snap_20060403, freebsd5_snap_20060605, freebsd5_snap_20060529, freebsd5_snap_20060522, freebsd5_snap_20060515, freebsd5_snap_20060508, freebsd5_snap_20060501, freebsd5_snap_20060424, freebsd5_snap_20060417, freebsd5_snap_20060410, freebsd5_snap_20060403
Diff to: previous 1.484: preferred, colored
Changes since revision 1.484: +5 -1 lines
fixed a kernel crash by an ASM join from a userland application

Revision 1.484: download - view: text, markup, annotated - select for diffs
Mon Feb 27 10:00:23 2006 UTC (4 years ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20060327, openbsd_snap_20060320, openbsd_snap_20060313, openbsd_snap_20060306, netbsd_snap_20060327, netbsd_snap_20060320, netbsd_snap_20060313, netbsd_snap_20060306, freebsd5_snap_20060327, freebsd5_snap_20060320, freebsd5_snap_20060313, freebsd5_snap_20060306
Diff to: previous 1.483: preferred, colored
Changes since revision 1.483: +2 -3 lines
reduce mtu value of ro_pmtu when the mtu value is greater than ifmtu.

Revision 1.483: download - view: text, markup, annotated - select for diffs
Mon Feb 27 09:49:07 2006 UTC (4 years ago) by keiichi
Branches: MAIN
Diff to: previous 1.482: preferred, colored
Changes since revision 1.482: +27 -21 lines
fixed ip6_getpmtu() logic for freebsd5.

Revision 1.482: download - view: text, markup, annotated - select for diffs
Mon Feb 27 05:57:33 2006 UTC (4 years ago) by keiichi
Branches: MAIN
Diff to: previous 1.481: preferred, colored
Changes since revision 1.481: +2 -4 lines
no need to check if a variable is 0 or not in if(variable!=0) sentence.

Revision 1.481: download - view: text, markup, annotated - select for diffs
Sun Feb 12 14:53:52 2006 UTC (4 years ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20060227, openbsd_snap_20060220, openbsd_snap_20060213, netbsd_snap_20060227, netbsd_snap_20060220, netbsd_snap_20060213, freebsd5_snap_20060227, freebsd5_snap_20060220, freebsd5_snap_20060213
Diff to: previous 1.480: preferred, colored
Changes since revision 1.480: +7 -1 lines
avoided possible overflow in ip6_insert_jumboopt()
(it's not a real threat with the typical value of MCLBYTES, though).

Revision 1.480: download - view: text, markup, annotated - select for diffs
Sat Feb 11 14:53:19 2006 UTC (4 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.479: preferred, colored
Changes since revision 1.479: +2 -3 lines
style

Revision 1.479: download - view: text, markup, annotated - select for diffs
Wed Jul 27 00:08:27 2005 UTC (4 years, 7 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20060206, openbsd_snap_20060130, openbsd_snap_20060123, openbsd_snap_20060116, openbsd_snap_20060109, openbsd_snap_20060102, openbsd_snap_20051226, openbsd_snap_20051219, openbsd_snap_20051212, openbsd_snap_20051205, openbsd_snap_20051128, openbsd_snap_20051121, openbsd_snap_20051114, openbsd_snap_20051107, openbsd_snap_20051031, openbsd_snap_20051024, openbsd_snap_20051017, openbsd_snap_20051010, openbsd_snap_20051003, openbsd_snap_20050926, openbsd_snap_20050919, openbsd_snap_20050912, openbsd_snap_20050905, openbsd_snap_20050829, openbsd_snap_20050822, openbsd_snap_20050815, openbsd_snap_20050808, openbsd_snap_20050801, netbsd_snap_20060206, netbsd_snap_20060130, netbsd_snap_20060123, netbsd_snap_20060116, netbsd_snap_20060109, netbsd_snap_20060102, netbsd_snap_20051226, netbsd_snap_20051219, netbsd_snap_20051212, netbsd_snap_20051205, netbsd_snap_20051128, netbsd_snap_20051121, netbsd_snap_20051114, netbsd_snap_20051107, netbsd_snap_20051031, netbsd_snap_20051024, netbsd_snap_20051017, netbsd_snap_20051010, netbsd_snap_20051003, netbsd_snap_20050926, netbsd_snap_20050919, netbsd_snap_20050912, netbsd_snap_20050905, netbsd_snap_20050829, netbsd_snap_20050822, netbsd_snap_20050815, netbsd_snap_20050808, netbsd_snap_20050801, freebsd5_snap_20060206, freebsd5_snap_20060130, freebsd5_snap_20060123, freebsd5_snap_20060116, freebsd5_snap_20060109, freebsd5_snap_20060102, freebsd5_snap_20051226, freebsd5_snap_20051219, freebsd5_snap_20051212, freebsd5_snap_20051205, freebsd5_snap_20051128, freebsd5_snap_20051121, freebsd5_snap_20051114, freebsd5_snap_20051107, freebsd5_snap_20051031, freebsd5_snap_20051024, freebsd5_snap_20051017, freebsd5_snap_20051010, freebsd5_snap_20051003, freebsd5_snap_20050926, freebsd5_snap_20050919, freebsd5_snap_20050912, freebsd5_snap_20050905, freebsd5_snap_20050829, freebsd5_snap_20050822, freebsd5_snap_20050815, freebsd5_snap_20050808, freebsd5_snap_20050801
Diff to: previous 1.478: preferred, colored
Changes since revision 1.478: +2 -1 lines
fixed a compilation error

Revision 1.478: download - view: text, markup, annotated - select for diffs
Tue Jul 26 18:14:59 2005 UTC (4 years, 7 months ago) by suz
Branches: MAIN
Diff to: previous 1.477: preferred, colored
Changes since revision 1.477: +3 -3 lines
ports some MLDv1 enhancements into MLDv2.
 - use callout timer mechanism for protocol timer
 - impose a random delay (when necessary) according to rfc2462bis

Revision 1.477: download - view: text, markup, annotated - select for diffs
Tue Jul 26 16:59:17 2005 UTC (4 years, 7 months ago) by suz
Branches: MAIN
Diff to: previous 1.476: preferred, colored
Changes since revision 1.476: +35 -35 lines
removed a garbage whitespace at the end of line

Revision 1.476: download - view: text, markup, annotated - select for diffs
Fri Jul 22 04:58:55 2005 UTC (4 years, 7 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20050725, netbsd_snap_20050725, freebsd5_snap_20050725
Diff to: previous 1.475: preferred, colored
Changes since revision 1.475: +2 -2 lines
- corrected operator priority
- avoided the use of an additional argument to in6_selectroute()

Revision 1.475: download - view: text, markup, annotated - select for diffs
Fri Jul 22 03:50:26 2005 UTC (4 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.474: preferred, colored
Changes since revision 1.474: +2 -2 lines
allowed in6_selectif() to select the outgoing IF without trying to get a route
to the nexthop.  otherwise, ambiguous scoped destinations may match a rejected
route, and an application that expects specifying the outgoing IF resolves
scope zone ambiguity will fail (even though such expectation is a bad
practice).

Revision 1.474: download - view: text, markup, annotated - select for diffs
Fri Jul 15 14:59:40 2005 UTC (4 years, 7 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20050718, netbsd_snap_20050718, freebsd5_snap_20050718
Diff to: previous 1.473: preferred, colored
Changes since revision 1.473: +15 -1 lines
disabled a leftover in the RFC3542 work about IPV6_RECVPATHMTU.
(from freebsd, see ftp://ftp.kame.net/pub/mail-list/snap-users/8775)

Revision 1.473: download - view: text, markup, annotated - select for diffs
Thu Jul 14 11:31:27 2005 UTC (4 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.472: preferred, colored
Changes since revision 1.472: +7 -5 lines
corrected error handling for IPV6_LEAVE_GROUP

Revision 1.472: download - view: text, markup, annotated - select for diffs
Fri Jul 8 03:24:54 2005 UTC (4 years, 8 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20050711, netbsd_snap_20050711, freebsd5_snap_20050711
Diff to: previous 1.471: preferred, colored
Changes since revision 1.471: +2 -2 lines
do not specify M_WAITOK during the output process.

Revision 1.471: download - view: text, markup, annotated - select for diffs
Tue Jun 21 10:53:02 2005 UTC (4 years, 8 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20050704, openbsd_snap_20050627, netbsd_snap_20050704, netbsd_snap_20050627, freebsd5_snap_20050704, freebsd5_snap_20050627
Diff to: previous 1.470: preferred, colored
Changes since revision 1.470: +2 -2 lines
MIP6/NEMO: catch up with the recent update of the scope framework.

Revision 1.470: download - view: text, markup, annotated - select for diffs
Thu Jun 16 18:29:28 2005 UTC (4 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20050620, netbsd_snap_20050620, freebsd5_snap_20050620
Diff to: previous 1.469: preferred, colored
Changes since revision 1.469: +62 -101 lines
revised scope-related interfaces, clarifying the relationship between
the kernel-internal form and the public sockaddr_in6 form.

Revision 1.469: download - view: text, markup, annotated - select for diffs
Wed Jun 15 07:11:36 2005 UTC (4 years, 8 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.468: preferred, colored
Changes since revision 1.468: +12 -12 lines
changed the word '2292bis' to 'RFC3542' when appropriate.

Revision 1.468: download - view: text, markup, annotated - select for diffs
Thu Apr 14 06:22:41 2005 UTC (4 years, 10 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20050613, openbsd_snap_20050606, openbsd_snap_20050530, openbsd_snap_20050523, openbsd_snap_20050516, openbsd_snap_20050509, openbsd_snap_20050502, openbsd_snap_20050418, netbsd_snap_20050613, netbsd_snap_20050606, netbsd_snap_20050530, netbsd_snap_20050523, netbsd_snap_20050516, netbsd_snap_20050509, netbsd_snap_20050502, netbsd_snap_20050418, freebsd5_snap_20050613, freebsd5_snap_20050606, freebsd5_snap_20050530, freebsd5_snap_20050523, freebsd5_snap_20050516, freebsd5_snap_20050509, freebsd5_snap_20050502, freebsd5_snap_20050418
Diff to: previous 1.467: preferred, colored
Changes since revision 1.467: +23 -65 lines
remove freebsd[234]-specific code, since they are no longer supported in KAME-SNAP

Revision 1.467: download - view: text, markup, annotated - select for diffs
Mon Mar 14 09:13:33 2005 UTC (5 years ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20050411, openbsd_snap_20050404, openbsd_snap_20050328, openbsd_snap_20050321, netbsd_snap_20050411, netbsd_snap_20050404, netbsd_snap_20050328, netbsd_snap_20050321, freebsd5_snap_20050411, freebsd5_snap_20050404, freebsd5_snap_20050328, freebsd5_snap_20050321, freebsd4_snap_20050404, freebsd4_snap_20050328, freebsd4_snap_20050321
Diff to: previous 1.466: preferred, colored
Changes since revision 1.466: +5 -1 lines
fixed a kernel crash due to a LOR by a multicast-group join without
specifying any receiving interface.

Revision 1.466: download - view: text, markup, annotated - select for diffs
Wed Mar 2 04:00:50 2005 UTC (5 years ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20050314, openbsd_snap_20050307, netbsd_snap_20050314, netbsd_snap_20050307, freebsd5_snap_20050314, freebsd5_snap_20050307, freebsd4_snap_20050314, freebsd4_snap_20050307
Diff to: previous 1.465: preferred, colored
Changes since revision 1.465: +18 -6 lines
fixed a freebsd5 kernel crash when WITNESS debug option is enabled.
(M_WAITOK leads to an assertion failure when a non-sleepable
fine-grain-lock exists and WITNESS debug option is on. If this option is off,
M_WAITOK is just regarded as M_NOWAIT)

Revision 1.465: download - view: text, markup, annotated - select for diffs
Thu Jan 20 09:14:05 2005 UTC (5 years, 1 month ago) by t-momose
Branches: MAIN
CVS tags: openbsd_snap_20050228, openbsd_snap_20050221, openbsd_snap_20050214, openbsd_snap_20050207, openbsd_snap_20050131, openbsd_snap_20050124, netbsd_snap_20050228, netbsd_snap_20050221, netbsd_snap_20050214, netbsd_snap_20050207, netbsd_snap_20050131, netbsd_snap_20050124, freebsd5_snap_20050228, freebsd5_snap_20050221, freebsd5_snap_20050214, freebsd5_snap_20050207, freebsd5_snap_20050131, freebsd5_snap_20050124, freebsd4_snap_20050228, freebsd4_snap_20050221, freebsd4_snap_20050214, freebsd4_snap_20050207, freebsd4_snap_20050131, freebsd4_snap_20050124
Diff to: previous 1.464: preferred, colored
Changes since revision 1.464: +2 -10 lines
Unified several similar code enclosed within #ifdef MIP6_MCOA

Revision 1.464: download - view: text, markup, annotated - select for diffs
Thu Jan 20 03:33:10 2005 UTC (5 years, 1 month ago) by suz
Branches: MAIN
Diff to: previous 1.463: preferred, colored
Changes since revision 1.463: +1 -14 lines
removed a duplicated code

Revision 1.463: download - view: text, markup, annotated - select for diffs
Mon Jan 17 06:21:11 2005 UTC (5 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.462: preferred, colored
Changes since revision 1.462: +1 -12 lines
- sys/netipsec (FAST_IPSEC) has #define for time_second
- use pfil_hook for PF

Revision 1.462: download - view: text, markup, annotated - select for diffs
Sun Jan 16 02:48:31 2005 UTC (5 years, 1 month ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20050117, netbsd_snap_20050117, freebsd5_snap_20050117, freebsd4_snap_20050117
Diff to: previous 1.461: preferred, colored
Changes since revision 1.461: +21 -4 lines
fixed a path MTU discovery failure on FreeBSD5.

Revision 1.461: download - view: text, markup, annotated - select for diffs
Tue Jan 11 06:37:04 2005 UTC (5 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.460: preferred, colored
Changes since revision 1.460: +19 -11 lines
correct validation when ipv6mr_interface == 0.  from djm@openbsd

Revision 1.460: download - view: text, markup, annotated - select for diffs
Mon Dec 27 05:41:18 2004 UTC (5 years, 2 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20050110, openbsd_snap_20050103, freebsd5_snap_20050110, freebsd5_snap_20050103, freebsd4_snap_20050110, freebsd4_snap_20050103
Diff to: previous 1.459: preferred, colored
Changes since revision 1.459: +9 -2 lines
sync w/ 2.0.
needs checking/fixing: igmp3, pf, altq, dccp, sctp
FAST_IPSEC path is not considered, intentionally.

Revision 1.459: download - view: text, markup, annotated - select for diffs
Thu Dec 9 02:19:07 2004 UTC (5 years, 3 months ago) by t-momose
Branches: MAIN
CVS tags: openbsd_snap_20041227, openbsd_snap_20041220, openbsd_snap_20041213, netbsd_snap_20041227, netbsd_snap_20041220, netbsd_snap_20041213, freebsd5_snap_20041227, freebsd5_snap_20041220, freebsd5_snap_20041213, freebsd4_snap_20041227, freebsd4_snap_20041220, freebsd4_snap_20041213
Diff to: previous 1.458: preferred, colored
Changes since revision 1.458: +201 -124 lines
New Mobile IPv6 code which also supports NEMO.

Revision 1.458: download - view: text, markup, annotated - select for diffs
Mon Nov 22 06:40:08 2004 UTC (5 years, 3 months ago) by t-momose
Branches: MAIN
CVS tags: openbsd_snap_20041206, openbsd_snap_20041129, netbsd_snap_20041206, netbsd_snap_20041129, freebsd5_snap_20041206, freebsd5_snap_20041129, freebsd4_snap_20041206, freebsd4_snap_20041129
Diff to: previous 1.457: preferred, colored
Changes since revision 1.457: +2 -2 lines
Make it compilable on FreeBSD 5.3 with IPSEC option

Revision 1.457: download - view: text, markup, annotated - select for diffs
Thu Nov 11 22:34:46 2004 UTC (5 years, 4 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20041122, openbsd_snap_20041115, netbsd_snap_20041122, netbsd_snap_20041115, freebsd5_snap_20041122, freebsd5_snap_20041115, freebsd4_snap_20041122, freebsd4_snap_20041115
Diff to: previous 1.456: preferred, colored
Changes since revision 1.456: +36 -5 lines
sync with freebsd53 and makes it compilable
(their behavior is not confirmed yet...)

Revision 1.456: download - view: text, markup, annotated - select for diffs
Wed Oct 27 07:59:36 2004 UTC (5 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20041108, openbsd_snap_20041101, netbsd_snap_20041108, netbsd_snap_20041101, freebsd5_snap_20041108, freebsd5_snap_20041101, freebsd4_snap_20041108, freebsd4_snap_20041101
Diff to: previous 1.455: preferred, colored
Changes since revision 1.455: +2 -2 lines
fix openbsd compilation

Revision 1.455: download - view: text, markup, annotated - select for diffs
Wed Jul 14 02:23:30 2004 UTC (5 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20041025, openbsd_snap_20041018, openbsd_snap_20041011, openbsd_snap_20041004, openbsd_snap_20040927, openbsd_snap_20040913, openbsd_snap_20040906, openbsd_snap_20040830, openbsd_snap_20040823, openbsd_snap_20040816, openbsd_snap_20040809, openbsd_snap_20040802, openbsd_snap_20040726, openbsd_snap_20040719, netbsd_snap_20041025, netbsd_snap_20041018, netbsd_snap_20041011, netbsd_snap_20041004, netbsd_snap_20040927, netbsd_snap_20040913, netbsd_snap_20040906, netbsd_snap_20040830, netbsd_snap_20040823, netbsd_snap_20040816, netbsd_snap_20040809, netbsd_snap_20040802, netbsd_snap_20040726, netbsd_snap_20040719, freebsd5_snap_20041025, freebsd5_snap_20041018, freebsd5_snap_20041011, freebsd5_snap_20041004, freebsd5_snap_20040927, freebsd5_snap_20040913, freebsd5_snap_20040906, freebsd5_snap_20040830, freebsd5_snap_20040823, freebsd5_snap_20040812, freebsd4_snap_20041025, freebsd4_snap_20041018, freebsd4_snap_20041011, freebsd4_snap_20041004, freebsd4_snap_20040927, freebsd4_snap_20040913, freebsd4_snap_20040906, freebsd4_snap_20040830, freebsd4_snap_20040823, freebsd4_snap_20040816, freebsd4_snap_20040809, freebsd4_snap_20040802, freebsd4_snap_20040726, freebsd4_snap_20040719
Diff to: previous 1.454: preferred, colored
Changes since revision 1.454: +5 -1 lines
when IPsec encapsulation is performed, we have no way to tell which
"icmp6 too big" message corresponds to which route.  fragment to 1280.
found by iij seil team

Revision 1.454: download - view: text, markup, annotated - select for diffs
Wed Jul 14 02:20:54 2004 UTC (5 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.453: preferred, colored
Changes since revision 1.453: +3 -3 lines
update ro_pmtu on IPsec tunnel mode.  otherwise, ro_pmtu != ro will be
misunderstood as "routing header present".  iij seil team

Revision 1.453: download - view: text, markup, annotated - select for diffs
Mon Jul 5 03:10:13 2004 UTC (5 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20040712, netbsd_snap_20040712, freebsd4_snap_20040712
Diff to: previous 1.452: preferred, colored
Changes since revision 1.452: +3 -3 lines
- revised delay for DAD according to rfc2462bis-02: impose a random delay (when
  necessary) before sending the corresponding MLD report, while still listening
  to the multicast group, rather than before sending an NS.
- improved timer granularity for MLD.  the timer now uses the system's most
  fine-grained timer tick.

Revision 1.452: download - view: text, markup, annotated - select for diffs
Sat Jul 3 06:54:48 2004 UTC (5 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20040705, netbsd_snap_20040705, freebsd4_snap_20040705
Diff to: previous 1.451: preferred, colored
Changes since revision 1.451: +3 -3 lines
typo: missing '_' in __FreeBSD__
(critical!)

Revision 1.451: download - view: text, markup, annotated - select for diffs
Wed Jun 2 05:53:15 2004 UTC (5 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20040628, openbsd_snap_20040621, openbsd_snap_20040607, netbsd_snap_20040628, netbsd_snap_20040621, netbsd_snap_20040607, freebsd4_snap_20040628, freebsd4_snap_20040621, freebsd4_snap_20040607
Diff to: previous 1.450: preferred, colored
Changes since revision 1.450: +11 -11 lines
remove support for freebsd[23], simplify #ifdef

Revision 1.450: download - view: text, markup, annotated - select for diffs
Wed May 26 09:41:05 2004 UTC (5 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20040531, netbsd_snap_20040531, freebsd4_snap_20040531
Diff to: previous 1.449: preferred, colored
Changes since revision 1.449: +2 -2 lines
nuke some bsdi #ifdef.  make pf.c compatible w/ nd6_output() arg.

Revision 1.449: download - view: text, markup, annotated - select for diffs
Fri May 21 07:07:31 2004 UTC (5 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20040524, netbsd_snap_20040524, freebsd4_snap_20040524
Diff to: previous 1.448: preferred, colored
Changes since revision 1.448: +75 -114 lines
simplify #ifdef by de-support bsdi[34], freebsd[23].  basically,
- remove contents of "#ifdef __bsdi__"
- change "#if (defined(__FreeBSD__) && __FreeBSD_Version >= [34]) into
  "#ifdef __FreeBSD__"
- and other bunch of changes.   compiled ok on netbsd and freebsd4

Revision 1.448: download - view: text, markup, annotated - select for diffs
Thu May 20 08:15:55 2004 UTC (5 years, 9 months ago) by suz
Branches: MAIN
Diff to: previous 1.447: preferred, colored
Changes since revision 1.447: +4 -2 lines
make it compilable on freebsd521+kame

ToDo: reflect changes in freebsd521, test, ...

Revision 1.447: download - view: text, markup, annotated - select for diffs
Wed Apr 21 13:22:23 2004 UTC (5 years, 10 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20040517, openbsd_snap_20040510, openbsd_snap_20040503, openbsd_snap_20040426, netbsd_snap_20040517, netbsd_snap_20040510, netbsd_snap_20040503, netbsd_snap_20040426, freebsd4_snap_20040517, freebsd4_snap_20040510, freebsd4_snap_20040503, freebsd4_snap_20040426
Diff to: previous 1.446: preferred, colored
Changes since revision 1.446: +12 -39 lines
simplied the fix to FreeBSD-SA-04:06.ipv6.  The previous one worried too much
even though we actually validate the parameters.  This code also is more
compatible with other *BSDs, which do copyin within setsockopt().

Revision 1.446: download - view: text, markup, annotated - select for diffs
Tue Apr 6 13:15:14 2004 UTC (5 years, 11 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20040419, openbsd_snap_20040412, netbsd_snap_20040419, netbsd_snap_20040412, freebsd4_snap_20040419, freebsd4_snap_20040412
Diff to: previous 1.445: preferred, colored
Changes since revision 1.445: +21 -11 lines
applies quite the same fix as proposed in FreeBSD-SA-04:06.ipv6

Revision 1.445: download - view: text, markup, annotated - select for diffs
Tue Apr 6 11:21:54 2004 UTC (5 years, 11 months ago) by suz
Branches: MAIN
Diff to: previous 1.444: preferred, colored
Changes since revision 1.444: +31 -2 lines
FreeBSD Security Advisory: FreeBSD-SA-04:06.ipv6

Revision 1.444: download - view: text, markup, annotated - select for diffs
Wed Mar 24 09:11:21 2004 UTC (5 years, 11 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20040405, openbsd_snap_20040329, netbsd_snap_20040405, netbsd_snap_20040329, freebsd4_snap_20040405, freebsd4_snap_20040329
Diff to: previous 1.443: preferred, colored
Changes since revision 1.443: +6 -6 lines
indentation

Revision 1.443: download - view: text, markup, annotated - select for diffs
Wed Mar 24 09:03:29 2004 UTC (5 years, 11 months ago) by suz
Branches: MAIN
Diff to: previous 1.442: preferred, colored
Changes since revision 1.442: +3 -3 lines
code clean-up; IN6_IS_LOCAL_GROUP() macro changes into !in6_is_mld_target()

Revision 1.442: download - view: text, markup, annotated - select for diffs
Wed Mar 24 08:47:00 2004 UTC (5 years, 11 months ago) by suz
Branches: MAIN
Diff to: previous 1.441: preferred, colored
Changes since revision 1.441: +4 -4 lines
use standard address-comparison macro, as it's not necessary to
compare addresses in protocol-independent manner

Revision 1.441: download - view: text, markup, annotated - select for diffs
Tue Mar 16 03:21:59 2004 UTC (5 years, 11 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20040322, netbsd_snap_20040322, freebsd4_snap_20040322
Diff to: previous 1.440: preferred, colored
Changes since revision 1.440: +32 -32 lines
fixed a MLDv2-related kernel crash owing to a lack of initialization of 'struct ifnet' variable

Revision 1.440: download - view: text, markup, annotated - select for diffs
Tue Mar 16 03:18:15 2004 UTC (5 years, 11 months ago) by suz
Branches: MAIN
Diff to: previous 1.439: preferred, colored
Changes since revision 1.439: +13 -7 lines
compares IPv6 group address properly

Revision 1.439: download - view: text, markup, annotated - select for diffs
Fri Mar 12 13:23:45 2004 UTC (6 years ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20040315, netbsd_snap_20040315, freebsd4_snap_20040315
Diff to: previous 1.438: preferred, colored
Changes since revision 1.438: +115 -102 lines
- rthdr2 should not be processed if rthdr0 exists.
- fixed a indentation style when defining a block inside a function.

Revision 1.438: download - view: text, markup, annotated - select for diffs
Fri Mar 12 12:07:21 2004 UTC (6 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.437: preferred, colored
Changes since revision 1.437: +3 -4 lines
fixed overkilling: nd6_output() takes a sockaddr_in6 from the beginning.
some incorrect arguments to rtalloc1 were also fixed.

Revision 1.437: download - view: text, markup, annotated - select for diffs
Fri Mar 12 11:26:10 2004 UTC (6 years ago) by keiichi
Branches: MAIN
Diff to: previous 1.436: preferred, colored
Changes since revision 1.436: +14 -18 lines
rewrote rthdr address swapping part.

Revision 1.436: download - view: text, markup, annotated - select for diffs
Fri Mar 12 08:48:49 2004 UTC (6 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.435: preferred, colored
Changes since revision 1.435: +6 -8 lines
recovered scope zone boundary check in ip6_output().

Revision 1.435: download - view: text, markup, annotated - select for diffs
Fri Mar 12 08:38:09 2004 UTC (6 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.434: preferred, colored
Changes since revision 1.434: +18 -2 lines
use scope6_check_id() for the 1st of a routing header in case the default
scope zone is specified and the 1st hop is a socped address.

Revision 1.434: download - view: text, markup, annotated - select for diffs
Tue Mar 9 07:34:40 2004 UTC (6 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.433: preferred, colored
Changes since revision 1.433: +1 -4 lines
removed an unused variable.

Revision 1.433: download - view: text, markup, annotated - select for diffs
Tue Mar 9 07:31:55 2004 UTC (6 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.432: preferred, colored
Changes since revision 1.432: +3 -39 lines
disallowed the use of the unspecified address for IPV6_JOIN_GROUP and
IPV6_LEAVE_GROUP.  The special case was not documented in the official
API specification, and for whatever purpose, this should actually have
not been working for a long time.

Revision 1.432: download - view: text, markup, annotated - select for diffs
Sat Feb 28 10:22:51 2004 UTC (6 years ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20040308, openbsd_snap_20040301, netbsd_snap_20040308, netbsd_snap_20040301, freebsd4_snap_20040308, freebsd4_snap_20040301
Diff to: previous 1.431: preferred, colored
Changes since revision 1.431: +10 -2 lines
in the process of IPV6_LEAVE_GROUP, catch explictly the case of
ipv6mr_interface != 0 but ifp == NULL.
the previous code was not dangerous, but was incorrect.

Revision 1.431: download - view: text, markup, annotated - select for diffs
Sat Feb 28 06:37:04 2004 UTC (6 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.430: preferred, colored
Changes since revision 1.430: +3 -2 lines
comment wording in ip6_setmoptions(): "no need to keep the mbuf" is not really
accurate since im6o is actually malloced.

Revision 1.430: download - view: text, markup, annotated - select for diffs
Wed Feb 25 06:01:12 2004 UTC (6 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.429: preferred, colored
Changes since revision 1.429: +6 -3 lines
recovered an overkilled comment.
used sockaddr_in6{} passed to in6_selectroute for resetting cached destination.
(just to recover the original logic.  there should be no behavior change)

Revision 1.429: download - view: text, markup, annotated - select for diffs
Wed Feb 25 05:56:55 2004 UTC (6 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.428: preferred, colored
Changes since revision 1.428: +2 -2 lines
removed space chars in a blank line.

Revision 1.428: download - view: text, markup, annotated - select for diffs
Tue Feb 17 11:36:55 2004 UTC (6 years ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20040223, netbsd_snap_20040223, freebsd4_snap_20040223
Diff to: previous 1.427: preferred, colored
Changes since revision 1.427: +17 -10 lines
makes it compilable

Revision 1.427: download - view: text, markup, annotated - select for diffs
Fri Feb 13 02:52:10 2004 UTC (6 years, 1 month ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20040216, netbsd_snap_20040216, freebsd4_snap_20040216
Diff to: previous 1.426: preferred, colored
Changes since revision 1.426: +2 -1 lines
restructure of header files based on draft-ietf-mip6-mipext-advapi-00.

Revision 1.426: download - view: text, markup, annotated - select for diffs
Wed Feb 11 10:52:39 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.425: preferred, colored
Changes since revision 1.425: +2 -3 lines
knf

Revision 1.425: download - view: text, markup, annotated - select for diffs
Wed Feb 11 10:25:51 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.424: preferred, colored
Changes since revision 1.424: +1 -3 lines
missing in6_clearscope() for routing header type 1

Revision 1.424: download - view: text, markup, annotated - select for diffs
Tue Feb 10 12:02:41 2004 UTC (6 years, 1 month ago) by suz
Branches: MAIN
Diff to: previous 1.423: preferred, colored
Changes since revision 1.423: +46 -2 lines
embed if-index for link-local multicast addresses specified via socket-API

Revision 1.423: download - view: text, markup, annotated - select for diffs
Mon Feb 9 18:55:32 2004 UTC (6 years, 1 month ago) by t-momose
Branches: MAIN
Diff to: previous 1.422: preferred, colored
Changes since revision 1.422: +9 -3 lines
A parameter to specify a destination address for in6_selectsrc() and
in6_selectroute() is gotten back to sockaddr_in6 from in6_addr.
Confirmed on only freebsd4.

Revision 1.422: download - view: text, markup, annotated - select for diffs
Fri Feb 6 07:29:07 2004 UTC (6 years, 1 month ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20040209, netbsd_snap_20040209, freebsd4_snap_20040209
Diff to: previous 1.421: preferred, colored
Changes since revision 1.421: +13 -10 lines
makes MLDv2 compilable
(behavior is not confirmed yet...)

Revision 1.421: download - view: text, markup, annotated - select for diffs
Thu Feb 5 10:09:23 2004 UTC (6 years, 1 month ago) by suz
Branches: MAIN
Diff to: previous 1.420: preferred, colored
Changes since revision 1.420: +10 -10 lines
refines MLDv2-code for maintenance convenience
 - creates mldv2.c to concentrate almost all the MLDv2-related functions here
 - renamed MLDv2-ready in6_multi manupulation functions

Revision 1.420: download - view: text, markup, annotated - select for diffs
Wed Feb 4 09:13:55 2004 UTC (6 years, 1 month ago) by keiichi
Branches: MAIN
Diff to: previous 1.419: preferred, colored
Changes since revision 1.419: +2 -4 lines
don't lookup route when sending a multicast packet.

Revision 1.419: download - view: text, markup, annotated - select for diffs
Wed Feb 4 02:51:03 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.418: preferred, colored
Changes since revision 1.418: +2 -3 lines
KNF

Revision 1.418: download - view: text, markup, annotated - select for diffs
Tue Feb 3 08:42:29 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.417: preferred, colored
Changes since revision 1.417: +5 -2 lines
avoid -Wuninitialized

Revision 1.417: download - view: text, markup, annotated - select for diffs
Tue Feb 3 07:25:22 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.416: preferred, colored
Changes since revision 1.416: +46 -111 lines
move away from in6_{get,set}pktaddrs framework, go back to embedded
scopeid in s6_addr16[1].  this is to make *BSD merge easier.

TODO: check missing/removed scope border code
TODO: variable name re-sync w/ *BSD platforms
TODO: fix non-netbsd platforms
TODO: fix mip6, sctp, dccp, mldv2

Revision 1.416: download - view: text, markup, annotated - select for diffs
Mon Feb 2 13:16:19 2004 UTC (6 years, 1 month ago) by suz
Branches: MAIN
Diff to: previous 1.415: preferred, colored
Changes since revision 1.415: +47 -74 lines
sync with mldv2-20031021
	- prohibit improper MSF delta-API call
	  (BLOCK(S1,G1) when there is an empty source-list for G1,
	   UNBLOCK(S1,G1) when there is an empty block-source-list for G1)
	- express EXCLUDE{NULL} by 'i6ms_blknumsrc != 0', instead of 'i6ms_grpjoin'

Revision 1.415: download - view: text, markup, annotated - select for diffs
Thu Jan 22 23:23:42 2004 UTC (6 years, 1 month ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20040202, openbsd_snap_20040126, netbsd_snap_20040202, netbsd_snap_20040126, freebsd4_snap_20040202, freebsd4_snap_20040126
Diff to: previous 1.414: preferred, colored
Changes since revision 1.414: +6 -3 lines
fixed typo that collapsed MLDv2

Revision 1.414: download - view: text, markup, annotated - select for diffs
Tue Jan 20 00:14:43 2004 UTC (6 years, 1 month ago) by suz
Branches: MAIN
Diff to: previous 1.413: preferred, colored
Changes since revision 1.413: +3 -2 lines
fixed memory leak in MLDv2 MSF list

Revision 1.413: download - view: text, markup, annotated - select for diffs
Tue Jan 20 00:07:56 2004 UTC (6 years, 1 month ago) by suz
Branches: MAIN
Diff to: previous 1.412: preferred, colored
Changes since revision 1.412: +38 -10 lines
fixed a bug that group comparison sometimes fails in MLDv2, since multicast address in in6_multi contains port number

Revision 1.412: download - view: text, markup, annotated - select for diffs
Mon Jan 19 04:58:40 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.411: preferred, colored
Changes since revision 1.411: +9 -4 lines
correct previous commit; skip ipsec if IPV6_FORWARDING

Revision 1.411: download - view: text, markup, annotated - select for diffs
Mon Jan 19 04:56:15 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.410: preferred, colored
Changes since revision 1.410: +4 -2 lines
(non-openbsd) do not lookup security policy if IPV6_FORWARDING.
avoids infinite ipsec encapsulation on
	ip6_input -> ip6_forward -(tunnel mode)-> ip6_output
case.

Revision 1.410: download - view: text, markup, annotated - select for diffs
Fri Jan 9 11:05:26 2004 UTC (6 years, 2 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20040119, openbsd_snap_20040112, netbsd_snap_20040119, netbsd_snap_20040112, freebsd4_snap_20040119, freebsd4_snap_20040112
Diff to: previous 1.409: preferred, colored
Changes since revision 1.409: +1 -17 lines
removed unnecesarry structure members.

Revision 1.409: download - view: text, markup, annotated - select for diffs
Wed Dec 24 09:10:07 2003 UTC (6 years, 2 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20040105, openbsd_snap_20031229, netbsd_snap_20040105, netbsd_snap_20031229, freebsd4_snap_20040105, freebsd4_snap_20031229
Diff to: previous 1.408: preferred, colored
Changes since revision 1.408: +5 -5 lines
NULL is not equivalent to 0

Revision 1.408: download - view: text, markup, annotated - select for diffs
Tue Dec 16 10:44:15 2003 UTC (6 years, 2 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20031222, netbsd_snap_20031222, freebsd4_snap_20031222
Diff to: previous 1.407: preferred, colored
Changes since revision 1.407: +4 -4 lines
fixed typos

Revision 1.407: download - view: text, markup, annotated - select for diffs
Mon Dec 8 10:05:53 2003 UTC (6 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20031215, netbsd_snap_20031215, freebsd4_snap_20031215
Diff to: previous 1.406: preferred, colored
Changes since revision 1.406: +7 -7 lines
after the introduction of netbsd ifconfig create/delete, if_index can no longer
be used for bound checking due to the wrapping of if_index - we can only use
if_indexlim for bound check, and then check if ifindex2ifnet[x] is NULL or not.

TODO: check other OS (freebsd[45])

Revision 1.406: download - view: text, markup, annotated - select for diffs
Fri Dec 5 01:35:17 2003 UTC (6 years, 3 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20031208, netbsd_snap_20031208, freebsd4_snap_20031208
Diff to: previous 1.405: preferred, colored
Changes since revision 1.405: +12 -12 lines
draft-chakrabarti-mobileip-mipext-advapi-02 support.
not tested.

Revision 1.405: download - view: text, markup, annotated - select for diffs
Tue Nov 11 19:05:25 2003 UTC (6 years, 4 months ago) by keiichi
Branches: MAIN
CVS tags: netbsd_snap_20031201, netbsd_snap_20031124, netbsd_snap_20031117, freebsd4_snap_20031201, freebsd4_snap_20031124, freebsd4_snap_20031117
Diff to: previous 1.404: preferred, colored
Changes since revision 1.404: +2 -2 lines
changed mobility header protocol no. and MIP6 related ICMPv6 type no.
based on IANA assignment.

Revision 1.404: download - view: text, markup, annotated - select for diffs
Sun Nov 9 14:28:15 2003 UTC (6 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: netbsd_snap_20031110, freebsd4_snap_20031110
Diff to: previous 1.403: preferred, colored
Changes since revision 1.403: +12 -5 lines
arg to suser() have changed in openbsd 3.4

Revision 1.403: download - view: text, markup, annotated - select for diffs
Thu Nov 6 08:03:27 2003 UTC (6 years, 4 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.402: preferred, colored
Changes since revision 1.402: +2 -2 lines
wording and typo fix in comment lines

Revision 1.402: download - view: text, markup, annotated - select for diffs
Thu Nov 6 06:09:32 2003 UTC (6 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.401: preferred, colored
Changes since revision 1.401: +3 -3 lines
style

Revision 1.401: download - view: text, markup, annotated - select for diffs
Mon Nov 3 04:20:52 2003 UTC (6 years, 4 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.400: preferred, colored
Changes since revision 1.400: +64 -68 lines
always copy ip6_pktopt.  remove needcopy and needfree argument/structure member
accordingly.

Revision 1.400: download - view: text, markup, annotated - select for diffs
Sun Nov 2 23:04:02 2003 UTC (6 years, 4 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.399: preferred, colored
Changes since revision 1.399: +11 -11 lines
be consistent on naming advanced API functions; use ip6_XXXpktopt(s).

Revision 1.399: download - view: text, markup, annotated - select for diffs
Sun Sep 21 09:48:34 2003 UTC (6 years, 5 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20031103, openbsd_snap_20031027, openbsd_snap_20031020, openbsd_snap_20031013, openbsd_snap_20031006, openbsd_snap_20030929, openbsd_snap_20030922, netbsd_snap_20031103, netbsd_snap_20031027, netbsd_snap_20031020, netbsd_snap_20031013, netbsd_snap_20031006, netbsd_snap_20030929, netbsd_snap_20030922, freebsd4_snap_20031103, freebsd4_snap_20031027, freebsd4_snap_20031020, freebsd4_snap_20031013, freebsd4_snap_20031006, freebsd4_snap_20030929, freebsd4_snap_20030922, bsdi4_snap_20030929, bsdi4_snap_20030922
Diff to: previous 1.398: preferred, colored
Changes since revision 1.398: +10 -16 lines
simplified getsockopt(IPV6_PKTOPTIONS):
* RFC3542 (effectively) deprecated the
* semantics of the 2292-style pktoptions.
* Since it was not reliable in nature (i.e.,
* applications had to expect the lack of some
* information after all), it would make sense
* to simplify this part by always returning
* empty data.

Revision 1.398: download - view: text, markup, annotated - select for diffs
Wed Sep 10 08:10:55 2003 UTC (6 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20030915, netbsd_snap_20030915, freebsd4_snap_20030915, bsdi4_snap_20030915
Diff to: previous 1.397: preferred, colored
Changes since revision 1.397: +5 -12 lines
- remove a couple of NULL checks (should panic)
- DIAGNOSTIC is not for printf()
- IN6P_HOPOPTS should only be set on privileged in6p (ip6_output.c)
  so panic if mismatch happens
- ip6_savecontrol() argument is redundant

Revision 1.397: download - view: text, markup, annotated - select for diffs
Sat Sep 6 02:36:48 2003 UTC (6 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20030908, netbsd_snap_20030908, freebsd4_snap_20030908, bsdi4_snap_20030908
Diff to: previous 1.396: preferred, colored
Changes since revision 1.396: +2 -2 lines
randomize flowlabel/fragment ID.

Revision 1.396: download - view: text, markup, annotated - select for diffs
Fri Sep 5 23:17:04 2003 UTC (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.395: preferred, colored
Changes since revision 1.395: +3 -3 lines
u_short -> u_int16_t
don't set ip6_plen where unneeded (i.e. before calling ip6_output)

Revision 1.395: download - view: text, markup, annotated - select for diffs
Thu Sep 4 03:05:51 2003 UTC (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.394: preferred, colored
Changes since revision 1.394: +6 -2 lines
don't use m_cat to mbuf of different types.  KAME PR 495

Revision 1.394: download - view: text, markup, annotated - select for diffs
Tue Aug 26 20:00:06 2003 UTC (6 years, 6 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20030901, netbsd_snap_20030901, freebsd4_snap_20030901, bsdi4_snap_20030901
Diff to: previous 1.393: preferred, colored
Changes since revision 1.393: +1 -11 lines
removed an essentially unused variable.

Revision 1.393: download - view: text, markup, annotated - select for diffs
Tue Aug 26 19:46:12 2003 UTC (6 years, 6 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.392: preferred, colored
Changes since revision 1.392: +2 -2 lines
typo in a panic message.

Revision 1.392: download - view: text, markup, annotated - select for diffs
Sat Aug 9 17:06:40 2003 UTC (6 years, 7 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20030825, openbsd_snap_20030818, openbsd_snap_20030811, netbsd_snap_20030825, netbsd_snap_20030818, netbsd_snap_20030811, freebsd4_snap_20030825, freebsd4_snap_20030818, freebsd4_snap_20030811, bsdi4_snap_20030825, bsdi4_snap_20030818, bsdi4_snap_20030811
Diff to: previous 1.391: preferred, colored
Changes since revision 1.391: +2 -5 lines
- sync with Freebsd 5.1-RELEASE
- removed FreeBSD-specific ifdef for M_MOVE_PKTHDR(), since all *BSDs have M_MOVE_PKTHDR() now

Revision 1.391: download - view: text, markup, annotated - select for diffs
Tue Jul 29 08:08:48 2003 UTC (6 years, 7 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20030804, netbsd_snap_20030804, freebsd4_snap_20030804, bsdi4_snap_20030804
Diff to: previous 1.390: preferred, colored
Changes since revision 1.390: +2 -2 lines
typo.

Revision 1.390: download - view: text, markup, annotated - select for diffs
Mon Jul 28 11:58:13 2003 UTC (6 years, 7 months ago) by t-momose
Branches: MAIN
Diff to: previous 1.389: preferred, colored
Changes since revision 1.389: +9 -3 lines
CN or HA doesn't add type2 routing header to a Binding Acknowledgement
packte when a deregistration packet was issued on home link and the
deregistration was failed by some reasons.

Revision 1.389: download - view: text, markup, annotated - select for diffs
Thu Jul 10 05:53:06 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20030728, openbsd_snap_20030721, openbsd_snap_20030714, netbsd_snap_20030728, netbsd_snap_20030721, netbsd_snap_20030714, freebsd4_snap_20030728, freebsd4_snap_20030721, freebsd4_snap_20030714, bsdi4_snap_20030728, bsdi4_snap_20030721, bsdi4_snap_20030714
Diff to: previous 1.388: preferred, colored
Changes since revision 1.388: +2 -2 lines
comment wording.

Revision 1.388: download - view: text, markup, annotated - select for diffs
Thu Jul 10 05:49:53 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.387: preferred, colored
Changes since revision 1.387: +6 -7 lines
simplification.

Revision 1.387: download - view: text, markup, annotated - select for diffs
Tue Jul 1 05:59:18 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20030707, netbsd_snap_20030707, freebsd4_snap_20030707, bsdi4_snap_20030707
Diff to: previous 1.386: preferred, colored
Changes since revision 1.386: +5 -10 lines
put *bytag ipsec policy lookup into *byaddr, to keep consistency of lookup
ordering.

Revision 1.386: download - view: text, markup, annotated - select for diffs
Tue Jul 1 04:07:11 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.385: preferred, colored
Changes since revision 1.385: +1 -9 lines
do not require root privilege for getsockopt(IPV6_2292HOPOPTS or
IPV6_2292DSTOPTS) since these operations do not retrieve the actual header
values.

Revision 1.385: download - view: text, markup, annotated - select for diffs
Tue Jul 1 04:05:07 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.384: preferred, colored
Changes since revision 1.384: +2 -2 lines
comment wording

Revision 1.384: download - view: text, markup, annotated - select for diffs
Tue Jul 1 03:36:09 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.383: preferred, colored
Changes since revision 1.383: +1 -5 lines
a clean up; removed an unused macro definition.

Revision 1.383: download - view: text, markup, annotated - select for diffs
Tue Jul 1 02:56:54 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.382: preferred, colored
Changes since revision 1.382: +4 -2 lines
missing m_free in the previous change.

Revision 1.382: download - view: text, markup, annotated - select for diffs
Tue Jul 1 02:56:04 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.381: preferred, colored
Changes since revision 1.381: +3 -1 lines
correctly caught an error from sooptcopyin() in ip6_ctloutput().

Revision 1.381: download - view: text, markup, annotated - select for diffs
Tue Jul 1 02:54:28 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.380: preferred, colored
Changes since revision 1.380: +1 -3 lines
removed an (almost) unused variable.

Revision 1.380: download - view: text, markup, annotated - select for diffs
Mon Jun 30 05:39:29 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.379: preferred, colored
Changes since revision 1.379: +2 -2 lines
enable PF for freebsd4

Revision 1.379: download - view: text, markup, annotated - select for diffs
Fri Jun 27 04:53:04 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20030630, netbsd_snap_20030630, freebsd4_snap_20030630, bsdi4_snap_20030630
Diff to: previous 1.378: preferred, colored
Changes since revision 1.378: +10 -5 lines
underlying logic for looking up security policy by pf tag.

Revision 1.378: download - view: text, markup, annotated - select for diffs
Thu Jun 26 09:59:45 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.377: preferred, colored
Changes since revision 1.377: +7 -5 lines
cleanup for netbsd PF

Revision 1.377: download - view: text, markup, annotated - select for diffs
Thu Jun 26 07:34:23 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.376: preferred, colored
Changes since revision 1.376: +5 -3 lines
drop NEW_STRUCT_ROUTE for netbsd

Revision 1.376: download - view: text, markup, annotated - select for diffs
Fri Jun 20 15:29:05 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20030623, netbsd_snap_20030623, freebsd4_snap_20030623, bsdi4_snap_20030623
Diff to: previous 1.375: preferred, colored
Changes since revision 1.375: +1 -4 lines
nuke IPV6_REACHCONF

Revision 1.375: download - view: text, markup, annotated - select for diffs
Fri Jun 20 12:54:43 2003 UTC (6 years, 8 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.374: preferred, colored
Changes since revision 1.374: +3 -1 lines
IPV6_REACHCONF is obsoleted.

Revision 1.374: download - view: text, markup, annotated - select for diffs
Thu Jun 19 07:56:23 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.373: preferred, colored
Changes since revision 1.373: +5 -6 lines
editorial cleanups wrt adv API;
  - replaced rfc2292bis-xx with RFC 3542 if it was referred to a particular I-D
    name.
  - revised a stale statement

Revision 1.373: download - view: text, markup, annotated - select for diffs
Thu Jun 19 07:48:44 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.372: preferred, colored
Changes since revision 1.372: +2 -31 lines
deprecated IPV6_REACHCONF.

Revision 1.372: download - view: text, markup, annotated - select for diffs
Tue Jun 17 11:11:15 2003 UTC (6 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.371: preferred, colored
Changes since revision 1.371: +1 -2 lines
style; removed an empty comment line.

Revision 1.371: download - view: text, markup, annotated - select for diffs
Tue Jun 10 05:06:00 2003 UTC (6 years, 9 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20030616, netbsd_snap_20030616, freebsd4_snap_20030616, bsdi4_snap_20030616
Diff to: previous 1.370: preferred, colored
Changes since revision 1.370: +2 -1 lines
- ip6_setmoptions()
  clear the embedded scope id of a multicast link-local address
  before inserting it to the multicast membership list.

Revision 1.370: download - view: text, markup, annotated - select for diffs
Fri Jun 6 06:36:05 2003 UTC (6 years, 9 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20030609, netbsd_snap_20030609, freebsd4_snap_20030609, bsdi4_snap_20030609
Diff to: previous 1.369: preferred, colored
Changes since revision 1.369: +2 -6 lines
removed a meaningless code fragment.

Revision 1.369: download - view: text, markup, annotated - select for diffs
Fri Jun 6 05:57:11 2003 UTC (6 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.368: preferred, colored
Changes since revision 1.368: +3 -3 lines
use array index for readability

Revision 1.368: download - view: text, markup, annotated - select for diffs
Tue Jun 3 11:17:20 2003 UTC (6 years, 9 months ago) by suz
Branches: MAIN
Diff to: previous 1.367: preferred, colored
Changes since revision 1.367: +2 -2 lines
use 'struct route_in6' if NEW_STRUCTROUTE is disabled

Revision 1.367: download - view: text, markup, annotated - select for diffs
Fri May 9 08:40:56 2003 UTC (6 years, 10 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20030602, openbsd_snap_20030526, netbsd_snap_20030602, netbsd_snap_20030526, freebsd4_snap_20030602, freebsd4_snap_20030526, bsdi4_snap_20030602, bsdi4_snap_20030526
Diff to: previous 1.366: preferred, colored
Changes since revision 1.366: +32 -1 lines
loosened INRIA's MLDv2 copyright

Obtained from: Hitoshi Asaeda

Revision 1.366: download - view: text, markup, annotated - select for diffs
Mon Apr 28 06:38:03 2003 UTC (6 years, 10 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20030505, netbsd_snap_20030505, freebsd4_snap_20030505, bsdi4_snap_20030505
Diff to: previous 1.365: preferred, colored
Changes since revision 1.365: +6 -5 lines
answers to MLD query for link-local multicast group address.
(stopped embedding the ifindex of group address in struct in6_multi)

Reported by: Kentaro Ohara <Kentarou.Oohara@jp.yokogawa.com>
(users@jp.ipv6.org #3055)

Revision 1.365: download - view: text, markup, annotated - select for diffs
Wed Apr 23 09:15:50 2003 UTC (6 years, 10 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20030428, netbsd_snap_20030428, freebsd4_snap_20030428, bsdi4_snap_20030428
Diff to: previous 1.364: preferred, colored
Changes since revision 1.364: +8 -4 lines
- restructured mip6 code.
  divided cn/ha/mn part to separate files.  this makes it easier to
  merge a paticular part (ex. CN) to original BSD or to integrate
  a paticular part (ex. HA) to routers.

Revision 1.364: download - view: text, markup, annotated - select for diffs
Wed Apr 9 09:28:19 2003 UTC (6 years, 11 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20030421, openbsd_snap_20030414, netbsd_snap_20030421, netbsd_snap_20030414, freebsd4_snap_20030421, freebsd4_snap_20030414, bsdi4_snap_20030421, bsdi4_snap_20030414
Diff to: previous 1.363: preferred, colored
Changes since revision 1.363: +3 -3 lines
makes it compilable on freebsd-4.8

Revision 1.363: download - view: text, markup, annotated - select for diffs
Wed Apr 2 10:18:32 2003 UTC (6 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20030407, netbsd_snap_20030407, freebsd4_snap_20030407, bsdi4_snap_20030407
Diff to: previous 1.362: preferred, colored
Changes since revision 1.362: +1 -2 lines
remove "m->m_flags &= ~M_PKTHDR" when m becomes an intermediate mbuf in a
mbuf chain.  it is safer this way.

Revision 1.362: download - view: text, markup, annotated - select for diffs
Fri Feb 28 10:25:14 2003 UTC (7 years ago) by k-sugyou
Branches: MAIN
CVS tags: openbsd_snap_20030331, openbsd_snap_20030324, openbsd_snap_20030317, openbsd_snap_20030310, openbsd_snap_20030303, netbsd_snap_20030331, netbsd_snap_20030324, netbsd_snap_20030317, netbsd_snap_20030310, netbsd_snap_20030303, freebsd4_snap_20030331, freebsd4_snap_20030324, freebsd4_snap_20030317, freebsd4_snap_20030310, freebsd4_snap_20030303, bsdi4_snap_20030331, bsdi4_snap_20030324, bsdi4_snap_20030317, bsdi4_snap_20030310, bsdi4_snap_20030303
Diff to: previous 1.361: preferred, colored
Changes since revision 1.361: +11 -11 lines
fixed a panic, useing IKE w/ ipsec tunnel

Revision 1.361: download - view: text, markup, annotated - select for diffs
Wed Feb 19 03:19:16 2003 UTC (7 years ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20030224, netbsd_snap_20030224, freebsd4_snap_20030224, bsdi4_snap_20030224
Diff to: previous 1.360: preferred, colored
Changes since revision 1.360: +2 -2 lines
- introduced M_MOVE_PKTHDR to netbsd.
  TODO: freebsd5

Revision 1.360: download - view: text, markup, annotated - select for diffs
Tue Feb 18 14:24:32 2003 UTC (7 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.359: preferred, colored
Changes since revision 1.359: +2 -2 lines
use M_MOVE_PKTHDR instead of M_COPY_PKTHDR when appropriate, in order to
avoid mtag leakage.
(this is an emergent fix.  we may need to change more.)

Revision 1.359: download - view: text, markup, annotated - select for diffs
Thu Feb 13 17:50:47 2003 UTC (7 years ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20030217, netbsd_snap_20030217, freebsd4_snap_20030217, bsdi4_snap_20030217
Diff to: previous 1.358: preferred, colored
Changes since revision 1.358: +11 -1 lines
- update src_sa and dst_sa after calling ipsec6_output_tunnel() which
  may change the src/dst addresses of a mbuf.
  because src_sa and dst_sa are not pointers, they do not point correct
  information automatically.

Revision 1.358: download - view: text, markup, annotated - select for diffs
Fri Feb 7 10:17:09 2003 UTC (7 years, 1 month ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20030210, netbsd_snap_20030210, freebsd4_snap_20030210, bsdi4_snap_20030210
Diff to: previous 1.357: preferred, colored
Changes since revision 1.357: +42 -1 lines
makes it compilable on freebsd5, too

Revision 1.357: download - view: text, markup, annotated - select for diffs
Fri Feb 7 09:34:38 2003 UTC (7 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.356: preferred, colored
Changes since revision 1.356: +18 -18 lines
changed 2nd and 3rd argument of ip6_getpktaddrs() from sockaddr_in6 **
to sockaddr_in6 * in order to avoid sharing a pointer in an mbuf.

changes for *bsd-specific files will follow.

looks okay for freebsd4.  will compilation check for others.

Revision 1.356: download - view: text, markup, annotated - select for diffs
Wed Feb 5 01:29:03 2003 UTC (7 years, 1 month ago) by keiichi
Branches: MAIN
Diff to: previous 1.355: preferred, colored
Changes since revision 1.355: +1 -10 lines
- fixed m_copy() behavior of freebsd as openbsd/netbsd do.
  mtags are copyed back from the copied packet to the original packet.
  it is not necessary to copy ip6aux manually after m_copy() any more.

Revision 1.355: download - view: text, markup, annotated - select for diffs
Thu Jan 23 09:15:09 2003 UTC (7 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20030203, openbsd_snap_20030127, netbsd_snap_20030203, netbsd_snap_20030127, freebsd4_snap_20030203, freebsd4_snap_20030127, bsdi4_snap_20030203, bsdi4_snap_20030127
Diff to: previous 1.354: preferred, colored
Changes since revision 1.354: +2 -2 lines
comment wording

Revision 1.354: download - view: text, markup, annotated - select for diffs
Thu Jan 23 09:05:10 2003 UTC (7 years, 1 month ago) by keiichi
Branches: MAIN
Diff to: previous 1.353: preferred, colored
Changes since revision 1.353: +10 -1 lines
- do not move mtags when copying mbuf in ip6_mloopback().  the aux
  information stored in the tags may be needed in the later process of
  the output routine.  the copied mbuf doesn't need the aux infomation
  because the packet is just passed to looutput() at the end of the
  ip6_mloopback().

Revision 1.353: download - view: text, markup, annotated - select for diffs
Tue Jan 21 06:33:04 2003 UTC (7 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.352: preferred, colored
Changes since revision 1.352: +5 -12 lines
transition from m_aux framework to m_tag framework.
XXX freebsd4/bsdi3 won't compile for a while

Revision 1.352: download - view: text, markup, annotated - select for diffs
Tue Dec 10 09:35:38 2002 UTC (7 years, 3 months ago) by k-sugyou
Branches: MAIN
CVS tags: openbsd_snap_20030120, openbsd_snap_20030113, openbsd_snap_20030106, openbsd_snap_20021230, openbsd_snap_20021223, openbsd_snap_20021216, netbsd_snap_20030120, netbsd_snap_20030113, netbsd_snap_20030106, netbsd_snap_20021230, netbsd_snap_20021223, netbsd_snap_20021216, freebsd4_snap_20030120, freebsd4_snap_20030113, freebsd4_snap_20030106, freebsd4_snap_20021230, freebsd4_snap_20021223, freebsd4_snap_20021216, bsdi4_snap_20030120, bsdi4_snap_20030113, bsdi4_snap_20030106, bsdi4_snap_20021230, bsdi4_snap_20021223, bsdi4_snap_20021216
Diff to: previous 1.351: preferred, colored
Changes since revision 1.351: +7 -23 lines
MIP6: remove mip6_ip6route

Revision 1.351: download - view: text, markup, annotated - select for diffs
Wed Nov 27 12:13:57 2002 UTC (7 years, 3 months ago) by k-sugyou
Branches: MAIN
CVS tags: openbsd_snap_20021209, openbsd_snap_20021202, netbsd_snap_20021209, netbsd_snap_20021202, freebsd4_snap_20021209, freebsd4_snap_20021202, bsdi4_snap_20021209, bsdi4_snap_20021202
Diff to: previous 1.350: preferred, colored
Changes since revision 1.350: +5 -7 lines
MIP6: correct ordering rules for rthdr2

Revision 1.350: download - view: text, markup, annotated - select for diffs
Tue Nov 19 19:02:02 2002 UTC (7 years, 3 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20021125, netbsd_snap_20021125, freebsd4_snap_20021125, bsdi4_snap_20021125
Diff to: previous 1.349: preferred, colored
Changes since revision 1.349: +5 -5 lines
comment wording

Revision 1.349: download - view: text, markup, annotated - select for diffs
Thu Nov 14 03:17:39 2002 UTC (7 years, 3 months ago) by k-sugyou
Branches: MAIN
CVS tags: openbsd_snap_20021118, netbsd_snap_20021118, freebsd4_snap_20021118, bsdi4_snap_20021118
Diff to: previous 1.348: preferred, colored
Changes since revision 1.348: +11 -2 lines
MIP6: fix a memory leak and mip6 route cache

Revision 1.348: download - view: text, markup, annotated - select for diffs
Wed Nov 6 08:27:46 2002 UTC (7 years, 4 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20021111, netbsd_snap_20021111, freebsd4_snap_20021111, bsdi4_snap_20021111
Diff to: previous 1.347: preferred, colored
Changes since revision 1.347: +6 -6 lines
uses 'struct sockaddr_storage' to prevent compilation warning and unexpected buffer overrun

Revision 1.347: download - view: text, markup, annotated - select for diffs
Tue Nov 5 03:48:32 2002 UTC (7 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.346: preferred, colored
Changes since revision 1.346: +6 -6 lines
add CONSTCOND to while (0)

Revision 1.346: download - view: text, markup, annotated - select for diffs
Mon Nov 4 07:10:09 2002 UTC (7 years, 4 months ago) by suz
Branches: MAIN
Diff to: previous 1.345: preferred, colored
Changes since revision 1.345: +1 -3 lines
removed redundant code

Revision 1.345: download - view: text, markup, annotated - select for diffs
Fri Nov 1 11:09:51 2002 UTC (7 years, 4 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20021104, netbsd_snap_20021104, freebsd4_snap_20021104, bsdi4_snap_20021104
Diff to: previous 1.344: preferred, colored
Changes since revision 1.344: +3 -15 lines
- changed mobility header formats to those of id-19.

Revision 1.344: download - view: text, markup, annotated - select for diffs
Thu Oct 31 11:25:44 2002 UTC (7 years, 4 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.343: preferred, colored
Changes since revision 1.343: +7 -6 lines
- plugged memory leakage in some erroneous cases
  (from Sam Leffler)
- removed a noisy log

Revision 1.343: download - view: text, markup, annotated - select for diffs
Tue Oct 22 01:58:06 2002 UTC (7 years, 4 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20021028, netbsd_snap_20021028, freebsd4_snap_20021028, bsdi4_snap_20021028
Diff to: previous 1.342: preferred, colored
Changes since revision 1.342: +5 -5 lines
fixed a kernel crash occurring when specifying multiple source addresses in MLDv2-related API

Revision 1.342: download - view: text, markup, annotated - select for diffs
Thu Oct 10 06:19:58 2002 UTC (7 years, 5 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20021021, openbsd_snap_20021014, netbsd_snap_20021021, netbsd_snap_20021014, freebsd4_snap_20021021, freebsd4_snap_20021014, bsdi4_snap_20021021, bsdi4_snap_20021014
Diff to: previous 1.341: preferred, colored
Changes since revision 1.341: +2 -2 lines
panic() doesn't need \n

Revision 1.341: download - view: text, markup, annotated - select for diffs
Thu Oct 10 05:36:22 2002 UTC (7 years, 5 months ago) by suz
Branches: MAIN
Diff to: previous 1.340: preferred, colored
Changes since revision 1.340: +46 -39 lines
introduced a local variable to refine code

Revision 1.340: download - view: text, markup, annotated - select for diffs
Wed Oct 9 12:14:25 2002 UTC (7 years, 5 months ago) by suz
Branches: MAIN
Diff to: previous 1.339: preferred, colored
Changes since revision 1.339: +2 -2 lines
s/igmp/mld/

Revision 1.339: download - view: text, markup, annotated - select for diffs
Fri Oct 4 12:00:44 2002 UTC (7 years, 5 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20021007, netbsd_snap_20021007, freebsd4_snap_20021007, bsdi4_snap_20021007
Diff to: previous 1.338: preferred, colored
Changes since revision 1.338: +1 -2 lines
removed a duplicated include file

Revision 1.338: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:27:23 2002 UTC (7 years, 5 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20020930, netbsd_snap_20020930, freebsd4_snap_20020930, bsdi4_snap_20020930
Diff to: previous 1.337: preferred, colored
Changes since revision 1.337: +3 -1 lines
make it compile without MIP6

Revision 1.337: download - view: text, markup, annotated - select for diffs
Fri Sep 27 09:21:24 2002 UTC (7 years, 5 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.336: preferred, colored
Changes since revision 1.336: +16 -2 lines
- MIP6: XXX do not check inbound policy if nxthop of rthdr is me.

Revision 1.336: download - view: text, markup, annotated - select for diffs
Wed Sep 25 13:18:23 2002 UTC (7 years, 5 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.335: preferred, colored
Changes since revision 1.335: +3 -3 lines
- always uses a source address of a binding update as a destination address
  of a binding ack (not using existing binding cache entry) so that
  the binding ack can be delivered to the correct location.

Revision 1.335: download - view: text, markup, annotated - select for diffs
Wed Sep 25 11:41:24 2002 UTC (7 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.334: preferred, colored
Changes since revision 1.334: +11 -20 lines
sync w/ 1.6.  GENERIC.KAME/i386 compiles, not tested.
- NATPT and IP6FW support were dropped (you can use ipfilter).
- altq, ecn, RTF_CACHE, SCOPEDROUTING need checking

Revision 1.334: download - view: text, markup, annotated - select for diffs
Mon Sep 23 13:20:28 2002 UTC (7 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.333: preferred, colored
Changes since revision 1.333: +2 -2 lines
padding length before jumbo payload option need to be "0".

Revision 1.333: download - view: text, markup, annotated - select for diffs
Tue Sep 17 05:56:52 2002 UTC (7 years, 5 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20020923, netbsd_snap_20020923, freebsd4_snap_20020923, bsdi4_snap_20020923
Diff to: previous 1.332: preferred, colored
Changes since revision 1.332: +9 -2 lines
- we can't use an ipsec tunnel mode if an outgoing packet has a home
address destination option.

Revision 1.332: download - view: text, markup, annotated - select for diffs
Wed Sep 11 03:46:47 2002 UTC (7 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20020916, netbsd_snap_20020916, freebsd4_snap_20020916, bsdi4_snap_20020916
Diff to: previous 1.331: preferred, colored
Changes since revision 1.331: +2 -2 lines
typo

Revision 1.331: download - view: text, markup, annotated - select for diffs
Wed Sep 11 02:40:48 2002 UTC (7 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.330: preferred, colored
Changes since revision 1.330: +5 -5 lines
correct signedness mixup in pointer passing.

Revision 1.330: download - view: text, markup, annotated - select for diffs
Wed Sep 11 02:34:17 2002 UTC (7 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.329: preferred, colored
Changes since revision 1.329: +87 -87 lines
KNF - return is not a function.

Revision 1.329: download - view: text, markup, annotated - select for diffs
Tue Sep 10 11:14:49 2002 UTC (7 years, 6 months ago) by suz
Branches: MAIN
Diff to: previous 1.328: preferred, colored
Changes since revision 1.328: +2 -5 lines
fixed a kernel-hangup with MLDV2 option, when an IPv6 prefix is removed

Revision 1.328: download - view: text, markup, annotated - select for diffs
Fri Sep 6 10:27:54 2002 UTC (7 years, 6 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20020909, netbsd_snap_20020909, freebsd4_snap_20020909, bsdi4_snap_20020909
Diff to: previous 1.327: preferred, colored
Changes since revision 1.327: +4 -4 lines
remove whitespace in empty line

Revision 1.327: download - view: text, markup, annotated - select for diffs
Fri Sep 6 05:50:41 2002 UTC (7 years, 6 months ago) by sakane
Branches: MAIN
Diff to: previous 1.326: preferred, colored
Changes since revision 1.326: +5 -1 lines
fixed the getsockopt function.

Revision 1.326: download - view: text, markup, annotated - select for diffs
Thu Sep 5 11:13:19 2002 UTC (7 years, 6 months ago) by k-sugyou
Branches: MAIN
Diff to: previous 1.325: preferred, colored
Changes since revision 1.325: +2 -3 lines
need for ip6_setpktaddr on frament packets(use ip6_getpktaddr in nd6_ns_output)

Revision 1.325: download - view: text, markup, annotated - select for diffs
Thu Sep 5 08:09:37 2002 UTC (7 years, 6 months ago) by suz
Branches: MAIN
Diff to: previous 1.324: preferred, colored
Changes since revision 1.324: +611 -4 lines
MLDv2 host-side implementation for NetBSD and FreeBSD-4,
based on draft-vida-mld-v2-03.txt.

ToDo: porting to OpenBSD & BSDI4, much more test

Revision 1.324: download - view: text, markup, annotated - select for diffs
Tue Aug 27 06:18:56 2002 UTC (7 years, 6 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20020902, netbsd_snap_20020902, freebsd4_snap_20020902, bsdi4_snap_20020902
Diff to: previous 1.323: preferred, colored
Changes since revision 1.323: +2 -1 lines
forgot to increment some mip6 stat values.

Revision 1.323: download - view: text, markup, annotated - select for diffs
Mon Aug 26 14:26:59 2002 UTC (7 years, 6 months ago) by t-momose
Branches: MAIN
Diff to: previous 1.322: preferred, colored
Changes since revision 1.322: +2 -2 lines
Initialize ip6 with mtod() outside of #ifdef IPSEC

Revision 1.322: download - view: text, markup, annotated - select for diffs
Tue Aug 6 11:00:54 2002 UTC (7 years, 7 months ago) by k-sugyou
Branches: MAIN
CVS tags: openbsd_snap_20020826, openbsd_snap_20020819, openbsd_snap_20020812, netbsd_snap_20020826, netbsd_snap_20020819, netbsd_snap_20020812, freebsd4_snap_20020826, freebsd4_snap_20020819, freebsd4_snap_20020812, bsdi4_snap_20020826, bsdi4_snap_20020819, bsdi4_snap_20020812
Diff to: previous 1.321: preferred, colored
Changes since revision 1.321: +9 -2 lines
MIP6: fix bug a HAO and not work frag. packet. discard mh->pproto != NONE

Revision 1.321: download - view: text, markup, annotated - select for diffs
Wed Jul 31 10:21:48 2002 UTC (7 years, 7 months ago) by k-sugyou
Branches: MAIN
CVS tags: openbsd_snap_20020805, netbsd_snap_20020805, freebsd4_snap_20020805, bsdi4_snap_20020805
Diff to: previous 1.320: preferred, colored
Changes since revision 1.320: +3 -3 lines
initialize finaldst_sa

Revision 1.320: download - view: text, markup, annotated - select for diffs
Wed Jul 31 06:31:50 2002 UTC (7 years, 7 months ago) by k-sugyou
Branches: MAIN
Diff to: previous 1.319: preferred, colored
Changes since revision 1.319: +1 -4 lines
MIP6: duplicated call mip6_destopt_discard()

Revision 1.319: download - view: text, markup, annotated - select for diffs
Tue Jul 30 04:41:35 2002 UTC (7 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.318: preferred, colored
Changes since revision 1.318: +30 -6 lines
added a new socket option/cmsg type "IPV6_PREFER_TEMPADDR" to control
source address selection wrt temporary addresses per socket/packet.

Revision 1.318: download - view: text, markup, annotated - select for diffs
Thu Jul 25 08:42:15 2002 UTC (7 years, 7 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20020729, netbsd_snap_20020729, freebsd4_snap_20020729, bsdi4_snap_20020729
Diff to: previous 1.317: preferred, colored
Changes since revision 1.317: +7 -1 lines
- fbsd/430
  set INP_IPV4 flag in a PCB when IPV6_V6ONLY=0 is specified by setsockopt,
  also, reset INP_IPV4 flag in a PCB when IPV6_V6ONLY=1 is specified.
  we should reconsider the logic around here.  This is too complex, isnt' it?

Revision 1.317: download - view: text, markup, annotated - select for diffs
Tue Jun 25 10:07:02 2002 UTC (7 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20020722, openbsd_snap_20020715, openbsd_snap_20020708, openbsd_snap_20020701, netbsd_snap_20020722, netbsd_snap_20020715, netbsd_snap_20020708, netbsd_snap_20020701, freebsd4_snap_20020722, freebsd4_snap_20020715, freebsd4_snap_20020708, freebsd4_snap_20020701, bsdi4_snap_20020722, bsdi4_snap_20020715, bsdi4_snap_20020708, bsdi4_snap_20020701
Diff to: previous 1.316: preferred, colored
Changes since revision 1.316: +29 -26 lines
ip6_pktopt controls original IPv6 header, not the outer IPv6 header on IPsec
tunnel case.

Revision 1.316: download - view: text, markup, annotated - select for diffs
Mon Jun 24 10:50:33 2002 UTC (7 years, 8 months ago) by k-sugyou
Branches: MAIN
Diff to: previous 1.315: preferred, colored
Changes since revision 1.315: +12 -22 lines
MIP6: eps protection of BU to home agent

Revision 1.315: download - view: text, markup, annotated - select for diffs
Tue Jun 18 06:02:05 2002 UTC (7 years, 8 months ago) by k-sugyou
Branches: MAIN
CVS tags: openbsd_snap_20020624, netbsd_snap_20020624, freebsd4_snap_20020624, bsdi4_snap_20020624
Diff to: previous 1.314: preferred, colored
Changes since revision 1.314: +15 -3 lines
MIP6: add MAKE_MOBILITYHDR macro, change BA padding

Revision 1.314: download - view: text, markup, annotated - select for diffs
Mon Jun 17 08:43:07 2002 UTC (7 years, 8 months ago) by k-sugyou
Branches: MAIN
Diff to: previous 1.313: preferred, colored
Changes since revision 1.313: +7 -1 lines
MIP6:
-mip6 tunnel and framgent problem
-bug fix proxy ND(not work unicast NS)

Revision 1.313: download - view: text, markup, annotated - select for diffs
Sun Jun 9 16:16:00 2002 UTC (7 years, 9 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20020617, openbsd_snap_20020610, netbsd_snap_20020617, netbsd_snap_20020610, freebsd4_snap_20020617, freebsd4_snap_20020610, bsdi4_snap_20020617, bsdi4_snap_20020610
Diff to: previous 1.312: preferred, colored
Changes since revision 1.312: +12 -2 lines
- sync with my working directory for other mip6 developer's convenience.
- add MN state machine (partially), now MN sends BU to CNs.
- no CN code yet.

Revision 1.312: download - view: text, markup, annotated - select for diffs
Sun Jun 9 14:44:00 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.311: preferred, colored
Changes since revision 1.311: +15 -15 lines
whitespace cleanup

Revision 1.311: download - view: text, markup, annotated - select for diffs
Fri Jun 7 21:23:51 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.310: preferred, colored
Changes since revision 1.310: +2 -1 lines
whitespace

Revision 1.310: download - view: text, markup, annotated - select for diffs
Fri Jun 7 21:23:18 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.309: preferred, colored
Changes since revision 1.309: +2 -1 lines
correct IPV6_CHECKSUM (noone is using it?)

Revision 1.309: download - view: text, markup, annotated - select for diffs
Fri Jun 7 20:48:43 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.308: preferred, colored
Changes since revision 1.308: +2 -2 lines
KNF for merge

Revision 1.308: download - view: text, markup, annotated - select for diffs
Fri Jun 7 14:28:33 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.307: preferred, colored
Changes since revision 1.307: +9 -9 lines
more KNF

Revision 1.307: download - view: text, markup, annotated - select for diffs
Fri Jun 7 14:14:42 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.306: preferred, colored
Changes since revision 1.306: +65 -78 lines
KNF for merge

Revision 1.306: download - view: text, markup, annotated - select for diffs
Fri Jun 7 04:09:10 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.305: preferred, colored
Changes since revision 1.305: +5 -5 lines
'fall through' is not a valid LINT keyword.

Revision 1.305: download - view: text, markup, annotated - select for diffs
Fri May 31 04:20:15 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20020603, netbsd_snap_20020603, freebsd4_snap_20020603, bsdi4_snap_20020603
Diff to: previous 1.304: preferred, colored
Changes since revision 1.304: +1 -4 lines
remove obsolete comment

Revision 1.304: download - view: text, markup, annotated - select for diffs
Fri May 31 04:11:32 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.303: preferred, colored
Changes since revision 1.303: +72 -24 lines
implement RFC2460 section 5, last paragraph (ICMPv6 too big with < 1280).
need testing

Revision 1.303: download - view: text, markup, annotated - select for diffs
Fri May 31 03:21:28 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.302: preferred, colored
Changes since revision 1.302: +5 -5 lines
do not update rmx_mtu if it is 0 (obey ifmtu)

Revision 1.302: download - view: text, markup, annotated - select for diffs
Fri May 31 03:10:39 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.301: preferred, colored
Changes since revision 1.301: +3 -22 lines
remove IFF_FRAGMENTABLE for now

Revision 1.301: download - view: text, markup, annotated - select for diffs
Wed May 29 04:42:18 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.300: preferred, colored
Changes since revision 1.300: +6 -7 lines
KNF

Revision 1.300: download - view: text, markup, annotated - select for diffs
Wed May 29 03:27:03 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.299: preferred, colored
Changes since revision 1.299: +6 -6 lines
bad indent

Revision 1.299: download - view: text, markup, annotated - select for diffs
Fri May 24 12:32:51 2002 UTC (7 years, 9 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20020527, netbsd_snap_20020527, freebsd4_snap_20020527, bsdi4_snap_20020527
Diff to: previous 1.298: preferred, colored
Changes since revision 1.298: +42 -34 lines
- a type 2 routing header output processing.

Revision 1.298: download - view: text, markup, annotated - select for diffs
Tue May 14 13:31:34 2002 UTC (7 years, 10 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20020520, netbsd_snap_20020520, freebsd4_snap_20020520, bsdi4_snap_20020520
Diff to: previous 1.297: preferred, colored
Changes since revision 1.297: +43 -7 lines
- the first step for mip6 id17 support.
  this commit is for the KAME mip6 developpers.  do not try to use this.

Revision 1.297: download - view: text, markup, annotated - select for diffs
Mon Apr 22 12:03:02 2002 UTC (7 years, 10 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020513, openbsd_snap_20020506, openbsd_snap_20020429, netbsd_snap_20020513, netbsd_snap_20020506, netbsd_snap_20020429, freebsd4_snap_20020513, freebsd4_snap_20020506, freebsd4_snap_20020429, bsdi4_snap_20020513, bsdi4_snap_20020506, bsdi4_snap_20020429
Diff to: previous 1.296: preferred, colored
Changes since revision 1.296: +4 -4 lines
do not synchronize an ND link MTU with the corresponding physical link MTU.
instead, when detecting the link's "real" MTU always consider those two values
and take the smaller one.
introduced a macro IN6_LINKMTU(ifp) for this purpose.

Revision 1.296: download - view: text, markup, annotated - select for diffs
Fri Apr 19 07:30:00 2002 UTC (7 years, 10 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020422, netbsd_snap_20020422, freebsd4_snap_20020422, bsdi4_snap_20020422
Diff to: previous 1.295: preferred, colored
Changes since revision 1.295: +48 -39 lines
changed the semantics of IPV6_USE_MIN_MTU based on discussions in the ipv6 wg
ML;
by default, unicast packets will follow path MTU while multicast packets
will be sent at the minimum MTU.  If IP6PO_MINMTU_ALL is specified, all packets
including unicast ones will be sent at the minimum MTU.  Multicast
packets will always be sent at the minimum MTU unless IP6PO_MINMTU_DISABLE
is explicitly specified.

this semantics will be described in forthcoming rfc2292bis-07.

with this change, the corresponding value ip6_pktopts{} is no longer a flag,
and the macro value IP6PO_MINMTU was obsoleted.

Revision 1.295: download - view: text, markup, annotated - select for diffs
Fri Apr 12 14:59:40 2002 UTC (7 years, 11 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020415, netbsd_snap_20020415, freebsd4_snap_20020415, bsdi4_snap_20020415
Diff to: previous 1.294: preferred, colored
Changes since revision 1.294: +2 -2 lines
use RTUSE whenever defined.

Revision 1.294: download - view: text, markup, annotated - select for diffs
Fri Apr 12 05:11:46 2002 UTC (7 years, 11 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.293: preferred, colored
Changes since revision 1.293: +3 -2 lines
use nd_ifinfo[].linkmtu instead of ifp->if_mtu to handle link MTU issues
wrt IPv6, whenever possible.

Revision 1.293: download - view: text, markup, annotated - select for diffs
Tue Apr 9 15:21:53 2002 UTC (7 years, 11 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.292: preferred, colored
Changes since revision 1.292: +5 -1 lines
when using a route entry, increment statistics members.

Revision 1.292: download - view: text, markup, annotated - select for diffs
Mon Apr 8 08:14:41 2002 UTC (7 years, 11 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.291: preferred, colored
Changes since revision 1.291: +5 -2 lines
revived a part of code that handled the RTV_MTU flag of rtentries so that
use would be able to disable path MTU discovery for particular destinations
(paths) by hand.

Revision 1.291: download - view: text, markup, annotated - select for diffs
Sat Apr 6 11:26:21 2002 UTC (7 years, 11 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020408, netbsd_snap_20020408, freebsd4_snap_20020408, bsdi4_snap_20020408
Diff to: previous 1.290: preferred, colored
Changes since revision 1.290: +2 -3 lines
revised the case that the reported path MTU is less than the minimum
MTU (1280);
just use the minimum MTU instead of the reported one.
from now on, the RTV_MTU flag will never be used for IPv6 routes.

Revision 1.290: download - view: text, markup, annotated - select for diffs
Sun Mar 17 19:48:19 2002 UTC (7 years, 11 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020401, openbsd_snap_20020325, openbsd_snap_20020318, netbsd_snap_20020401, netbsd_snap_20020325, netbsd_snap_20020318, freebsd4_snap_20020401, freebsd4_snap_20020325, freebsd4_snap_20020318, bsdi4_snap_20020401, bsdi4_snap_20020325, bsdi4_snap_20020318, bsdi3_snap_20020325, bsdi3_snap_20020318
Diff to: previous 1.289: preferred, colored
Changes since revision 1.289: +2 -2 lines
do not updated the "dst" address, which was the next-hop address,
for multicast destinations.

Revision 1.289: download - view: text, markup, annotated - select for diffs
Sat Mar 2 09:56:16 2002 UTC (8 years ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020311, openbsd_snap_20020304, netbsd_snap_20020311, netbsd_snap_20020304, freebsd4_snap_20020311, freebsd4_snap_20020304, bsdi4_snap_20020311, bsdi4_snap_20020304, bsdi3_snap_20020311, bsdi3_snap_20020304
Diff to: previous 1.288: preferred, colored
Changes since revision 1.288: +61 -29 lines
- applied recent clarifications in rfc2292bis
  + ignore IPV6_DONTFRAG and IPV6_RECVPATHMTU for TCP sockets
  + disallowed to set non-unspecified address by IPV6_PKTINFO for TCP sockets
- corrected the return value from getsocketopt(IPV6_DONTFRAG) and
   getsocketopt(IPV6_USE_MIN_MTU)

Revision 1.288: download - view: text, markup, annotated - select for diffs
Tue Feb 26 03:31:43 2002 UTC (8 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.287: preferred, colored
Changes since revision 1.287: +4 -3 lines
use EADDRNOTAVAIL instead of ENXIO in some cases.

Revision 1.287: download - view: text, markup, annotated - select for diffs
Tue Feb 19 14:30:07 2002 UTC (8 years ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020225, netbsd_snap_20020225, freebsd4_snap_20020225, bsdi4_snap_20020225, bsdi3_snap_20020225
Diff to: previous 1.286: preferred, colored
Changes since revision 1.286: +23 -6 lines
fixed kernel panic in the case of IPV6_LEAVE_GROUP without an interface.
the kernel will choose the group based on the address only (however,
scope zone ambiguity will not be allowed by default).

based on: a report from Tomomi Suzuki <stomomi@ebina.hitachi.co.jp>

Revision 1.286: download - view: text, markup, annotated - select for diffs
Sat Feb 9 11:36:01 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020218, openbsd_snap_20020211, netbsd_snap_20020218, netbsd_snap_20020211, freebsd4_snap_20020218, freebsd4_snap_20020211, bsdi4_snap_20020218, bsdi4_snap_20020211, bsdi3_snap_20020218, bsdi3_snap_20020211
Diff to: previous 1.285: preferred, colored
Changes since revision 1.285: +29 -13 lines
let ip6_getpmtu() take sockaddr_in6

Revision 1.285: download - view: text, markup, annotated - select for diffs
Sat Feb 9 06:49:46 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.284: preferred, colored
Changes since revision 1.284: +41 -29 lines
changed the type of the address part of in6_multi{} to sockaddr_in6
so that it would contain scope zone ID field.
related functions are modified accordingly.

Revision 1.284: download - view: text, markup, annotated - select for diffs
Sun Feb 3 08:48:13 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020204, netbsd_snap_20020204, freebsd4_snap_20020204, bsdi4_snap_20020204, bsdi3_snap_20020204
Diff to: previous 1.283: preferred, colored
Changes since revision 1.283: +68 -75 lines
style; avoided to make a separate block just to define local variables.

Revision 1.283: download - view: text, markup, annotated - select for diffs
Sun Feb 3 08:44:16 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.282: preferred, colored
Changes since revision 1.282: +10 -66 lines
simplified the trick of "fake loopback interface"; we can actually use
the rt->rt_ifa->ia_ifp as the "original interface".

Revision 1.282: download - view: text, markup, annotated - select for diffs
Sat Feb 2 07:06:12 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.281: preferred, colored
Changes since revision 1.281: +3 -3 lines
replaced IN6_IS_ADDR_UNSPECIFIED with SA6_IS_ADDR_UNSPECIFIED
whenever possible.

Revision 1.281: download - view: text, markup, annotated - select for diffs
Sat Feb 2 06:39:52 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.280: preferred, colored
Changes since revision 1.280: +15 -2 lines
in ip6_mloopback() made sure to keep mbuf aux for the original packet.

Revision 1.280: download - view: text, markup, annotated - select for diffs
Thu Jan 31 14:14:52 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.279: preferred, colored
Changes since revision 1.279: +70 -67 lines
totally revised IPv6 scoped address architecture in the kernel.
- sticked to use sockaddr_in6, not in6_addr, as much as possible.
- did not refer to ip6_src/ip6_dst (which may have ambiguity on scope zones),
  but used full sockaddr_in6 structures attached to the packet.
- replaced special cases for link-local addresses with code that used
  generic functions such as in6_addr2zoneid().
- additional cleanups mainly for scoped address handling.

Revision 1.279: download - view: text, markup, annotated - select for diffs
Sat Jan 26 06:12:30 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020128, netbsd_snap_20020128, freebsd4_snap_20020128, bsdi4_snap_20020128, bsdi3_snap_20020128
Diff to: previous 1.278: preferred, colored
Changes since revision 1.278: +21 -16 lines
handled getsockopt(IPV6_RECVRTHDR) correctly
[KAME PR 403]

Revision 1.278: download - view: text, markup, annotated - select for diffs
Wed Jan 23 05:12:25 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.277: preferred, colored
Changes since revision 1.277: +6 -4 lines
check the IPV6_MINMTU flag in ip6_output as well as IP6PO_MINMTU in the
packet options.  the former can still be set by icmp6_reflect or gif_output.

Revision 1.277: download - view: text, markup, annotated - select for diffs
Fri Jan 11 07:51:59 2002 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020121, openbsd_snap_20020114, netbsd_snap_20020121, netbsd_snap_20020114, freebsd4_snap_20020121, freebsd4_snap_20020114, bsdi4_snap_20020121, bsdi4_snap_20020114, bsdi3_snap_20020121, bsdi3_snap_20020114
Diff to: previous 1.276: preferred, colored
Changes since revision 1.276: +5 -2 lines
less warnings.

Revision 1.276: download - view: text, markup, annotated - select for diffs
Thu Jan 10 13:46:22 2002 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.275: preferred, colored
Changes since revision 1.275: +1 -25 lines
[cleanup] removed meaningless functions "ip6_update_recvpcbopt" and
"ip6_reset_rcvopt".

Revision 1.275: download - view: text, markup, annotated - select for diffs
Thu Jan 10 12:56:33 2002 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.274: preferred, colored
Changes since revision 1.274: +4 -2 lines
avoided NULL pointer reference.

Revision 1.274: download - view: text, markup, annotated - select for diffs
Tue Jan 8 02:40:57 2002 UTC (8 years, 2 months ago) by k-sugyou
Branches: MAIN
Diff to: previous 1.273: preferred, colored
Changes since revision 1.273: +3 -1 lines
remove opt_inet6.h,mip6_var.h&etc. includes from if_hif.h&mip6.h

Revision 1.273: download - view: text, markup, annotated - select for diffs
Mon Jan 7 11:45:20 2002 UTC (8 years, 2 months ago) by kjc
Branches: MAIN
Diff to: previous 1.272: preferred, colored
Changes since revision 1.272: +16 -7 lines
update the tclass API implementation not to erase the ECN bits.
 - do not override if a non-zero value is already set.
 - check the diffserv field and the ecn field separately.
as suggested in draft-itojun-ipv6-tclass-api-03.txt.

Revision 1.272: download - view: text, markup, annotated - select for diffs
Wed Dec 26 01:03:28 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020107, openbsd_snap_20011231, netbsd_snap_20020107, netbsd_snap_20011231, freebsd4_snap_20020107, freebsd4_snap_20011231, bsdi4_snap_20020107, bsdi4_snap_20011231, bsdi3_snap_20020107, bsdi3_snap_20011231
Diff to: previous 1.271: preferred, colored
Changes since revision 1.271: +5 -1 lines
made it compile at !freebsd[34]

Revision 1.271: download - view: text, markup, annotated - select for diffs
Tue Dec 25 08:22:29 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.270: preferred, colored
Changes since revision 1.270: +63 -75 lines
getsockopt(IPV6_TCLASS) should return the system default (not -1) when
no explicit value was specified.

Revision 1.270: download - view: text, markup, annotated - select for diffs
Tue Dec 25 02:24:32 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.269: preferred, colored
Changes since revision 1.269: +1 -16 lines
removed IPV6_CHECKSUM cases from ip6_ctloutput().

Revision 1.269: download - view: text, markup, annotated - select for diffs
Tue Dec 25 02:23:16 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.268: preferred, colored
Changes since revision 1.268: +1 -6 lines
allowed getsockopt(IPV6_RECV{HOPOPTS, DSTOPTS, RTHDRDSTOPS}).
we do not need to prohibit this operation for non-privileged users.

Revision 1.268: download - view: text, markup, annotated - select for diffs
Tue Dec 25 01:39:36 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.267: preferred, colored
Changes since revision 1.267: +1 -21 lines
removed definitions of in6p_xxx for the NRL-derived systems.

Revision 1.267: download - view: text, markup, annotated - select for diffs
Tue Dec 25 01:22:38 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +15 -15 lines
obsoleted IN6P_MINMTU in the pcb flag to specify using the minimum MTU.
instead, we should consistently use IP6PO_MINMTU in the outputopts.

Revision 1.266: download - view: text, markup, annotated - select for diffs
Mon Dec 24 18:49:47 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.265: preferred, colored
Changes since revision 1.265: +8 -1 lines
obsoleted the usage of sticky IPV6_HOPLIMIT according to rfc2292bis-03.

Revision 1.265: download - view: text, markup, annotated - select for diffs
Mon Dec 24 18:46:21 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +17 -5 lines
separated overriding rule of advanced API options according to rfc2292bis-03.
e.g. an IPV6_HOPOPTS ancillary data object only disables IPV6_HOPOPTS
     sticky option.

Revision 1.264: download - view: text, markup, annotated - select for diffs
Mon Dec 24 18:28:02 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.263: preferred, colored
Changes since revision 1.263: +2 -7 lines
clarifications for the IPV6_PKTINFO option:
  - do not allow 0 length for IPV6_PKTINFO (rfc2292bis-03)
  - clear existing pktinfo regardless of the option context (sticky vs
    ancillary)

Revision 1.263: download - view: text, markup, annotated - select for diffs
Mon Dec 24 18:23:52 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.262: preferred, colored
Changes since revision 1.262: +24 -67 lines
simplified ip6_setpktoption():
  - uniformed the semantics of the length argument so that we could share
    the same validation code.
  - always call ip6_clearpktopts when len is 0, regardless if the option
    is sticky (this is correct for spec conformance)

Revision 1.262: download - view: text, markup, annotated - select for diffs
Mon Dec 24 17:55:17 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.261: preferred, colored
Changes since revision 1.261: +3 -1 lines
disabled IPV6_[O]TCLASS in the RFC 2292 sticky context.

Revision 1.261: download - view: text, markup, annotated - select for diffs
Mon Dec 24 17:52:05 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.260: preferred, colored
Changes since revision 1.260: +18 -27 lines
removed the 'needfree' argument of ip6_clearpktopts(), because we can
deal with this issue by a data origin way (by the pktopt->needfree member).

Revision 1.260: download - view: text, markup, annotated - select for diffs
Mon Dec 24 17:33:28 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.259: preferred, colored
Changes since revision 1.259: +2 -2 lines
added a prototype in the definition of ip6_setpktoption()

Revision 1.259: download - view: text, markup, annotated - select for diffs
Mon Dec 24 12:59:21 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.258: preferred, colored
Changes since revision 1.258: +2 -3 lines
comment wording

Revision 1.258: download - view: text, markup, annotated - select for diffs
Fri Dec 21 08:34:47 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20011224, netbsd_snap_20011224, freebsd4_snap_20011224, bsdi4_snap_20011224, bsdi3_snap_20011224
Diff to: previous 1.257: preferred, colored
Changes since revision 1.257: +3 -1 lines
added the IPV6_NEXTHOP case in ip6_ctloutput()

Revision 1.257: download - view: text, markup, annotated - select for diffs
Fri Dec 21 08:00:41 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.256: preferred, colored
Changes since revision 1.256: +2 -2 lines
typo

Revision 1.256: download - view: text, markup, annotated - select for diffs
Fri Dec 21 07:55:28 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +6 -2 lines
rejected odd offset values for IPV6_CHECKSUM.

Revision 1.255: download - view: text, markup, annotated - select for diffs
Fri Dec 21 07:44:00 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.254: preferred, colored
Changes since revision 1.254: +8 -2 lines
made it compile on NRL-derived systems.

Revision 1.254: download - view: text, markup, annotated - select for diffs
Fri Dec 21 07:40:06 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.253: preferred, colored
Changes since revision 1.253: +124 -9 lines
- added a new function ip6_raw_ctloutput, which only handles IPV6_CHECKSUM.
  this function will be called from *bsd/rip6 ctloutput.
- removed IPV6_CHECKSUM cases from ip6_ctloutput accordingly.

Revision 1.253: download - view: text, markup, annotated - select for diffs
Fri Dec 21 07:08:11 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.252: preferred, colored
Changes since revision 1.252: +1 -6 lines
one more cleanup to reduce ifdefs

Revision 1.252: download - view: text, markup, annotated - select for diffs
Fri Dec 21 06:26:06 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.251: preferred, colored
Changes since revision 1.251: +32 -118 lines
cleanup in ip6_ctloutput; centralized macro definitions for NRL-derived
systems to share the code.

Revision 1.251: download - view: text, markup, annotated - select for diffs
Fri Dec 21 04:34:37 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +3 -1 lines
made it compile on NRL-origin systems

Revision 1.250: download - view: text, markup, annotated - select for diffs
Fri Dec 21 04:30:24 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.249: preferred, colored
Changes since revision 1.249: +125 -70 lines
implemented the IPV6_PATHMTU (get)socket option

Revision 1.249: download - view: text, markup, annotated - select for diffs
Thu Dec 20 13:59:13 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.248: preferred, colored
Changes since revision 1.248: +60 -16 lines
implemented a new IPv6 socket option IPV6_DONTFRAG as described in
rfc2292bis-03.

Revision 1.248: download - view: text, markup, annotated - select for diffs
Tue Dec 18 02:29:44 2001 UTC (8 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.247: preferred, colored
Changes since revision 1.247: +13 -13 lines
s/^ \t/\t/

Revision 1.247: download - view: text, markup, annotated - select for diffs
Tue Dec 18 02:23:44 2001 UTC (8 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.246: preferred, colored
Changes since revision 1.246: +6 -6 lines
style; switch is not a function

Revision 1.246: download - view: text, markup, annotated - select for diffs
Mon Dec 17 12:06:11 2001 UTC (8 years, 2 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.245: preferred, colored
Changes since revision 1.245: +28 -20 lines
	- add code for merging the user specified rthdr by ip6_pktopts and
	  the rthdr for the mip6 route optimization.

Revision 1.245: download - view: text, markup, annotated - select for diffs
Fri Dec 7 07:54:11 2001 UTC (8 years, 3 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20011217, openbsd_snap_20011210, netbsd_snap_20011217, netbsd_snap_20011210, freebsd4_snap_20011217, freebsd4_snap_20011210, bsdi4_snap_20011217, bsdi4_snap_20011210, bsdi3_snap_20011217, bsdi3_snap_20011210
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +3 -4 lines
comment wording

Revision 1.244: download - view: text, markup, annotated - select for diffs
Fri Dec 7 07:27:04 2001 UTC (8 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +3 -4 lines
typo (openbsd)

Revision 1.243: download - view: text, markup, annotated - select for diffs
Wed Nov 28 11:08:55 2001 UTC (8 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20011203, netbsd_snap_20011203, freebsd4_snap_20011203, bsdi4_snap_20011203, bsdi3_snap_20011203
Diff to: previous 1.242: preferred, colored
Changes since revision 1.242: +85 -37 lines
sync with openbsd 3.0.  compiles but not tested.  ALTQ does not work for now.

Revision 1.242: download - view: text, markup, annotated - select for diffs
Mon Nov 26 11:31:49 2001 UTC (8 years, 3 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +4 -4 lines
initialized the last arg to ip6_process_hopopts(), because the recent
code requires it to be 0 when a jumbo payload option is contained.

Revision 1.241: download - view: text, markup, annotated - select for diffs
Mon Nov 26 08:56:11 2001 UTC (8 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +14 -25 lines
correct per-ifa stat (freebsd4)
reduce #ifdef (we get a bit of meaningless code on freebsd2/3/openbsd/bsdi3)

Revision 1.240: download - view: text, markup, annotated - select for diffs
Mon Nov 26 08:42:43 2001 UTC (8 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +19 -5 lines
increase per-ifa output byte/packet count, presented on netstat -is{,b} (bsdi4)

Revision 1.239: download - view: text, markup, annotated - select for diffs
Sat Nov 17 09:44:12 2001 UTC (8 years, 3 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20011126, openbsd_snap_20011119, netbsd_snap_20011126, netbsd_snap_20011119, freebsd4_snap_20011126, freebsd4_snap_20011119, bsdi4_snap_20011126, bsdi4_snap_20011119, bsdi3_snap_20011126, bsdi3_snap_20011119
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +9 -40 lines
clean up:
removed a code fragment in ip6_setpktoption() that performed the validation
of the address specified via IPV6_PKTINFO and was temporarily disabled by
'ifdef 0'.
added rationale and issues of the change as comments.

Revision 1.238: download - view: text, markup, annotated - select for diffs
Tue Nov 13 03:09:46 2001 UTC (8 years, 4 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +8 -6 lines
added a new function scope6_check_id() to check sin6_scope_id from an
application.  see netinet6/scope6.c for more details.
(only tested on freebsd4.  will do on bsdi4.)

Revision 1.237: download - view: text, markup, annotated - select for diffs
Mon Nov 12 07:41:11 2001 UTC (8 years, 4 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +7 -11 lines
simplified in6_embedscope():
  - do not take PCB and ifpp as argument.  this function now assumes the caller
    set the correct zone ID in advance.
  - centralized the SCOPEDROUTING condition in this function, not in the
    callers.
(check has only been done on freebsd4.  I'll do it on bsdi4 too)

Revision 1.236: download - view: text, markup, annotated - select for diffs
Sat Nov 10 10:49:05 2001 UTC (8 years, 4 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20011112, netbsd_snap_20011112, freebsd4_snap_20011112, bsdi4_snap_20011112, bsdi3_snap_20011112
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +3 -1 lines
disabled the check for the address part of IPV6_PKTINFO, and let
in6_selectsrc() do the check later.
(at this moment, I just 'ifdef 0'ed the part.  I'll clean it up later)

Revision 1.235: download - view: text, markup, annotated - select for diffs
Sun Nov 4 12:15:54 2001 UTC (8 years, 4 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20011105, netbsd_snap_20011105, freebsd4_snap_20011105, bsdi4_snap_20011105, bsdi3_snap_20011105
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +29 -33 lines
clarified cached route manipulation:
- check if the cached route is up in in6_selectsrc()
- removed a corresponding check in ip6_output to avoid redundancy

Revision 1.234: download - view: text, markup, annotated - select for diffs
Tue Oct 23 11:00:59 2001 UTC (8 years, 4 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20011029, netbsd_snap_20011029, freebsd4_snap_20011029, bsdi4_snap_20011029, bsdi3_snap_20011029
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +9 -1 lines
- NULL-clear m->m_pkthdr.rcvif before calling ip6_mforward()
- avoid NULL (or invalid) pointer access when a printing log message

Revision 1.233: download - view: text, markup, annotated - select for diffs
Tue Oct 23 09:47:01 2001 UTC (8 years, 4 months ago) by sumikawa
Branches: MAIN
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +4 -4 lines
white space fix

Revision 1.232: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:12:13 2001 UTC (8 years, 4 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20011022, netbsd_snap_20011022, freebsd4_snap_20011022, bsdi4_snap_20011022, bsdi3_snap_20011022
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +5 -2 lines
fix a null pointer access to the pktopts when MIP6 is enabled
and a rthdr for mip6 is inserted.

Revision 1.231: download - view: text, markup, annotated - select for diffs
Thu Oct 18 04:23:23 2001 UTC (8 years, 4 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +63 -41 lines
do not touch any extention headers during the mip6 processing
if IPV6_FORWARDING is set.

Revision 1.230: download - view: text, markup, annotated - select for diffs
Wed Oct 17 08:24:23 2001 UTC (8 years, 4 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +4 -3 lines
replace __FUNCTION__ with __FILE__ and __LINE__.

Revision 1.229: download - view: text, markup, annotated - select for diffs
Wed Oct 17 07:26:16 2001 UTC (8 years, 4 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +13 -16 lines
remove pktopt_xxx variables for mip6 related exthdr processing,
instead, introduce mip6_pktopts structure.

Revision 1.228: download - view: text, markup, annotated - select for diffs
Wed Oct 17 05:14:56 2001 UTC (8 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +6 -1 lines
there's no possibility that we insert dest1 twice.

Revision 1.227: download - view: text, markup, annotated - select for diffs
Wed Oct 17 05:05:32 2001 UTC (8 years, 4 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +11 -1 lines
insert dest1 exthdr when MIP6 inserts rthdr.

Revision 1.226: download - view: text, markup, annotated - select for diffs
Mon Oct 15 05:38:45 2001 UTC (8 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +8 -3 lines
make it impossible to change IPV6_V6ONLY if INET6_BINDV6ONLY is declared.
netbsd.

Revision 1.225: download - view: text, markup, annotated - select for diffs
Tue Oct 9 05:43:29 2001 UTC (8 years, 5 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20011015, netbsd_snap_20011015, freebsd4_snap_20011015, bsdi4_snap_20011015, bsdi3_snap_20011015
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +6 -1 lines
fix memory leak. I had forgot to free pktopts in ip6_outout.

Revision 1.224: download - view: text, markup, annotated - select for diffs
Thu Sep 20 06:55:40 2001 UTC (8 years, 5 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20011008, openbsd_snap_20011001, openbsd_snap_20010924, netbsd_snap_20011008, netbsd_snap_20011001, netbsd_snap_20010924, freebsd4_snap_20011008, freebsd4_snap_20011001, freebsd4_snap_20010924, bsdi4_snap_20011008, bsdi4_snap_20011001, bsdi4_snap_20010925, bsdi4_snap_20010924, bsdi3_snap_20011008, bsdi3_snap_20011001, bsdi3_snap_20010925, bsdi3_snap_20010924
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +9 -1 lines
fix compilation on NRL-based stacks (IPV6_OTCLASS).

Revision 1.223: download - view: text, markup, annotated - select for diffs
Thu Sep 20 06:18:03 2001 UTC (8 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +2 -2 lines
pedant

Revision 1.222: download - view: text, markup, annotated - select for diffs
Wed Sep 19 10:05:43 2001 UTC (8 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +85 -13 lines
make IPV6_TCLASS to take int, not u_int8_t.  -1 means the default value.
follows 2292bis.  fix a couple of #ifdef bugs while i'm here.
XXX we need to keep backward binary compat for IPV6_OTCLASS as bsdi ships
with IPV6_TCLASS.

Revision 1.221: download - view: text, markup, annotated - select for diffs
Fri Sep 14 06:05:10 2001 UTC (8 years, 5 months ago) by sumikawa
Branches: MAIN
CVS tags: openbsd_snap_20010917, netbsd_snap_20010917, freebsd4_snap_20010917, bsdi4_snap_20010917, bsdi3_snap_20010917
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +39 -8 lines
freebsd-current introduce ifnet_byindex() instead of ifindex2ifnet[]
for SMPng.

let's say hello to new ifdef storm with smile.

Revision 1.220: download - view: text, markup, annotated - select for diffs
Thu Sep 13 16:02:36 2001 UTC (8 years, 6 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +21 -1 lines
MIP6:
fix using incorrect link mtu when inserting a rthdr for MIP6 route
optimization.

Revision 1.219: download - view: text, markup, annotated - select for diffs
Wed Sep 12 16:52:39 2001 UTC (8 years, 6 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +8 -4 lines
changed the return value type of in6_addr2zoneid(), from u_int32_t to
int64_t, so that the caller can tell an error from valid "4+28" ID values.

Revision 1.218: download - view: text, markup, annotated - select for diffs
Fri Sep 7 08:26:36 2001 UTC (8 years, 6 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010910, netbsd_snap_20010910, freebsd4_snap_20010910, bsdi4_snap_20010910, bsdi3_snap_20010910
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +4 -1 lines
added a bit trickter validation on message length in ip6_setpktoptions().
I think the current code is safe enough (i.e. the kernel will not panic),
but this check will make the kernel robester.

Revision 1.217: download - view: text, markup, annotated - select for diffs
Tue Aug 28 08:51:35 2001 UTC (8 years, 6 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010903, netbsd_snap_20010903, freebsd4_snap_20010903, bsdi4_snap_20010903, bsdi3_snap_20010903
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +4 -3 lines
printed more logs in the SCOPEDEBUG case (there are still some scope zone
breakage.)

Revision 1.216: download - view: text, markup, annotated - select for diffs
Thu Aug 16 13:33:04 2001 UTC (8 years, 6 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010827, openbsd_snap_20010820, netbsd_snap_20010827, netbsd_snap_20010820, freebsd4_snap_20010828, freebsd4_snap_20010820, bsdi4_snap_20010827, bsdi4_snap_20010820, bsdi3_snap_20010828, bsdi3_snap_20010820
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +3 -3 lines
check the IPV6_UNSPECSRC flag first in the srcaddr validation
in ip6_output.

Revision 1.215: download - view: text, markup, annotated - select for diffs
Sun Aug 12 08:05:48 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010813, netbsd_snap_20010813, freebsd4_snap_20010813, bsdi4_snap_20010813, bsdi3_snap_20010813
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +403 -443 lines
added a new function "ip6_setpktoption" to centralize the routine for
handling outgoing packet options both as socket options and as ancillary
data, with some strickter validation.

Revision 1.214: download - view: text, markup, annotated - select for diffs
Sat Aug 11 10:54:34 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +1 -2 lines
clarified a comment; it should be safe to call malloc with M_WAITOK
in ip6_setpktoptions(), because the function is never called under
an interrupt context.

Revision 1.213: download - view: text, markup, annotated - select for diffs
Thu Aug 9 07:55:20 2001 UTC (8 years, 7 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +8 -2 lines
free mbuf in case error in the functions that has an mbuf pointer in its
argument list.

Revision 1.212: download - view: text, markup, annotated - select for diffs
Tue Aug 7 14:13:28 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +3 -1 lines
made IPV6_NEXTHOP work correctly for link-local hops

Revision 1.211: download - view: text, markup, annotated - select for diffs
Fri Aug 3 21:04:17 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010806, netbsd_snap_20010806, freebsd4_snap_20010806, bsdi4_snap_20010806, bsdi3_snap_20010806
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +2 -2 lines
arg to openbsd ipsp_process_packet changed by mistake (1.209)

Revision 1.210: download - view: text, markup, annotated - select for diffs
Fri Aug 3 11:56:03 2001 UTC (8 years, 7 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +1 -2 lines
netbsd don't need opt_hoge.h. remove it from sources.
freebsd3 need opt_hoge.h, add opt_mip6.h to sys/conf/files.

 Modified Files:
 	freebsd3/sys/conf/options kame/sys/netinet6/dest6.c
 	kame/sys/netinet6/icmp6.c kame/sys/netinet6/in6.c
 	kame/sys/netinet6/in6_proto.c kame/sys/netinet6/in6_src.c
 	kame/sys/netinet6/ip6_forward.c kame/sys/netinet6/ip6_input.c
 	kame/sys/netinet6/ip6_output.c kame/sys/netinet6/mip6.c
 	kame/sys/netinet6/mip6_binding.c kame/sys/netinet6/mip6_ha.c
 	kame/sys/netinet6/mip6_icmp6.c kame/sys/netinet6/mip6_prefix.c
 	kame/sys/netinet6/mip6_subnet.c kame/sys/netinet6/nd6_rtr.c

Revision 1.209: download - view: text, markup, annotated - select for diffs
Fri Aug 3 10:40:21 2001 UTC (8 years, 7 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +77 -3 lines
add mobileip source code.

currently, many parts of spec are not implemented yet.  even
uncompilable under other than freebsd4 now.  also very unstable.
of course, without MIP6 kernel option, there is no problem. all mip6
related code is separated by ifdef MIP6.

this integration is just for KAME mip6 developper's convinience.
the purpose of this early integration is to decrease the maintenance cost
to synchronize KAME main tree and developping mip6 tree.  after this merge,
mip6 code modifications are reflected directly to KAME code.

i will make these codes compilable on the other OSes as soon as possible.

 Modified Files:
	kame/sys/netinet6/dest6.c kame/sys/netinet6/icmp6.c
	kame/sys/netinet6/in6.c kame/sys/netinet6/in6.h
	kame/sys/netinet6/in6_ifattach.c
	kame/sys/netinet6/in6_ifattach.h kame/sys/netinet6/in6_proto.c
	kame/sys/netinet6/in6_src.c kame/sys/netinet6/in6_var.h
	kame/sys/netinet6/ip6_forward.c kame/sys/netinet6/ip6_input.c
	kame/sys/netinet6/ip6_output.c kame/sys/netinet6/mip6.c
	kame/sys/netinet6/mip6.h kame/sys/netinet6/mip6_ha.c
 	kame/sys/netinet6/nd6.h kame/sys/netinet6/nd6_rtr.c
 	freebsd4/sys/net/if_types.h freebsd4/sys/conf/files
 	freebsd4/sys/conf/options
 Added Files:
 	kame/sys/net/if_hif.c kame/sys/net/if_hif.h
 	kame/sys/netinet6/mip6_binding.c
 	kame/sys/netinet6/mip6_icmp6.c kame/sys/netinet6/mip6_prefix.c
 	kame/sys/netinet6/mip6_subnet.c kame/sys/netinet6/mip6_var.h

Revision 1.208: download - view: text, markup, annotated - select for diffs
Wed Aug 1 16:50:20 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +81 -17 lines
implemented IPV6_NEXTHOP ancillary data/socket option.
(the next hop should be an AF_INET6 socket,
 socket option case has not been tested yet)

Revision 1.207: download - view: text, markup, annotated - select for diffs
Wed Aug 1 04:29:57 2001 UTC (8 years, 7 months ago) by sumikawa
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +2 -3 lines
3rd argument 'port' of ip6_fw_chk is unnecessary.

Revision 1.206: download - view: text, markup, annotated - select for diffs
Sun Jul 29 11:58:15 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010730, netbsd_snap_20010730, freebsd4_snap_20010730, bsdi4_snap_20010730, bsdi3_snap_20010730
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +6 -2 lines
- allowed MLD messages to have the unspecified address as source.
- renamed the macro IPV6_DADOUTPUT to IPV6_UNSPECSRC.  The former is now
  more suitable.

Revision 1.205: download - view: text, markup, annotated - select for diffs
Sun Jul 29 09:23:05 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +114 -147 lines
added several improvements on IPv6 output routine
(I should've done some of them by separate commits...sorry):

- added a seprate function in6_selectroute() to centralize the route and
  outgoing interface selection algorithm
- call in6_selectroute from in6_selecsrc() and ip6_output(), and use same
  codebase for both unicast and multicast packets as much as possible.
- added stricter (and thorough) scope checks for outgoing packets
  (e.g. this check would prevent a packet generated by
   'ping6 -S ::1 fe80::1%ne0')
- renamed in6_addr2scopeid to in6_addr2zoneid to be more intuitive in terms
  of the scope architecture
- made in6_addr2scopeid take care of the loopback address
- set the tentative flag before joinging multicast addresses, so that the
  corresponding MLD packet would not have a tentative source address

Although the change is quite large, I just compiled the code on bsdi4.
Please check it on other platforms, thanks.

Revision 1.204: download - view: text, markup, annotated - select for diffs
Thu Jul 26 08:36:53 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +6 -7 lines
do not set ro_dst.sin6_scope_id just to check scope zone breakage.
(just for safety; the previous code should not have bad effects)

Revision 1.203: download - view: text, markup, annotated - select for diffs
Thu Jul 26 06:53:17 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +13 -13 lines
style: added spaces after /* and before */
(this might be a matter-of-taste issue, though)

Revision 1.202: download - view: text, markup, annotated - select for diffs
Wed Jul 25 05:18:01 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +59 -61 lines
interface-local multicast support;
- install ff01::%ifname/32 in in6.c.
- change source address selection for ff01::xxx.
- change outgoing interface selection for ff01::xxxx.
- prohibit packets to ff01::xxx from being sent on the wire.

Revision 1.201: download - view: text, markup, annotated - select for diffs
Mon Jul 23 07:45:36 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +3 -2 lines
comment why dest2 is handled specially on header chain concatenation

Revision 1.200: download - view: text, markup, annotated - select for diffs
Mon Jul 23 07:32:06 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +3 -2 lines
try using (lower 32bit of src) ^ (lower 32bit of dst) for rtalloc_mpath hash

Revision 1.199: download - view: text, markup, annotated - select for diffs
Mon Jul 23 07:06:50 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +13 -6 lines
fill scopeid field on interface local address.  ping6 ff01::1%lo0 now works
(but not ff01::1%ne2... why)

Revision 1.198: download - view: text, markup, annotated - select for diffs
Sat Jul 21 04:30:17 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010723, netbsd_snap_20010723, freebsd4_snap_20010723, bsdi4_snap_20010723, bsdi3_snap_20010723
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +2 -2 lines
use host-endian value for multipath hashing

Revision 1.197: download - view: text, markup, annotated - select for diffs
Fri Jul 20 21:29:06 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +6 -1 lines
add a dumb L3 support for multipath routes.

Revision 1.196: download - view: text, markup, annotated - select for diffs
Sun Jul 15 05:16:53 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010716, netbsd_snap_20010716, freebsd4_snap_20010716, bsdi4_snap_20010716, bsdi3_snap_20010716
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +1 -4 lines
omitted validation after malloc(M_WAITOK)

Revision 1.195: download - view: text, markup, annotated - select for diffs
Mon Jul 9 13:47:09 2001 UTC (8 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +47 -1 lines
IPV6_TCLASS support.
From: shimojou@ebina.hitachi.co.jp

Revision 1.194: download - view: text, markup, annotated - select for diffs
Mon Jul 9 13:45:58 2001 UTC (8 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +2 -1 lines
missing "break" in IPV6_TCLASS check.

Revision 1.193: download - view: text, markup, annotated - select for diffs
Mon Jul 2 08:56:39 2001 UTC (8 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010709, netbsd_snap_20010709, freebsd4_snap_20010709, bsdi4_snap_20010709, bsdi3_snap_20010709
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +5 -15 lines
maintain the list of multicast groups joined in the kernel into in6_ifaddr,
and leave from them correctly on removal of interface address.
multicast group refcnt (presented by ifmcstat) becomes a bit different from
before.  XXX not compiled on non-netbsd

netbsd: on interface removal, remove from multicast group lists from pcb
before we remove routing table/whatever from interface struct.  otherwise
we may dump core.  pointed out by jinmei.

Revision 1.192: download - view: text, markup, annotated - select for diffs
Mon Jun 25 08:34:45 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010702, netbsd_snap_20010702, freebsd4_snap_20010702, bsdi4_snap_20010702, bsdi3_snap_20010702
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +3 -11 lines
do not refer to IN6P_BINDV6ONLY anymore.

Revision 1.191: download - view: text, markup, annotated - select for diffs
Sun Jun 24 05:14:52 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010625, netbsd_snap_20010625, freebsd4_snap_20010625, bsdi4_snap_20010625, bsdi3_snap_20010625
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +3 -2 lines
corrected comparison between ip6_v6only and option value of IPV6_V6ONLY.
since the option is boolean, it would be better to compare based on
bool vs false, not as integers.

Revision 1.190: download - view: text, markup, annotated - select for diffs
Fri Jun 22 19:26:12 2001 UTC (8 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +5 -3 lines
decrease warning (freebsd4)

Revision 1.189: download - view: text, markup, annotated - select for diffs
Fri Jun 22 19:19:44 2001 UTC (8 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +3 -3 lines
correct portability issues around in6p_laddr and inp_laddr6.  eww.

Revision 1.188: download - view: text, markup, annotated - select for diffs
Fri Jun 22 18:13:15 2001 UTC (8 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +17 -1 lines
disallow setsockopt(IPV6_V6ONLY) for already bound sockets.

Revision 1.187: download - view: text, markup, annotated - select for diffs
Fri Jun 22 14:22:02 2001 UTC (8 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +3 -3 lines
get rid of INET6_BINDV6ONLY (netbsd).
XXX IPv4 mapped address support cases are way too complicated!
we really really need to clean them up and check if we have made any mistakes
(it looks to me that there there are quite a few).

Revision 1.186: download - view: text, markup, annotated - select for diffs
Wed Jun 20 12:31:26 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +11 -33 lines
purged IPV6_USE_MTU.  It was introduced as an experiment, but
we do not need it any more.

Revision 1.185: download - view: text, markup, annotated - select for diffs
Tue Jun 19 01:57:04 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +1 -2 lines
removed a garbage line, which may cause duplicated creation of a destination
options header, and can cause memory leak as a result.
(from shima)

Revision 1.184: download - view: text, markup, annotated - select for diffs
Sat Jun 16 16:24:29 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010618, netbsd_snap_20010618, freebsd4_snap_20010618, bsdi4_snap_20010618, bsdi3_snap_20010618
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +3 -2 lines
corrected a draft name.

Revision 1.183: download - view: text, markup, annotated - select for diffs
Sat Jun 16 16:23:34 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +7 -8 lines
re-enabled clarification on the dependency between the 1st dst opt header
and the routing header, based on rfc2292bis-02.
this part was disabled when merging a recent mip6 patch from ericsson,
without much consideration about the rationale. Actually, disabling this part
just for MIP6 convenience is a bad idea (or at least not a good idea).
We need to think carefully about a way to make the advanced API coexist with
MIP6 options.

Revision 1.182: download - view: text, markup, annotated - select for diffs
Mon Jun 4 12:03:43 2001 UTC (8 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010611, netbsd_snap_20010611, freebsd4_snap_20010611, bsdi4_snap_20010611, bsdi3_snap_20010611
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +21 -13 lines
sync with openbsd 2.9.  GENERIC.KAME compiles, but not tested.
ALTQ portion needs a serious checking.

Revision 1.181: download - view: text, markup, annotated - select for diffs
Mon Jun 4 09:00:31 2001 UTC (8 years, 9 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +1 -67 lines
MIP6 removed.
Ericsson's code is provided as a patch to the plain (without MIP6)
KAME source after this point.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Mon May 21 05:37:50 2001 UTC (8 years, 9 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010604, openbsd_snap_20010528, netbsd_snap_20010604, netbsd_snap_20010528, freebsd4_snap_20010604, freebsd4_snap_20010528, bsdi4_snap_20010604, bsdi4_snap_20010528, bsdi3_snap_20010604, bsdi3_snap_20010528
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +12 -2 lines
supported the IPV6_V6ONLY socket option for shared source.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Thu May 17 03:48:30 2001 UTC (8 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010521, netbsd_snap_20010521, freebsd4_snap_20010521, bsdi4_snap_20010521, bsdi3_snap_20010521
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +1 -12 lines
goodbye OLDIP6OUTPUT

Revision 1.178: download - view: text, markup, annotated - select for diffs
Tue Apr 24 16:44:11 2001 UTC (8 years, 10 months ago) by sumikawa
Branches: MAIN
CVS tags: openbsd_snap_20010514, openbsd_snap_20010507, openbsd_snap_20010430, netbsd_snap_20010514, netbsd_snap_20010507, netbsd_snap_20010430, freebsd4_snap_20010514, freebsd4_snap_20010507, freebsd4_snap_20010430, bsdi4_snap_20010514, bsdi4_snap_20010507, bsdi4_snap_20010430, bsdi3_snap_20010514, bsdi3_snap_20010507, bsdi3_snap_20010430
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +16 -2 lines
IP address stats for freebsd4

Revision 1.177: download - view: text, markup, annotated - select for diffs
Wed Apr 11 01:19:51 2001 UTC (8 years, 11 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010423, openbsd_snap_20010417, netbsd_snap_20010423, netbsd_snap_20010417, freebsd4_snap_20010423, freebsd4_snap_20010417, bsdi4_snap_20010423, bsdi4_snap_20010417, bsdi3_snap_20010423, bsdi3_snap_20010417
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +15 -9 lines
prevented invalid (anycast or unready) addresses from being specified
packets' source address using IPV6_PKTINFO socket option or ancillary data.

Revision 1.176: download - view: text, markup, annotated - select for diffs
Wed Apr 4 05:17:30 2001 UTC (8 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010410, openbsd_snap_20010409, netbsd_snap_20010410, netbsd_snap_20010409, freebsd4_snap_20010410, freebsd4_snap_20010409, bsdi4_snap_20010409, bsdi3_snap_20010410, bsdi3_snap_20010409
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +2 -1 lines
make sure to clear m->m_pkthdr.rcvif after MGETHDR.  it is not ensured in
sys/sys/mbuf.h.

correct mbuf cluster allocation code in natpt*.

Revision 1.175: download - view: text, markup, annotated - select for diffs
Fri Mar 30 04:48:10 2001 UTC (8 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010402, netbsd_snap_20010402, freebsd4_snap_20010402, bsdi4_snap_20010402, bsdi3_snap_20010402
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +1 -3 lines
ip6 is necessary regardless from SCOPEDROUTING setting.

Revision 1.174: download - view: text, markup, annotated - select for diffs
Thu Mar 29 05:34:31 2001 UTC (8 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +70 -11 lines
integrate new ericsson mobile-ip6 snapshot (based on 13 draft, after
Connectathon 2001).

changes from original ericsson shipment:
- avoid using "time" as variable name, we can't do that in BSD kernel.
- on function signature change for MIP6 (like static -> non-static) use #ifdef
  MIP6.  it has been making problems for *BSD-current merge.
- add __attribute__((__packed__)).
- make the tree compile without MIP6.
- make the tree compile on openbsd (should be okay on netbsd too).
	WARNING: two #warning line were suppressed, or replaced with panic().
- avoid unnecessary cosmetic change.
- avoid $Id$ (previous commit to mip6{config,stat}.
- fix nd6.c neighbor state management breakage, due to one of additional MIP6
  debugging messages.

while we are here, made a couple of changes:
- add __attribute__((__packed__)) here and there.
- remove KAME-only (pre-2292bis) MIP6 header declaratations.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Wed Mar 28 23:28:45 2001 UTC (8 years, 11 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +2 -2 lines
wording.

Revision 1.172: download - view: text, markup, annotated - select for diffs
Sun Mar 25 09:55:56 2001 UTC (8 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010326, netbsd_snap_20010326, freebsd4_snap_20010326, bsdi4_snap_20010326, bsdi3_snap_20010326
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +2 -2 lines
re-initialize mopt in ip6_insert_jumboopt().
From: csapuntz@stanford.edu

Revision 1.171: download - view: text, markup, annotated - select for diffs
Wed Mar 21 07:30:48 2001 UTC (8 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +5 -2 lines
re-initialize rmx_mtu, if rmx_mtu is set to 0 due to path mtu discovery
timeout.  from onoe

Revision 1.170: download - view: text, markup, annotated - select for diffs
Sat Mar 17 18:12:20 2001 UTC (8 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010319, netbsd_snap_20010320, freebsd4_snap_20010320, bsdi4_snap_20010319, bsdi3_snap_20010320
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +27 -2 lines
re-enable IPV6_CHECKSUM in ip6_outputopts (freebsd3/4).  need revisit

Revision 1.169: download - view: text, markup, annotated - select for diffs
Tue Mar 13 03:10:12 2001 UTC (9 years ago) by itojun
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +3 -5 lines
revise/simplify openbsd splx() issue.  angelos@openbsd

Revision 1.168: download - view: text, markup, annotated - select for diffs
Mon Mar 12 02:54:43 2001 UTC (9 years ago) by itojun
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +2 -1 lines
aone more missing splx.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Sun Mar 11 06:04:01 2001 UTC (9 years ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010312, netbsd_snap_20010312, freebsd4_snap_20010312, bsdi4_snap_20010312, bsdi3_snap_20010312
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +3 -1 lines
added missing splx()s
(for openbsd only, not compiled)

Revision 1.166: download - view: text, markup, annotated - select for diffs
Tue Mar 6 00:22:03 2001 UTC (9 years ago) by itojun
Branches: MAIN
CVS tags: bsdi4_snap_20010307
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +1 -19 lines
allow IPV6_CHECKSUM set/getsockopt only if:
- raw IPv6 socket, and
- protocol type != IPPROTO_ICMPV6.

RFC2292 section 3.1.

Revision 1.165: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:20:38 2001 UTC (9 years ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010305, netbsd_snap_20010305, freebsd4_snap_20010305, bsdi3_snap_20010305
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +14 -11 lines
provide IPV6_V6ONLY (2553bis-03) for all platforms.
netbsd/freebsd[34]: getsockopt returns state for the socktet.  setsockopt
updates state for the socket.
other: getsockopt returns kernel behvaior (= state for the socket).
setsockopt goes successful if the value equals to kernel behavior, fails
otherwise.

XXX check pcb layer behavior.  at least, netbsd behavior is not compatible
with 2553bis-03 (netbsd always permits IPv4 mapped address on outbound,
which should be disabled on IPV6_V6ONLY=1).

Revision 1.164: download - view: text, markup, annotated - select for diffs
Sat Feb 10 05:05:15 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010226, openbsd_snap_20010219, openbsd_snap_20010212, netbsd_snap_20010226, netbsd_snap_20010219, netbsd_snap_20010212, freebsd4_snap_20010226, freebsd4_snap_20010219, freebsd4_snap_20010212, bsdi4_snap_20010226, bsdi4_snap_20010219, bsdi4_snap_20010212, bsdi3_snap_20010226, bsdi3_snap_20010219, bsdi3_snap_20010212
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +4 -6 lines
simplify mtu > 2^32-1 case.

Revision 1.163: download - view: text, markup, annotated - select for diffs
Sat Feb 10 04:44:25 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -3 lines
sync comment with reality for init_ip6pktopts

Revision 1.162: download - view: text, markup, annotated - select for diffs
Sat Feb 10 04:42:52 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +2 -2 lines
delete seemingly obsolete comment

Revision 1.161: download - view: text, markup, annotated - select for diffs
Sat Feb 10 02:07:34 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +13 -4 lines
type of "mtu" was u_long with reason.  revert/corrects revision 1.134.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Sat Feb 10 01:40:57 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +9 -9 lines
minor style

Revision 1.159: download - view: text, markup, annotated - select for diffs
Fri Feb 9 01:58:12 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +6 -3 lines
do {} while (0) for multi-statement #define

Revision 1.158: download - view: text, markup, annotated - select for diffs
Tue Feb 6 09:05:05 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +2 -1 lines
declared in6_clearscope() in in6_var.h (not in in6_pcb.h).

Revision 1.157: download - view: text, markup, annotated - select for diffs
Tue Feb 6 04:51:53 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +12 -9 lines
clear embedded scope IDs under !SCOPEDROUTING cases only.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Tue Feb 6 04:48:52 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +9 -5 lines
clear embedded scope ID under !SCOPEDROUTING cases only.

Revision 1.155: download - view: text, markup, annotated - select for diffs
Tue Feb 6 04:08:18 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +5 -16 lines
goodbye OLD_LOOPBACK_IF

Revision 1.154: download - view: text, markup, annotated - select for diffs
Tue Feb 6 01:26:59 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +2 -2 lines
fix m->m_pkthdr.rcvif setup.  semicolon after if condition.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Mon Feb 5 08:40:48 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +6 -3 lines
add DIAGNOSTIC on ip6e_hbh mbuf data region length

Revision 1.152: download - view: text, markup, annotated - select for diffs
Fri Feb 2 15:36:33 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010205, netbsd_snap_20010205, freebsd4_snap_20010205, bsdi4_snap_20010205, bsdi3_snap_20010205
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +15 -2 lines
fixed a bug that could make the kernel hang when a packet with a link-local
destination is sent to the loopback IF and when no link-local address is
configured on the loopback IF.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Tue Jan 23 15:23:35 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010129, netbsd_snap_20010129, freebsd4_snap_20010129, bsdi4_snap_20010129, bsdi3_snap_20010129
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +2 -2 lines
make sure to check MGET failure during IPsec m_aux operations.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Tue Jan 23 08:59:37 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +1 -4 lines
goodbyte ipsec6.h (freebsd4)

Revision 1.149: download - view: text, markup, annotated - select for diffs
Tue Jan 23 04:43:20 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +3 -3 lines
not for openbsd

Revision 1.148: download - view: text, markup, annotated - select for diffs
Tue Jan 23 04:42:29 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +9 -1 lines
record IPsec decapsulation history into m->m_aux.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Sun Jan 21 15:48:23 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010122, netbsd_snap_20010122, freebsd4_snap_20010122, bsdi4_snap_20010122, bsdi3_snap_20010122
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +2 -2 lines
fix freebsd[34] compilation - m_copym arg mistake

Revision 1.146: download - view: text, markup, annotated - select for diffs
Sun Jan 21 06:12:55 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +10 -5 lines
soopt_mcopyout() frees mbuf if error occurs, and DOES NOT free it if it is
successful.
FreeBSD PR 24248.  notified by ume.

XXX it is hard to understand why it is made this way.
under 4.4BSD networking code rule, once a function is passed a mbuf *,
it always get freed by the function.  at least the behavior violates the
(implicit) coding rule.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Tue Jan 16 14:14:17 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +2 -3 lines
make init_ip6pktopts a public function, and always use it for
struct initialization.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Wed Dec 20 06:27:05 2000 UTC (9 years, 2 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010115, openbsd_snap_20010108, openbsd_snap_20010101, openbsd_snap_20001225, netbsd_snap_20010115, netbsd_snap_20010108, netbsd_snap_20010101, netbsd_snap_20001225, freebsd4_snap_20010115, freebsd4_snap_20010108, freebsd4_snap_20010101, freebsd4_snap_20001225, freebsd3_snap_20010115, freebsd3_snap_20010108, freebsd3_snap_20010101, freebsd3_snap_20001225, bsdi4_snap_20010116, bsdi4_snap_20010115, bsdi4_snap_20010108, bsdi4_snap_20010101, bsdi4_snap_20001225, bsdi3_snap_20010115, bsdi3_snap_20010108, bsdi3_snap_20010101, bsdi3_snap_20001225
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +14 -8 lines
added init_ip6pktopts() to initialize packet option structure, which
is (currently) called from two parts in ip6_output.
this will avoid to forget initializing option info.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Tue Dec 12 10:54:06 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20001218, netbsd_snap_20001218, freebsd4_snap_20001218, freebsd3_snap_20001218, bsdi4_snap_20001218, bsdi3_snap_20001218
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -3 lines
move net_osdep.h to the end of #includes, so that we do not have any
interference between #defines.  compiled/tested on netbsd.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Tue Dec 5 14:40:29 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20001211, netbsd_snap_20001211, freebsd4_snap_20001211, freebsd3_snap_20001211, bsdi4_snap_20001211, bsdi3_snap_20001211
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -3 lines
s/inp_csumoffset/in6p_cksum/, for easier code sharing.
for userland, old name is available via #define

Revision 1.141: download - view: text, markup, annotated - select for diffs
Mon Dec 4 09:13:55 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +5 -4 lines
avoid unused variable; openbds

Revision 1.140: download - view: text, markup, annotated - select for diffs
Mon Dec 4 05:37:56 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +3 -3 lines
openbsd IPv6 ipsec merge mistake

Revision 1.139: download - view: text, markup, annotated - select for diffs
Mon Dec 4 05:36:09 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +298 -12 lines
bring in OpenBSD 2.8 IPv6 ipsec support.  #ifdef hell...

Revision 1.138: download - view: text, markup, annotated - select for diffs
Mon Dec 4 04:27:41 2000 UTC (9 years, 3 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +2 -2 lines
removed tab in a blank line

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sun Dec 3 00:53:59 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20001204, netbsd_snap_20001204, freebsd4_snap_20001204, freebsd3_snap_20001204, bsdi4_snap_20001204, bsdi3_snap_20001204
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +13 -13 lines
s/register//

Revision 1.136: download - view: text, markup,