NetBSD/sys/net
thorpej ca4d373730 Implement support for IP/TCP/UDP checksum offloading provided by
network interfaces.  This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us.  In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software.  This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.

We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.

Note: hardware-assisted checksumming defaults to "off".  It is
enabled with ifconfig(8).  See the manual page for details.

Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:06 +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 Add a missing include when using this in user space. 2000-07-22 05:11:27 +00:00
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 Implement support for IP/TCP/UDP checksum offloading provided by 2001-06-02 16:17:06 +00:00
if.h Implement support for IP/TCP/UDP checksum offloading provided by 2001-06-02 16:17:06 +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 Avoid recursion with traditional cpp. 2000-07-28 12:13:32 +00:00
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 #ifdef for freebsd 2001-05-08 11:06:21 +00:00
if_faith.h correct faith prefix determination. use sys/netinet/if_faith.c:faithprefix() 2001-05-08 10:15:13 +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 Convert `gif' to be a cloning interface. 2000-07-02 00:21:42 +00:00
if_gre.c one more indentation fix 2001-05-10 01:30:55 +00:00
if_gre.h whitespace/indentation cleanup 2001-05-10 01:23:51 +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 fix typo in comment 2001-05-18 08:56:27 +00:00
if_media.h Add an Ethernet option bit for master mode (for 1000baseTX, the link 2001-05-31 16:30:04 +00:00
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 fix mbuf leak due to meaningless MGETHDR. from niels provos 2001-05-30 16:42:02 +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 ecn consideration on tunnel encap/decap. sync with kame. 2001-05-10 01:37:42 +00:00
if_stf.h
if_strip.c delint to c89; use #define instead of static const int for an array size 2001-05-07 10:15:46 +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 use _KERNEL_OPT 2001-05-30 11:57:16 +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 Merge if_spppsubr.c PPP protocol declarations list with the one found 2000-07-02 17:38:09 +00:00
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