r343713 andrew Feb. 3, 2019, 12:46 p.m.
This allows userspace to trace the kernel using the coverage sanitizer
found in clang. It will also allow other coverage tools to be built as
modules and attach into the same framework.

Sponsored by:	DARPA, AFRL
ViewVC
r343707 glebius Feb. 3, 2019, 8:28 a.m.
Submitted by:	gallatin
ViewVC
r343706 dfr Feb. 3, 2019, 8:15 a.m.
This only reports failed attempts to contact hosts on the first attempt.
ViewVC
r343705 cy Feb. 3, 2019, 5:26 a.m.
never get here, however a test for SOLARIS, as redundant as this test is,
serves to document that this is the illumos definition. This should help
those who come after me to follow the code more easily.

MFC after:	1 month
ViewVC
r343704 cy Feb. 3, 2019, 5:26 a.m.
build directory, especially those for other operating systems.
The kernel module shims for other operating systems are hereby removed.
The kernel module shim for FreeBSD, mlfk_ipl.c, is already in
sys/contrib/ipfilter/netinet. The one here is never used and should
not be in the userland build directory either.

mlfk_rule.c isn't used either however we will keep it in case someone
wishes to use this shim to load rules via a kernel module, handy for
embedded. In that case it should be copied to
sys/contrib/ipfilter/netinet and a Makefile created to employ it.
(Probably a useful documentation project when time permits.)

MFC after:	1 month
ViewVC
r343703 cy Feb. 3, 2019, 5:26 a.m.
MFC after:	1 month
ViewVC
r343702 cy Feb. 3, 2019, 5:26 a.m.
MFC after:	1 month
ViewVC
r343701 cy Feb. 3, 2019, 5:25 a.m.
Remove #ifdefs for ancient and irrelevant operating systems from
ipfilter.

When ipfilter was written the UNIX and UNIX-like systems in use
were diverse and plentiful. IRIX, Tru64 (OSF/1) don't exist any
more. OpenBSD removed ipfilter shortly after the first time the
ipfilter license terms changed in the early 2000's. ipfilter on AIX,
HP/UX, and Linux never really caught on. Removal of code for operating
systems that ipfilter will never run on again will simplify the code
making it easier to fix bugs, complete partially implemented features,
and extend ipfilter.

Unsupported previous version FreeBSD code and some older NetBSD code
has also been removed.

What remains is supported FreeBSD, NetBSD, and illumos. FreeBSD and
NetBSD have collaborated exchanging patches, while illumos has expressed
willingness to have their ipfilter updated to 5.1.2, provided their
zone-specific updates to their ipfilter are merged (which are of interest
to FreeBSD to allow control of ipfilters in jails from the global zone).

Reviewed by:	glebius@
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D19006
ViewVC
r343700 avos Feb. 3, 2019, 4:41 a.m.
MFC after:	1 week
MFC with:	343698
ViewVC
r343699 avos Feb. 3, 2019, 4:31 a.m.
That should shorten 'ifconfig <wlan> list txparam' output since
unsupported modes will not be shown.

Checked with RTL8188EE, STA mode.

MFC after:	2 weeks
ViewVC
r343698 avos Feb. 3, 2019, 3:02 a.m.
For 11n / 11ac we are still using non-11n rates for management and
multicast traffic by default; check 'MCS rate' bit to determine how
to print them correctly.

PR:		161035
MFC after:	1 week
ViewVC
r343697 avos Feb. 3, 2019, 2:32 a.m.
Do not try to clear 'basic rate' bit from roamRate; it cannot be here and,
actually, this operation clears 'MCS rate' bit instead, breaking comparison
for 11n / 11ac modes.

Tested with RTL8188CUS, HOSTAP mode + RTL8821AU, STA mode.

MFC after:	3 days
ViewVC
r343696 avos Feb. 3, 2019, 1:32 a.m.
ifconfig(8) prints per-mode parameters if they are non-zero; since
we have 13 possible modes with 3...5 typically supported this change
should greatly reduce amount of information for 'ifconfig <wlan> list roam'
command.

While here ensure that sta_roam_check() will not use roaming parameters
for unsupported modes (it should not).

This change effectively reverts r188776.

MFC after:	2 weeks
ViewVC
r343690 avos Feb. 3, 2019, 12:18 a.m.
They are represented via MCS rate index, not as a 'speed in MBps' * 2.

MFC after:	5 days
ViewVC
r343689 vmaffione Feb. 2, 2019, 10:39 p.m.
Add SYNC_KLOOP_MODE option, and add support for direct mode, where application
executes the TXSYNC and RXSYNC in the context of the ioeventfd wake up callback.

MFC after:	5 days
ViewVC