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

Function sobindat

freebsd/kern/uipc_socket.c:866–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866int
867sobindat(int fd, struct socket *so, struct sockaddr *nam, struct thread *td)
868{
869 int error;
870
871 CURVNET_SET(so->so_vnet);
872 error = (*so->so_proto->pr_usrreqs->pru_bindat)(fd, so, nam, td);
873 CURVNET_RESTORE();
874 return (error);
875}
876
877/*
878 * solisten() transitions a socket from a non-listening state to a listening

Callers 1

uipc_syscalls.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected