inpcb: inline in_pcbconnect_setup() into in_pcbconnect()

The separation had been done back in 5200e00e72 for the purposes of
removing a true temporary connect of an unconnected UDP socket that does
sendto(2) in 90162a4e87.  Now, with 69c05f4287 in place, the
separation is no longer needed.  There should be no functional change.

Reviewed by:		markj
Differential Revision:	https://reviews.freebsd.org/D49142
This commit is contained in:
Gleb Smirnoff
2025-03-06 22:57:29 -08:00
parent e92a78ad7a
commit 2af953b132
2 changed files with 94 additions and 137 deletions
-2
View File
@@ -645,8 +645,6 @@ int in_pcbbind(struct inpcb *, struct sockaddr_in *, int, struct ucred *);
int in_pcbbind_setup(struct inpcb *, struct sockaddr_in *, in_addr_t *,
u_short *, int, struct ucred *);
int in_pcbconnect(struct inpcb *, struct sockaddr_in *, struct ucred *);
int in_pcbconnect_setup(const struct inpcb *, struct sockaddr_in *,
in_addr_t *, u_short *, in_addr_t *, u_short *, struct ucred *);
void in_pcbdisconnect(struct inpcb *);
void in_pcbdrop(struct inpcb *);
void in_pcbfree(struct inpcb *);