NetBSD/sys/netinet
joerg 6e869e402d 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.
2008-01-25 21:12:10 +00:00
..
Makefile Work in progress: use a raw socket for GRE in IP encapsulation 2007-10-05 03:28:12 +00:00
cpu_in_cksum.c Refactor in_cksum/in4_cksum/in6_cksum implementations: 2008-01-25 21:12:10 +00:00
files.ipfilter defflag IPFILTER_LOOKUP. 2006-09-17 13:43:15 +00:00
files.netinet Refactor in_cksum/in4_cksum/in6_cksum implementations: 2008-01-25 21:12:10 +00:00
icmp6.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
icmp_var.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
if_arp.c Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants, 2008-01-20 18:09:03 +00:00
if_atm.c We cannot sleep in a software interrupt, so do not sockaddr_dl_alloc(..., 2007-09-05 05:29:35 +00:00
if_atm.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
if_ether.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
if_inarp.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
igmp.c Get rid of some gratuitous casts and join some lines. 2007-04-25 00:11:18 +00:00
igmp.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
igmp_var.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
in.c Use ifa_insert(), ifa_remove(). 2007-12-06 00:28:36 +00:00
in.h Refactor in_cksum/in4_cksum/in6_cksum implementations: 2008-01-25 21:12:10 +00:00
in4_cksum.c Refactor in_cksum/in4_cksum/in6_cksum implementations: 2008-01-25 21:12:10 +00:00
in_cksum.c Refactor in_cksum/in4_cksum/in6_cksum implementations: 2008-01-25 21:12:10 +00:00
in_gif.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
in_gif.h New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld. 2006-11-23 04:07:07 +00:00
in_ifattach.h Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
in_offload.c Constify. 2007-04-24 23:43:50 +00:00
in_offload.h Move IN_NEED_CHECKSUM() to in_offload.h for re-use. 2007-11-28 04:14:11 +00:00
in_pcb.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:19:09 +00:00
in_pcb.h Oops. Remove kauth.h inclusion. 2007-12-16 18:39:57 +00:00
in_pcb_hdr.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
in_proto.c Work in progress: use a raw socket for GRE in IP encapsulation 2007-10-05 03:28:12 +00:00
in_proto.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
in_selsrc.c Use IFADDR_FOREACH(). 2007-12-04 10:31:14 +00:00
in_selsrc.h Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
in_systm.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
in_var.h Extract common code, creating a subroutine if_purgeaddrs(ifp, 2007-12-05 23:47:17 +00:00
ip.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
ip6.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
ip_carp.c Add fix for ip_id information leakage. Since the leakage information is 2007-12-21 02:07:54 +00:00
ip_carp.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
ip_ecn.c Import of TCP ECN algorithm for congestion control. 2006-09-05 00:29:35 +00:00
ip_ecn.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
ip_encap.c Use LIST_FOREACH(). 2007-06-13 04:55:25 +00:00
ip_encap.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
ip_etherip.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
ip_etherip.h New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld. 2006-11-23 04:07:07 +00:00
ip_flow.c Constify a bit. 2008-01-04 23:28:07 +00:00
ip_icmp.c Use sockaddr_in_init(). KNF. No functional change intended. 2007-11-09 23:42:56 +00:00
ip_icmp.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
ip_id.c static comes first 2006-08-30 18:54:19 +00:00
ip_input.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:19:09 +00:00
ip_mroute.c Add fix for ip_id information leakage. Since the leakage information is 2007-12-21 02:07:54 +00:00
ip_mroute.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
ip_output.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:19:09 +00:00
ip_var.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
pim.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
pim_var.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
raw_ip.c Add fix for ip_id information leakage. Since the leakage information is 2007-12-21 02:07:54 +00:00
tcp.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
tcp_congctl.c Replace a simple lock with a mutex and make it static. 2007-07-11 21:34:16 +00:00
tcp_congctl.h constify. 2006-10-21 10:24:47 +00:00
tcp_debug.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tcp_debug.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tcp_fsm.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
tcp_input.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:19:09 +00:00
tcp_output.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:19:09 +00:00
tcp_sack.c Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-12 18:18:22 +00:00
tcp_seq.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
tcp_subr.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:19:09 +00:00
tcp_timer.c - per socket keepalive settings 2007-06-20 15:29:17 +00:00
tcp_timer.h - per socket keepalive settings 2007-06-20 15:29:17 +00:00
tcp_usrreq.c Really fix low port allocation, by always passing a valid lwp to 2007-12-16 14:12:34 +00:00
tcp_var.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
tcpip.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
udp.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
udp_usrreq.c require that the options argument is the right size, not that it is greater 2007-11-27 22:45:29 +00:00
udp_var.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00