summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_usrreq.c
AgeCommit message (Expand)Author
2021-04-30Rearrange the implementation of bounded sysctl. The primitiveAlexander Bluhm
2021-03-10spellingJonathan Gray
2021-01-09Enforce range with sysctl_int_bounded in tcp_sysctlgnezdo
2020-11-16Replace sysctl_rdint with sysctl_bounded_args entries in net.inet*gnezdo
2020-11-02Move TCPCTL_ALWAYS_KEEPALIVE into tcpctl_varsgnezdo
2020-08-18Style fixups from hurried commitsgnezdo
2020-08-18Convert tcp_sysctl to sysctl_bounded_argsgnezdo
2020-08-01Move range check inside sysctl_int_arrgnezdo
2020-06-18Refuse to set 0 or a negative value for net.inet.tcp.synbucketlimit.Martin Pieuchot
2019-07-12Count the number of TCP SACK options that were dropped due to theAlexander Bluhm
2019-02-06Fix a possible mbuf leak in tcp_usrreq(). Make the error handlingAlexander Bluhm
2018-11-04The change of the sb_mbmax calculation in sbreserve() broke settingAlexander Bluhm
2018-06-11The output from tcp debug sockets was incomplete. After detach tpAlexander Bluhm
2018-04-24Push NET_LOCK down in the default ifioctl case.Paul Irofti
2018-02-05Remove tcp_acounts, some tcp_usrreq() counting from 1981. AlsoAlexander Bluhm
2018-02-03Since tcp_attach() has moved to a separate protocol function, theAlexander Bluhm
2018-01-23Bring back the PRU_ATTACH constant and description. Then trpt(8)Alexander Bluhm
2018-01-22Bring back the detach messages in trpt(8) for tcp debugging. TheyAlexander Bluhm
2018-01-09Change `so_state' and `so_error' to unsigned int such that they canMartin Pieuchot
2017-12-01Simplify the reverse PCB lookup logic. The PF_TAG_TRANSLATE_LOCALHOSTAlexander Bluhm
2017-11-30Fix typos in comments.Nayden Markatchev
2017-11-20Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare runningMartin Pieuchot
2017-11-02Move PRU_DETACH out of pr_usrreq into per proto pr_detachFlorian Obser
2017-10-25Remove the TCP_FACK option and associated #if{,n}def code.job
2017-10-22Unconditionally enable TCP selective acknowledgements (SACK)Mike Belopuhov
2017-10-09Reduces the scope of the NET_LOCK() in sysctl(2) path.Martin Pieuchot
2017-09-05Replace NET_ASSERT_LOCKED() by soassertlocked() in *_usrreq().Martin Pieuchot
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-15Convert hand rolled sockaddr checks to the nam2sin functions.Alexander Bluhm
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-05-18Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> inMartin Pieuchot
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-13Do not check for mapped addresses in tcp_usrreq(PRU_CONNECT),Alexander Bluhm
2017-05-12Use the common switch(af) construct for address family specificAlexander Bluhm
2017-04-05When building counter memory in preparation to copy to userland, alwaysTheo de Raadt
2017-04-02Fix tcp stats reportingJeremie Courreges-Anglas
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-02-09percpu counters for TCP statsJeremie Courreges-Anglas
2017-02-01In sogetopt, preallocate an mbuf to avoid using sleeping mallocs withDavid Hill
2017-01-10Remove NULL checks before m_free(9), it deals with it.Martin Pieuchot
2017-01-03Remove some recursives splsoftnet().Martin Pieuchot
2016-12-26Typo, "more then" -> "more than"Jeremie Courreges-Anglas
2016-12-20A NET_LOCK() was is missing in tcp_sysctl() which shows up as splAlexander Bluhm
2016-12-20Kill recursive splsoftnet()/splx() in tcp_ctloutput().Martin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot
2016-09-24ANSIfy netinet/; from David HillChristian Weisgerber
2016-07-20To tune the TCP SYN cache we need more information. Print theAlexander Bluhm
2016-07-20Make the size for the syn cache hash array tunable. As we areAlexander Bluhm
2016-07-11Do not increase the size of the socket buffer under memory pressure.Martin Pieuchot