OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.52 / (download) - annotate - [select for diffs], Wed May 29 00:48:15 2024 UTC (13 days, 1 hour ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.51: +1 -2 lines
Diff to previous 1.51 (colored)

remove prototypes with no matching function

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jan 23 17:57:21 2024 UTC (4 months, 2 weeks ago) by mvs
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5
Changes since 1.50: +19 -9 lines
Diff to previous 1.50 (colored)

Introduce pipex_iterator(), the special thing to perform
`pipex_session_list' foreach walkthrough with `pipex_list_mtx' mutex(9)
relocking. It inserts special item after acquired `session' and keeps it
linked until `session' release. Only owner can unlink it's own item, so
the LIST_NEXT(session) is always valid even the `session' was unlinked.
The iterator skips special items at the `session' acquisition time, as
all other foreach loops where `pipex_list_mtx' mutex(9) is not relocked.

ok yasuoka

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jan 23 16:57:53 2024 UTC (4 months, 2 weeks ago) by mvs
Branch: MAIN
Changes since 1.49: +1 -3 lines
Diff to previous 1.49 (colored)

Remove `pipex_rd_head6' and `ps6_rn[2]'. They are not used.

ok yasuoka

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jul 15 22:56:13 2022 UTC (22 months, 3 weeks ago) by mvs
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.48: +26 -24 lines
Diff to previous 1.48 (colored)

Introduce fine grained pipex(4) locking. Use per-session `pxs_mtx'
mutex(9) to protect session context. Except MPPE encryption, PPPOE
sessions are mostly immutable, so no lock required for that case.

Global pipex(4) data is already protected by `pipex_list_mtx' mutex(9),
so pipex(4) doesn't rely on netlock anymore.

Recursion was removed from pipex_mppe_input() and pipex_mppe_output().

ok bluhm@

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jul 12 08:58:53 2022 UTC (23 months ago) by mvs
Branch: MAIN
Changes since 1.47: +4 -9 lines
Diff to previous 1.47 (colored)

Remove PIPEXCSESSION pipex(4) ioctl(2) command from kernel and man page.

Long time ago pipex(4) session can't be deleted until both pipex(4)
input and output queues become empty. Dead sessions were linked to the
stack and the `ip_forward' flag was used to prevent packets forwarding.
npppd(8) marked such sessions by doing PIPEXCSESSION ioctl(2) call.

But since we started to unlink close session from the stack, this logic
became unnecessary. Also pipex(4) session could be closed just after
close request.

npppd(8) was the only userland program which did PIPEXCSESSION ioctl(2)
call, and we removed it week ago. It's time to remove the remains.

Now the `flags' member of 'pipex_session' structure became immutable.

ok yasuoka@

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jun 26 15:50:21 2022 UTC (23 months, 2 weeks ago) by mvs
Branch: MAIN
Changes since 1.46: +21 -11 lines
Diff to previous 1.46 (colored)

The "ifq_set_maxlen(..., 1);" hack we use to enforce pipex(4) related
(*if_qstart)() be always called with netlock held doesn't work anymore
with PPPOE sessions.

Introduce `pipex_list_mtx' mutex(9) and use it to protect global pipex(4)
lists and radix trees.

Protect pipex(4) `session' dereference with reference counters, because we
could sleep when accessing pipex(4) from ioctl(2) path, and this is not
possible with mutex(9) held.

ok bluhm@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jun 26 13:14:37 2022 UTC (23 months, 2 weeks ago) by mvs
Branch: MAIN
Changes since 1.45: +14 -9 lines
Diff to previous 1.45 (colored)

'pipex_mppe' and 'pipex_session' structures have uint16_t bit fields
which represent flags. We mix unlocked access to immutable flags with
protected access to mutable ones. This could be not MP independent on
some architectures, so convert these fields to u_int `flags' variables.

ok bluhm@

Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 15 03:31:17 2022 UTC (2 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.44: +1 -5 lines
Diff to previous 1.44 (colored)

remove unused and uneeded bits in a byte define
posix requires a byte to be 8 bits

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jan 2 22:36:04 2022 UTC (2 years, 5 months ago) by jsg
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

spelling
ok jmc@ reads ok tb@

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jul 27 09:29:09 2021 UTC (2 years, 10 months ago) by mvs
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.42: +13 -8 lines
Diff to previous 1.42 (colored)

Introduce mutex(9) to protect pipex(4) session content.

With bluhm@'s diff for parallel forwarding pipex(4) could be accessed in
parallel through (*ifp->if_input)() -> ether_input() ->
pipex_pppoe_input(). PPPOE pipex(4) sessions are mostly immutable except
MPPE crypt.

The new per-session `pxs_mtx' mutex(9) used to protect session's
`ccp-id' which is incremented each time we send CCP reset-request.

The new `pxm_mtx' mutex(9) used to protect MPPE context. Each pipex(4)
session has two of them: one for the input and one for output path.

Where is no lock order limitations because those new mutex(9)'es never
held together.

ok bluhm@

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 20 16:44:55 2021 UTC (2 years, 10 months ago) by mvs
Branch: MAIN
Changes since 1.41: +19 -2 lines
Diff to previous 1.41 (colored)

Turn pipex(4) session statistics to per-CPU counters. This makes pipex(4)
more compliant to bluhm@'s work on traffic forwarding parallelization.

ok yasuoka@ bluhm@

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jan 4 12:21:38 2021 UTC (3 years, 5 months ago) by mvs
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.40: +1 -3 lines
Diff to previous 1.40 (colored)

Remove unused `pipex_iface_context' struct.

ok ok@ yasuoka@

Revision 1.40 / (download) - annotate - [select for diffs], Thu Aug 27 10:47:52 2020 UTC (3 years, 9 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.39: +10 -11 lines
Diff to previous 1.39 (colored)

Make pipex(4) more common for pppac(4) and pppx(4).  Replace
pipex_iface of struct pipex_session with owner_sc which refers the
owner device.  This makes ioctl commands for pppac or pppx device
simpler.  PIPEX{S,G}MODE became dummy since both pppac and pppx is
always used with pipex.  Also move some pppac specific things to the
pppac part on if_pppx.c.

suggestions from mvs, ok mvs

Revision 1.39 / (download) - annotate - [select for diffs], Tue Aug 4 09:32:05 2020 UTC (3 years, 10 months ago) by mvs
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

We have `pipexinq' and `pipexoutq' mbuf(9) queues to store pipex(4)
related mbufs. Each mbuf(9) passed to these queues stores the pointer to
corresponding pipex(4) session referenced as `m_pkthdr.ph_cookie'. When
session was destroyed its reference can still be in these queues so we
have use after free issue while pipexintr() dereference it.

I removed `pipexinq', `pipexoutq' and pipexintr(). This not only allows
us to avoid issue described above, but also removes unnecessary context
switch in packet processing. Also it makes code simpler.

ok mpi@ yasuoka@

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jul 29 12:09:31 2020 UTC (3 years, 10 months ago) by mvs
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Interface index is unsigned integer. Fix the places where it referenced
as signed. u_int used within pipex(4) for consistency with other code.

ok dlg@ mpi@

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 17 08:57:27 2020 UTC (3 years, 10 months ago) by mvs
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Use interface index instead of pointer to corresponding interface
within pipex(4) layer.

ok mpi@

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jul 6 20:37:51 2020 UTC (3 years, 11 months ago) by mvs
Branch: MAIN
Changes since 1.35: +37 -37 lines
Diff to previous 1.35 (colored)

Protect the whole pipex(4) layer by NET_LOCK(). pipex(4) was
simultaneously protected by KERNEL_LOCK() and NET_LOCK() and now we have
the only lock for it. This step reduces locking mess in this layer.

ok mpi@

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 18 14:20:12 2020 UTC (3 years, 11 months ago) by mvs
Branch: MAIN
Changes since 1.34: +7 -1 lines
Diff to previous 1.34 (colored)

Combine and replace duplicated code in pipex(4) and pppx(4) by new functions
listed below.

- pipex_init_session() to check request and alloc new session.
- pipex_link_session() to link session to pipex(4) layer.
- pipex_unlink_session() to unlink session from pipex(4) layer.
- pipex_rele_session() to release session and it's internal allocation.

ok mpi@

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 26 07:06:37 2020 UTC (4 years ago) by mpi
Branch: MAIN
Changes since 1.33: +71 -63 lines
Diff to previous 1.33 (colored)

Document which lock protect pipex(4) fields.

From Vitaliy Makkoveev.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 6 12:31:30 2020 UTC (4 years, 2 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.32: +7 -4 lines
Diff to previous 1.32 (colored)

Pass struct pipex_iface_context pointer down to pipex ioctl functions.
This way pppx(4) and pppac(4) can be further unified. This is an
intermediary step that does not introduce any behaviour change.
From Vitaliy Makkoveev

Revision 1.32 / (download) - annotate - [select for diffs], Sat Apr 4 16:41:23 2020 UTC (4 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

Prevent the destruction of a session owned by another interface.

Issue reported by and fix from Vitaliy Makkoveev.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Feb 15 07:16:03 2020 UTC (4 years, 3 months ago) by yasuoka
Branch: MAIN
Changes since 1.30: +39 -48 lines
Diff to previous 1.30 (colored)

Remove needless #ifdef.
Diff from Jan Stary.

ok claudio

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 31 18:01:14 2019 UTC (5 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.29: +2 -5 lines
Diff to previous 1.29 (colored)

Fix compilation of amd64 kernel when optimization is disabled.
C99 inline semantics resulted in undefined symbols.
OK deraadt@ mpi@ dlg@

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 27 05:57:04 2017 UTC (6 years, 10 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.28: +9 -9 lines
Diff to previous 1.28 (colored)

SEQ16_* macros weren't able to compare properly if one of the sequences is
wrapped around. Fix them to cast the proper width of integer when
comparison.  found goda@

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 28 21:57:19 2017 UTC (7 years ago) by mlarkin
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

fix broken include on previous pipex commit

ok deraadt

Revision 1.27 / (download) - annotate - [select for diffs], Sun May 28 18:43:51 2017 UTC (7 years ago) by yasuoka
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Use interface index and if_{put,get} instead of ifnet pointer.

Revision 1.26 / (download) - annotate - [select for diffs], Sun May 28 12:51:34 2017 UTC (7 years ago) by yasuoka
Branch: MAIN
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

Remove all splnet/splx from pipex(4) and pppx(4) and replace some of
them by NET_LOCK/NET_UNLOCK.  Also make the timeout for pipex_timer
run with a thread context and replace pipex softintr by NETISR_PIPEX.

ok mpi

Revision 1.25 / (download) - annotate - [select for diffs], Thu May 4 15:00:24 2017 UTC (7 years, 1 month ago) by bluhm
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Introduce sstosa() for converting sockaddr_storage with a type safe
inline function instead of casting it to sockaddr.  While there,
use inline instead of __inline for all these conversions.  Some
struct sockaddr casts can be avoided completely.
OK dhill@ mpi@

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jan 24 10:08:30 2017 UTC (7 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

A space here, a space there. Soon we're talking real whitespace
rectification.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Nov 14 14:53:13 2015 UTC (8 years, 6 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

mutli -> multi

Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 23 09:45:24 2015 UTC (9 years, 1 month ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)

replace the use of struct ifqueue in pipex with mbuf_queues.

this has a slight semantic change. previously pipex would only
process up to 128 packets on the input and output queues at a time
and would reschedule the softint if there were any left. now it
mq_delists the current set of pending packets and only processes
them. if anything is added to the queues later they'll cause the
softint to run again.

this in turn lets us deprecate sysctl_ifq since nothing uses it
anymore. because niqueues are mostly wrappers around mbuf_queues,
we can provide sysctl_mq and just #define sysctl_niq to it.

pipex bits are ok yasuoka@

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Mon Dec 1 06:59:03 2014 UTC (9 years, 6 months ago) by yasuoka
Branch: OPENBSD_5_5
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Check the header fields of GRE and MPPE packets strictly.

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Mon Dec 1 06:57:33 2014 UTC (9 years, 6 months ago) by yasuoka
Branch: OPENBSD_5_6
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Check the header fields of GRE and MPPE packets strictly.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 1 06:55:05 2014 UTC (9 years, 6 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

Check the header fields of GRE and MPPE packets strictly.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 21 10:52:53 2014 UTC (9 years, 7 months ago) by yasuoka
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

tun(4) has a pipex session which is used for multicast internally, it
wasn't freeed when the interface is destroyed.  Free it properly.

ok dlg

Revision 1.19 / (download) - annotate - [select for diffs], Sat Apr 20 07:54:28 2013 UTC (11 years, 1 month ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_5_BASE, OPENBSD_5_4_BASE, OPENBSD_5_4
Branch point for: OPENBSD_5_6, OPENBSD_5_5
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Remove unused macro function.

diff from Michael W. Bombardieri.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 16 07:36:55 2013 UTC (11 years, 1 month ago) by yasuoka
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

When pipex session is terminated by idle timer, there was a problem that
the session is removed from the pipex_closed_wait_list twice, fixed it.
It always causes panic because QUEUE_MACRO_DEBUG is enabled by default.
Also remove some needless (struct pipex_session *) casts.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 19 17:50:17 2012 UTC (11 years, 8 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.16: +1 -5 lines
Diff to previous 1.16 (colored)

cleanup around the pipex.  naming style, delete or update comments.
no functional changes.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 17 03:18:57 2012 UTC (11 years, 10 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

use IPsec flowinfo on pipex(4) to select the IPsec tunnel for sending
L2TP packets.

ok markus henning

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 4 04:31:38 2012 UTC (12 years, 2 months ago) by yasuoka
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

pipex hook in udp_usrreq() mistakenly assumed that `inp' is connected.
It could not use the destination address properly, so it failed to
find the pipex session.  This bug caused LCP keepalive failures on some
clients.

found and tested by sebastia@ and mxb at alumni.chalmers.se.
ok sthen

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 25 13:05:06 2011 UTC (12 years, 6 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

fix compile errors without INET6.  no binary change.

pointed out by Julien Crapovich on misc@
ok deraadt mikeb

Revision 1.13 / (download) - annotate - [select for diffs], Sat Oct 15 03:24:11 2011 UTC (12 years, 7 months ago) by yasuoka
Branch: MAIN
Changes since 1.12: +11 -4 lines
Diff to previous 1.12 (colored)

Added "provision for rewound PPP frames" that allows receiving
reorder packets to pass to the upper layer without reorder.  It
will improve performance (throughput or loss rate) for PPTP or
L2TP(/IPesc) on networks that latency is unstable such as mobile
network.

As our test environment (bandwidth: 6Mbps, latency: 50ms for 97% of
traffic and 52ms for rest of traffic), throughput has changed from
0.76MB to 2.17MB on file upload by PPTP connected Windows Vista
ftp.exe.

Developed by UMEZAWA Takeshi at IIJ.

ok jmatthew@
tested jmatthew@ and myself.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 8 19:34:04 2011 UTC (12 years, 11 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Last part of pipex_{pppoe,l2tp,pptp}_input() are almost identical.
Integrate them into pipex_common_input().

ok hsuenaga@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 14 06:36:17 2011 UTC (13 years, 3 months ago) by yasuoka
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

fix typo
patch from Gleydson Soares

ok dlg@

Revision 1.10 / (download) - annotate - [select for diffs], Sat Nov 20 20:11:19 2010 UTC (13 years, 6 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

__attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, and
uncommenting it is intentional.
ok deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 24 14:50:30 2010 UTC (13 years, 8 months ago) by hsuenaga
Branch: MAIN
Changes since 1.8: +114 -9 lines
Diff to previous 1.8 (colored)

Add L2TP support to PIPEX.
We can use IPv6 address as outer header of L2TP.

Kernel ABI is changed. You must update npppd.

OK @claudio, yasuoka@, dlg@

Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 22 13:03:48 2010 UTC (13 years, 8 months ago) by claudio
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored)

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 9 08:36:31 2010 UTC (13 years, 11 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Modified to make sure that pipex_mppe_ouput() keeps the packet 32bit
aligned.

OK claudio@

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 8 08:40:29 2010 UTC (13 years, 11 months ago) by yasuoka
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

pipex didn't work on output.  Fixed following problems:
 - pipex failed to lookup the radix tree because address and netmask
   were not initialized.
 - pipex used wrong place as a ip header because it didn't adjust
   32bit address family header that are added at tun_output.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 3 00:16:07 2010 UTC (13 years, 11 months ago) by yasuoka
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

s/$Id$/$OpenBSD$/

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 13 07:23:38 2010 UTC (14 years, 5 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.3: +22 -24 lines
Diff to previous 1.3 (colored)

cleanup pipex code.  ok henning@

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 13 06:05:47 2010 UTC (14 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.2: +42 -35 lines
Diff to previous 1.2 (colored)

replace static on functions with Static so openbsd can define it away
to nothing. this lets us see functions in ddb, while not hurting the
ability to share the code with other projects.

idea borrowed from the usb stack.

ok yasuoka@

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 12 02:26:37 2010 UTC (14 years, 5 months ago) by yasuoka
Branch: MAIN
Changes since 1.1: +1 -15 lines
Diff to previous 1.1 (colored)

Delete unused structures.  Pointed out by deraadt@.

ok mcbride@

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 11 03:50:56 2010 UTC (14 years, 5 months ago) by yasuoka
Branch: MAIN

Initial import PIPEX.  PIPEX(Pppac IP EXtension) is a IP forwarding
acceleration for PPP access concentrator.

ok mcbride@ dlg@ deraadt@ reyk@.

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.