1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/usr.bin/netstat
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
..
atalk.c Revert r228650, and work around the clang false positive with printf 2011-12-17 22:32:00 +00:00
bpf.c Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
if.c Merge the projects/pf/head branch, that was worked on for last six months, 2012-09-08 06:41:54 +00:00
inet6.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
inet.c - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
ipsec.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ipx.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
main.c - Merge in OFED 1.5.3 from projects/ofed/head 2011-03-21 09:58:24 +00:00
Makefile Allow netstat to be build if INET is not defined in the kernel. 2012-07-16 06:43:04 +00:00
mbuf.c Show the number of times we block waiting for mbufs. 2012-10-25 02:12:05 +00:00
mroute6.c style(9) 2008-01-02 23:26:11 +00:00
mroute.c Bracket struct mfc and struct rtdetq with #ifdef _KERNEL. 2009-04-21 12:47:09 +00:00
netgraph.c In ng_socket(4) expose less kernel internals to userland. This commit 2012-01-23 15:39:45 +00:00
netisr.c Teach netstat(1) about the new global netisr policy sysctl, 2011-05-24 12:38:00 +00:00
netstat.1 Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
netstat.h - Hide the internal scope address representation of the KAME IPv6 2011-01-20 15:22:01 +00:00
pfkey.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
route.c Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to 2012-11-17 20:19:00 +00:00
sctp.c Allow netstat to be build if INET is not defined in the kernel. 2012-07-16 06:43:04 +00:00
unix.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00