1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +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
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
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
mroute.c
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
netstat.h
pfkey.c
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