Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Instead of re-implementing hton[ls] and friends for each arch, add a new MIfile, net/ntoh.c, which just implement them using the inline functions from<sys/endian.h>.Suggested by: bde