| 853 | #endif /* SCTP */ |
| 854 | |
| 855 | int |
| 856 | sobind(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 | |
| 866 | int |
| 867 | sobindat(int fd, struct socket *so, struct sockaddr *nam, struct thread *td) |
no outgoing calls
no test coverage detected