MCPcopy Index your code
hub / github.com/F-Stack/f-stack / sobind

Function sobind

freebsd/kern/uipc_socket.c:855–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853#endif /* SCTP */
854
855int
856sobind(struct socket *so, struct sockaddr *nam, struct thread *td)
857{
858 int error;
859
860 CURVNET_SET(so->so_vnet);
861 error = (*so->so_proto->pr_usrreqs->pru_bind)(so, nam, td);
862 CURVNET_RESTORE();
863 return (error);
864}
865
866int
867sobindat(int fd, struct socket *so, struct sockaddr *nam, struct thread *td)

Callers 7

sctp_over_udp_startFunction · 0.85
in_gre_setup_socketFunction · 0.85
in6_gre_setup_socketFunction · 0.85
uipc_syscalls.cFile · 0.85
vxlan_socket_bindFunction · 0.85
ng_ksocket_rcvmsgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected