freebsd-nq/usr.sbin/rpcbind
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
..
check_bound.c
Makefile
pmap_svc.c
rpcb_stat.c
rpcb_svc_4.c
rpcb_svc_com.c
rpcb_svc.c
rpcbind.8
rpcbind.c
rpcbind.h
security.c
util.c Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to 2012-11-17 20:19:00 +00:00
warmstart.c