Hiroki Sato 6bbfef9004 Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to
userland via routing socket or sysctl.  This eliminates the following
KAME-specific sin6_scope_id handling routine from each userland utility:

 sin6.sin6_scope_id = ntohs(*(u_int16_t *)&sin6.sin6_addr.s6_addr[2]);

This behavior can be controlled by net.inet6.ip6.deembed_scopeid.  This is
set to 1 by default (sin6_scope_id will be filled in the kernel).

Reviewed by:	bz
2012-11-17 20:19:00 +00:00
..
2012-09-27 23:31:06 +00:00
2011-11-06 20:39:35 +00:00
2011-11-09 21:01:50 +00:00
2012-09-27 23:31:06 +00:00
2012-05-12 15:08:22 +00:00
2012-08-01 00:36:12 +00:00
2012-01-28 13:41:34 +00:00
2012-05-17 11:50:12 +00:00
2012-09-29 16:42:01 +00:00
2012-02-07 14:06:30 +00:00
2012-01-13 06:56:59 +00:00
2012-06-03 07:45:42 +00:00
2012-08-01 09:10:21 +00:00
2012-11-15 15:06:21 +00:00