NetBSD/sys/net
martin b5b75a7d19 Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation,
based on the existing net/if_spppsubr.c stuff.

While there are completely userland (bpf based) implementations available,
those have a vastly larger per packet overhead thus causing major CPU
overhead and higher latency. On an i386 base router, running a 486DX at 50MHz
my line (768kBit/s downstream) was limited to something (varying) between 10
and 20 kByte/s effective download rate. With this implementation I get full
bandwidth (~85kByte/s).

This is client side only. Arguably the right way to add full PPPoE support
(including server side) would be a variation of the ppp line discipline and
appropriate modifications to pppd. I promise every help I can give to anyone
doing that - but I needed this realy fast. Besids, on low memory NAT boxes
with typically a single PPPoE connection, this implementation is more
lightweight than a pppd based one, which nicely fits my needs.
2001-04-29 09:50:36 +00:00
..
Makefile Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation, 2001-04-29 09:50:36 +00:00
bpf.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
bpf.h
bpf_filter.c
bpfdesc.h
bsd-comp.c
dlt.h Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation, 2001-04-29 09:50:36 +00:00
ethertypes.h
if.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if.h fix possible typo in comment. 2001-04-10 22:58:55 +00:00
if_arc.h
if_arcsubr.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_arp.h
if_atm.h
if_atmsubr.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_dl.h
if_ether.h Add altq_etherclassify(), a slight hack modified from the kame/freebsd4 2001-04-07 18:01:48 +00:00
if_ethersubr.c Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation, 2001-04-29 09:50:36 +00:00
if_faith.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_fddi.h
if_fddisubr.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_gif.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_gif.h
if_gre.c splimp -> splnet 2001-04-12 17:53:48 +00:00
if_gre.h
if_hippi.h
if_hippisubr.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_ieee1394.h
if_ieee1394subr.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_ieee80211.h
if_llc.h Add 802.1D (Spanning Tree) LSAP code. 2001-04-10 19:30:41 +00:00
if_loop.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_media.c when changing to an unsupported media type, return EINVAL instead of 2001-02-26 09:42:00 +00:00
if_media.h
if_ppp.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_ppp.h
if_pppoe.c Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation, 2001-04-29 09:50:36 +00:00
if_pppoe.h Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation, 2001-04-29 09:50:36 +00:00
if_pppvar.h
if_sl.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_slvar.h
if_sppp.h Add another option for encapsulation: PP_NOFRAMING. 2001-04-09 19:33:01 +00:00
if_spppsubr.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_stf.c correct outbound outer IPv4 destination address selection. 2001-04-29 03:56:06 +00:00
if_stf.h
if_strip.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_stripvar.h
if_token.h
if_tokensubr.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_tun.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_tun.h
if_types.h
if_vlan.c Add ALTQ support (both for the VLAN interface itself, as well as for 2001-04-07 18:41:42 +00:00
if_vlanvar.h
net_osdep.c
net_osdep.h
netisr.h Add bridge netisr glue (only used if no __HAVE_GENERIC_SOFT_INTERRUPTS). 2001-04-11 03:55:16 +00:00
netisr_dispatch.h Only dispatch slnetisr & co if we don't have generic soft interrupts. 2001-04-14 13:54:38 +00:00
pfil.c
pfil.h need to declare NULL for inline function. 2001-04-11 14:44:55 +00:00
pfkeyv2.h
ppp-comp.h change CCP maxlen to 64 to accomodate mschap-2. 2001-02-23 21:16:19 +00:00
ppp-deflate.c
ppp_defs.h
ppp_tty.c Remove unnecessary test of tp->t_linesw against NULL; they are results 2001-03-31 00:35:21 +00:00
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c use u_quad_t for rtstat. 2001-02-21 05:45:11 +00:00
route.h - lineup comment. 2001-03-08 03:22:28 +00:00
rtsock.c
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h