CVS log for kame/kame/sys/netinet6/ip6_input.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.374: download - view: text, markup, annotated - select for diffs
Thu Jun 14 12:09:44 2007 UTC (2 years, 9 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.373: preferred, colored
Changes since revision 1.373: +34 -76 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.373: download - view: text, markup, annotated - select for diffs
Tue May 8 02:53:12 2007 UTC (2 years, 10 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20070601, netbsd_snap_20070601, freebsd5_snap_20070601
Diff to: previous 1.372: preferred, colored
Changes since revision 1.372: +10 -7 lines
clarifying some points in the previous code comment as well as some minor
style changes

Revision 1.372: download - view: text, markup, annotated - select for diffs
Sun May 6 14:35:08 2007 UTC (2 years, 10 months ago) by itojun
Branches: MAIN
Diff to: previous 1.371: preferred, colored
Changes since revision 1.371: +13 -1 lines
comment on "drop packets with more than 1 routing header" code.
suggested by jinmei.

Revision 1.371: download - view: text, markup, annotated - select for diffs
Thu May 3 22:07:39 2007 UTC (2 years, 10 months ago) by itojun
Branches: MAIN
Diff to: previous 1.370: preferred, colored
Changes since revision 1.370: +13 -2 lines
drop packets with more than 1 routing headers.
from claudio@openbsd

Revision 1.370: download - view: text, markup, annotated - select for diffs
Sun Apr 8 17:04:31 2007 UTC (2 years, 11 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20070501, netbsd_snap_20070501, freebsd5_snap_20070501
Diff to: previous 1.369: preferred, colored
Changes since revision 1.369: +19 -5 lines
ignore "unrecognized" router alert options so that the router can
forward packets containing such a router alert option.  Actually, this code
only treats IP6OPT_RTALERT_MLD as "recognized".

pointed out by Andrew McDonald

Revision 1.369: 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
CVS tags: openbsd_snap_20070401, openbsd_snap_20070301, openbsd_snap_20070201, openbsd_snap_20070101, openbsd_snap_20061201, netbsd_snap_20070401, netbsd_snap_20070301, netbsd_snap_20070201, netbsd_snap_20070101, netbsd_snap_20061201, freebsd5_snap_20070401, freebsd5_snap_20070301, freebsd5_snap_20070201, freebsd5_snap_20070101, freebsd5_snap_20061201
Diff to: previous 1.368: preferred, colored
Changes since revision 1.368: +1 -3 lines
cleanup SCOPEDROUTING (unifdef -USCOPEDROUTING)

Revision 1.368: download - view: text, markup, annotated - select for diffs
Wed Aug 9 18:01:36 2006 UTC (3 years, 7 months ago) by jinmei
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, 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, 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
Diff to: previous 1.367: preferred, colored
Changes since revision 1.367: +2 -2 lines
removed an unexpected white character in an indentation.

Revision 1.367: download - view: text, markup, annotated - select for diffs
Tue Oct 25 11:02:20 2005 UTC (4 years, 4 months ago) by t-momose
Branches: MAIN
CVS tags: 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, 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, openbsd_snap_20060327, openbsd_snap_20060320, openbsd_snap_20060313, openbsd_snap_20060306, openbsd_snap_20060227, openbsd_snap_20060220, openbsd_snap_20060213, 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, 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, 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, netbsd_snap_20060327, netbsd_snap_20060320, netbsd_snap_20060313, netbsd_snap_20060306, netbsd_snap_20060227, netbsd_snap_20060220, netbsd_snap_20060213, 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, 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, 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, freebsd5_snap_20060327, freebsd5_snap_20060320, freebsd5_snap_20060313, freebsd5_snap_20060306, freebsd5_snap_20060227, freebsd5_snap_20060220, freebsd5_snap_20060213, 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
Diff to: previous 1.366: preferred, colored
Changes since revision 1.366: +3 -3 lines
It is preferable to use NIST > 0 rather than IFT_IST to know isatap is used.

Revision 1.366: download - view: text, markup, annotated - select for diffs
Thu Oct 20 07:57:57 2005 UTC (4 years, 4 months ago) by kei
Branches: MAIN
CVS tags: openbsd_snap_20051024, netbsd_snap_20051024, freebsd5_snap_20051024
Diff to: previous 1.365: preferred, colored
Changes since revision 1.365: +13 -1 lines
Bug fix for ISATAP

Revision 1.365: download - view: text, markup, annotated - select for diffs
Fri Jul 22 03:43:33 2005 UTC (4 years, 7 months ago) by jinmei
Branches: MAIN
CVS tags: 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, openbsd_snap_20050725, 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, netbsd_snap_20050725, 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, freebsd5_snap_20050725
Diff to: previous 1.364: preferred, colored
Changes since revision 1.364: +4 -1 lines
added temporary debug printf for the new scope code

Revision 1.364: download - view: text, markup, annotated - select for diffs
Fri Jul 15 15:25:00 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.363: preferred, colored
Changes since revision 1.363: +2 -2 lines
style

Revision 1.363: download - view: text, markup, annotated - select for diffs
Fri Jul 15 15:23:53 2005 UTC (4 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.362: preferred, colored
Changes since revision 1.362: +10 -2 lines
in ip6_input() make sure that the original source or destination address
is not in our internal form for scoped addresses.  Such addresses
are not necessarily invalid spec-wise, but we cannot accept them due
to the usage conflict.

Revision 1.362: 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_20050711, openbsd_snap_20050704, openbsd_snap_20050627, openbsd_snap_20050620, netbsd_snap_20050711, netbsd_snap_20050704, netbsd_snap_20050627, netbsd_snap_20050620, freebsd5_snap_20050711, freebsd5_snap_20050704, freebsd5_snap_20050627, freebsd5_snap_20050620
Diff to: previous 1.361: preferred, colored
Changes since revision 1.361: +12 -38 lines
revised scope-related interfaces, clarifying the relationship between
the kernel-internal form and the public sockaddr_in6 form.

Revision 1.361: 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.360: preferred, colored
Changes since revision 1.360: +2 -2 lines
changed the word '2292bis' to 'RFC3542' when appropriate.

Revision 1.360: download - view: text, markup, annotated - select for diffs
Mon May 2 10:03:17 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, netbsd_snap_20050613, netbsd_snap_20050606, netbsd_snap_20050530, netbsd_snap_20050523, netbsd_snap_20050516, netbsd_snap_20050509, freebsd5_snap_20050613, freebsd5_snap_20050606, freebsd5_snap_20050530, freebsd5_snap_20050523, freebsd5_snap_20050516, freebsd5_snap_20050509
Diff to: previous 1.359: preferred, colored
Changes since revision 1.359: +1 -4 lines
removed a freebsd4-specific include file

Revision 1.359: download - view: text, markup, annotated - select for diffs
Thu Apr 14 06:22:40 2005 UTC (4 years, 11 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20050502, openbsd_snap_20050418, netbsd_snap_20050502, netbsd_snap_20050418, freebsd5_snap_20050502, freebsd5_snap_20050418
Diff to: previous 1.358: preferred, colored
Changes since revision 1.358: +15 -27 lines
remove freebsd[234]-specific code, since they are no longer supported in KAME-SNAP

Revision 1.358: download - view: text, markup, annotated - select for diffs
Fri Mar 18 13:47:26 2005 UTC (4 years, 11 months 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.357: preferred, colored
Changes since revision 1.357: +2 -2 lines
make it compilable on netbsd/openbsd

Revision 1.357: download - view: text, markup, annotated - select for diffs
Fri Mar 18 10:23:05 2005 UTC (4 years, 11 months ago) by suz
Branches: MAIN
Diff to: previous 1.356: preferred, colored
Changes since revision 1.356: +3 -1 lines
added a knob to enable path MTU discovery for multicast packets.
(by default, it is disabled)

Revision 1.356: download - view: text, markup, annotated - select for diffs
Tue Feb 22 13:54:28 2005 UTC (5 years ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20050314, openbsd_snap_20050307, openbsd_snap_20050228, netbsd_snap_20050314, netbsd_snap_20050307, netbsd_snap_20050228, freebsd5_snap_20050314, freebsd5_snap_20050307, freebsd5_snap_20050228, freebsd4_snap_20050314, freebsd4_snap_20050307, freebsd4_snap_20050228
Diff to: previous 1.355: preferred, colored
Changes since revision 1.355: +16 -19 lines
fixed PF malfunction for inbound IPv6 traffic on freebsd5

Revision 1.355: download - view: text, markup, annotated - select for diffs
Fri Feb 11 05:57:19 2005 UTC (5 years, 1 month ago) by kjc
Branches: MAIN
CVS tags: openbsd_snap_20050221, openbsd_snap_20050214, netbsd_snap_20050221, netbsd_snap_20050214, freebsd5_snap_20050221, freebsd5_snap_20050214, freebsd4_snap_20050221, freebsd4_snap_20050214
Diff to: previous 1.354: preferred, colored
Changes since revision 1.354: +1 -10 lines
remove a duplicated block that was introduced in v1.349 when merging
freebsd-5.3.
reported by Joerg Sonnenberger <joerg@britannica.bec.de>

Revision 1.354: download - view: text, markup, annotated - select for diffs
Mon Jan 17 06:21:10 2005 UTC (5 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20050207, openbsd_snap_20050131, openbsd_snap_20050124, netbsd_snap_20050207, netbsd_snap_20050131, netbsd_snap_20050124, freebsd5_snap_20050207, freebsd5_snap_20050131, freebsd5_snap_20050124, freebsd4_snap_20050207, freebsd4_snap_20050131, freebsd4_snap_20050124
Diff to: previous 1.353: preferred, colored
Changes since revision 1.353: +1 -24 lines
- sys/netipsec (FAST_IPSEC) has #define for time_second
- use pfil_hook for PF

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

Revision 1.352: download - view: text, markup, annotated - select for diffs
Fri Dec 17 05:46:43 2004 UTC (5 years, 2 months ago) by t-momose
Branches: MAIN
CVS tags: openbsd_snap_20041227, openbsd_snap_20041220, netbsd_snap_20041227, netbsd_snap_20041220, freebsd5_snap_20041227, freebsd5_snap_20041220, freebsd4_snap_20041227, freebsd4_snap_20041220
Diff to: previous 1.351: preferred, colored
Changes since revision 1.351: +2 -2 lines
NIST > 0 would be better to know ISATAP is configured.

Revision 1.351: download - view: text, markup, annotated - select for diffs
Thu Dec 9 02:19:06 2004 UTC (5 years, 3 months ago) by t-momose
Branches: MAIN
CVS tags: openbsd_snap_20041213, netbsd_snap_20041213, freebsd5_snap_20041213, freebsd4_snap_20041213
Diff to: previous 1.350: preferred, colored
Changes since revision 1.350: +23 -38 lines
New Mobile IPv6 code which also supports NEMO.

Revision 1.350: download - view: text, markup, annotated - select for diffs
Wed Dec 1 05:07:16 2004 UTC (5 years, 3 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20041206, netbsd_snap_20041206, freebsd5_snap_20041206, freebsd4_snap_20041206
Diff to: previous 1.349: preferred, colored
Changes since revision 1.349: +6 -2 lines
makes ISATAP compilable on OpenBSD

Revision 1.349: 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_20041129, openbsd_snap_20041122, openbsd_snap_20041115, netbsd_snap_20041129, netbsd_snap_20041122, netbsd_snap_20041115, freebsd5_snap_20041129, freebsd5_snap_20041122, freebsd5_snap_20041115, freebsd4_snap_20041129, freebsd4_snap_20041122, freebsd4_snap_20041115
Diff to: previous 1.348: preferred, colored
Changes since revision 1.348: +16 -12 lines
sync with freebsd53 and makes it compilable
(their behavior is not confirmed yet...)

Revision 1.348: download - view: text, markup, annotated - select for diffs
Wed Aug 11 10:20:48 2004 UTC (5 years, 7 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20041108, openbsd_snap_20041101, 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, netbsd_snap_20041108, netbsd_snap_20041101, 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, freebsd5_snap_20041108, freebsd5_snap_20041101, 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_20041108, freebsd4_snap_20041101, 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
Diff to: previous 1.347: preferred, colored
Changes since revision 1.347: +6 -1 lines
another clarification of rfc2462bis:
disable IPv6 operation if DAD fails for some EUI-64 link-local addresses.
export get_hw_ifid() (and rename it) as a subroutine for this process.

Revision 1.347: 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_20040809, openbsd_snap_20040802, openbsd_snap_20040726, openbsd_snap_20040719, openbsd_snap_20040712, openbsd_snap_20040705, openbsd_snap_20040628, openbsd_snap_20040621, openbsd_snap_20040607, netbsd_snap_20040809, netbsd_snap_20040802, netbsd_snap_20040726, netbsd_snap_20040719, netbsd_snap_20040712, netbsd_snap_20040705, netbsd_snap_20040628, netbsd_snap_20040621, netbsd_snap_20040607, freebsd4_snap_20040809, freebsd4_snap_20040802, freebsd4_snap_20040726, freebsd4_snap_20040719, freebsd4_snap_20040712, freebsd4_snap_20040705, freebsd4_snap_20040628, freebsd4_snap_20040621, freebsd4_snap_20040607
Diff to: previous 1.346: preferred, colored
Changes since revision 1.346: +4 -4 lines
remove support for freebsd[23], simplify #ifdef

Revision 1.346: download - view: text, markup, annotated - select for diffs
Tue Jun 1 02:21:13 2004 UTC (5 years, 9 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.345: preferred, colored
Changes since revision 1.345: +2 -2 lines
comment wording

Revision 1.345: download - view: text, markup, annotated - select for diffs
Tue Jun 1 01:54:02 2004 UTC (5 years, 9 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.344: preferred, colored
Changes since revision 1.344: +6 -40 lines
do not check super user privilege in ip6_savecontrol.  It is meaningless and
can even be harmful.

Revision 1.344: 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.343: preferred, colored
Changes since revision 1.343: +5 -2 lines
nuke some bsdi #ifdef.  make pf.c compatible w/ nd6_output() arg.

Revision 1.343: download - view: text, markup, annotated - select for diffs
Fri May 21 09:42:29 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.342: preferred, colored
Changes since revision 1.342: +1 -5 lines
de-support freebsd2

Revision 1.342: download - view: text, markup, annotated - select for diffs
Fri May 21 07:44:21 2004 UTC (5 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.341: preferred, colored
Changes since revision 1.341: +25 -150 lines
simplify #ifdef by de-support bsdi[34] and freebsd[23].

Revision 1.341: 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.340: preferred, colored
Changes since revision 1.340: +6 -4 lines
make it compilable on freebsd521+kame

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

Revision 1.340: download - view: text, markup, annotated - select for diffs
Fri Apr 16 05:23:42 2004 UTC (5 years, 10 months ago) by fujisawa
Branches: MAIN
CVS tags: openbsd_snap_20040517, openbsd_snap_20040510, openbsd_snap_20040503, openbsd_snap_20040426, openbsd_snap_20040419, netbsd_snap_20040517, netbsd_snap_20040510, netbsd_snap_20040503, netbsd_snap_20040426, netbsd_snap_20040419, freebsd4_snap_20040517, freebsd4_snap_20040510, freebsd4_snap_20040503, freebsd4_snap_20040426, freebsd4_snap_20040419
Diff to: previous 1.339: preferred, colored
Changes since revision 1.339: +2 -4 lines
- Removed an unnecessary if-condition.

Revision 1.339: download - view: text, markup, annotated - select for diffs
Tue Feb 17 11:40:25 2004 UTC (6 years ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20040412, openbsd_snap_20040405, openbsd_snap_20040329, openbsd_snap_20040322, openbsd_snap_20040315, openbsd_snap_20040308, openbsd_snap_20040301, openbsd_snap_20040223, netbsd_snap_20040412, netbsd_snap_20040405, netbsd_snap_20040329, netbsd_snap_20040322, netbsd_snap_20040315, netbsd_snap_20040308, netbsd_snap_20040301, netbsd_snap_20040223, freebsd4_snap_20040412, freebsd4_snap_20040405, freebsd4_snap_20040329, freebsd4_snap_20040322, freebsd4_snap_20040315, freebsd4_snap_20040308, freebsd4_snap_20040301, freebsd4_snap_20040223
Diff to: previous 1.338: preferred, colored
Changes since revision 1.338: +12 -58 lines
- Applies per-interface MSF at ICMPv6 layer (instead of IP layer).
  This is to prevent MLDv2 packets from being filtered by per-interface MSF.
- Applies per-socket MSF for raw-socket/ICMPv6 socket

Revision 1.338: download - view: text, markup, annotated - select for diffs
Fri Feb 13 02:52:09 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.337: preferred, colored
Changes since revision 1.337: +2 -1 lines
restructure of header files based on draft-ietf-mip6-mipext-advapi-00.

Revision 1.337: download - view: text, markup, annotated - select for diffs
Wed Feb 11 10:54:02 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.336: preferred, colored
Changes since revision 1.336: +2 -2 lines
reorder to meet w/ old code

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

Revision 1.335: 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.334: preferred, colored
Changes since revision 1.334: +2 -2 lines
makes MLDv2 compilable
(behavior is not confirmed yet...)

Revision 1.334: 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.333: preferred, colored
Changes since revision 1.333: +34 -119 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.333: download - view: text, markup, annotated - select for diffs
Tue Jan 27 04:44:14 2004 UTC (6 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20040202, netbsd_snap_20040202, freebsd4_snap_20040202
Diff to: previous 1.332: preferred, colored
Changes since revision 1.332: +3 -3 lines
increase nxt stat after packet filtering ops

Revision 1.332: 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: openbsd_snap_20040126, openbsd_snap_20040119, openbsd_snap_20040112, openbsd_snap_20040105, openbsd_snap_20031229, openbsd_snap_20031222, openbsd_snap_20031215, openbsd_snap_20031208, netbsd_snap_20040126, netbsd_snap_20040119, netbsd_snap_20040112, netbsd_snap_20040105, netbsd_snap_20031229, netbsd_snap_20031222, netbsd_snap_20031215, netbsd_snap_20031208, netbsd_snap_20031201, netbsd_snap_20031124, netbsd_snap_20031117, freebsd4_snap_20040126, freebsd4_snap_20040119, freebsd4_snap_20040112, freebsd4_snap_20040105, freebsd4_snap_20031229, freebsd4_snap_20031222, freebsd4_snap_20031215, freebsd4_snap_20031208, freebsd4_snap_20031201, freebsd4_snap_20031124, freebsd4_snap_20031117
Diff to: previous 1.331: preferred, colored
Changes since revision 1.331: +2 -2 lines
changed mobility header protocol no. and MIP6 related ICMPv6 type no.
based on IANA assignment.

Revision 1.331: download - view: text, markup, annotated - select for diffs
Fri Oct 10 13:58:00 2003 UTC (6 years, 5 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20031103, openbsd_snap_20031027, openbsd_snap_20031020, openbsd_snap_20031013, netbsd_snap_20031110, netbsd_snap_20031103, netbsd_snap_20031027, netbsd_snap_20031020, netbsd_snap_20031013, freebsd4_snap_20031110, freebsd4_snap_20031103, freebsd4_snap_20031027, freebsd4_snap_20031020, freebsd4_snap_20031013
Diff to: previous 1.330: preferred, colored
Changes since revision 1.330: +3 -2 lines
fixed an endian bug on fragment header scanning

Reported by  Masahito Endo <masaxmasa@tahi.org>

Revision 1.330: download - view: text, markup, annotated - select for diffs
Sun Sep 21 09:33:42 2003 UTC (6 years, 5 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20031006, openbsd_snap_20030929, openbsd_snap_20030922, netbsd_snap_20031006, netbsd_snap_20030929, netbsd_snap_20030922, freebsd4_snap_20031006, freebsd4_snap_20030929, freebsd4_snap_20030922, bsdi4_snap_20030929, bsdi4_snap_20030922
Diff to: previous 1.329: preferred, colored
Changes since revision 1.329: +11 -33 lines
a 2292bis cleanup:
  now ip6_savecontrol() simply takes mbuf ** just like ip_savecontrol(), since
  RFC3542 doesn't require to keep history of control information.
  removed ip6_recvpktopts{} accordingly.

Revision 1.329: download - view: text, markup, annotated - select for diffs
Wed Sep 10 08:20:38 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.328: preferred, colored
Changes since revision 1.328: +5 -1 lines
freebsd[345] calls ip6_savecontrol with IPv4 packet, weird!

Revision 1.328: download - view: text, markup, annotated - select for diffs
Wed Sep 10 08:10:54 2003 UTC (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.327: preferred, colored
Changes since revision 1.327: +16 -17 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.327: download - view: text, markup, annotated - select for diffs
Tue Sep 9 00:42:54 2003 UTC (6 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.326: preferred, colored
Changes since revision 1.326: +2 -2 lines
use 2292bis def for router alert opt

Revision 1.326: 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.325: preferred, colored
Changes since revision 1.325: +1 -4 lines
randomize flowlabel/fragment ID.

Revision 1.325: download - view: text, markup, annotated - select for diffs
Wed Aug 27 19:12:02 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.324: preferred, colored
Changes since revision 1.324: +5 -6 lines
more comment wording

Revision 1.324: download - view: text, markup, annotated - select for diffs
Wed Aug 27 18:23:26 2003 UTC (6 years, 6 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.323: preferred, colored
Changes since revision 1.323: +3 -3 lines
comment wording

Revision 1.323: 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.322: preferred, colored
Changes since revision 1.322: +7 -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.322: download - view: text, markup, annotated - select for diffs
Mon Jun 30 07:59:02 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20030804, openbsd_snap_20030728, openbsd_snap_20030721, openbsd_snap_20030714, openbsd_snap_20030707, netbsd_snap_20030804, netbsd_snap_20030728, netbsd_snap_20030721, netbsd_snap_20030714, netbsd_snap_20030707, freebsd4_snap_20030804, freebsd4_snap_20030728, freebsd4_snap_20030721, freebsd4_snap_20030714, freebsd4_snap_20030707, bsdi4_snap_20030804, bsdi4_snap_20030728, bsdi4_snap_20030721, bsdi4_snap_20030714, bsdi4_snap_20030707
Diff to: previous 1.321: preferred, colored
Changes since revision 1.321: +11 -2 lines
suppress ICMPv6 redirect if packet filter rewrote ip6_dst to some address
on the incoming interface.  cedric@openbsd

Revision 1.321: 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.320: preferred, colored
Changes since revision 1.320: +2 -2 lines
enable PF for freebsd4

Revision 1.320: download - view: text, markup, annotated - select for diffs
Sat Jun 28 07:39:32 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.319: preferred, colored
Changes since revision 1.319: +2 -2 lines
deal w/ openbsd ipsec

Revision 1.319: download - view: text, markup, annotated - select for diffs
Sat Jun 28 03:56:15 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.318: preferred, colored
Changes since revision 1.318: +3 -3 lines
byebye new_struct_route

Revision 1.318: download - view: text, markup, annotated - select for diffs
Sat Jun 28 02:21:07 2003 UTC (6 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.317: preferred, colored
Changes since revision 1.317: +13 -6 lines
don't inject ipsec-tunnelled packet to PF again

Revision 1.317: 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.316: preferred, colored
Changes since revision 1.316: +5 -5 lines
cleanup for netbsd PF

Revision 1.316: 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.315: preferred, colored
Changes since revision 1.315: +2 -2 lines
drop NEW_STRUCT_ROUTE for netbsd

Revision 1.315: download - view: text, markup, annotated - select for diffs
Wed May 14 14:43:00 2003 UTC (6 years, 10 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20030623, openbsd_snap_20030616, openbsd_snap_20030609, openbsd_snap_20030602, openbsd_snap_20030526, netbsd_snap_20030623, netbsd_snap_20030616, netbsd_snap_20030609, netbsd_snap_20030602, netbsd_snap_20030526, freebsd4_snap_20030623, freebsd4_snap_20030616, freebsd4_snap_20030609, freebsd4_snap_20030602, freebsd4_snap_20030526, bsdi4_snap_20030623, bsdi4_snap_20030616, bsdi4_snap_20030609, bsdi4_snap_20030602, bsdi4_snap_20030526
Diff to: previous 1.314: preferred, colored
Changes since revision 1.314: +14 -19 lines
KNF

Revision 1.314: 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.313: preferred, colored
Changes since revision 1.313: +16 -16 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.313: download - view: text, markup, annotated - select for diffs
Thu Apr 24 12:47:42 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.312: preferred, colored
Changes since revision 1.312: +7 -5 lines
- swap HAO and ip6src before processing AH/ESP/MH.
  this is just a careless mistake when restructuring mip6 code.

Revision 1.312: 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
Diff to: previous 1.311: preferred, colored
Changes since revision 1.311: +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.311: 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.310: preferred, colored
Changes since revision 1.310: +3 -1 lines
makes it compilable on freebsd-4.8

Revision 1.310: download - view: text, markup, annotated - select for diffs
Tue Apr 8 08:15:14 2003 UTC (6 years, 11 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.309: preferred, colored
Changes since revision 1.309: +2 -2 lines
typo in a comment line.

Revision 1.309: download - view: text, markup, annotated - select for diffs
Fri Apr 4 09:28:37 2003 UTC (6 years, 11 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20030407, netbsd_snap_20030407, freebsd4_snap_20030407, bsdi4_snap_20030407
Diff to: previous 1.308: preferred, colored
Changes since revision 1.308: +2 -1 lines
ip6_getpktaddrs() should return -1 if the stored addresses are invalid.

Revision 1.308: download - view: text, markup, annotated - select for diffs
Wed Apr 2 10:06:48 2003 UTC (6 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.307: preferred, colored
Changes since revision 1.307: +1 -3 lines
remove unneeded mtod() for ip6

Revision 1.307: 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_20030331, openbsd_snap_20030324, openbsd_snap_20030317, openbsd_snap_20030310, openbsd_snap_20030303, openbsd_snap_20030224, netbsd_snap_20030331, netbsd_snap_20030324, netbsd_snap_20030317, netbsd_snap_20030310, netbsd_snap_20030303, netbsd_snap_20030224, freebsd4_snap_20030331, freebsd4_snap_20030324, freebsd4_snap_20030317, freebsd4_snap_20030310, freebsd4_snap_20030303, freebsd4_snap_20030224, bsdi4_snap_20030331, bsdi4_snap_20030324, bsdi4_snap_20030317, bsdi4_snap_20030310, bsdi4_snap_20030303, bsdi4_snap_20030224
Diff to: previous 1.306: preferred, colored
Changes since revision 1.306: +2 -2 lines
- introduced M_MOVE_PKTHDR to netbsd.
  TODO: freebsd5

Revision 1.306: download - view: text, markup, annotated - select for diffs
Fri Feb 7 12:42:47 2003 UTC (7 years, 1 month ago) by t-momose
Branches: MAIN
CVS tags: openbsd_snap_20030217, openbsd_snap_20030210, netbsd_snap_20030217, netbsd_snap_20030210, freebsd4_snap_20030217, freebsd4_snap_20030210, bsdi4_snap_20030217, bsdi4_snap_20030210
Diff to: previous 1.305: preferred, colored
Changes since revision 1.305: +2 -2 lines
Make it compilable on NetBSD (and maybe other BSDs) along the changes
regarding freebsd5 and ip6_getpktaddrs().

Revision 1.305: 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
Diff to: previous 1.304: preferred, colored
Changes since revision 1.304: +41 -4 lines
makes it compilable on freebsd5, too

Revision 1.304: 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.303: preferred, colored
Changes since revision 1.303: +4 -4 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.303: download - view: text, markup, annotated - select for diffs
Wed Jan 22 00:34:42 2003 UTC (7 years, 1 month ago) by suz
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.302: preferred, colored
Changes since revision 1.302: +4 -2 lines
link m_tag to mbuf

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

Revision 1.301: download - view: text, markup, annotated - select for diffs
Fri Jan 17 09:07:43 2003 UTC (7 years, 1 month ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20030120, netbsd_snap_20030120, freebsd4_snap_20030120, bsdi4_snap_20030120
Diff to: previous 1.300: preferred, colored
Changes since revision 1.300: +56 -5 lines
When listening to a source-specific-multicast group, receives IPv6 packets
(e.g. ICMPv6 ECHO) as well as IPv6 UDP packets if source and group are matched

Revision 1.300: download - view: text, markup, annotated - select for diffs
Fri Jan 10 09:06:55 2003 UTC (7 years, 2 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20030113, netbsd_snap_20030113, freebsd4_snap_20030113, bsdi4_snap_20030113
Diff to: previous 1.299: preferred, colored
Changes since revision 1.299: +5 -3 lines
fixed a bug that isatap router list cannot be obtained under NetBSD/OpenBSD

Revision 1.299: download - view: text, markup, annotated - select for diffs
Wed Jan 8 08:47:23 2003 UTC (7 years, 2 months ago) by suz
Branches: MAIN
Diff to: previous 1.298: preferred, colored
Changes since revision 1.298: +7 -1 lines
make it compilable under other platforms than FreeBSD4 by
	- avoiding a use of "ifnet.if_physical"
	- enabling ISATAP features appropriately

Revision 1.298: download - view: text, markup, annotated - select for diffs
Wed Jan 8 05:25:57 2003 UTC (7 years, 2 months ago) by suz
Branches: MAIN
Diff to: previous 1.297: preferred, colored
Changes since revision 1.297: +5 -1 lines
ISATAP implementation using stf device (see "man stf" for further detail)

ToDo: test test test ....

Revision 1.297: download - view: text, markup, annotated - select for diffs
Mon Dec 9 09:49:57 2002 UTC (7 years, 3 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20030106, openbsd_snap_20021230, openbsd_snap_20021223, openbsd_snap_20021216, netbsd_snap_20030106, netbsd_snap_20021230, netbsd_snap_20021223, netbsd_snap_20021216, freebsd4_snap_20030106, freebsd4_snap_20021230, freebsd4_snap_20021223, freebsd4_snap_20021216, bsdi4_snap_20030106, bsdi4_snap_20021230, bsdi4_snap_20021223, bsdi4_snap_20021216
Diff to: previous 1.296: preferred, colored
Changes since revision 1.296: +1 -3 lines
- removed an unused variable.

Revision 1.296: download - view: text, markup, annotated - select for diffs
Wed Nov 20 07:39:33 2002 UTC (7 years, 3 months ago) by fujisawa
Branches: MAIN
CVS tags: openbsd_snap_20021209, openbsd_snap_20021202, openbsd_snap_20021125, netbsd_snap_20021209, netbsd_snap_20021202, netbsd_snap_20021125, freebsd4_snap_20021209, freebsd4_snap_20021202, freebsd4_snap_20021125, bsdi4_snap_20021209, bsdi4_snap_20021202, bsdi4_snap_20021125
Diff to: previous 1.295: preferred, colored
Changes since revision 1.295: +3 -3 lines
- for NATPT support.  ip_forward() needs 3 argument.

Revision 1.295: 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
CVS tags: openbsd_snap_20021118, openbsd_snap_20021111, openbsd_snap_20021104, openbsd_snap_20021028, openbsd_snap_20021021, openbsd_snap_20021014, openbsd_snap_20021007, openbsd_snap_20020930, netbsd_snap_20021118, netbsd_snap_20021111, netbsd_snap_20021104, netbsd_snap_20021028, netbsd_snap_20021021, netbsd_snap_20021014, netbsd_snap_20021007, netbsd_snap_20020930, freebsd4_snap_20021118, freebsd4_snap_20021111, freebsd4_snap_20021104, freebsd4_snap_20021028, freebsd4_snap_20021021, freebsd4_snap_20021014, freebsd4_snap_20021007, freebsd4_snap_20020930, bsdi4_snap_20021118, bsdi4_snap_20021111, bsdi4_snap_20021104, bsdi4_snap_20021028, bsdi4_snap_20021021, bsdi4_snap_20021014, bsdi4_snap_20021007, bsdi4_snap_20020930
Diff to: previous 1.294: preferred, colored
Changes since revision 1.294: +28 -27 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.294: 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
CVS tags: openbsd_snap_20020923, openbsd_snap_20020916, netbsd_snap_20020923, netbsd_snap_20020916, freebsd4_snap_20020923, freebsd4_snap_20020916, bsdi4_snap_20020923, bsdi4_snap_20020916
Diff to: previous 1.293: preferred, colored
Changes since revision 1.293: +2 -2 lines
correct signedness mixup in pointer passing.

Revision 1.293: 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.292: preferred, colored
Changes since revision 1.292: +23 -23 lines
KNF - return is not a function.

Revision 1.292: download - view: text, markup, annotated - select for diffs
Thu Sep 5 08:09:36 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.291: preferred, colored
Changes since revision 1.291: +2 -1 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.291: download - view: text, markup, annotated - select for diffs
Tue Aug 27 00:18:06 2002 UTC (7 years, 6 months ago) by t-momose
Branches: MAIN
CVS tags: openbsd_snap_20020902, netbsd_snap_20020902, freebsd4_snap_20020902, bsdi4_snap_20020902
Diff to: previous 1.290: preferred, colored
Changes since revision 1.290: +2 -2 lines
typo

Revision 1.290: 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.289: preferred, colored
Changes since revision 1.289: +2 -2 lines
MIP6: fix bug a HAO and not work frag. packet. discard mh->pproto != NONE

Revision 1.289: download - view: text, markup, annotated - select for diffs
Mon Aug 5 11:49:16 2002 UTC (7 years, 7 months ago) by k-sugyou
Branches: MAIN
CVS tags: freebsd4_snap_20020805
Diff to: previous 1.288: preferred, colored
Changes since revision 1.288: +3 -1 lines
MIP6: mip6 id-18 supported (todo: L/S bit, refresh opt, BA authdata and etc...)

Revision 1.288: download - view: text, markup, annotated - select for diffs
Wed Jul 31 09:54:18 2002 UTC (7 years, 7 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20020805, netbsd_snap_20020805, bsdi4_snap_20020805
Diff to: previous 1.287: preferred, colored
Changes since revision 1.287: +1 -2 lines
remove redundant extern decl

Revision 1.287: download - view: text, markup, annotated - select for diffs
Fri Jul 26 02:36:11 2002 UTC (7 years, 7 months ago) by k-sugyou
Branches: MAIN
CVS tags: openbsd_snap_20020729, netbsd_snap_20020729, freebsd4_snap_20020729, bsdi4_snap_20020729
Diff to: previous 1.286: preferred, colored
Changes since revision 1.286: +2 -2 lines
MIPv6: MN-MN work w/o HA-MN ESP tunnel

Revision 1.286: 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
CVS tags: openbsd_snap_20020722, openbsd_snap_20020715, openbsd_snap_20020708, openbsd_snap_20020701, openbsd_snap_20020624, netbsd_snap_20020722, netbsd_snap_20020715, netbsd_snap_20020708, netbsd_snap_20020701, netbsd_snap_20020624, freebsd4_snap_20020722, freebsd4_snap_20020715, freebsd4_snap_20020708, freebsd4_snap_20020701, freebsd4_snap_20020624, bsdi4_snap_20020722, bsdi4_snap_20020715, bsdi4_snap_20020708, bsdi4_snap_20020701, bsdi4_snap_20020624
Diff to: previous 1.285: preferred, colored
Changes since revision 1.285: +34 -3 lines
MIP6:
-mip6 tunnel and framgent problem
-bug fix proxy ND(not work unicast NS)

Revision 1.285: download - view: text, markup, annotated - select for diffs
Fri Jun 14 03:50:39 2002 UTC (7 years, 9 months ago) by sakane
Branches: MAIN
CVS tags: openbsd_snap_20020617, netbsd_snap_20020617, freebsd4_snap_20020617, bsdi4_snap_20020617
Diff to: previous 1.284: preferred, colored
Changes since revision 1.284: +5 -3 lines
check if n is null or not.

Revision 1.284: download - view: text, markup, annotated - select for diffs
Sun Jun 9 14:43:59 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20020610, netbsd_snap_20020610, freebsd4_snap_20020610, bsdi4_snap_20020610
Diff to: previous 1.283: preferred, colored
Changes since revision 1.283: +7 -7 lines
whitespace cleanup

Revision 1.283: download - view: text, markup, annotated - select for diffs
Sat Jun 8 19:52:07 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.282: preferred, colored
Changes since revision 1.282: +2 -2 lines
whitespace

Revision 1.282: download - view: text, markup, annotated - select for diffs
Sat Jun 8 19:12:29 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.281: preferred, colored
Changes since revision 1.281: +19 -19 lines
KNF ip6_process_hopopts

Revision 1.281: download - view: text, markup, annotated - select for diffs
Sat Jun 8 11:16:51 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.280: preferred, colored
Changes since revision 1.280: +2 -2 lines
minor cleanups

Revision 1.280: download - view: text, markup, annotated - select for diffs
Sat Jun 8 07:32:05 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.279: preferred, colored
Changes since revision 1.279: +2 -2 lines
0 is not NULL

Revision 1.279: download - view: text, markup, annotated - select for diffs
Sat Jun 8 07:01:37 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.278: preferred, colored
Changes since revision 1.278: +21 -24 lines
minor KNF

Revision 1.278: download - view: text, markup, annotated - select for diffs
Tue May 28 10:24:24 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.277: preferred, colored
Changes since revision 1.277: +3 -3 lines
use arc4random except bsdi

Revision 1.277: download - view: text, markup, annotated - select for diffs
Mon May 27 21:40:31 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.276: preferred, colored
Changes since revision 1.276: +3 -1 lines
limit number of fragments (not fragment queues) in kernel.

Revision 1.276: download - view: text, markup, annotated - select for diffs
Mon May 27 11:37:41 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.275: preferred, colored
Changes since revision 1.275: +1 -18 lines
nd6_ifattach(loif) shouldn't be necessary here

Revision 1.275: download - view: text, markup, annotated - select for diffs
Sat May 25 12:07:38 2002 UTC (7 years, 9 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020527, netbsd_snap_20020527, freebsd4_snap_20020527, bsdi4_snap_20020527
Diff to: previous 1.274: preferred, colored
Changes since revision 1.274: +3 -1 lines
added a new function "scope6_init" to inialize scope zone IDs
for as many interfaces as possible.
this function is called from ip6_init() during the boot procedure.

Revision 1.274: download - view: text, markup, annotated - select for diffs
Mon May 20 09:27:54 2002 UTC (7 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.273: preferred, colored
Changes since revision 1.273: +3 -1 lines
sync with 3.1.  not tested yet
- some sysctls were renamed/renumbered
- sctp syscall have renumbered
- some of IFT_xxx are renumbered
- sctp does not work (some of sys/kern changes had conflict and backed out)

Revision 1.273: download - view: text, markup, annotated - select for diffs
Tue May 14 13:31:33 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.272: preferred, colored
Changes since revision 1.272: +5 -8 lines
- the first step for mip6 id17 support.
  this commit is for the KAME mip6 developpers.  do not try to use this.

Revision 1.272: download - view: text, markup, annotated - select for diffs
Wed Apr 17 04:32:22 2002 UTC (7 years, 10 months ago) by suz
Branches: MAIN
CVS tags: openbsd_snap_20020513, openbsd_snap_20020506, openbsd_snap_20020429, openbsd_snap_20020422, netbsd_snap_20020513, netbsd_snap_20020506, netbsd_snap_20020429, netbsd_snap_20020422, freebsd4_snap_20020513, freebsd4_snap_20020506, freebsd4_snap_20020429, freebsd4_snap_20020422, bsdi4_snap_20020513, bsdi4_snap_20020506, bsdi4_snap_20020429, bsdi4_snap_20020422
Diff to: previous 1.271: preferred, colored
Changes since revision 1.271: +2 -2 lines
removed redundant space at the end of line

Revision 1.271: download - view: text, markup, annotated - select for diffs
Tue Feb 19 17:07:42 2002 UTC (8 years ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020415, openbsd_snap_20020408, openbsd_snap_20020401, openbsd_snap_20020325, openbsd_snap_20020318, openbsd_snap_20020311, openbsd_snap_20020304, openbsd_snap_20020225, netbsd_snap_20020415, netbsd_snap_20020408, netbsd_snap_20020401, netbsd_snap_20020325, netbsd_snap_20020318, netbsd_snap_20020311, netbsd_snap_20020304, netbsd_snap_20020225, freebsd4_snap_20020415, freebsd4_snap_20020408, freebsd4_snap_20020401, freebsd4_snap_20020325, freebsd4_snap_20020318, freebsd4_snap_20020311, freebsd4_snap_20020304, freebsd4_snap_20020225, bsdi4_snap_20020415, bsdi4_snap_20020408, bsdi4_snap_20020401, bsdi4_snap_20020325, bsdi4_snap_20020318, bsdi4_snap_20020311, bsdi4_snap_20020304, bsdi4_snap_20020225, bsdi3_snap_20020325, bsdi3_snap_20020318, bsdi3_snap_20020311, bsdi3_snap_20020304, bsdi3_snap_20020225
Diff to: previous 1.270: preferred, colored
Changes since revision 1.270: +2 -2 lines
typo

Revision 1.270: download - view: text, markup, annotated - select for diffs
Tue Feb 19 17:06:10 2002 UTC (8 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.269: preferred, colored
Changes since revision 1.269: +3 -1 lines
use lo0ifp for openbsd (XXX)

Revision 1.269: download - view: text, markup, annotated - select for diffs
Tue Feb 19 13:11:27 2002 UTC (8 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.268: preferred, colored
Changes since revision 1.268: +4 -4 lines
folded a long line.

Revision 1.268: download - view: text, markup, annotated - select for diffs
Tue Feb 19 13:09:57 2002 UTC (8 years ago) by jinmei
Branches: MAIN
Diff to: previous 1.267: preferred, colored
Changes since revision 1.267: +13 -1 lines
call nd6_ifattach(lo0) from ip6_init2() in order to initialize nd_ifinfo{}
for lo0.

Revision 1.267: download - view: text, markup, annotated - select for diffs
Thu Feb 14 05:29:20 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020218, netbsd_snap_20020218, freebsd4_snap_20020218, bsdi4_snap_20020218, bsdi3_snap_20020218
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +1 -17 lines
cleanup; removed a duplicated check for mapped src/dst addr from ip6_input().
there seemed to be a confusion at the revision 1.99.

Revision 1.266: download - view: text, markup, annotated - select for diffs
Thu Feb 14 05:20:50 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.265: preferred, colored
Changes since revision 1.265: +1 -13 lines
do not call in6_ifattach(lo0) from ip6_init2().
we in fact do not need to call in6_ifattach() at this stage.
additionally, in6_ifattach() has a bad effect of sending packets even though
some parts of the kernel is not ready for sending.

Revision 1.265: download - view: text, markup, annotated - select for diffs
Tue Feb 12 08:05:46 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +2 -2 lines
typo

Revision 1.264: download - view: text, markup, annotated - select for diffs
Sat Feb 9 06:49:45 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020211, netbsd_snap_20020211, freebsd4_snap_20020211, bsdi4_snap_20020211, bsdi3_snap_20020211
Diff to: previous 1.263: preferred, colored
Changes since revision 1.263: +2 -2 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.263: download - view: text, markup, annotated - select for diffs
Mon Feb 4 06:51:10 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.262: preferred, colored
Changes since revision 1.262: +1 -229 lines
clean-up; removed code to measure kernel performance, which is not
necessary any more.

Revision 1.262: download - view: text, markup, annotated - select for diffs
Mon Feb 4 06:37:43 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.261: preferred, colored
Changes since revision 1.261: +1 -46 lines
clean-up.

Revision 1.261: download - view: text, markup, annotated - select for diffs
Mon Feb 4 05:58:24 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.260: preferred, colored
Changes since revision 1.260: +5 -3 lines
do not embed link IDs to the incoming packet, because we now
maintain full sockaddr_in6 structures and always refer to them to qualify
addresses.

Revision 1.260: download - view: text, markup, annotated - select for diffs
Thu Jan 31 14:14:51 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.259: preferred, colored
Changes since revision 1.259: +67 -23 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.259: download - view: text, markup, annotated - select for diffs
Mon Jan 21 04:58:09 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.258: preferred, colored
Changes since revision 1.258: +5 -3 lines
allow ip6_setpktaddrs() to take a NULL address so that the caller can
update a (one) address already set before.

Revision 1.258: download - view: text, markup, annotated - select for diffs
Mon Jan 21 03:18:27 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.257: preferred, colored
Changes since revision 1.257: +27 -8 lines
added a new function ip6_getpktaddrs() to get addresses set by ip6_setpktaddrs.
used the new function in ip6_forward().

Revision 1.257: download - view: text, markup, annotated - select for diffs
Sun Jan 20 11:56:29 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20020121, netbsd_snap_20020121, freebsd4_snap_20020121, bsdi4_snap_20020121, bsdi3_snap_20020121
Diff to: previous 1.256: preferred, colored
Changes since revision 1.256: +8 -1 lines
disabled calling ip6_forward() for NATPT.  this should currently not happen.

Revision 1.256: download - view: text, markup, annotated - select for diffs
Sun Jan 20 11:36:56 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +39 -18 lines
- made ip6aux{} scope-aware; added sockaddr_in6 structures to record
  source and destinaion addresses with scope information.
- recorded the addresses in ip6_input().
- used the recorded addresses to check scope breakage and to get a route
  in ip6_forward().

Revision 1.255: download - view: text, markup, annotated - select for diffs
Thu Jan 17 15:01:03 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.254: preferred, colored
Changes since revision 1.254: +30 -8 lines
added a generic scope check, and removed checks for loopback src/dst addresses.

Revision 1.254: download - view: text, markup, annotated - select for diffs
Thu Jan 17 14:36:04 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.253: preferred, colored
Changes since revision 1.253: +2 -2 lines
style: added a white space before an open bracket.

Revision 1.253: download - view: text, markup, annotated - select for diffs
Thu Jan 17 14:30:10 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.252: preferred, colored
Changes since revision 1.252: +2 -2 lines
comment wording

Revision 1.252: download - view: text, markup, annotated - select for diffs
Thu Jan 17 14:29:44 2002 UTC (8 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.251: preferred, colored
Changes since revision 1.251: +10 -3 lines
restricted the behavior that rejected link-local src/dst addresses with
the "link ID" field portion being filled in to !SCOPEDROUTING cases.

Revision 1.251: download - view: text, markup, annotated - select for diffs
Sun Jan 13 06:11:07 2002 UTC (8 years, 2 months ago) by fujisawa
Branches: MAIN
CVS tags: openbsd_snap_20020114, netbsd_snap_20020114, freebsd4_snap_20020114, bsdi4_snap_20020114, bsdi3_snap_20020114
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +4 -5 lines
- Adjust variable name to a NATPT related name.
  s/ip6_protocol_tr/natpt_enable/

Revision 1.250: download - view: text, markup, annotated - select for diffs
Fri Jan 11 15:49:51 2002 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.249: preferred, colored
Changes since revision 1.249: +1 -25 lines
removed if-0'ed code that does linear search for goto-ours.
the code has been there (with being disabled) since July '99, but our
rtalloc approach is now mature enough.

Revision 1.249: download - view: text, markup, annotated - select for diffs
Fri Jan 11 08:36:30 2002 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.248: preferred, colored
Changes since revision 1.248: +2 -1 lines
do not accept packets to a destination that has a rejected or blackhole
host route.

Revision 1.248: download - view: text, markup, annotated - select for diffs
Fri Jan 11 06:15:02 2002 UTC (8 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.247: preferred, colored
Changes since revision 1.247: +13 -9 lines
pf_test() was called too early.  sync w/openbsd-current

Revision 1.247: 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.246: preferred, colored
Changes since revision 1.246: +1 -159 lines
[cleanup] removed meaningless functions "ip6_update_recvpcbopt" and
"ip6_reset_rcvopt".

Revision 1.246: download - view: text, markup, annotated - select for diffs
Thu Jan 10 12:30:23 2002 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.245: preferred, colored
Changes since revision 1.245: +3 -3 lines
made it compile on netbsd

Revision 1.245: download - view: text, markup, annotated - select for diffs
Thu Jan 10 12:21:32 2002 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +3 -3 lines
removed the "prevctl" argument of ip6_savecontrol().

Revision 1.244: download - view: text, markup, annotated - select for diffs
Thu Jan 10 11:59:49 2002 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +40 -141 lines
in ip6_savecontrol(), do not compare the previous values.
this part has been removed from the adv API spec.

Revision 1.243: 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.242: preferred, colored
Changes since revision 1.242: +3 -1 lines
remove opt_inet6.h,mip6_var.h&etc. includes from if_hif.h&mip6.h

Revision 1.242: download - view: text, markup, annotated - select for diffs
Thu Dec 27 17:40:10 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.241: preferred, colored
Changes since revision 1.241: +2 -2 lines
variable initialization

Revision 1.241: download - view: text, markup, annotated - select for diffs
Thu Dec 27 15:37:40 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +37 -123 lines
in ip6_savecontrol(), do not separate the case for IPV6_RTHDRDSTOPTS and
the case for IPV6_DSTOPTS, according to rfc2292bis-03.

Revision 1.240: download - view: text, markup, annotated - select for diffs
Thu Dec 27 13:46:06 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +1 -2 lines
removed an obsoleted comment.

Revision 1.239: download - view: text, markup, annotated - select for diffs
Mon Dec 24 10:48:19 2001 UTC (8 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +3 -3 lines
renamed sysctl name for ip6addrctl

Revision 1.238: download - view: text, markup, annotated - select for diffs
Sat Dec 22 01:56:49 2001 UTC (8 years, 2 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20011224, netbsd_snap_20011224, freebsd4_snap_20011224, bsdi4_snap_20011224, bsdi3_snap_20011224
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +3 -1 lines
make it compile even if NGIF=0

Revision 1.237: download - view: text, markup, annotated - select for diffs
Fri Dec 21 03:47:22 2001 UTC (8 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +2 -1 lines
whitespace

Revision 1.236: download - view: text, markup, annotated - select for diffs
Fri Dec 21 03:46:15 2001 UTC (8 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +4 -1 lines
include netinet6/in6_gif.h

Revision 1.235: download - view: text, markup, annotated - select for diffs
Tue Dec 18 02:47:58 2001 UTC (8 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +2 -1 lines
missing callout_init() for in6_tmpaddrtimer_ch

Revision 1.234: download - view: text, markup, annotated - select for diffs
Sat Dec 1 08:52:24 2001 UTC (8 years, 3 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20011217, openbsd_snap_20011210, openbsd_snap_20011203, netbsd_snap_20011217, netbsd_snap_20011210, netbsd_snap_20011203, freebsd4_snap_20011217, freebsd4_snap_20011210, freebsd4_snap_20011203, bsdi4_snap_20011217, bsdi4_snap_20011210, bsdi4_snap_20011203, bsdi3_snap_20011217, bsdi3_snap_20011210, bsdi3_snap_20011203
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +11 -9 lines
recorded counter for permance evaluation *before* calling ip6_setdstifaddr().
otherwise, the evaluation result would unintentionally worse.

Revision 1.233: 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
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +24 -2 lines
sync with openbsd 3.0.  compiles but not tested.  ALTQ does not work for now.

Revision 1.232: download - view: text, markup, annotated - select for diffs
Mon Nov 26 08:34:12 2001 UTC (8 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +2 -1 lines
duplicate comment

Revision 1.231: download - view: text, markup, annotated - select for diffs
Mon Nov 26 08:21:09 2001 UTC (8 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +4 -1 lines
count per-ifa stats presented on netstat -is (bsdi4)

Revision 1.230: download - view: text, markup, annotated - select for diffs
Sat Nov 17 07:46:39 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.229: preferred, colored
Changes since revision 1.229: +17 -3 lines
made the MEASURE_PERFORMANCE case compilable on freebsd4

Revision 1.229: download - view: text, markup, annotated - select for diffs
Sat Nov 10 09:56:27 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.228: preferred, colored
Changes since revision 1.228: +4 -1 lines
supported use_defaultzone sysctl

Revision 1.228: download - view: text, markup, annotated - select for diffs
Tue Oct 30 05:40:33 2001 UTC (8 years, 4 months ago) by sumikawa
Branches: MAIN
CVS tags: openbsd_snap_20011105, netbsd_snap_20011105, freebsd4_snap_20011105, bsdi4_snap_20011105, bsdi3_snap_20011105
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +25 -22 lines
KNF for NAT-PT

Revision 1.227: download - view: text, markup, annotated - select for diffs
Mon Oct 29 12:25:41 2001 UTC (8 years, 4 months ago) by k-sugyou
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +5 -1 lines
check new-offset overrun in ip6_nexthdr()

Revision 1.226: download - view: text, markup, annotated - select for diffs
Wed Oct 24 06:17:32 2001 UTC (8 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20011029, netbsd_snap_20011029, freebsd4_snap_20011029, bsdi4_snap_20011029, bsdi3_snap_20011029
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +2 -2 lines
whitespace fix

Revision 1.225: download - view: text, markup, annotated - select for diffs
Tue Oct 16 05:09:03 2001 UTC (8 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20011022, netbsd_snap_20011022, freebsd4_snap_20011022, bsdi4_snap_20011022, bsdi3_snap_20011022
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +2 -2 lines
whitespace

Revision 1.224: download - view: text, markup, annotated - select for diffs
Wed Sep 26 06:13:02 2001 UTC (8 years, 5 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20011015, openbsd_snap_20011008, openbsd_snap_20011001, netbsd_snap_20011015, netbsd_snap_20011008, netbsd_snap_20011001, freebsd4_snap_20011015, freebsd4_snap_20011008, freebsd4_snap_20011001, bsdi4_snap_20011015, bsdi4_snap_20011008, bsdi4_snap_20011001, bsdi3_snap_20011015, bsdi3_snap_20011008, bsdi3_snap_20011001
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +3 -1 lines
sync with freebsd44.

Revision 1.223: download - view: text, markup, annotated - select for diffs
Tue Sep 25 07:08:30 2001 UTC (8 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +3 -1 lines
make IPV6CTL_ADDRSELPOLICY available on net/openbsd.

Revision 1.222: download - view: text, markup, annotated - select for diffs
Mon Sep 24 15:28:52 2001 UTC (8 years, 5 months ago) by jinmei
Branches: MAIN
CVS tags: bsdi4_snap_20010925, bsdi3_snap_20010925
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +4 -1 lines
implemented the policy table for address selection according to
draft-ietf-ipngwg-default-addr-select.
"To be considered" items:
  - using sysctl to set/get the policy is really a good way?
  - port to FreeBSD

Revision 1.221: download - view: text, markup, annotated - select for diffs
Thu Sep 20 07:11:29 2001 UTC (8 years, 5 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20010924, netbsd_snap_20010924, freebsd4_snap_20010924, bsdi4_snap_20010924, bsdi3_snap_20010924
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +5 -1 lines
add missing include mip6.h

Revision 1.220: download - view: text, markup, annotated - select for diffs
Thu Sep 20 06:17:47 2001 UTC (8 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +4 -1 lines
missing prototype on -DMIP6

Revision 1.219: 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.218: preferred, colored
Changes since revision 1.218: +2 -2 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.218: 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
CVS tags: openbsd_snap_20010917, netbsd_snap_20010917, freebsd4_snap_20010917, bsdi4_snap_20010917, bsdi3_snap_20010917
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +11 -3 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.217: download - view: text, markup, annotated - select for diffs
Wed Sep 5 03:22:24 2001 UTC (8 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010910, netbsd_snap_20010910, freebsd4_snap_20010910, bsdi4_snap_20010910, bsdi3_snap_20010910
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +6 -1 lines
make net.inet6.ip6.v6only a read-only variable on bsdi3.

Revision 1.216: download - view: text, markup, annotated - select for diffs
Wed Sep 5 03:20:05 2001 UTC (8 years, 6 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +1 -4 lines
allow user to modify net.inet[6].ip6.v6only

Revision 1.215: download - view: text, markup, annotated - select for diffs
Wed Aug 29 03:31:01 2001 UTC (8 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010903, netbsd_snap_20010903, freebsd4_snap_20010903, bsdi4_snap_20010903, bsdi3_snap_20010903
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +4 -1 lines
do not chase intermediate IPv6 header in IPv6-over-IPv6 case.  from sumikawa

Revision 1.214: download - view: text, markup, annotated - select for diffs
Thu Aug 16 12:13:36 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.213: preferred, colored
Changes since revision 1.213: +4 -1 lines
process IPV6CTL_PREFER_TEMPADDR for [no]bsd
(tested on nbsd only)

Revision 1.213: download - view: text, markup, annotated - select for diffs
Fri Aug 3 11:56:02 2001 UTC (8 years, 7 months ago) by keiichi
Branches: MAIN
CVS tags: openbsd_snap_20010813, openbsd_snap_20010806, netbsd_snap_20010813, netbsd_snap_20010806, freebsd4_snap_20010813, freebsd4_snap_20010806, bsdi4_snap_20010813, bsdi4_snap_20010806, bsdi3_snap_20010813, bsdi3_snap_20010806
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +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.212: download - view: text, markup, annotated - select for diffs
Fri Aug 3 10:40:20 2001 UTC (8 years, 7 months ago) by keiichi
Branches: MAIN
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +21 -2 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.211: 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.210: preferred, colored
Changes since revision 1.210: +2 -3 lines
3rd argument 'port' of ip6_fw_chk is unnecessary.

Revision 1.210: download - view: text, markup, annotated - select for diffs
Tue Jul 31 08:55:53 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +2 -2 lines
declare ipsec_getnhist().  in preparation to ipsec m->m_pkthdr.aux change.

Revision 1.209: 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
CVS tags: openbsd_snap_20010730, netbsd_snap_20010730, freebsd4_snap_20010730, bsdi4_snap_20010730, bsdi3_snap_20010730
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +2 -2 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.208: 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.207: preferred, colored
Changes since revision 1.207: +11 -11 lines
style: added spaces after /* and before */
(this might be a matter-of-taste issue, though)

Revision 1.207: download - view: text, markup, annotated - select for diffs
Wed Jul 25 05:52:48 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +14 -1 lines
reject incoming packets to an interface-local multicast address from the wire.

Revision 1.206: 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.205: preferred, colored
Changes since revision 1.205: +10 -4 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.205: download - view: text, markup, annotated - select for diffs
Tue Jul 24 08:55:29 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +1 -14 lines
retire sys/netinet6/in6_prefix.c altogether.  i'm sure it's now safe
to do this, as there was no operation that added entries into rr_prefix chain.

Revision 1.204: 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.203: preferred, colored
Changes since revision 1.203: +7 -4 lines
fill scopeid field on interface local address.  ping6 ff01::1%lo0 now works
(but not ff01::1%ne2... why)

Revision 1.203: download - view: text, markup, annotated - select for diffs
Mon Jul 23 06:40:02 2001 UTC (8 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +2 -2 lines
removed white spaces after EOL.

Revision 1.202: download - view: text, markup, annotated - select for diffs
Mon Jul 23 05:17:48 2001 UTC (8 years, 7 months ago) by sumikawa
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +2 -2 lines
remove 'by kazu'.

Revision 1.201: download - view: text, markup, annotated - select for diffs
Mon Jul 23 05:10:38 2001 UTC (8 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +3 -5 lines
remove redundant if (m) around ipsec mbuf flags.

Revision 1.200: download - view: text, markup, annotated - select for diffs
Thu Jul 5 06:54:59 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010723, openbsd_snap_20010716, openbsd_snap_20010709, netbsd_snap_20010723, netbsd_snap_20010716, netbsd_snap_20010709, freebsd4_snap_20010723, freebsd4_snap_20010716, freebsd4_snap_20010709, bsdi4_snap_20010723, bsdi4_snap_20010716, bsdi4_snap_20010709, bsdi3_snap_20010723, bsdi3_snap_20010716, bsdi3_snap_20010709
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +9 -7 lines
revert the previous change (on which I was wrong, sorry)

Revision 1.199: download - view: text, markup, annotated - select for diffs
Thu Jul 5 06:42:17 2001 UTC (8 years, 8 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +7 -9 lines
simplified the logic; do validation first, and skip further validations
beyond the point.

Revision 1.198: download - view: text, markup, annotated - select for diffs
Fri Jun 22 14:25:35 2001 UTC (8 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010702, openbsd_snap_20010625, netbsd_snap_20010702, netbsd_snap_20010625, freebsd4_snap_20010702, freebsd4_snap_20010625, bsdi4_snap_20010702, bsdi4_snap_20010625, bsdi3_snap_20010702, bsdi3_snap_20010625
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +2 -2 lines
netbsd: recover INET6_BINDV6ONLY by protecting ip6_v6only variable.
it is part of netbsd releases, so we need to keep it.
(no #ifdef in in6_pcb.c - which is good)

Revision 1.197: 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.196: preferred, colored
Changes since revision 1.196: +2 -2 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.196: 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_20010618, openbsd_snap_20010611, netbsd_snap_20010618, netbsd_snap_20010611, freebsd4_snap_20010618, freebsd4_snap_20010611, bsdi4_snap_20010618, bsdi4_snap_20010611, bsdi3_snap_20010618, bsdi3_snap_20010611
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +7 -3 lines
sync with openbsd 2.9.  GENERIC.KAME compiles, but not tested.
ALTQ portion needs a serious checking.

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

Revision 1.194: download - view: text, markup, annotated - select for diffs
Sun May 27 13:28:35 2001 UTC (8 years, 9 months ago) by itojun
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.193: preferred, colored
Changes since revision 1.193: +7 -1 lines
sysctl access to rip6stat (net.inet6.ip6.rip6stats).  for bsdi/freebsd.
not tested.

Revision 1.193: download - view: text, markup, annotated - select for diffs
Tue May 22 07:57:21 2001 UTC (8 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +6 -3 lines
M_COPY_PKTHDR has to be done before MCLGET.

Revision 1.192: download - view: text, markup, annotated - select for diffs
Mon May 21 13:46:09 2001 UTC (8 years, 9 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +19 -2 lines
do not accept packet if the corresponding route has the cloned bit.
this should solve the problem that some OSes mistakenly accept a packet
to fe80::2%lo0.

Revision 1.191: download - view: text, markup, annotated - select for diffs
Tue Apr 24 16:54:59 2001 UTC (8 years, 10 months ago) by sumikawa
Branches: MAIN
CVS tags: openbsd_snap_20010521, openbsd_snap_20010514, openbsd_snap_20010507, openbsd_snap_20010430, netbsd_snap_20010521, netbsd_snap_20010514, netbsd_snap_20010507, netbsd_snap_20010430, freebsd4_snap_20010521, freebsd4_snap_20010514, freebsd4_snap_20010507, freebsd4_snap_20010430, bsdi4_snap_20010521, bsdi4_snap_20010514, bsdi4_snap_20010507, bsdi4_snap_20010430, bsdi3_snap_20010521, bsdi3_snap_20010514, bsdi3_snap_20010507, bsdi3_snap_20010430
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +6 -2 lines
stats per address for freebsd4

Revision 1.190: download - view: text, markup, annotated - select for diffs
Wed Apr 4 05:17:29 2001 UTC (8 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010423, openbsd_snap_20010417, openbsd_snap_20010410, openbsd_snap_20010409, netbsd_snap_20010423, netbsd_snap_20010417, netbsd_snap_20010410, netbsd_snap_20010409, freebsd4_snap_20010423, freebsd4_snap_20010417, freebsd4_snap_20010410, freebsd4_snap_20010409, bsdi4_snap_20010423, bsdi4_snap_20010417, bsdi4_snap_20010409, bsdi3_snap_20010423, bsdi3_snap_20010417, bsdi3_snap_20010410, bsdi3_snap_20010409
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +2 -4 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.189: download - view: text, markup, annotated - select for diffs
Sun Apr 1 09:08:57 2001 UTC (8 years, 11 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20010402, netbsd_snap_20010402, freebsd4_snap_20010402, bsdi4_snap_20010402, bsdi3_snap_20010402
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +22 -23 lines
clarified goto-ours logic:

1. separated checks against spoofed ::1 src/dst from the goto-ours check.
   this also fixed a bug that the kernel accepted a packet with
   src=::1, dst=invalid, rcvif=lo0
   (you can test it by 'ping6 -S ::1 fe80::xxxx%lo0", where xxxx is not an
    interface ID of lo0)
2. (experimentally) omitted a specical case for link-local destinations at a
   loopback interface.  I believe this is correct, because
   - we now have a host route for fe80::1%lo0, so we can accept a packet to
     the address using the generic logic.
   - we can reject packets to fe80::xxxx%lo0 (xxxx != 1) by the check for
     the RTF_GATEWAY bit for rt_flags (ip6_input.c line 872).
   *** NOTE to developers:***
   this is the case for bsdi4, but please check it on other platforms.
   after the confirmation, I'll completely remove the part (currently, it's
   just escaped by '#ifdef 0')

Revision 1.188: 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.187: preferred, colored
Changes since revision 1.187: +7 -20 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.187: download - view: text, markup, annotated - select for diffs
Wed Mar 21 19:15:28 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.186: preferred, colored
Changes since revision 1.186: +16 -3 lines
do not inject packet to ipfilter, if the packet went through ipsec tunnel mode.
netbsd only.

Revision 1.186: download - view: text, markup, annotated - select for diffs
Fri Mar 16 11:38:58 2001 UTC (9 years 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.185: preferred, colored
Changes since revision 1.185: +15 -1 lines
drop linklocal packets with s6_addr16[1] already filled.
From: Markku Savela <msa@burp.tkv.asdf.org>

Revision 1.185: download - view: text, markup, annotated - select for diffs
Fri Mar 2 11:43:33 2001 UTC (9 years ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010312, openbsd_snap_20010305, netbsd_snap_20010312, netbsd_snap_20010305, freebsd4_snap_20010312, freebsd4_snap_20010305, bsdi4_snap_20010312, bsdi4_snap_20010307, bsdi3_snap_20010312, bsdi3_snap_20010305
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +1 -14 lines
byebye M_ANYCAST6

Revision 1.184: download - view: text, markup, annotated - select for diffs
Thu Mar 1 22:54:29 2001 UTC (9 years ago) by itojun
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +2 -2 lines
correct openbsd compilation (no PR_LASTHDR)

Revision 1.183: download - view: text, markup, annotated - select for diffs
Thu Mar 1 15:15:23 2001 UTC (9 years ago) by itojun
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -2 lines
no netinet6/ipsec.h for openbsd

Revision 1.182: download - view: text, markup, annotated - select for diffs
Thu Mar 1 09:10:23 2001 UTC (9 years ago) by itojun
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +17 -1 lines
enforce IPsec policy checking for transport mode input.
fixes *bsd ip6 (modulo openbsd).

slightly reduce #ifdef in in6_proto.c.

Revision 1.181: download - view: text, markup, annotated - select for diffs
Mon Feb 26 08:04:52 2001 UTC (9 years ago) by itojun
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +4 -1 lines
on bsdi[34], set net.inet6.ip6.v6only readonly

Revision 1.180: download - view: text, markup, annotated - select for diffs
Mon Feb 26 08:02:45 2001 UTC (9 years ago) by itojun
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +6 -5 lines
supply net.inet6.ip6.v6only on all platforms, to indicate AF_INET6 wildcard
bind behavior.

openbsd/bsdi3/freebsd2: 1, cannot change
netbsd: 1, can change unless INET6_BINDV6ONLY is defined at compilation time
bsdi4: 0, can change (no effect - should be made readonly)
freebsd3/4: 0, cannot change
	(should be made modifyable after conflict with ip6_mapped_addr gets
	fixed)

Revision 1.179: download - view: text, markup, annotated - select for diffs
Sat Feb 24 00:26:07 2001 UTC (9 years ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010226, netbsd_snap_20010226, freebsd4_snap_20010226, bsdi4_snap_20010226, bsdi3_snap_20010226
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +2 -1 lines
label must follow statement.  from netbsd-current

Revision 1.178: download - view: text, markup, annotated - select for diffs
Mon Feb 19 10:12:03 2001 UTC (9 years ago) by itojun
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +4 -2 lines
avoid non-intuitive hardcoded value for ip6stat.ip6s_m2m[]

Revision 1.177: download - view: text, markup, annotated - select for diffs
Sun Feb 18 20:36:55 2001 UTC (9 years ago) by fujisawa
Branches: MAIN
CVS tags: openbsd_snap_20010219, netbsd_snap_20010219, freebsd4_snap_20010219, bsdi3_snap_20010219
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +2 -4 lines
- include "opt_natpt.h" when FreeBSD version is more than 3.

Revision 1.176: download - view: text, markup, annotated - select for diffs
Wed Feb 14 07:13:39 2001 UTC (9 years ago) by itojun
Branches: MAIN
CVS tags: bsdi4_snap_20010219
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +29 -2 lines
cope with freebsd4 bridge code.

Revision 1.175: download - view: text, markup, annotated - select for diffs
Sat Feb 10 02:38:34 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20010212, netbsd_snap_20010212, freebsd4_snap_20010212, bsdi4_snap_20010212, bsdi3_snap_20010212
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +10 -10 lines
inden

Revision 1.174: download - view: text, markup, annotated - select for diffs
Fri Feb 9 06:17:41 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +4 -1 lines
- renamed in6_linklocal_auto to ip6_auto_linklocal to be compatible with
  other sysctl names.
- added sysctl knob for ip6_auto_linklocal
  work on bsdi4
  code is available for bsdi3, nbsd, and openbsd (not compiled)

Revision 1.173: download - view: text, markup, annotated - select for diffs
Thu Feb 8 16:30:30 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +5 -5 lines
use callout_xx on freebsd[34].  less ifdef!  notified by thorpej

Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu Feb 8 11:18:05 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +2 -1 lines
style

Revision 1.171: download - view: text, markup, annotated - select for diffs
Thu Feb 8 10:57:00 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +16 -1 lines
use timeout_foo for openbsd.  mip6 is not touched, maybe later
(the goal here is to sync with openbsd-current and use timeout_foo there)

Revision 1.170: download - view: text, markup, annotated - select for diffs
Wed Feb 7 07:50:02 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +3 -3 lines
do not log() on packetes to tentative address.

Revision 1.169: download - view: text, markup, annotated - select for diffs
Wed Feb 7 07:47:24 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +4 -3 lines
revisit comment in pfctlinput()

Revision 1.168: download - view: text, markup, annotated - select for diffs
Wed Feb 7 07:45:10 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +6 -8 lines
revisit safety check for pfctlinput2().

Revision 1.167: 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.166: preferred, colored
Changes since revision 1.166: +7 -14 lines
goodbye OLD_LOOPBACK_IF

Revision 1.166: download - view: text, markup, annotated - select for diffs
Tue Feb 6 01:37:56 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +9 -7 lines
fix comment for special consideration against fe80::%lo0/10

Revision 1.165: download - view: text, markup, annotated - select for diffs
Mon Feb 5 08:57:23 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +17 -17 lines
if rtalert or jumbo payload option has unexpected value in length field,
return parameter problem (pointing option length byte).

Revision 1.164: download - view: text, markup, annotated - select for diffs
Mon Feb 5 08:34:23 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +5 -1 lines
document assuption of ip6_process_hopopts

Revision 1.163: download - view: text, markup, annotated - select for diffs
Mon Feb 5 08:28:25 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +13 -13 lines
undo part of previous style change - did s/\t /\t/ too much for multi-line
function call (personally prefer openbsd KNF, but anyway, i don't think
i should enforce that).

Revision 1.162: download - view: text, markup, annotated - select for diffs
Mon Feb 5 08:21:58 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +7 -7 lines
style.

Revision 1.161: download - view: text, markup, annotated - select for diffs
Mon Feb 5 08:19:34 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +5 -8 lines
if rtalert/jumboopt has invalid length, drop the packet on the floor.
old packet just logs the invalid length and continued on - if we have
shorter option length, we may touch out-of-bounds memory.

topmost bit in option type (RFC2460 p9) talks about behavior when we received
unknown option type, not "known option with invalid length".  so p9 does not
apply to the change here.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Mon Feb 5 08:11:53 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +75 -73 lines
indent

Revision 1.159: download - view: text, markup, annotated - select for diffs
Sat Feb 3 18:40:03 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.158: preferred, colored
Changes since revision 1.158: +5 -7 lines
local variables in ip6_sysctl for netbsd and openbsd are now
necessary on both OSes.

Revision 1.158: download - view: text, markup, annotated - select for diffs
Sat Feb 3 18:25:55 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +5 -5 lines
renamed ip6_anon_regen_advance to ip6_temp_regen_advance

Revision 1.157: download - view: text, markup, annotated - select for diffs
Sat Feb 3 16:30:51 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +3 -3 lines
made it compile on netbsd

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Feb 3 16:23:18 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +24 -5 lines
- sysctl knobs for addrconf privacy on BSDI
  (tested on bsdi4 only)
- changed the type of addrconv privacy lifetimes to u_int32_t

Revision 1.155: download - view: text, markup, annotated - select for diffs
Sat Feb 3 15:30:53 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +24 -2 lines
added sysctl knobs for autoconf privacy extension:
  net.inet6.ip6.use_tempaddr(bool): whether to use the extension
  net.inet6.ip6.temppltime(int): default preferred lifetime for temporary addrs
  net.inet6.ip6.tempvltime(int): default valid lifetime for temporary addrs
(currently for netbsd only)

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sat Feb 3 13:19:15 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +5 -5 lines
changed naming convention of variables/constants related to addrconf
privacy, according to changed from the latest I-D to RFC 3041.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Fri Feb 2 15:21:17 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +5 -1 lines
made them compilable on netbsd

Revision 1.152: download - view: text, markup, annotated - select for diffs
Fri Feb 2 14:23:41 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +13 -1 lines
several bug fixes on addrconf privacy extension.
now it seems to work well.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Feb 2 04:39:40 2001 UTC (9 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +4 -1 lines
- more work on addrconf privacy extension.
  + generate a temporary address after configuring a public address
  + added random ID regeneration timer
  + prefer temporary address to public address
  + introduced random delay for regeneration/lifetimes
  + make sure not to increment lifetimes of temporary addresses
(it now works quite well, but still has some problems. I'll soon fix them.)
- more clarifications on (normal) addrconf
  + do not update prefix parameters if the on-link bit is zero
  + do not update address parameters if the autonomous bit is zero

Revision 1.150: download - view: text, markup, annotated - select for diffs
Tue Jan 23 10:50:44 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.149: preferred, colored
Changes since revision 1.149: +5 -1 lines
comment out onion peeling history portion, it looks slow and too restrictive
(about header chain length)

Revision 1.149: download - view: text, markup, annotated - select for diffs
Tue Jan 23 09:52:40 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +20 -3 lines
onion peeling history.
fix paren match

Revision 1.148: download - view: text, markup, annotated - select for diffs
Tue Jan 23 06:50:01 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +2 -2 lines
style

Revision 1.147: download - view: text, markup, annotated - select for diffs
Tue Jan 23 06:47:50 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +60 -29 lines
candidate correspondent code (outside of MIP6).
wrapped into #ifdef ITOJUNMIP6CN so shouldn't affect others too much.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Sun Jan 21 08:46:34 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.145: preferred, colored
Changes since revision 1.145: +13 -14 lines
style (to avoid unnecessarily deep {})

Revision 1.145: download - view: text, markup, annotated - select for diffs
Sun Jan 21 08:26:24 2001 UTC (9 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +16 -4 lines
do not accept a packet to link-local address on loopback, if the address
is not assigned to loopback interface (like fe80::2%lo0).
fixes KAME PR 250.

Revision 1.144: 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
CVS tags: openbsd_snap_20010115, openbsd_snap_20010108, openbsd_snap_20010101, openbsd_snap_20001225, openbsd_snap_20001218, openbsd_snap_20001211, netbsd_snap_20010115, netbsd_snap_20010108, netbsd_snap_20010101, netbsd_snap_20001225, netbsd_snap_20001218, netbsd_snap_20001211, freebsd4_snap_20010115, freebsd4_snap_20010108, freebsd4_snap_20010101, freebsd4_snap_20001225, freebsd4_snap_20001218, freebsd4_snap_20001211, freebsd3_snap_20010115, freebsd3_snap_20010108, freebsd3_snap_20010101, freebsd3_snap_20001225, freebsd3_snap_20001218, freebsd3_snap_20001211, bsdi4_snap_20010116, bsdi4_snap_20010115, bsdi4_snap_20010108, bsdi4_snap_20010101, bsdi4_snap_20001225, bsdi4_snap_20001218, bsdi4_snap_20001211, bsdi3_snap_20010115, bsdi3_snap_20010108, bsdi3_snap_20010101, bsdi3_snap_20001225, bsdi3_snap_20001218, bsdi3_snap_20001211
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +2 -6 lines
bring in OpenBSD 2.8 IPv6 ipsec support.  #ifdef hell...

Revision 1.143: 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.142: preferred, colored
Changes since revision 1.142: +13 -13 lines
s/register//

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Dec 2 15:54:08 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +32 -1 lines
netbsd: bring in pfil_hooks

Revision 1.141: download - view: text, markup, annotated - select for diffs
Sat Dec 2 15:42:22 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +2 -2 lines
oops, string termination

Revision 1.140: download - view: text, markup, annotated - select for diffs
Sat Dec 2 15:41:47 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +5 -1 lines
make sure sizeof(protosw) == sizeof(ip6protosw).

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Dec 2 07:30:37 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +11 -1 lines
sync with netbsd 1.5.  GENERIC.KAME compiles, not tested.

Revision 1.138: download - view: text, markup, annotated - select for diffs
Fri Dec 1 05:12:48 2000 UTC (9 years, 3 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +4 -1 lines
made ip6_notify_pmtu more scope-aware (for non-SCOPEDROUTING kernels).

Revision 1.137: download - view: text, markup, annotated - select for diffs
Thu Nov 30 03:36:40 2000 UTC (9 years, 3 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +29 -2 lines
- when fragmentation occurs, notify applications the MTU of the out IF via
  the IPV6_RECVPATHMTU mechanism.
- implemented a new ctlinput launch routine "pfctlinput2", which calls each
  pfctlinput fuction with an additional argument. This could/should be
  domain independent, but is currently INET6-specific at this momemnt
  for safety.
- adjusted xxxctlinput functions to be

Revision 1.136: download - view: text, markup, annotated - select for diffs
Tue Nov 21 12:29:32 2000 UTC (9 years, 3 months ago) by kawa
Branches: MAIN
CVS tags: openbsd_snap_20001127, netbsd_snap_20001127, freebsd4_snap_20001127, freebsd3_snap_20001127, bsdi4_snap_20001127, bsdi3_snap_20001127
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +18 -4 lines
IP6FW kernel loadable modulization and change SYSCTL_HANDLER_ARGS expression for fbsd 4.x-RELEASE

Revision 1.135: download - view: text, markup, annotated - select for diffs
Sat Nov 18 07:41:14 2000 UTC (9 years, 3 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20001120, netbsd_snap_20001120, freebsd4_snap_20001120, freebsd3_snap_20001120, bsdi4_snap_20001120, bsdi3_snap_20001120
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +3 -3 lines
changed the defintion of ip6_mtuinfo{} according to the Erik's latest memo;
- changed the member names
- use the host byte order for ip6m_mtu
- swap the position of the two members

Revision 1.134: download - view: text, markup, annotated - select for diffs
Fri Nov 17 19:57:01 2000 UTC (9 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -2 lines
make it compile on openbsd/netbsd (type check )

Revision 1.133: download - view: text, markup, annotated - select for diffs
Wed Nov 15 04:35:11 2000 UTC (9 years, 3 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +53 -1 lines
supported IPV6_RECVPATHMTU socket option
(TODO: transport layer code for bsdi3 [fno]bsd)

Revision 1.132: download - view: text, markup, annotated - select for diffs
Thu Nov 9 13:37:34 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20001113, netbsd_snap_20001113, freebsd4_snap_20001113, freebsd3_snap_20001113, bsdi4_snap_20001113, bsdi3_snap_20001113
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +19 -9 lines
error case consideration for ip6_setdstifaddr (comment update only)

Revision 1.131: download - view: text, markup, annotated - select for diffs
Thu Nov 9 10:16:26 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +10 -3 lines
improve comment for calls to ip6_setdstifaddr.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Thu Nov 9 09:49:21 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +27 -1 lines
make sure to attach in6_ifaddr pointer to m_aux.  we won't have it
if ip6_dst is not in our interface addresses.  examples would be multicast
case, FAITH case and some others.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Wed Nov 8 18:38:13 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +1 -2 lines
unused var

Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed Nov 8 17:50:11 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +48 -13 lines
wrap in6_ifaddr attachment to m_aux into a function.
freebsd2: get rid of M_ANYCAST6 (other OSes should follow).

Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Nov 8 17:12:13 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +16 -1 lines
on packet input, attach pointer to in6_ifaddr into m_aux chain.
(to be used as alternative to M_ANYCAST and other flag bits)

drop TCP SYN if we forbid the use of deprecated address.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Wed Nov 8 14:57:21 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +13 -5 lines
avoid confusing indentation

Revision 1.125: download - view: text, markup, annotated - select for diffs
Tue Oct 31 04:36:17 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20001106, netbsd_snap_20001106, freebsd4_snap_20001106, freebsd3_snap_20001106, bsdi4_snap_20001106, bsdi3_snap_20001106
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +27 -1 lines
implement draft-itojun-ipv6-tclass-api-01.txt.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Oct 23 03:44:25 2000 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20001030, netbsd_snap_20001030, freebsd4_snap_20001030, freebsd3_snap_20001030, bsdi4_snap_20001030, bsdi3_snap_20001030
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +2 -2 lines
make IFA_STATS really work (netbsd)

Revision 1.123: download - view: text, markup, annotated - select for diffs
Mon Oct 2 08:42:44 2000 UTC (9 years, 5 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20001023, openbsd_snap_20001016, openbsd_snap_20001009, netbsd_snap_20001023, netbsd_snap_20001016, netbsd_snap_20001009, freebsd4_snap_20001023, freebsd4_snap_20001016, freebsd4_snap_20001009, freebsd4_snap_20001002, freebsd3_snap_20001023, freebsd3_snap_20001016, freebsd3_snap_20001009, freebsd3_snap_20001002, bsdi4_snap_20001023, bsdi4_snap_20001016, bsdi4_snap_20001009, bsdi3_snap_20001023, bsdi3_snap_20001016, bsdi3_snap_20001009
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +45 -13 lines
in ip6_savecontrol(), check if a routing header is contained, in order to
set destination option headers properly.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Mon Sep 11 11:36:41 2000 UTC (9 years, 6 months ago) by sumikawa
Branches: MAIN
CVS tags: openbsd_snap_20001002, openbsd_snap_20000925, openbsd_snap_20000918, netbsd_snap_20001002, netbsd_snap_20000925, netbsd_snap_20000918, freebsd4_snap_20000925, freebsd4_snap_20000918, freebsd3_snap_20000925, freebsd3_snap_20000918, bsdi4_snap_20001002, bsdi4_snap_20000925, bsdi4_snap_20000918, bsdi3_snap_20001002, bsdi3_snap_20000925, bsdi3_snap_20000918
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -2 lines
hardcode NEW_STRUCT_ROUTE to 1 for freebsd4.
I'll do the same thing for freebsd3 soon.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Aug 31 06:07:29 2000 UTC (9 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000911, openbsd_snap_20000904, netbsd_snap_20000911, netbsd_snap_20000904, freebsd4_snap_20000911, freebsd4_snap_20000904, freebsd3_snap_20000911, freebsd3_snap_20000904, bsdi4_snap_20000911, bsdi4_snap_20000904, bsdi3_snap_20000911, bsdi3_snap_20000904
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3 lines
add missing \n to log().

Revision 1.120: download - view: text, markup, annotated - select for diffs
Mon Aug 28 07:41:48 2000 UTC (9 years, 6 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +13 -7 lines
(for performance measurement only) record destination addresses as well.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Sat Aug 26 10:00:45 2000 UTC (9 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000828, netbsd_snap_20000828, freebsd4_snap_20000828, freebsd3_snap_20000828, bsdi4_snap_20000828, bsdi3_snap_20000828
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +65 -1 lines
for netbsd, supply sysctl MIB anonport{min,max} and lowport{min,max}.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat Aug 19 02:01:46 2000 UTC (9 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000821, netbsd_snap_20000821, freebsd4_snap_20000821, freebsd3_snap_20000821, bsdi4_snap_20000821, bsdi3_snap_20000821
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +3 -2 lines
avoid unsafe typecast.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Thu Aug 17 01:08:39 2000 UTC (9 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3 lines
hardcode NEW_STRUCT_ROUTE to 1 (openbsd)

Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Aug 16 10:28:32 2000 UTC (9 years, 6 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -1 lines
reset ip6_forward_cache_miss when changing 'goto ours' algorithm.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Aug 15 08:06:36 2000 UTC (9 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +6 -1 lines
#error if NEW_STRUCT_ROUTE is undefined on netbsd
XXX may not be the right place to do this, but i could find no other place

Revision 1.114: download - view: text, markup, annotated - select for diffs
Tue Aug 15 07:37:55 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -1 lines
added the OURS_CHECK_ALG_LARGEHASH case in the algorithm selection
for 'goto ours'

Revision 1.113: download - view: text, markup, annotated - select for diffs
Tue Aug 15 02:52:43 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +1 -8 lines
removed garbage

Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Aug 15 02:33:47 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +37 -11 lines
more accurate measurement

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Aug 15 02:24:53 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -1 lines
clear log2[] buf when changig ours algorithm

Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue Aug 15 01:57:10 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -1 lines
- added a statistics buffer
- reset ro_dst after cached route mismach

Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon Aug 14 18:40:10 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +5 -7 lines
calculate performance more accurately when forwarding

Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Aug 14 15:06:09 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +17 -9 lines
measure performance from input to forward

Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon Aug 14 13:31:17 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +88 -7 lines
made the "goto ours" algorithm dynamically configurable via sysctl
notes:
  - freebsd only
  - code is adhoc and ugly. sorry, I'll eventually remove all the stuff...

Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Aug 14 02:49:00 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -2 lines
fixed a typo of a compile option

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Aug 12 09:47:26 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20000814, netbsd_snap_20000814, freebsd4_snap_20000814, freebsd3_snap_20000814, bsdi4_snap_20000814, bsdi3_snap_20000814
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3 lines
added a sanity check for retunred in6hash entries (just for safety)

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sat Aug 12 08:08:00 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +39 -20 lines
ported bsdi4's hash engine for 'goto ours' detection.
(just for measurement, not for practical purposes
(copyright looks ok to port)

Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Aug 2 11:02:27 2000 UTC (9 years, 7 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000807, netbsd_snap_20000807, freebsd4_snap_20000807, freebsd3_snap_20000807, bsdi4_snap_20000807, bsdi3_snap_20000807
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +1 -14 lines
remove misguided DIAGNOSTIC code (ro.ro_dst is set to struct sockaddr,
for backward compatibility).  from: suz

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat Jul 29 23:28:20 2000 UTC (9 years, 7 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20000731, netbsd_snap_20000731, freebsd4_snap_20000731, freebsd3_snap_20000731, bsdi4_snap_20000731, bsdi3_snap_20000731
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
made "FAKE_LOOPBACK_IF" and "ND6_USE_RTSOCK" default

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Jul 29 01:01:56 2000 UTC (9 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +10 -1 lines
check for "new struct route" assumption if DIAGNOSTIC is defined

Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Jul 28 12:12:22 2000 UTC (9 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +5 -1 lines
add DIAGNOSTIC cases to non-trivial sizeof is used for bzero/bcopy.
(non-trivial: not the real size of destination)

Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Jul 26 02:10:52 2000 UTC (9 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +17 -5 lines
reject IPv6 traffic, with IPv4 mapped address in the header.

the code was removed once, but in a second thought, it makes more sense
as we cannot live in SIIT environment anyways.  see comments for detail.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Jul 25 10:12:32 2000 UTC (9 years, 7 months ago) by kjc
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -5 lines
the first round of ALTQ interface mega cleanup:
 - cleanup the system interface to the rest of the kernel.
   (the second round cleans up altq internals.)

bring in the new output queue model.
the new model removes "#ifdef ALTQ" from most of the
drivers, and thus, touches all the drivers used by ALTQ.

- the type of if_snd in struct ifnet is changed from
  struct ifqueue to struct ifaltq.
- the altq related fields are moved from struct ifnet
  to struct ifaltq.
- use the newly introduced IFQ_XXX macros instead of
  IF_XXX macros
the new altq mechanism consists of classifier, queueing
discipline, and token bucket regulator.
- add token bucket regulator to control network devices.
  tbr decouples driver tuning from disciplines.
other changes:
- removed 2 kernel config options
  ALTQ_ACCOUNT: should be part of classifier
  AFMAP: doesn't really belong to altq
- added kernel option
  ALTQ_NOPPC: do not use processor cycle counter
- support alpha architecture on netbsd/openbsd
  (in addition to freebsd).
  make use of alpha_rpcc() for a high resolution clock.
- add new driver support: ex, wi, tun, ppp
  (tun and ppp had to be modified to compile)
- some other style(9) cleanup

simple tests have been done
 on freebsd2/freebsd3/freebsd4/netbsd/openbsd for i386
 on freebsd4/netbsd for alpha
but no way to test all the drivers and options.
please report if there is a breakage.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Jul 24 00:16:18 2000 UTC (9 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +17 -15 lines
try to provide binary backward compatibility for RFC2292 API.
it gets annoying if we do not do this, as we deploy RFC2292 in openbsd27/
freebsd40/netbsd15.
while i'm on it, cleanup some typos and mistakes.

testing on openbsd27.  /sbin/rtsol works fine, /sbin/ping6 works fine,
/usr/sbin/traceroute6 is not yet.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Jul 12 12:58:03 2000 UTC (9 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20000724, openbsd_snap_20000717, netbsd_snap_20000724, netbsd_snap_20000717, freebsd4_snap_20000724, freebsd4_snap_20000717, freebsd3_snap_20000724, freebsd3_snap_20000717, bsdi4_snap_20000724, bsdi4_snap_20000717, bsdi3_snap_20000724, bsdi3_snap_20000717
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +12 -5 lines
always use new (large) route{} instead of route_in6 if NEW_STRUCT_ROUTE
is specified.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Jul 2 07:49:37 2000 UTC (9 years, 8 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20000710, openbsd_snap_20000703, netbsd_snap_20000710, netbsd_snap_20000703, freebsd4_snap_20000710, freebsd4_snap_20000703, freebsd3_snap_20000710, freebsd3_snap_20000703, freebsd2_snap_20000703, bsdi4_snap_20000710, bsdi4_snap_20000703, bsdi3_snap_20000710, bsdi3_snap_20000703
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +14 -4 lines
immediately discard packet to an unready (i.e. tentative or duplicated)
address with logging.
reflected recent discussion in the ipngwg ML.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Jun 13 10:06:19 2000 UTC (9 years, 9 months ago) by jinmei
Branches: MAIN
CVS tags: stable_200006, openbsd_stable_20000704, openbsd_snap_20000626, openbsd_snap_20000619, netbsd_stable_20000704, netbsd_snap_20000626, netbsd_snap_20000619, freebsd4_snap_20000626, freebsd4_snap_20000619, freebsd3_stable_20000704, freebsd3_snap_20000626, freebsd3_snap_20000619, freebsd2_stable_20000704, freebsd2_snap_20000626, freebsd2_snap_20000619, bsdi4_stable_20000704, bsdi4_snap_20000626, bsdi4_snap_20000619, bsdi3_stable_20000704, bsdi3_snap_20000626, bsdi3_snap_20000619
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -1 lines
do not use cached route for forwarding, if it is down

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Jun 11 14:59:20 2000 UTC (9 years, 9 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20000612, netbsd_snap_20000612, freebsd4_snap_20000613, freebsd3_snap_20000612, freebsd2_snap_20000612, bsdi4_snap_20000612, bsdi3_snap_20000612
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +8 -4 lines
added a statistics entry on forward cache

Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue May 30 12:15:52 2000 UTC (9 years, 9 months ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20000605, netbsd_snap_20000605, freebsd3_snap_20000605, freebsd2_snap_20000605, bsdi4_snap_20000605, bsdi3_snap_20000605
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +44 -25 lines
added some fragments that implement traditional 'goto ours' logic,
which uses linear search.
(Just for comparison with our way)

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue May 30 11:53:11 2000 UTC (9 years, 9 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +46 -1 lines
added performance checker for KAME's 'goto ours' approach
only enabled with MEASURE_PERFORMANCE

Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue May 30 10:16:24 2000 UTC (9 years, 9 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +5 -1 lines
first attempt for scoped routing
(not completed: please just ignore 'ifdef SCOPEDROUTING' cases)

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri May 19 19:59:05 2000 UTC (9 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000529, openbsd_snap_20000522, netbsd_snap_20000529, netbsd_snap_20000522, freebsd3_snap_20000529, freebsd3_snap_20000522, freebsd2_snap_20000529, freebsd2_snap_20000522, bsdi4_snap_20000529, bsdi4_snap_20000522, bsdi3_snap_20000529, bsdi3_snap_20000522
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +10 -2 lines
correct "telnet fe80::1%lo0" for FAKE_LOOPBACK_IF case.
XXX "telnet fe80::2%lo0" succeeds.  this is very old kame/hydrangea bug.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri May 19 19:10:06 2000 UTC (9 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +13 -8 lines
correct "telnet fe80::1%lo0" for !FAKE_LOOPBACK_IF case.  do not
clear scope id portion (s6_addr16[1]) if the outgoing interface is NOT a
loopback interface ("NOT" was missing).

Revision 1.87: download - view: text, markup, annotated - select for diffs
Mon May 15 10:21:26 2000 UTC (9 years, 10 months ago) by itojun
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -2 lines
typo in comment

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon May 15 10:15:04 2000 UTC (9 years, 10 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +22 -1 lines
be more conformant to rfc 2675;
if ip6_plen == 0 && HbH is included && no jumbo opt, return icmp6 error
and discard packet.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon May 15 03:48:16 2000 UTC (9 years, 10 months ago) by itojun
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +69 -57 lines
little bit of reorder in jumbo payload parsing.  check ip6_plen earlier.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed May 10 00:21:16 2000 UTC (9 years, 10 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000515, netbsd_snap_20000515, freebsd3_snap_20000515, freebsd2_snap_20000515, bsdi4_snap_20000515, bsdi3_snap_20000515
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +13 -6 lines
reject jumbo payload option if ip6_plen != 0.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri May 5 13:27:14 2000 UTC (9 years, 10 months ago) by sumikawa
Branches: MAIN
CVS tags: openbsd_snap_20000508, netbsd_snap_20000508, freebsd3_snap_20000508, freebsd2_snap_20000508, bsdi4_snap_20000508, bsdi3_snap_20000508
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -1 lines
IPSEC* defines are moved from opt_inet.h to opt_ipsec.h in freebsd3.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri May 5 11:01:00 2000 UTC (9 years, 10 months ago) by sumikawa
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -4 lines
INET6 define is moved from opt_inet.h to opt_inet6.h in FreeBSD3,
I believe this helps to share codes with FreeBSD4 easily.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Apr 28 16:00:11 2000 UTC (9 years, 10 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000501, netbsd_snap_20000501, freebsd3_snap_20000501, freebsd2_snap_20000501, bsdi4_snap_20000501, bsdi3_snap_20000501
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +6 -1 lines
correct initialization order.  KAME PR 244.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Apr 12 05:41:28 2000 UTC (9 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000424, openbsd_snap_20000417, netbsd_snap_20000424, netbsd_snap_20000417, freebsd4_snap_20000424, freebsd4_snap_20000417, freebsd3_snap_20000424, freebsd3_snap_20000417, freebsd2_snap_20000424, freebsd2_snap_20000417, bsdi4_snap_20000424, bsdi4_snap_20000417, bsdi3_snap_20000424, bsdi3_snap_20000417
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +6 -3 lines
avoid possible uninitialized use of prevdestlen.
(jinmei, please check if it is correcdt)

Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Apr 12 03:51:30 2000 UTC (9 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3 lines
to honor RFC2492 5.[23] (IPv6 over ATM), pass secondary EUI64 source
to in6_ifattach.  (function prototype changed, commit for other platforms
will follow)

comments and typos.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Apr 11 16:21:50 2000 UTC (9 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3 lines
cleanup in6_ifattach.  do not give up even if link-local address is
already there, since the link-local may be configured by SIOCAIFADDR_IN6,
not from in6_ifattach (netbsd-current pppd case, for example).

remove unused args to in6_ifattach.  os dependent commits should follow.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Apr 11 05:58:04 2000 UTC (9 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -5 lines
don't call in6_ifattach_getifid.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Mar 30 14:19:03 2000 UTC (9 years, 11 months ago) by sumikawa
Branches: MAIN
CVS tags: stable_200004, openbsd_stable_20000425, openbsd_snap_20000410, openbsd_snap_20000403, netbsd_stable_20000425, netbsd_snap_20000410, netbsd_snap_20000403, freebsd4_snap_20000410, freebsd4_snap_20000403, freebsd3_stable_20000425, freebsd3_snap_20000410, freebsd3_snap_20000403, freebsd2_stable_20000425, freebsd2_snap_20000410, freebsd2_snap_20000403, bsdi4_stable_20000425, bsdi4_snap_20000410, bsdi4_snap_20000403, bsdi3_stable_20000425, bsdi3_snap_20000410, bsdi3_snap_20000403
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +23 -8 lines
support freebsd4
	- suser() fix
	- netisr fix
style

Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Mar 28 23:11:05 2000 UTC (9 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -1 lines
revise comment on v4 mapped filter (for SIIT need to disable it, but
you become vulnerable)

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Mar 28 14:11:59 2000 UTC (9 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +19 -14 lines
SIIT assumes that routers forward native IPv6 packet with
IPv4 mapped address just like for normal packets.
move IPv4 mapped address src/dst check downwards.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Mar 25 07:23:47 2000 UTC (9 years, 11 months ago) by sumikawa
Branches: MAIN
CVS tags: openbsd_snap_20000327, netbsd_snap_20000327, freebsd3_snap_20000327, freebsd2_snap_20000327, bsdi4_snap_20000327, bsdi3_snap_20000327
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -6 lines
nuke spaces end of line.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Mar 21 09:23:19 2000 UTC (9 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -2 lines
improve comment.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Mar 21 09:19:28 2000 UTC (9 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -2 lines
remove strong check against IPv4 compatible address.
this (wrongly) forbids RFC1933 relaying case.  we'll enable it if mech-xx
is updated to forbid relaying case.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Mar 13 16:50:56 2000 UTC (10 years ago) by fujisawa
Branches: MAIN
CVS tags: openbsd_snap_20000320, netbsd_snap_20000320, freebsd3_snap_20000320, freebsd2_snap_20000320, bsdi4_snap_20000320, bsdi3_snap_20000320
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -1 lines
include opt_natpt.h.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Mar 9 00:49:07 2000 UTC (10 years ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000313, netbsd_snap_20000313, freebsd3_snap_20000313, freebsd2_snap_20000313, bsdi4_snap_20000313, bsdi3_snap_20000313
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +5 -3 lines
fix boundary condition for ip6_lasthdr

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Mar 9 00:46:11 2000 UTC (10 years ago) by itojun
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +108 -1 lines
implement ip6_nexthdr() and ip6_lasthdr().
TODO: avoid duplicate code in many places.
TODO: improve infinite loop prevention - the current code should be safe
enough, but good to be cautious.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Feb 22 14:04:21 2000 UTC (10 years ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000306, openbsd_snap_20000228, netbsd_snap_20000306, netbsd_snap_20000228, freebsd3_snap_20000306, freebsd3_snap_20000228, freebsd2_snap_20000306, freebsd2_snap_20000228, bsdi4_snap_20000306, bsdi4_snap_20000228, bsdi3_snap_20000306, bsdi3_snap_20000228
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -0 lines
add $KAME$

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Feb 19 13:11:40 2000 UTC (10 years ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000221, netbsd_snap_20000221, freebsd3_snap_20000221, freebsd2_snap_20000221, bsdi4_snap_20000221, bsdi3_snap_20000221
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +12 -3 lines
sync with latest mip6 from ericsson.
encaptab (ip_encap.[ch]) is now visible to the outside, read-only.

ericsson guys: look at line marked with "BUG ALERT" in mip6_md.c.
we have missing curly brace, or wrong indentation there.

compiled on: freebsd2 (will do on other platforms)

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Feb 7 17:22:52 2000 UTC (10 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000214, netbsd_snap_20000214, freebsd3_snap_20000214, freebsd2_snap_20000214, bsdi4_snap_20000214, bsdi3_snap_20000214
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +28 -1 lines
ericsson mobile-ip6.  compiled on netbsd but not tested.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Feb 6 09:34:06 2000 UTC (10 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: openbsd_snap_20000207, netbsd_snap_20000207, freebsd3_snap_20000207, freebsd2_snap_20000207, bsdi4_snap_20000207, bsdi3_snap_20000207
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -2 lines
avoid direct reference to netinet6/{ip6,icmp6,in6}.h.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jan 30 05:02:18 2000 UTC (10 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: stable_200001, openbsd_stable_20000214, openbsd_snap_20000131, netbsd_stable_20000214, netbsd_snap_20000131, freebsd3_stable_20000214, freebsd3_snap_20000131, freebsd2_stable_20000214, freebsd2_snap_20000131, bsdi4_stable_20000214, bsdi4_snap_20000131, bsdi3_stable_20000214, bsdi3_snap_20000131
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -1 lines
typo fix.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jan 30 04:57:31 2000 UTC (10 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +9 -9 lines
simplify loop in ip6_savecontrol() - 2nd case statement duplicates
the 1st, so we won't visit "default:" case.
From: jinmei

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Jan 30 03:08:03 2000 UTC (10 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -4 lines
- clarified a comment
- a wording fix

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Jan 29 08:47:18 2000 UTC (10 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
typo

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Jan 29 07:17:58 2000 UTC (10 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +110 -17 lines
don't m_pulldown() in ip6_savecontrol().  pull out extension header as
necessary.
actually #ifdef PULLDOWN_TEST case covers non-PULLDOWN_TEST case.
to decrease #ifdef maintenance issue, we may want to use PULLDOWN_TEST
case only.

add more sanity checks to avoid infinite loop in ip6_savecontrol().
- don't check non-extension header as extension header.
- check m_len when non-PULLDOWN_TEST case.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Jan 28 16:01:52 2000 UTC (10 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -0 lines
inhibit debuggin code (which was committed by mistake, i suppose)

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Jan 28 12:46:36 2000 UTC (10 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +58 -0 lines
corrected a comment

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Jan 27 16:41:33 2000 UTC (10 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +26 -2 lines
delayed allocation of in6p->inputopts till it is necessary (in
the ip6_savecontrol function) to avoid allocation overhead.
it would be also good for compatibility with systems that have
shared PCBs.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Jan 23 04:04:25 2000 UTC (10 years, 1 month ago) by jinmei
Branches: MAIN
CVS tags: openbsd_snap_20000124, netbsd_snap_20000124, freebsd3_snap_20000124, freebsd2_snap_20000124, bsdi4_snap_20000124, bsdi3_snap_20000124
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -6 lines
made ip6_reset_rcvopt more robust:
do not call m_free when it is the NULL pointer.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Jan 22 07:54:25 2000 UTC (10 years, 1 month ago) by jinmei
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +12 -6 lines
fixed the way of freeing data in ip6_reset_rcvopt() to prevent
kernel panic.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Jan 18 11:37:12 2000 UTC (10 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -1 lines
fix pulldown case (not tested yet)

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jan 18 07:29:33 2000 UTC (10 years, 1 month ago) by kjc
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -1 lines
update ALTQ from 2.0 to 2.1.
	this version supports openbsd in addition to freebsd2, freebsd3
	and netbsd.
kernel:
	altq related files are moved from "sys/net" and "sys/netinet"
	to "sys/altq" not to bloat the standard directories.

	rename the altq kernel config file from ALTQ to ALTQ.v4 since
	it's only for IPv4 and GENERIC.v6 has ALTQ already defined.
userland:
	the following altq tools are added to the tree:
	lib/altqlib, usr.sbin/altqd, user.bin/altqstat.

	install MAKEDEV.altq to /dev.

from now on, ALTQ is developed within the KAME repository.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jan 18 04:44:10 2000 UTC (10 years, 1 month ago) by sumikawa
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
less warnings

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jan 16 12:56:13 2000 UTC (10 years, 1 month ago) by sumikawa
Branches: MAIN
CVS tags: openbsd_snap_20000117, netbsd_snap_20000117, freebsd3_snap_20000117, freebsd2_snap_20000117, bsdi4_snap_20000117, bsdi3_snap_20000117
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
make compilable on FreeBSD 3.4 for 2292bis implementation.
(tested on freebsd2/freebsd3)

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jan 13 16:58:23 2000 UTC (10 years, 2 months ago) by jinmei
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +21 -14 lines
corrected the logic of whether to pass received dst opt/routing headers
to a user in ip6_savecontrol().

Revision 1.48: download - view: text, markup, annotated - select for di