| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Choose the command line options to be consistent with the ones of
sockstat.
Sponsored by: Netflix, Inc.
Notes:
svn path=/head/; revision=323493
|
|
|
|
|
|
|
|
| |
PR: 218923
Submitted by: Daniel McRobb
Notes:
svn path=/head/; revision=317546
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=315662
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=246129
|
|
|
|
| |
Notes:
svn path=/head/; revision=222765
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
connections. Including a flag to instead output a sequence of tcpdrop(8)
invocations that would accomplish the same thing, which is convenient for
scripting.
o) Make tcpdrop complain if the addresses given to it are entirely in different
address families, rather than failing silently.
o) When cross-referencing httpd(8), do not explicitly specify the apache2 port,
since the example in question is generic.
Notes:
svn path=/head/; revision=193203
|
|
|
|
| |
Notes:
svn path=/head/; revision=173223
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Use SYSCTL_IN() macro instead of direct call of copyin(9).
Submitted by: ume
o Move sysctl_drop() implementation to sys/netinet/tcp_subr.c where
most of tcp sysctls live.
o There are net.inet[6].tcp[6].getcred sysctls already, no needs in
a separate struct tcp_ident_mapping.
Suggested by: ume
Notes:
svn path=/head/; revision=141886
|
|
utility:
The tcpdrop command drops the TCP connection specified by the
local address laddr, port lport and the foreign address faddr,
port fport.
Obtained from: OpenBSD
Reviewed by: rwatson (locking), ru (man page), -current
MFC after: 1 month
Notes:
svn path=/head/; revision=141381
|