NetBSD/sys/netinet
rpaulo 78678b130a Better support of IPv6 scoped addresses.
- most of the kernel code will not care about the actual encoding of
  scope zone IDs and won't touch "s6_addr16[1]" directly.
- similarly, most of the kernel code will not care about link-local
  scoped addresses as a special case.
- scope boundary check will be stricter.  For example, the current
  *BSD code allows a packet with src=::1 and dst=(some global IPv6
  address) to be sent outside of the node, if the application do:
    s = socket(AF_INET6);
    bind(s, "::1");
    sendto(s, some_global_IPv6_addr);
  This is clearly wrong, since ::1 is only meaningful within a single
  node, but the current implementation of the *BSD kernel cannot
  reject this attempt.
- and, while there, don't try to remove the ff02::/32 interface route
  entry in in6_ifdetach() as it's already gone.

This also includes some level of support for the standard source
address selection algorithm defined in RFC3484, which will be
completed on in the future.

From the KAME project via JINMEI Tatuya.
Approved by core@.
2006-01-21 00:15:35 +00:00
..
Makefile merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
files.ipfilter merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
files.netinet merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
icmp6.h Better support of IPv6 scoped addresses. 2006-01-21 00:15:35 +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 Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:45:08 +00:00
if_atm.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
if_atm.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
if_ether.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
if_inarp.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
igmp.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
igmp.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +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 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
in.h Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:45:08 +00:00
in4_cksum.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
in_cksum.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
in_gif.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
in_gif.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
in_offload.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
in_pcb.c Pass the current process structure to in_pcbconnect() so that it can 2005-11-15 18:39:46 +00:00
in_pcb.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
in_pcb_hdr.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
in_proto.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
in_proto.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +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 Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
ip.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
ip6.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
ip_ecn.c merge ktrace-lwp. 2005-12-11 12:16:03 +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 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ip_encap.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
ip_flow.c change comment from __const__ to const 2005-12-24 23:43:17 +00:00
ip_gre.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ip_gre.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
ip_icmp.c
ip_icmp.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
ip_id.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ip_input.c Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:45:08 +00:00
ip_mroute.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ip_mroute.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
ip_output.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ip_var.h Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:45:08 +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 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tcp.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
tcp_debug.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tcp_debug.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +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 Pass the current process structure to in_pcbconnect() so that it can 2005-11-15 18:39:46 +00:00
tcp_output.c Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:45:08 +00:00
tcp_sack.c merge ktrace-lwp. 2005-12-11 12:16:03 +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 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tcp_timer.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tcp_timer.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
tcp_usrreq.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tcp_var.h Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:45:08 +00:00
tcpip.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
udp.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:31:41 +00:00
udp_usrreq.c Better support of IPv6 scoped addresses. 2006-01-21 00:15:35 +00:00
udp_var.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00