OpenBSD CVS

CVS log for src/sys/netinet6/dest6.c


[BACK] Up to [local] / src / sys / netinet6

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 13 12:22:09 2024 UTC (3 months, 2 weeks ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

Merge struct route and struct route_in6.

Use a common struct route for both inet and inet6.  Unfortunately
struct sockaddr is shorter than sockaddr_in6, so netinet/in.h has
to be exposed from net/route.h.  Struct route has to be bsd visible
for userland as netstat kvm code inspects inp_route.  Internet PCB
and TCP SYN cache can use a plain struct route now.  All specific
sockaddr types for inet and inet6 are embeded there.

OK claudio@

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 29 22:45:24 2022 UTC (23 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.18: +6 -7 lines
Diff to previous 1.18 (colored)

Pass a pointer to mbuf pointer further down into ip6_process_hopopts()
and ip6_unknown_opt().  Instead of having dangling pointer in caller,
use m_freemp() to set mbuf to NULL.
OK sashan@

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 22 01:15:02 2022 UTC (2 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>

net/if_pppx.c pointed out by jsg@
ok gnezdo@ deraadt@ jsg@ mpi@ millert@

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 14 20:46:31 2017 UTC (7 years, 1 month ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Pass down the address family through the pr_input calls.  This
allows to simplify code used for both IPv4 and IPv6.
OK mikeb@ deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Feb 5 16:04:14 2017 UTC (7 years, 3 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Use percpu counters for ip6stat

Try to follow the existing examples.  Some notes:
- don't implement counters_dec() yet, which could be used in two
  similar chunks of code.  Let's see if there are more users first.
- stop incrementing IPv6-specific mbuf stats, IPv4 has no equivalent.

Input from mpi@, ok bluhm@ mpi@

Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:52 2015 UTC (9 years, 2 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored)

Remove some includes include-what-you-use claims don't
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 8 06:24:13 2014 UTC (9 years, 8 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

remove uneeded route.h includes
ok miod@ mpi@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 3 13:32:24 2014 UTC (10 years ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

Do not include <sys/malloc.h> where it is not needed.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 17 16:27:45 2013 UTC (10 years, 7 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

The header file netinet/in_var.h included netinet6/in6_var.h.  This
created a bunch of useless dependencies.  Remove this implicit
inclusion and do an explicit #include <netinet6/in6_var.h> when it
is needed.
OK mpi@ henning@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 11 19:00:50 2008 UTC (15 years, 11 months ago) by mcbride
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.10: +2 -4 lines
Diff to previous 1.10 (colored)

ANSIfy to sync with KAME. From Karl Sjodahl <dunceor@gmail.com>.

ok todd deraadt naddy bluhm

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Mon May 19 22:27:25 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.8.6.1: +1 -11 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Fri May 16 00:29:44 2003 UTC (21 years ago) by niklas
Branch: SMP
Changes since 1.3.2.2: +0 -10 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

merge the trunk so we will get the genfs and locking fixes

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 14 14:24:44 2003 UTC (21 years ago) by itojun
Branch: MAIN
CVS Tags: UBC_SYNC_A, SMP_SYNC_B, SMP_SYNC_A, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.9: +1 -11 lines
Diff to previous 1.9 (colored)

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:29 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.3.2.1: +5 -4 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Sync the SMP branch with 3.3

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:31:37 2002 UTC (21 years, 11 months ago) by art
Branch: UBC
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

Sync UBC branch to -current

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 30 04:08:05 2002 UTC (22 years ago) by itojun
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

minor KNF

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon May 14 22:40:16 2001 UTC (23 years ago) by niklas
Branch: SMP
Changes since 1.3: +26 -27 lines
Diff to previous 1.3 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 22 01:40:40 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Branch point for: UBC
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

be more more picky about ip6 destopt parsing.  sync with kame

Revision 1.7 / (download) - annotate - [select for diffs], Wed Feb 21 17:22:05 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.6: +8 -11 lines
Diff to previous 1.6 (colored)

make validation code more strict for ND6/dest6 variable length headers.
check duplicated nd6_ifinfo table initialization in a better way.
sync with kame

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 16 15:57:58 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.5: +22 -22 lines
Diff to previous 1.5 (colored)

cosmetic/whitespace sync with kame

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 16 08:48:05 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.4: +5 -4 lines
Diff to previous 1.4 (colored)

sync whitespace/comment with kame.  to help merge tasks

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 16 08:22:04 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

kill register declarations.  to sync with kame better.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 7 06:09:09 2000 UTC (24 years, 4 months ago) by itojun
Branch: MAIN
CVS Tags: SMP_BASE, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: SMP
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

fix include file path related to ip6.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 10 10:04:27 1999 UTC (24 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.1: +1 -4 lines
Diff to previous 1.1 (colored)

Remove remaining unnecessary ifdefs (itojun will hate me for this :-)

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 8 06:50:20 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: kame_19991208

bring in KAME IPv6 code, dated 19991208.
replaces NRL IPv6 layer.  reuses NRL pcb layer.  no IPsec-on-v6 support.
see sys/netinet6/{TODO,IMPLEMENTATION} for more details.

GENERIC configuration should work fine as before.  GENERIC.v6 works fine
as well, but you'll need KAME userland tools to play with IPv6 (will be
bringed into soon).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.