Introduce tcp_sogetpcb() to assign `inp' and `tp' from passed socket.
authormvs <mvs@openbsd.org>
Mon, 15 Aug 2022 14:44:18 +0000 (14:44 +0000)
committermvs <mvs@openbsd.org>
Mon, 15 Aug 2022 14:44:18 +0000 (14:44 +0000)
commit25ffe8896b70d4ba35f866e2bc31d419a368bdb5
tree645546926bbb09ca73a31135ebc9e6f7683657c1
parent38e921dace5deb318c2f5a06f3a0e6fa19bafe7d
Introduce tcp_sogetpcb() to assign `inp' and `tp' from passed socket.
This function will help to avoid code duplication when tcp_usrreq() will
be divided to multiple handlers.

ok bluhm@
sys/netinet/tcp_usrreq.c