[BACK]Return to files.netinet CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

File: [cvs.NetBSD.org] / src / sys / netinet / files.netinet (download)

Revision 1.20, Fri Jan 25 21:12:14 2008 UTC (10 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base1, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, uebayasi-xip, rmind-uvmplock
Changes since 1.19: +2 -2 lines

Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
  They call a backend function cpu_in_cksum after possibly
  computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
  The default implementation is moderate fast on most platforms
  and provides a 32bit accumulator with 16bit addends for L32 platforms
  and a 64bit accumulator with 32bit addends for L64 platforms.
  It handles edge cases like very large mbuf chains (could happen with
  native IPv6 in the future) and provides a good base for new native
  implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.

#	$NetBSD: files.netinet,v 1.20 2008/01/25 21:12:14 joerg Exp $

defflag opt_tcp_debug.h		TCP_DEBUG
defparam opt_tcp_debug.h	TCP_NDEBUG
defflag opt_inet.h		INET INET6 TCP_SIGNATURE
				TCP_OUTPUT_COUNTERS TCP_REASS_COUNTERS IPSELSRC
defparam opt_inet_conf.h	SUBNETSARELOCAL HOSTZEROBROADCAST

defflag				MROUTING
defflag				PIM
defflag				TCP_COMPAT_42

defparam opt_tcp_space.h	TCP_RECVSPACE TCP_SENDSPACE

defflag opt_inet_csum.h		INET_CSUM_COUNTERS TCP_CSUM_COUNTERS
				UDP_CSUM_COUNTERS

defparam opt_tcp_congctl.h	TCP_CONGCTL_DEFAULT

file	netinet/igmp.c		inet
file	netinet/in.c		inet
file	netinet/in_offload.c	inet
file	netinet/in_pcb.c	inet
file	netinet/in_proto.c	inet
file	netinet/in_selsrc.c	inet & ipselsrc
file	netinet/ip_flow.c	inet & gateway
file	netinet/ip_icmp.c	inet
file	netinet/ip_id.c		inet
file	netinet/ip_input.c	inet
file	netinet/ip_mroute.c	inet & mrouting
file	netinet/ip_output.c	inet
file	netinet/raw_ip.c	inet

file	netinet/tcp_debug.c	(inet | inet6) & tcp_debug
file	netinet/tcp_input.c	inet | inet6
file	netinet/tcp_output.c	inet | inet6
file	netinet/tcp_sack.c	inet | inet6
file	netinet/tcp_subr.c	inet | inet6
file	netinet/tcp_timer.c	inet | inet6
file	netinet/tcp_usrreq.c	inet | inet6
file	netinet/tcp_congctl.c	inet | inet6

file	netinet/udp_usrreq.c	inet | inet6