| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
arc lint is helpful
Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com
Differential Revision: https://reviews.freebsd.org/D3337
|
|
|
|
|
|
|
| |
netstat and the way TCP is handled.
PR: 201585
MFC after: 3 weeks
|
|
|
|
|
| |
PR: 201585
MFC after: 3 weeks
|
|
|
|
|
| |
PR: 201585
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
the last one. This doesn't matter for TCP, but it does for the upcoming
SCTP support.
PR: 201585
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
warning which broke the sparc64 build.
PR: 201585
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
applicable (currently only for TCP).
PR: 201585
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
- Display zoneid using % notation in an IPv6 address.
- Use nitems().
- Use sstos{in,in6,un} macros to simplify casts.
- style(9).
|
|
|
|
|
|
|
| |
Reported by: Coverity
CID: 1306785
MFC after: 3 days
|
|
|
|
|
|
|
| |
have multiple addresses, the problem didn't show up during testing.
Reported by: Coverity
CID: 1306787
|
|
|
|
|
|
|
|
|
| |
address is loopback. So it is shown if both are not loopback.
The man page says that it is shown if the local or foreign
address is not loopback. Change the man page to reflect the
code.
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
support SCTP (and MPTCP in the future). No functional change for existing
protocols.
MFC after: 3 days
|
|
|
|
|
|
|
| |
for supporting 1-to-many style SCTP sockets. For other sochets, there
is no functional change.
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
|
| | |
|
| |\
| |/
|/| |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | | |
| | \ | |
| | \ | |
| | \ | |
| |\ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
Requested by: Simon Gerraty <sjg@juniper.net>
|
| |_|_|/
|/| | |
| | | |
| | | | |
MFC after: 1 week
|
| |/ /
|/| |
| | |
| | |
| | | |
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
|
| |/
|/|
| |
| |
| | |
Spotted by: Jason Hellenthal
MFC after: 3 days
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Stateful TCP offload drivers for Terminator 3 and 4 (T3 and T4) ASICs.
These are available as t3_tom and t4_tom modules that augment cxgb(4)
and cxgbe(4) respectively. The cxgb/cxgbe drivers continue to work as
usual with or without these extra features.
- iWARP driver for Terminator 3 ASIC (kernel verbs). T4 iWARP in the
works and will follow soon.
Build-tested with make universe.
30s overview
============
What interfaces support TCP offload? Look for TOE4 and/or TOE6 in the
capabilities of an interface:
# ifconfig -m | grep TOE
Enable/disable TCP offload on an interface (just like any other ifnet
capability):
# ifconfig cxgbe0 toe
# ifconfig cxgbe0 -toe
Which connections are offloaded? Look for toe4 and/or toe6 in the
output of netstat and sockstat:
# netstat -np tcp | grep toe
# sockstat -46c | grep toe
Reviewed by: bz, gnn
Sponsored by: Chelsio communications.
MFC after: ~3 months (after 9.1, and after ensuring MFC is feasible)
|
|
|
|
| |
No objections: current@
|
|
|
|
|
|
|
|
|
|
|
|
| |
checking the returned oldlen: when ENOMEM is due to the supplied
buffer being too short the return oldlen is equal to buffer size.
Without this additional check sockstat gets stuck in loop leaking the
memory if the returned ENOMEM was due the exceeded memorylocked
limit. This is easily can be observed running `limits -l 1k sockstat'.
Submitted by: Andrey Zonov <andrey zonov org>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
Sockets not associated with a file descriptor include TCP TIME_WAIT states
and sockets created via the socket(9) API such as from rpc.lockd and the NFS
client.
PR: bin/164081
MFC after: 2 weeks
No objection: des
|
|
|
|
|
|
|
| |
This makes a tiny percentage of entries in calendars ugly for latin1
users, but fixes them for UTF-8 users.
This badly needs a solution involving locale-dependent re-encoding.
|
|
|
|
|
|
|
|
|
| |
addresses (most of them apart from ::1): put a whitespace
between local and remote address:port pairs.
PR: bin/145194
Submitted by: Fedor Dikarev
MFC after: 2 weeks
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
|
|
|
|
|
| |
The code does the right thing, but the compiler is unable to figure it
out. All paths that use that variable use the same invariant.
|
|
|
|
|
| |
Submitted by: infofarmer@
MFC after: 2 weeks
|
|
|
|
| |
Approved by: re (kib)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in6p_ip6_nxt
in6p_vflag
in6p_flags
in6p_socket
in6p_lport
in6p_fport
in6p_ppcb
Remove unused v6 macro aliases for inpcb flags:
IN6P_HIGHPORT
IN6P_LOWPORT
IN6P_ANONPORT
IN6P_RECVIF
IN6P_MTUDISC
IN6P_FAITH
IN6P_CONTROLOPTS
References to in6p_lport and in6_fport in sockstat are also replaced with
normal inp_lport and inp_fport references.
MFC after: 3 days
Reviewed by: bz
|
|
|
|
|
|
|
|
| |
the allotted space.
PR: bin/129318
Submitted by: Ighighi <ighighi@gmail.com>
MFC after: 3 weeks
|
| |
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
| |
PR: bin/113777
Submitted by: Dmitrij Tejblum
MFC after: 1 week
|
|
|
|
| |
be different.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using either one of the two would result in an empty protos[]
array, and no sockets were actually listed:
% sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
% sockstat -6
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
%
Fix this bug by tweaking appropriately the logic of handling opt_4,
opt_6, opt_u and protos_defined.
Submitted by: des
Pointy hat: keramida
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
behavior of sockstat(1) will still be to show "udp", "tcp" and
"divert" protocols, but we can now provide a (comma-separated)
list of protocols, as in:
% sockstat -P tcp
to list only TCP sockets, or we can filter more than one protocol
by separating the protocol names with a comma:
% sockstat -P tcp,udp
Protocol names are parsed with getprotobyname(3), so any protocol
whose name is listed in `/etc/protocols' should work fine.
Submitted by: Josh Carroll <josh.carroll@psualum.com>
Approved by: des
|
|
|
|
|
| |
Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
MFC after: 1 week
|
| |
|
| |
|
| |
|