summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/inet.c
AgeCommit message (Expand)Author
2021-12-05sys/select.h is not needed, if howmany/NBBY are needed they will arriveTheo de Raadt
2021-11-21Add the new `ipsec_exctdb' ipsec(4) counter to count and expose to theVitaliy Makkoveev
2021-01-26sockb variable is unused (and even worse, was common unused)Theo de Raadt
2021-01-17Replace SB_KNOTE and sb_flagsintr with direct checking of klist.Visa Hankala
2020-12-23Print specific headline for TCP state and IP protocol in netstat.Alexander Bluhm
2020-01-15Print the correct field, sb_timeo has been replaced by sb_timeo_nsecs.Martin Pieuchot
2019-12-08Make sure packet destination address matches interface address,Alexandr Nedvedicky
2019-07-12Count the number of TCP SACK options that were dropped due to theAlexander Bluhm
2018-12-18With option -l, show only UDP sockets that can receive packets fromSebastian Benoit
2018-11-19Utilize sigio with sockets.Visa Hankala
2018-08-13Print global IPsec counters.Martin Pieuchot
2017-11-07Convert all the fields of {ah,esp,ipcomp}stat to uint64.Visa Hankala
2017-10-25Remove the TCP_FACK option and associated #if{,n}def code.job
2017-08-12add option -l to show only listening sockets (for tcp)Sebastian Benoit
2017-07-27uint32_t is never < 0; pointed out by clang.Florian Obser
2017-05-16When printing a tcpcb with -P and -v, also show the inp in netstatAlexander Bluhm
2017-05-04For TCP sockets netstat -A must print the address of the TCP protocolAlexander Bluhm
2017-03-07Rename struct etheripstat members for consistency, move them all to 64bitsJeremie Courreges-Anglas
2017-02-20Crank all members of struct ipipstat to 64 bitsJeremie Courreges-Anglas
2017-02-07IPsec packets could be dropped unaccounted if output after cryptoAlexander Bluhm
2016-12-22Remove PIM support from the multicast stack.Rafael Zalamena
2016-11-11Print the route cached at the inp with netstat -P. While there,Alexander Bluhm
2016-09-02Drop non-encapulated ESP packets using a UDP-encapsulating TDB, and addVincent Gross
2016-08-27Pull in <sys/select.h> for howmany() and NBBY, used by various net*/*.hPhilip Guenther
2016-08-13%lld -> %llu for u_int64_t struct fields.Kenneth R Westerback
2016-08-13As the relevant struct's (e.g. tcpstat) use [u_]int64_t types, theKenneth R Westerback
2016-07-20To tune the TCP SYN cache we need more information. Print theAlexander Bluhm
2016-04-26Print tcps_noport with netstat -s like it is already done for udp.Alexander Bluhm
2016-03-21Add a tcps_sc_seedrandom counter in TCP SYN cache and netstat -s.Alexander Bluhm
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2015-06-21There is no need to include sys/ucred.h. Only sys/file.h is needed for theClaudio Jeker
2015-04-16remove unfinished/unused support for socket-attached ipsec-policiesMarkus Friedl
2015-04-14IPsec auth and credentials are not stored in the kernel anymore;Mike Belopuhov
2015-02-12Switch the printing of open sockets from ugly KVM internals to useClaudio Jeker
2015-02-08Count dropped SYN packets on the tcpstat. They are dropped due to theYASUOKA Masahiko
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-03Put the socket splicing fields into a seperate struct sosplice thatAlexander Bluhm
2014-10-26remove unused variablesCharles Longeau
2014-10-23Remove networks(5) support.Ingo Schwarze
2014-08-14No need for <netinet/in_systm.h> nor <netinet/tcpip.h>.Martin Pieuchot
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2014-01-25Fix printing of icps_toofreq unlike IPv6 the IPv4 value is just a u_long.Claudio Jeker
2014-01-23hardware cecksummed counters -> software checksummed countersHenning Brauer
2014-01-19Report the number of dropped ICMP error because the rate limit got exceeded.Claudio Jeker
2013-12-25final circleq to tailq fix. restore the previous pointer check by readingTed Unangst
2013-12-24more fixing after circleq conversion. a better fix to check the prevTed Unangst
2013-12-23fix circleq tailq conversionTed Unangst
2013-12-20Switch inpt_queue from CIRCLEQ to TAILQ. Thus ending use of CIRCLEQKenneth R Westerback
2013-10-24These two programs got fooled by the KAME/NRL split and need type repair.Theo de Raadt
2013-08-18Fix calls to printf-like functions which passed a non-fixed stringPhilip Guenther