#
4d65a7c6 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.sbin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
usr.sbin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank 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 ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
a2cc93ec |
| 07-Jul-2023 |
Alfonso Gregory <gfunni234@gmail.com> |
Mark usage function as __dead2 in programs where it does not return
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dea
Mark usage function as __dead2 in programs where it does not return
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2.
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
c2b53b10 |
| 04-Dec-2021 |
Michael Tuexen <tuexen@FreeBSD.org> |
tcpdrop: tweak comments
MFC after: 1 week Sponsored by: Netflix, Inc.
|
#
8ea363c8 |
| 04-Dec-2021 |
Michael Tuexen <tuexen@FreeBSD.org> |
tcpdrop: explicitly choose TCP as the transport protocol
MFC after: 1 week Sponsored by: Netflix, Inc.
|
#
31537ea5 |
| 04-Dec-2021 |
Michael Tuexen <tuexen@FreeBSD.org> |
tcpdrop: allow TCP connections to be filtered by cc-algo
In addition to filtering by stack and state, allow filtering by the congestion control module used. Choose the command line options to be co
tcpdrop: allow TCP connections to be filtered by cc-algo
In addition to filtering by stack and state, allow filtering by the congestion control module used. Choose the command line options to be consistent with the ones of sockstat.
MFC after: 1 week Sponsored by: Netflix, Inc.
show more ...
|
#
300914a0 |
| 04-Dec-2021 |
Michael Tuexen <tuexen@FreeBSD.org> |
tcpdrop: use a better name of a variable.
No functional change intended.
MFC after: 1 week Sponsored by: Netflix, Inc.
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
3a20f06a |
| 10-Jul-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Use uintptr_t alone when assigning to kvaddr_t variables.
Suggested by: jhb
|
#
f6293d72 |
| 05-Jul-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Work around lame warnings in ancient gcc on 32-bit platforms.
Fixes r335979.
|
Revision tags: release/11.2.0 |
|
#
1de11cd4 |
| 28-May-2018 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
tcpdrop: ensure NUL termination of a string
strncpy did not guarantee NUL termination of the "stack" string. Use strlcpy instead. While I'm here, avoid unnecessary memset and strnlen calls.
Report
tcpdrop: ensure NUL termination of a string
strncpy did not guarantee NUL termination of the "stack" string. Use strlcpy instead. While I'm here, avoid unnecessary memset and strnlen calls.
Reported by: Coverity CID: 1381035 Sponsored by: Dell EMC
show more ...
|
Revision tags: release/10.4.0 |
|
#
8fcbcc2d |
| 16-Sep-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r323635
|
#
b754c279 |
| 13-Sep-2017 |
Navdeep Parhar <np@FreeBSD.org> |
MFH @ r323558.
|
#
e1418fa5 |
| 12-Sep-2017 |
Michael Tuexen <tuexen@FreeBSD.org> |
Allow TCP connections to be filtered by stack and state.
Choose the command line options to be consistent with the ones of sockstat.
Sponsored by: Netflix, Inc.
|
Revision tags: release/11.1.0 |
|
#
be27b311 |
| 04-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r317503 through r317807.
|
#
7c415819 |
| 28-Apr-2017 |
Maxim Konovalov <maxim@FreeBSD.org> |
o Clean the whole array of IPv4 addresses not just a local part.
PR: 218923 Submitted by: Daniel McRobb
|
#
cc65eb4e |
| 21-Mar-2017 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Hide struct inpcb, struct tcpcb from the userland.
This is a painful change, but it is needed. On the one hand, we avoid modifying them, and this slows down some ideas, on the other hand we still e
Hide struct inpcb, struct tcpcb from the userland.
This is a painful change, but it is needed. On the one hand, we avoid modifying them, and this slows down some ideas, on the other hand we still eventually modify them and tools like netstat(1) never work on next version of FreeBSD. We maintain a ton of spares in them, and we already got some ifdef hell at the end of tcpcb.
Details: - Hide struct inpcb, struct tcpcb under _KERNEL || _WANT_FOO. - Make struct xinpcb, struct xtcpcb pure API structures, not including kernel structures inpcb and tcpcb inside. Export into these structures the fields from inpcb and tcpcb that are known to be used, and put there a ton of spare space. - Make kernel and userland utilities compilable after these changes. - Bump __FreeBSD_version.
Reviewed by: rrs, gnn Differential Revision: D10018
show more ...
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0 |
|
#
cfe30d02 |
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
Revision tags: release/8.4.0 |
|
#
d241a0e6 |
| 26-Feb-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @247348.
|
#
d9a44755 |
| 08-Feb-2013 |
David E. O'Brien <obrien@FreeBSD.org> |
Sync with HEAD.
|
#
2d5d7a0c |
| 30-Jan-2013 |
John Baldwin <jhb@FreeBSD.org> |
Allow the address and ports to be separated by a colon or period rather than a space to permit directly pasting the output of commands such as netstat and sockstat on the command line.
Reviewed by:
Allow the address and ports to be separated by a colon or period rather than a space to permit directly pasting the output of commands such as netstat and sockstat on the command line.
Reviewed by: net MFC after: 1 week
show more ...
|
Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0 |
|
#
a5615c90 |
| 28-Jun-2011 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r222830
|
#
81c02539 |
| 06-Jun-2011 |
Attilio Rao <attilio@FreeBSD.org> |
MFC
|
#
b3a1dfb7 |
| 06-Jun-2011 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Include param.h for CACHE_LINE_SIZE to unbreak the build.
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0 |
|
#
10b3b545 |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head
|
#
7e857dd1 |
| 12-Jun-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|