OpenBSD CVS

CVS log for src/sys/net/if_enc.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 1 21:48:00 2021 UTC (2 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

mention that the "flags" field in the enchdr is uses m_flags values
(see mbuf.h)

Revision 1.12 / (download) - annotate - [select for diffs], Mon Dec 8 10:46:14 2014 UTC (9 years, 6 months ago) by mpi
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, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

There's no good reason to keep into "struct ifnet" a pointer that's only
used by enc(4) devices to attach their routes.

ok sthen@, mikeb@

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 25 09:16:34 2013 UTC (10 years, 11 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.10: +8 -6 lines
Diff to previous 1.10 (colored)

Protect various driver descriptors by _KERNEL to stop exposing to much
stuff to userland, especially the "struct ifnet".

ok sthen@, henning@, uebayasi@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 1 02:09:45 2010 UTC (13 years, 11 months ago) by reyk
Branch: MAIN
CVS Tags: 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
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

Allow to specify an alternative enc(4) interface for an SA.  All
traffic for this SA will appear on the specified enc interface instead
of enc0 and can be filtered and monitored separately. This will allow
to group individual ipsec policies to virtual interfaces and
simplifies monitoring and pf filtering with many ipsec policies a lot.

This diff includes the following changes:
- Store the enc interface unit (default 0) in the TDB of an SA and pass
it to the enc_getif() lookup when running the bpf or pf_test() handlers.
- Add the pfkey SADB_X_EXT_TAP extension to communicate the encX
interface unit for a specified SA between userland and kernel.
- Update enc(4) again to use an allocate array instead of the TAILQ to
lookup the matching enc interface in enc_getif() quickly.

Discussed with many, tested by a few, will need more testing & review.

ok deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 29 21:28:37 2010 UTC (13 years, 11 months ago) by reyk
Branch: MAIN
Changes since 1.8: +24 -37 lines
Diff to previous 1.8 (colored)

Replace enc(4) with a new implementation as a cloner device.  We still
create enc0 by default, but it is possible to add additional enc
interfaces.  This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:53:59 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.5.2.1: +7 -5 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 25 05:14:00 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, UBC_BASE, UBC, SMP_SYNC_B, SMP_SYNC_A, 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, 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, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

Copyright update.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 9 06:16:37 2001 UTC (23 years ago) by angelos
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

By popular demand, protect from multiple inclusion, and fix to use the
same naming style.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon May 14 22:40:00 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.5: +0 -10 lines
Diff to previous 1.5 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 30 22:56:23 2000 UTC (23 years, 5 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.5: +0 -10 lines
Diff to previous 1.5 (colored)

For bridged IPsec, use the gif* interfaces.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jan 15 20:02:37 2000 UTC (24 years, 5 months ago) by angelos
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.4: +1 -0 lines
Diff to previous 1.4 (colored)

Don't allow enc0 to be added to a bridge, as it's used for all
non-bound SAs...

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 31 19:47:45 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

indent

Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 27 03:06:40 1999 UTC (24 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.2: +7 -0 lines
Diff to previous 1.2 (colored)

Implement ioctls for binding SAs to enc interfaces (to be used with
the bridge).

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 29 05:22:02 1999 UTC (24 years, 7 months ago) by angelos
Branch: MAIN
CVS Tags: kame_19991208
Changes since 1.1: +7 -0 lines
Diff to previous 1.1 (colored)

enc_softc definition

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 10 23:57:11 1998 UTC (26 years ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4

make the packets which were successfully processed by IPSec available to
bpf via the enc0 interface, using linktype DLT_ENC.

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.