master
nd6log is gone, mop up nd6_debug sysctl.
Convert icmp_sysctl to sysctl_bounded_args
put revarprequest() under #ifdef NFSCLIENT
Cache route per softnet thread with netstack.
Carefully prune sysctl nodes with #ifndef SMALL_KERNEL recover space lost to other bloaty software. ok bluhm
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
Take net lock before kernel lock.
When a struct ipovly needs to be computed and checksummed in in4_cksum(), do not bother operating on its first 8 bytes, which will always be zero.
In in_cksum() and in6_cksum() convert types to C99 style and make both functions consistent. In in_cksum() panic if len is longer than mbuf, but in in6_cksum() do not panic if off and len match exactly to the end of mbuf. OK claudio@
Unlock IPCTL_IPPORT_* cases of ip_sysctl(). Corresponding variables accessed read-only only within in_pcbpickport().
Remove TCP timeout reaper.
Move atomically accessed `udpencap_enable' and `udpencap_port' sysctl(2) variables out of netlock.
Stop using old n_time, n_long and n_short types in netinet headers.
igmp, struct router_info: use queue(3)
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels.
Implement a sockaddr_ntop() function that works like inet_ntop() but prints sockaddrs. Works for all sockaddrs so can be used to print sockaddrs nicely. OK phessler@
Correct value for IPTOS_DSCP_LE since it needs to allow for the preceeding two ECN bits. From daisuke.higashi at gmail.com via OpenSSH bz#3373, ok claudio@, job@, djm@.
Convert IP6_EXTHDR_GET() macro to ip6_exthdr_get() inline function.
Move `encdebug' sysctl(2) variable out of netlock. It is idely used in the DPRINTF() macros, but disabled by default. We don't really need to enforce loading `encdebug' value each time, but at least it is consistent that way.
Convert *_sysctl in ipsec_input.c to sysctl_bounded_arr
avoid some integer overflow by casting before multiplying.
Remove ip6_divert.h header file.
provide ip_tos_patch() for setting ip_tos and patching the ipv4 cksum.
Fix whitespace.
gif shouldn't include netinet/ip_ether.h, cos gif doesnt do etherip.
have icmp_reflect use route sourceaddr.
Push netlock down to mrt{,6}_sysctl_mfc().
Move ipsec-enc-alg, ipsec-auth-alg and ipsec-comp-alg sysctl variables out of netlock.
mp-safe multicast stats with per cpu counters
Unlock IPCTL_MTUDISC case of ip_sysctl().
Move `ipsec_expire_acquire' sysctl(2) variable out of netlock. It is atomically accessed integer local to ipsp_acquire_sa().
Move IP{,V6}CTL_MTUDISCTIMEOUT cases of ip{,6}_sysctl() out of netlock.
Get rid of unused `so' argument in sbappendaddr(). No functional changes.
Move tcp_info structure to be under '#if __BSD_VISIBLE' to repair compliance with POSIX/SUS restrictions on <netinet/tcp.h>
Make TCP debug code MP safe.
TCP debug sockets still had code for old TCP timers that were implemented as slow and fast protocol user requests. Replace that with a proper timer debug implementation. OK visa@
Declare some global TCP variables constant.
Drop the current random timestamps and the current ISN generation code and replace both with a RFC1948 based method, so TCP clients now have monotonic ISN/timestamps. The server side uses completely random ISN/timestamps and does time-wait recycling (on port reuse). ok djm@, mcbride@; thanks to lots of testers
Handle sockets that are closing in parallel.