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 Use <net/dlt.h> to get the DLT_* constants. Also change bpfattach() 2000-12-12 17:55:21 +00:00
bpf_filter.c
bpfdesc.h
bsd-comp.c Don't use MALLOC() for variable-sized allocations. 2000-08-25 21:22:16 +00:00
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 Add kernel counters for arp events, displayable with netstat -s -f arp 2000-08-15 20:24:57 +00:00
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 Adapt to bpfattach() changes, and further centralize the bpfattach() 2000-12-12 18:00:22 +00:00
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 Use DMA from mbuf instead of copy in transmit. 2000-11-20 12:12:18 +00:00
if_ieee1394subr.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_ieee80211.h Add a version of the 802.11 frame header that includes the 4th address. 2000-12-18 18:00:23 +00:00
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 For SLIP/STRIP/PPP, use generic soft interrupts, if available. 2001-01-15 16:33:30 +00:00
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 For SLIP/STRIP/PPP, use generic soft interrupts, if available. 2001-01-15 16:33:30 +00:00
if_sl.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_slvar.h For SLIP/STRIP/PPP, use generic soft interrupts, if available. 2001-01-15 16:33:30 +00:00
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 For SLIP/STRIP/PPP, use generic soft interrupts, if available. 2001-01-15 16:33:30 +00:00
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 Adapt to bpfattach() changes, and further centralize the bpfattach() 2000-12-12 18:00:22 +00:00
if_types.h Add new numbers from IANA: 0x83 - 0xbd 2000-10-26 06:51:31 +00:00
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 When an Ethernet interface detaches, unconfigure any VLANs associated 2000-10-03 23:50:52 +00:00
net_osdep.c
net_osdep.h sync comment with latest kame 2001-02-08 12:36:06 +00:00
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 Back out the sledgehammer damage applied by wiz while I was out for 2000-12-28 21:40:59 +00:00
pfil.h need to declare NULL for inline function. 2001-04-11 14:44:55 +00:00
pfkeyv2.h typo 2000-10-03 22:46:21 +00:00
ppp-comp.h change CCP maxlen to 64 to accomodate mschap-2. 2001-02-23 21:16:19 +00:00
ppp-deflate.c Don't use MALLOC() for variable-sized allocations. 2000-08-25 21:22:16 +00:00
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 fix indentation 2001-01-10 01:16:59 +00:00
radix.h fix typo in function name (rn_satsifies_leaf -> satisfies). indent. 2000-12-17 10:23:19 +00:00
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 pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). 2001-01-17 04:05:41 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c expose the definitions of MIN() and MAX() in sys/param.h to the kernel 2001-02-05 10:42:40 +00:00
zlib.h