sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
show more ...
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
tcp_log: clean up empty lines in .c and .h files
Regularize the Netflix copyrightUse recent best practices for Copyright form at the top ofthe license:1. Remove all the All Rights Reserved clauses on our stuff. Where we piggybacked others, u
Regularize the Netflix copyrightUse recent best practices for Copyright form at the top ofthe license:1. Remove all the All Rights Reserved clauses on our stuff. Where we piggybacked others, use a separate line to make things clear.2. Use "Netflix, Inc." everywhere.3. Use a single line for the copyright for grep friendliness.4. Use date ranges in all places for our stuff.Approved by: Netflix Legal (who gave me the form), adrian@ (pmc files)
Make the TCP blackbox code committed in r331347 be an optional featurecontrolled by the TCP_BLACKBOX option.Enable this as part of amd64 GENERIC. For now, leave it disabled onother platforms.Sp
Make the TCP blackbox code committed in r331347 be an optional featurecontrolled by the TCP_BLACKBOX option.Enable this as part of amd64 GENERIC. For now, leave it disabled onother platforms.Sponsored by: Netflix, Inc.
Add the "TCP Blackbox Recorder" which we discussed at the developersummits at BSDCan and BSDCam in 2017.The TCP Blackbox Recorder allows you to capture events on a TCP connectionin a ring buffer.
Add the "TCP Blackbox Recorder" which we discussed at the developersummits at BSDCan and BSDCam in 2017.The TCP Blackbox Recorder allows you to capture events on a TCP connectionin a ring buffer. It stores metadata with the event. It optionally storesthe TCP header associated with an event (if the event is associated with apacket) and also optionally stores information on the sockets.It supports setting a log ID on a TCP connection and using this to correlatemultiple connections that share a common log ID.You can log connections in different modes. If you are doing a coordinatedtest with a particular connection, you may tell the system to put it inmode 4 (continuous dump). Or, if you just want to monitor for errors, youcan put it in mode 1 (ring buffer) and dump all the ring buffers associatedwith the connection ID when we receive an error signal for that connectionID. You can set a default mode that will be applied to a particular ratioof incoming connections. You can also manually set a mode using a socketoption.This commit includes only basic probes. rrs@ has added quite an abundanceof probes in his TCP development work. He plans to commit those soon.There are user-space programs which we plan to commit as ports. These readthe data from the log device and output pcapng files, and then let youanalyze the data (and metadata) in the pcapng files.Reviewed by: gnn (previous version)Obtained from: Netflix, Inc.Relnotes: yesDifferential Revision: https://reviews.freebsd.org/D11085