summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_usrreq.c
AgeCommit message (Expand)Author
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
2016-06-18Add net.inet.{tcp,udp}.rootonly sysctl, to mark which portsVincent Gross
2016-03-29Allow to adjust tcp_syn_use_limit with sysctl net.inet.tcp.synuselimit.Alexander Bluhm
2016-03-23Merge in_pcbbind() and in6_pcbbind(), and change every call toVincent Gross
2015-09-11in6_embedscope() needs to lose some weight. Remove the last argument.Claudio Jeker
2015-08-27When the dynamic TCP update is reducing so->so_snd.sb_hiwat theAlexander Bluhm
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-06-07Introduce unhandled_af() for cases where code conditionally doesJonathan Gray
2015-06-07Replace a bunch of == 0 with == NULL in pointer tests. Nuke someKenneth R Westerback
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot