freebsd-skq/usr.bin/netstat
Gleb Smirnoff 2bab0c5535 New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and
up to now.

The new sendfile is the code that Netflix uses to send their multiple tens
of gigabits of data per second. The new implementation features asynchronous
I/O, when I/O operations are launched, but not awaited to be complete. An
explanation of why such behavior is beneficial compared to old one is
going to be too long for a commit message, so we will skip it here.

Additional features of new syscall are extra flags, which provide an
application more control over data sent. The SF_NOCACHE flag tells
kernel that data shouldn't be cached after it was sent. The SF_READAHEAD()
macro allows to specify readahead size in pages.

The new syscalls is a drop in replacement. No modifications are required
to applications. One can take nginx binary for stable/10 and run it
successfully on head. Although SF_NODISKIO lost its original sense, as now
sendfile doesn't block, and now means something completely different (tm),
using the new sendfile the old way is absolutely safe.

Celebrates:	Netflix global launch!
Sponsored by:	Nginx, Inc.
Sponsored by:	Netflix
Relnotes:	yes
2016-01-08 20:34:57 +00:00
..
bpf.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
flowtable.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
if.c Avoid core dump when output style is html. 2015-11-20 12:15:58 +00:00
inet6.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
inet.c Fix udp entry of `netstat -TW'. 2015-11-25 11:20:54 +00:00
ipsec.c Switch the IPsec related statistics to using the built in sysctl 2015-12-17 02:02:09 +00:00
main.c Switch the IPsec related statistics to using the built in sysctl 2015-12-17 02:02:09 +00:00
Makefile Replace DPSRCS that work fine in SRCS. 2015-11-25 20:38:17 +00:00
Makefile.depend Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
mbuf.c New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and 2016-01-08 20:34:57 +00:00
mroute6.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
mroute.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
netgraph.c Simplify kvm symbol resolution and error handling. The symbol table 2015-09-02 18:51:36 +00:00
netisr.c Simplify kvm symbol resolution and error handling. The symbol table 2015-09-02 18:51:36 +00:00
netstat.1 Add more text to explain --libxo flag. 2015-12-01 19:18:53 +00:00
netstat.h Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
nlist_symbols Simplify kvm symbol resolution and error handling. The symbol table 2015-09-02 18:51:36 +00:00
pfkey.c Fix some libxo format string errors in the pfkey stats code. 2015-07-20 02:38:51 +00:00
route.c At the time a destination or a gateway of `netstat -r' 2015-12-01 16:04:50 +00:00
sctp.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
unix.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00