NetBSD/sys/netinet6
thorpej 10c252ba47 Changes to allow the IPv4 and IPv6 layers to align headers themseves,
as necessary:
* Implement a new mbuf utility routine, m_copyup(), is is like
  m_pullup(), except that it always prepends and copies, rather
  than only doing so if the desired length is larger than m->m_len.
  m_copyup() also allows an offset into the destination mbuf, which
  allows space for packet headers, in the forwarding case.
* Add *_HDR_ALIGNED_P() macros for IP, IPv6, ICMP, and IGMP.  These
  macros expand to 1 if __NO_STRICT_ALIGNMENT is defined, so that
  architectures which do not have strict alignment constraints don't
  pay for the test or visit the new align-if-needed path.
* Use the new macros to check if a header needs to be aligned, or to
  assert that it already is, as appropriate.

Note: This code is still somewhat experimental.  However, the new
code path won't be visited if individual device drivers continue
to guarantee that packets are delivered to layer 3 already properly
aligned (which are rules that are already in use).
2002-06-30 22:40:32 +00:00
..
Makefile gather stats on raw ip6 socket. sync with kame 2001-10-18 09:12:13 +00:00
ah.h reduce diff with kame. whitespace changes only. 2001-10-15 03:55:37 +00:00
ah_core.c panic() if NULL is passed to ah_sumsiz_xx. suggested by sam leffler, sync w/kame 2002-06-07 23:42:41 +00:00
ah_input.c whitespace cleanup 2002-06-09 14:43:10 +00:00
ah_output.c whitespace cleanup 2002-06-09 14:43:10 +00:00
dest6.c add RCSIDs 2001-11-13 00:56:55 +00:00
esp.h reduce diff with kame. whitespace changes only. 2001-10-15 03:55:37 +00:00
esp_core.c whitespace cleanup 2002-06-09 14:43:10 +00:00
esp_input.c whitespace cleanup 2002-06-08 20:06:44 +00:00
esp_output.c whitespace cleanup 2002-06-09 14:43:10 +00:00
esp_rijndael.c add RCSIDs 2001-11-13 00:56:55 +00:00
esp_rijndael.h
frag6.c whitespace cleanup 2002-06-09 14:43:10 +00:00
icmp6.c Changes to allow the IPv4 and IPv6 layers to align headers themseves, 2002-06-30 22:40:32 +00:00
in6.c silence some of log(), as the codepath will be visited for IPv6-non-capable 2002-06-11 07:28:05 +00:00
in6.h sync with latest KAME in6_ifaddr/prefix/default router manipulation. 2002-06-08 21:22:29 +00:00
in6_cksum.c whitespace cleanup 2002-06-09 14:43:10 +00:00
in6_gif.c whitespace cleanup 2002-06-09 14:43:10 +00:00
in6_gif.h use radix table for inbound tunnel lookup (would increase performance 2001-12-21 06:30:43 +00:00
in6_ifattach.c silence some of log(), as the codepath will be visited for IPv6-non-capable 2002-06-11 07:28:05 +00:00
in6_ifattach.h sync with latest KAME in6_ifaddr/prefix/default router manipulation. 2002-06-08 21:22:29 +00:00
in6_pcb.c share policy-on-pcb for listening socket. sync w/kame 2002-06-11 19:39:59 +00:00
in6_pcb.h sync with latest KAME in6_ifaddr/prefix/default router manipulation. 2002-06-08 21:22:29 +00:00
in6_proto.c whitespace cleanup 2002-06-09 14:43:10 +00:00
in6_src.c whitespace cleanup 2002-06-08 20:06:44 +00:00
in6_var.h sync with latest KAME in6_ifaddr/prefix/default router manipulation. 2002-06-08 21:22:29 +00:00
ip6_forward.c sync with latest KAME in6_ifaddr/prefix/default router manipulation. 2002-06-08 21:22:29 +00:00
ip6_input.c Changes to allow the IPv4 and IPv6 layers to align headers themseves, 2002-06-30 22:40:32 +00:00
ip6_mroute.c typo in name 2002-06-29 12:33:33 +00:00
ip6_mroute.h
ip6_output.c whitespace cleanup 2002-06-09 14:43:10 +00:00
ip6_var.h Changes to allow the IPv4 and IPv6 layers to align headers themseves, 2002-06-30 22:40:32 +00:00
ip6protosw.h
ipcomp.h reduce diff with kame. whitespace changes only. 2001-10-15 03:55:37 +00:00
ipcomp_core.c zlib 1.1.4 dislikes Z_FLUSH at the end of inflate(). 2002-03-14 05:18:10 +00:00
ipcomp_input.c add RCSIDs 2001-11-13 00:56:55 +00:00
ipcomp_output.c whitespace cleanup 2002-06-09 14:43:10 +00:00
ipsec.c reduce kernel stack usage by separating struct secasindex. sync w/kame 2002-06-27 12:12:49 +00:00
ipsec.h deep-copy pcb policy if it is an ipsec policy. assign ID field to all 2002-06-12 17:56:45 +00:00
mld6.c whitespace cleanup 2002-06-09 14:43:10 +00:00
mld6_var.h use arc4random 2002-05-28 11:19:17 +00:00
nd6.c whitespace cleanup 2002-06-09 14:43:10 +00:00
nd6.h indent cleanup 2002-06-08 21:32:55 +00:00
nd6_nbr.c whitespace cleanup 2002-06-09 14:43:10 +00:00
nd6_rtr.c whitespace cleanup 2002-06-09 14:43:10 +00:00
pim6.h
pim6_var.h
raw_ip6.c whitespace cleanup 2002-06-09 14:43:10 +00:00
raw_ip6.h gather stats on raw ip6 socket. sync with kame 2001-10-18 09:12:13 +00:00
route6.c add RCSIDs 2001-11-13 00:56:55 +00:00
udp6.h reduce white space/cosmetic diffs w/kame. 2001-12-18 03:04:02 +00:00
udp6_output.c whitespace cleanup 2002-06-08 20:06:44 +00:00
udp6_usrreq.c Eliminate commons. 2002-05-12 20:33:50 +00:00
udp6_var.h Eliminate commons. 2002-05-12 20:33:50 +00:00