ipv6 address for test.hosts.dots in wrong byte order.

Approved by:	glebius (mentor)
Obtained from:	ipfilter CVS repo (r1.11), netbsd CVS repo (r1.5)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271970 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
#553 gethost needs to zero entire IP address structure

Approved by:	glebius (mentor)
Obtained from:	ipfilter CVS repo (r1.11)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271971 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
#536 ipnat can try to print rule as dstlist incorrectly

Approved by:	glebius (mentor)
Obtained from:	ipfilter CVS repo (r1.14), netbsd CVS repo (r1.3)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271972 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
#551 ipf.conf address structure not properly zero filled

Approved by:	glebius (mentor)
Obtained from:	ipfilter CVS repo (r1.37), netbsd CVS repo (r1.3)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271974 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Improvements to asmc(4):

1. changed the code so that 2**16 keys are supported
2. changed the number of possible fans in a system from 2 to 6
3. added write support for some fan sysctls
4. added a new sysctl which shows the ID of the fan
5. added four more apple models with their temperature keys
6. changed the maxnumber of temperature keys from 36 to 80
7. replaced several fixed buf sizes to sizeof buf

Obtained from:	Denis Ahrens denis at h3q.com
MFC after:	4 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271975 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a new fo_fill_kinfo fileops method to add type-specific information to
struct kinfo_file.
- Move the various fill_*_info() methods out of kern_descrip.c and into the
  various file type implementations.
- Rework the support for kinfo_ofile to generate a suitable kinfo_file object
  for each file and then convert that to a kinfo_ofile structure rather than
  keeping a second, different set of code that directly manipulates
  type-specific file information.
- Remove the shm_path() and ksem_info() layering violations.

Differential Revision:	https://reviews.freebsd.org/D775
Reviewed by:	kib, glebius (earlier version)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271976 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f