NetBSD/sys/netinet6
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
ah.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
ah_aesxcbcmac.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
ah_aesxcbcmac.h
ah_core.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
ah_input.c machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
ah_output.c {ah,esp,ipcomp}_output must return 0 on success. On failure, it returns the 2007-09-22 11:32:06 +00:00
dest6.c
esp.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
esp_aesctr.c Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
esp_aesctr.h
esp_core.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
esp_input.c machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
esp_output.c Kill _IP_VHL ifdef (from netinet/ip.h history, it has never been used in NetBSD so ...) 2007-12-09 18:27:39 +00:00
esp_rijndael.c
esp_rijndael.h
files.ipsec
files.netinet6 Refactor in_cksum/in4_cksum/in6_cksum implementations: 2008-01-25 21:12:10 +00:00
frag6.c Use rtcache_lookup() instead of rtcache_lookup() + rtcache_getrt(). 2008-01-14 04:14:37 +00:00
icmp6.c Use IFNET_FOREACH() and IFADDR_FOREACH(). 2007-12-04 10:27:33 +00:00
in6.c Use ifa_insert(), ifa_remove(). 2007-12-06 00:28:36 +00:00
in6.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
in6_cksum.c Refactor in_cksum/in4_cksum/in6_cksum implementations: 2008-01-25 21:12:10 +00:00
in6_gif.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
in6_gif.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
in6_ifattach.c Use ifa_insert(), ifa_remove(). 2007-12-06 00:28:36 +00:00
in6_ifattach.h De-__P(). 2007-11-01 20:33:56 +00:00
in6_offload.c Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
in6_offload.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
in6_pcb.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:16:45 +00:00
in6_pcb.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
in6_proto.c 1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that 2007-09-19 04:33:42 +00:00
in6_src.c in6_pcbsetport: add missing htons. (fixes ephemeral port allocation.) 2007-11-26 08:12:33 +00:00
in6_var.h Use IFADDR_FOREACH(). 2007-12-05 01:17:16 +00:00
ip6_etherip.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
ip6_etherip.h New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld. 2006-11-23 04:07:07 +00:00
ip6_flow.c Constify. 2008-01-04 23:35:00 +00:00
ip6_forward.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:16:45 +00:00
ip6_id.c
ip6_input.c Use IFNET_FOREACH() and IFADDR_FOREACH(). 2007-12-04 10:27:33 +00:00
ip6_mroute.c require that the options argument is the right size, not that it is greater 2007-11-27 22:45:29 +00:00
ip6_mroute.h De-__P(). 2007-11-01 20:33:56 +00:00
ip6_output.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:16:45 +00:00
ip6_var.h The IPv6 stack labels incoming packets with an m_tag whose payload 2007-10-29 16:54:42 +00:00
ip6protosw.h Take steps to hide the radix_node implementation of the forwarding table 2007-07-19 20:48:52 +00:00
ipcomp.h De-__P(). 2007-11-01 20:33:56 +00:00
ipcomp_core.c De-__P(). 2007-11-01 20:33:56 +00:00
ipcomp_input.c Kill _IP_VHL ifdef (from netinet/ip.h history, it has never been used in NetBSD so ...) 2007-12-09 18:27:39 +00:00
ipcomp_output.c Kill _IP_VHL ifdef (from netinet/ip.h history, it has never been used in NetBSD so ...) 2007-12-09 18:27:39 +00:00
ipsec.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
ipsec.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
mld6.c Inline callout_t in struct in6_multi. This fixes a number of possible 2007-10-16 20:31:33 +00:00
mld6_var.h De-__P(). 2007-11-01 20:33:56 +00:00
nd6.c Use IFNET_FOREACH() and IFADDR_FOREACH(). 2007-12-04 10:27:33 +00:00
nd6.h Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool 2007-08-30 02:17:34 +00:00
nd6_nbr.c We might leave nd6_ns_output() really early. Postpone memset() 2007-11-16 17:51:51 +00:00
nd6_rtr.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
pim6.h
pim6_var.h
raw_ip6.c require that the options argument is the right size, not that it is greater 2007-11-27 22:45:29 +00:00
raw_ip6.h
route6.c The IPv6 stack labels incoming packets with an m_tag whose payload 2007-10-29 16:54:42 +00:00
scope6.c use __KERNEL_RCSID() 2007-12-11 12:29:11 +00:00
scope6_var.h Replace rote sockaddr_in6 initializations (memset(), set sa6_family, 2007-10-24 06:37:20 +00:00
udp6.h
udp6_output.c Use rtcache_validate() instead of rtcache_getrt(). Shorten staircase 2008-01-14 04:16:45 +00:00
udp6_usrreq.c KNF. Remove superfluous parentheses. In the switch-statement, 2007-11-14 22:58:27 +00:00
udp6_var.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00