summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_hostcache.c
AgeCommit message (Expand)Author
2025-12-02netinet: Remove left-over sys/cdefs.hWarner Losh
2025-09-24tcp: Add CTLFLAG_VNET flag to some sysctlsZhenlei Huang
2025-09-24tcp: Fix expiring and purging hostcache entries of vnet jailsZhenlei Huang
2024-11-20tcp: use const argument in the TCP hostcache KPIGleb Smirnoff
2024-11-20tcp: mechanically rename hostcache metrics structure fieldsGleb Smirnoff
2024-05-07tcp_hostcache: remove unnecessary socketvar.hGleb Smirnoff
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
2021-11-30tcp(4): Fix a typo in a sysctl descriptionGordon Bergling
2021-04-20tcp_hostcache: use SMR for lookups, mutex(9) for updates.Gleb Smirnoff
2021-04-19Fix off-by-one error in KASSERT from 02f26e98c7f4.Gleb Smirnoff
2021-04-09tcp_hostcache: make THC_LOCK/UNLOCK macros to work with hash head pointer.Gleb Smirnoff
2021-04-09tcp_hostcache: style(9)Gleb Smirnoff
2021-04-09tcp_hostcache: remove extraneous check.Gleb Smirnoff
2021-04-09tcp_hostcache: implement tcp_hc_updatemtu() via tcp_hc_update.Gleb Smirnoff
2021-04-08tcp: Use jenkins_hash32() in hostcacheRichard Scheffenegger
2021-04-08tcp_hostcache.c: remove unneeded includes.Gleb Smirnoff
2021-04-08tcp_hostcache: add bool argument for tcp_hc_lookup() to tell are weGleb Smirnoff
2021-04-08tcp_hostcache: hide rmx_hits/rmx_updates under ifdef.Gleb Smirnoff
2021-04-08Remove tcp_hostcache.h. Everything is private.Gleb Smirnoff
2021-04-02fix typo in 38ea2bd0698eRichard Scheffenegger
2021-04-02Use sbuf_drain unconditionallyRichard Scheffenegger
2021-04-01tcp: Shouldn't drain empty sbufRichard Scheffenegger
2021-04-01tcp: Add hash histogram output and validate bucket length accountingRichard Scheffenegger
2021-04-01tcp: For hostcache performance, use atomics instead of countersRichard Scheffenegger
2021-03-31tcp: Make hostcache.cache_count MPSAFE by using a counter_u64_tRichard Scheffenegger
2021-03-31tcp: drain tcp_hostcache_list in between per-bucket locksRichard Scheffenegger
2021-03-28tcp: reduce memory footprint when listing tcp hostcacheRichard Scheffenegger
2020-02-26Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki
2020-02-17Don't use uninitialised stack memory if the sysctl variableMichael Tuexen
2018-07-24Use the new VNET_DEFINE_STATIC macro when we are defining static VNETAndrew Turner
2017-11-27sys: general adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-16Use inet_ntoa_r() instead of inet_ntoa() throughout the kernelEric van Gyzen
2017-01-05sysctl net.inet.tcp.hostcache.list in a jail can see connections from otherHiren Panchasara
2016-10-06Remove "long" variables from the TCP stack (not including the modularJonathan T. Looney
2016-09-30This adds a sysctl which allows you to disable the TCP hostcache. This is handyHiren Panchasara
2015-12-11Clean up unused bandwidth entry in the TCP hostcache.Hiren Panchasara
2015-05-22CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than tenJung-uk Kim
2015-05-20Add a new sysctl net.inet.tcp.hostcache.purgenow=1 to expire and purge allHiren Panchasara
2015-03-14Go back to using sbuf_new() with a preallocated large buffer, to avoidIan Lepore
2015-03-14Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctlIan Lepore
2015-01-25Use an sbuf to generate the output of the net.inet.tcp.hostcache.listJohn Baldwin
2014-11-07Remove SYSCTL_VNET_* macros, and simply put CTLFLAG_VNET where needed.Gleb Smirnoff
2014-09-10Add scope zone id to the in_endpoints and hc_metrics structures.Andrey V. Elsukov
2013-10-26The r48589 promised to remove implicit inclusion of if_var.h soon. PrepareGleb Smirnoff
2012-10-19- Update cachelimit after hashsize and bucketlimit were set.Andrey Zonov
2012-07-03Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl.Mikolaj Golub
2011-11-07Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.Ed Schouten
2011-01-12sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.Matthew D Fleming
2010-11-22After some off-list discussion, revert a number of changes to theDimitry Andric
2010-11-14Apply the STATIC_VNET_DEFINE and STATIC_DPCPU_DEFINE macros throughoutDimitry Andric