summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
AgeCommit message (Expand)AuthorFilesLines
2021-03-17Netstat wants to access kernel internal structures for the kvm walker ofclaudio1-1/+3
2021-01-26satisfy -fno-common, by (1) copying all the variable decls fromderaadt2-26/+55
2021-01-26sockb variable is unused (and even worse, was common unused)deraadt2-5/+2
2021-01-24Add missing __KAME__ markers.florian1-1/+5
2021-01-17Replace SB_KNOTE and sb_flagsintr with direct checking of klist.visa1-2/+1
2021-01-16Unle recover the scope_id from a possible embedded scope if the scope_idclaudio2-5/+7
2021-01-02Add missing .Cm macros to the Address Family table.schwarze1-8/+8
2021-01-02Markup route flags such that apropos(1) finds themkn1-24/+24
2020-12-29getifaddrs() can return entries where ifa_addr is NULL. Check for thisbenno1-2/+3
2020-12-23Print specific headline for TCP state and IP protocol in netstat.bluhm1-3/+4
2020-09-15"Route show" and "netstat -r" provide formatting for routing tables withpamela1-18/+10
2020-07-18oops - the description of -i had a similarly incorrect text as -I concerningjmc1-9/+1
2020-07-18the text describing the effect of -f on -I is apparently wrong - no such codejmc1-10/+2
2020-06-16rework SYNOPSIS/usage() to show better the various use formats,jmc2-58/+61
2020-06-12Remove superflous space I added with my last commit.remi1-2/+2
2020-06-12update usage() with -R.remi1-3/+4
2020-06-12Add -R to show a summary of rdomains with associated interfaces and tables.remi4-6/+93
2020-01-15Print the correct field, sb_timeo has been replaced by sb_timeo_nsecs.mpi1-2/+2
2019-12-08Make sure packet destination address matches interface address,sashan2-2/+4
2019-09-02The output of netstat -g was mangled. Fix header line and printbluhm1-3/+3
2019-07-16Prevent integer overflow in kernel and userland when checking mbufbluhm1-6/+8
2019-07-12Count the number of TCP SACK options that were dropped due to thebluhm1-3/+3
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt4-13/+13
2019-06-13Do memory size calculations as unsigned long. Otherwisebluhm1-2/+2
2019-05-10Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h>guenther1-2/+1
2019-04-28Fix reading route entries via kvm(3).mpi3-183/+185
2019-04-20The rip6 checksum errors are accounted per socket. So the no socketbluhm1-2/+1
2019-04-17signpost the location of the text explaining routing table output a little better...jmc1-1/+2
2019-04-17remove some unneccessary baggage: Nm does not require an argument,jmc1-11/+9
2019-03-05add -e to usage; while here, change the argument name to -T from tableidjmc1-4/+4
2019-03-04when showing interface stats, combine the queue drops with errors as failsdlg4-47/+100
2018-12-18With option -l, show only UDP sockets that can receive packets frombenno1-2/+7
2018-11-19Utilize sigio with sockets.visa1-4/+2
2018-08-31Dont print "default" for "0.0.0.0" if it is a host route.yasuoka1-3/+1
2018-08-13Print global IPsec counters.mpi3-3/+39
2018-07-13Use "rtable" not "tableid" as argument name for rtablekn1-4/+4
2018-06-04Zap unused mifi_t.kn1-4/+1
2018-06-04Zap unused sockaddr.kn1-3/+1
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2-6/+3
2018-04-26AF_LOCAL is #define-non-grata; 'local' is 'unix'guenther1-3/+3
2018-01-05No need for <sys/socketvar.h>mpi1-2/+1
2017-11-07Convert all the fields of {ah,esp,ipcomp}stat to uint64.visa1-55/+55
2017-10-28Bring "netstat -m" output up to speed with the kernelmikeb1-13/+20
2017-10-25Remove the TCP_FACK option and associated #if{,n}def code.job1-4/+1
2017-08-12add option -l to show only listening sockets (for tcp)benno4-11/+21
2017-07-27uint32_t is never < 0; pointed out by clang.florian1-3/+3
2017-05-16When printing a tcpcb with -P and -v, also show the inp in netstatbluhm1-3/+9
2017-05-08Make netstat(8) always ask for IPv6 multicast routing information. Worstrzalamena1-3/+2
2017-05-04For TCP sockets netstat -A must print the address of the TCP protocolbluhm1-2/+3
2017-03-07Rename struct etheripstat members for consistency, move them all to 64bitsjca1-10/+10