aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_hostcache.c
Commit message (Expand)AuthorAgeFilesLines
* tcp_hostcache: use SMR for lookups, mutex(9) for updates.Gleb Smirnoff2021-04-201-230/+233
* Fix off-by-one error in KASSERT from 02f26e98c7f4.Gleb Smirnoff2021-04-201-1/+1
* tcp_hostcache: make THC_LOCK/UNLOCK macros to work with hash head pointer.Gleb Smirnoff2021-04-091-14/+14
* tcp_hostcache: style(9)Gleb Smirnoff2021-04-091-26/+27
* tcp_hostcache: remove extraneous check.Gleb Smirnoff2021-04-091-6/+0
* tcp_hostcache: implement tcp_hc_updatemtu() via tcp_hc_update.Gleb Smirnoff2021-04-091-30/+5
* tcp: Use jenkins_hash32() in hostcacheRichard Scheffenegger2021-04-081-7/+12
* tcp_hostcache.c: remove unneeded includes.Gleb Smirnoff2021-04-081-14/+0
* tcp_hostcache: add bool argument for tcp_hc_lookup() to tell are weGleb Smirnoff2021-04-081-25/+20
* tcp_hostcache: hide rmx_hits/rmx_updates under ifdef.Gleb Smirnoff2021-04-081-3/+22
* Remove tcp_hostcache.h. Everything is private.Gleb Smirnoff2021-04-081-1/+42
* fix typo in 38ea2bd0698eRichard Scheffenegger2021-04-021-1/+0
* Use sbuf_drain unconditionallyRichard Scheffenegger2021-04-021-8/+1
* tcp: Shouldn't drain empty sbufRichard Scheffenegger2021-04-011-2/+10
* tcp: Add hash histogram output and validate bucket length accountingRichard Scheffenegger2021-04-011-0/+62
* tcp: For hostcache performance, use atomics instead of countersRichard Scheffenegger2021-04-011-13/+11
* tcp: Make hostcache.cache_count MPSAFE by using a counter_u64_tRichard Scheffenegger2021-03-311-8/+12
* tcp: drain tcp_hostcache_list in between per-bucket locksRichard Scheffenegger2021-03-311-2/+4
* tcp: reduce memory footprint when listing tcp hostcacheRichard Scheffenegger2021-03-281-6/+15
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki2020-02-261-5/+8
* Don't use uninitialised stack memory if the sysctl variableMichael Tuexen2020-02-171-1/+3
* Use the new VNET_DEFINE_STATIC macro when we are defining static VNETAndrew Turner2018-07-241-2/+2
* sys: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Use inet_ntoa_r() instead of inet_ntoa() throughout the kernelEric van Gyzen2017-02-161-1/+3
* sysctl net.inet.tcp.hostcache.list in a jail can see connections from otherHiren Panchasara2017-01-051-0/+5
* Remove "long" variables from the TCP stack (not including the modularJonathan T. Looney2016-10-061-14/+16
* This adds a sysctl which allows you to disable the TCP hostcache. This is handyHiren Panchasara2016-09-301-1/+25
* Clean up unused bandwidth entry in the TCP hostcache.Hiren Panchasara2015-12-111-15/+5
* CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than tenJung-uk Kim2015-05-221-1/+1
* Add a new sysctl net.inet.tcp.hostcache.purgenow=1 to expire and purge allHiren Panchasara2015-05-201-0/+25
* Go back to using sbuf_new() with a preallocated large buffer, to avoidIan Lepore2015-03-141-1/+4
* Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctlIan Lepore2015-03-141-5/+3
* Use an sbuf to generate the output of the net.inet.tcp.hostcache.listJohn Baldwin2015-01-251-13/+11
* Remove SYSCTL_VNET_* macros, and simply put CTLFLAG_VNET where needed.Gleb Smirnoff2014-11-071-8/+8
* Add scope zone id to the in_endpoints and hc_metrics structures.Andrey V. Elsukov2014-09-101-3/+5
* The r48589 promised to remove implicit inclusion of if_var.h soon. PrepareGleb Smirnoff2013-10-261-0/+1
* - Update cachelimit after hashsize and bucketlimit were set.Andrey Zonov2012-10-191-6/+11
* Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl.Mikolaj Golub2012-07-031-1/+1
* Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.Ed Schouten2011-11-071-1/+1
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.Matthew D Fleming2011-01-121-4/+4
* After some off-list discussion, revert a number of changes to theDimitry Andric2010-11-221-2/+2
* Apply the STATIC_VNET_DEFINE and STATIC_DPCPU_DEFINE macros throughoutDimitry Andric2010-11-141-2/+2
* MFP4: @176978-176982, 176984, 176990-176994, 177441Bjoern A. Zeeb2010-04-291-2/+2
* Properly free resources when destroying the TCP hostcache whileBjoern A. Zeeb2010-02-091-12/+32
* Merge the remainder of kern_vimage.c and vimage.h into vnet.c andRobert Watson2009-08-011-1/+1
* Remove unused VNET_SET() and related macros; only VNET_GET() isRobert Watson2009-07-161-2/+2
* Build on Jeff Roberson's linker-set based dynamic per-CPU allocatorRobert Watson2009-07-141-29/+20
* After cleaning up rt_tables from vnet.h and cleaning up opt_route.hBjoern A. Zeeb2009-06-231-0/+1
* Introduce an infrastructure for dismantling vnet instances.Marko Zec2009-06-081-0/+12
* A NOP change: style / whitespace cleanup of the noise that slippedMarko Zec2009-05-081-1/+1