Provided by: freebsd-manpages_7.2-1_all socket - kernel socket
interface sobind(struct socket *so, struct sockaddr *nam, struct
thread *td); soclose(struct socket *so); soconnect(struct socket
*so, struct sockaddr *nam, struct thread *td); socreate(int dom,
struct socket **aso, int type, int proto, struct ucred *cred,
struct thread *td); sogetopt(struct socket *so, struct sockopt
*sopt); soreceive(struct socket *so, struct sockaddr **psa,
struct uio *uio, struct mbuf **mp0, struct mbuf **controlp, int
*flagsp); sosetopt(struct socket *so, struct sockopt *sopt);
sosend(struct socket *so, struct sockaddr *addr, struct uio
*uio, struct mbuf *top, struct mbuf *control, int flags, struct
thread *td); soshutdown(struct socket *so, int how); The kernel
socket programming interface permits in-kernel consumers to
interact with local and network socket objects in a manner
similar to that permitted using the socket(2) user API. These
interfaces are appropriate for use by distributed file systems
and other network-aware