diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2011-10-15 03:24:12 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2011-10-15 03:24:12 +0000 |
commit | 0fc580053976b92a57e7ef7a3d4c3dba5cbeed93 (patch) | |
tree | 9d042d6965d8c827f56535353f9042aa2ede9b3a /sys/net/pipex.h | |
parent | 3915fb613669eb3791b0f720e3d5baa758e7e012 (diff) |
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.
Diffstat (limited to 'sys/net/pipex.h')
-rw-r--r-- | sys/net/pipex.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net/pipex.h b/sys/net/pipex.h index 391e69ea54d..cddbbefc893 100644 --- a/sys/net/pipex.h +++ b/sys/net/pipex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex.h,v 1.9 2011/07/08 18:30:17 yasuoka Exp $ */ +/* $OpenBSD: pipex.h,v 1.10 2011/10/15 03:24:11 yasuoka Exp $ */ /* * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -216,6 +216,11 @@ struct pipex_session *pipex_l2tp_userland_lookup_session_ipv4 (struct mbuf *, s struct pipex_session *pipex_l2tp_userland_lookup_session_ipv6 (struct mbuf *, struct in6_addr); struct mbuf *pipex_l2tp_userland_output (struct mbuf *, struct pipex_session *); int pipex_ioctl (struct pipex_iface_context *, int, caddr_t); +void pipex_session_init_mppe_recv(struct pipex_session *, int, +int, u_char *); +void pipex_session_init_mppe_send(struct pipex_session *, int, +int, u_char *); + __END_DECLS #endif /* _KERNEL */ |