summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_usrreq.c
AgeCommit message (Expand)Author
2022-08-28Move PRU_SENSE request to (*pru_sense)().Vitaliy Makkoveev
2022-08-28Move PRU_ABORT request to (*pru_abort)().Vitaliy Makkoveev
2022-08-27Move PRU_SEND request to (*pru_send)().Vitaliy Makkoveev
2022-08-26Move PRU_RCVD request to (*pru_rcvd)().Vitaliy Makkoveev
2022-08-22Move PRU_SHUTDOWN request to (*pru_shutdown)().Vitaliy Makkoveev
2022-08-22Move PRU_DISCONNECT request to (*pru_disconnect).Vitaliy Makkoveev
2022-08-22Move PRU_ACCEPT request to (*pru_accept)().Vitaliy Makkoveev
2022-08-21Move PRU_CONNECT request to (*pru_connect)() handler.Vitaliy Makkoveev
2022-08-21Move PRU_LISTEN request to (*pru_listen)() handler.Vitaliy Makkoveev
2022-08-20Move PRU_BIND request to (*pru_bind)() handler.Vitaliy Makkoveev
2022-08-15Introduce tcp_sogetpcb() to assign `inp' and `tp' from passed socket.Vitaliy Makkoveev
2022-08-15Introduce 'pr_usrreqs' structure and move existing user-protocolVitaliy Makkoveev
2022-08-13Remove needless include pledge.h accidently added in previous commit.Alexander Bluhm
2022-08-11Add TCP_INFO support to getsockopt for tcp sessions.Claudio Jeker
2022-08-08To make protocol input functions MP safe, internet PCB need protection.Alexander Bluhm
2022-02-25Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.comPhilip Guenther
2022-02-25Move pr_attach and pr_detach to a new structure pr_usrreqs that canPhilip Guenther
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