MCPcopy Create free account
hub / github.com/F-Stack/f-stack / soconnect2

Function soconnect2

freebsd/kern/uipc_socket.c:1350–1359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1348}
1349
1350int
1351soconnect2(struct socket *so1, struct socket *so2)
1352{
1353 int error;
1354
1355 CURVNET_SET(so1->so_vnet);
1356 error = (*so1->so_proto->pr_usrreqs->pru_connect2)(so1, so2);
1357 CURVNET_RESTORE();
1358 return (error);
1359}
1360
1361int
1362sodisconnect(struct socket *so)

Callers 1

kern_socketpairFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected