socreate
error = socreate(PF_INET, &so, SOCK_STREAM,
error = socreate(PF_INET, &softc->ha_lso, SOCK_STREAM,
return -socreate(family, res, type, proto, curthread->td_ucred,
error = socreate(domain, &so, socktype, protocol,
error = socreate(domain, &so, socktype, protocol,
rc = socreate(AF_INET, &so4, SOCK_DGRAM, IPPROTO_UDP, cred, curthread);
rc = socreate(AF_INET6, &so6, SOCK_DGRAM, IPPROTO_UDP, cred, curthread);
error = socreate(saddr->sa_family, &so, nrp->nr_sotype,
error = socreate(nd->myif.ifra_addr.sa_family, &so, nd->root_args.sotype, 0,
error = socreate(domain, &so, type, protocol, td->td_ucred, td);
error = socreate(domain, &so1, type, protocol, td->td_ucred, td);
error = socreate(domain, &so2, type, protocol, td->td_ucred, td);
error = socreate(vso->vxlso_laddr.sa.sa_family, &vso->vxlso_sock,
error = socreate(PF_BLUETOOTH, &l2so, SOCK_SEQPACKET,
socreate_error = socreate(PF_BLUETOOTH, &l2so, SOCK_SEQPACKET,
error = socreate(family, &priv->so, type, protocol,
error = socreate(sc->gre_family, &gs->so,
if ((ret = socreate(PF_INET, &SCTP_BASE_INFO(udp4_tun_socket),
if ((ret = socreate(PF_INET6, &SCTP_BASE_INFO(udp6_tun_socket),
if ((ret = socreate(PF_INET, &V_udp4_tun_socket,
if ((ret = socreate(PF_INET6, &V_udp6_tun_socket,
error = socreate(sc->gre_family, &gs->so,
error = socreate(sc->sc_flowdst->sa_family,
error = socreate(AF_INET, &so, SOCK_STREAM, IPPROTO_TCP,
error = socreate(AF_INET, &bootp_so, SOCK_DGRAM, 0, td->td_ucred, td);
if ((error = socreate(AF_INET, &so, SOCK_DGRAM, 0, td->td_ucred, td)))
error = socreate(AF_INET, &nlm_socket, SOCK_DGRAM, 0,
error = socreate(AF_INET6, &nlm_socket6, SOCK_DGRAM, 0,
error = socreate(si.si_af, &so, si.si_socktype, si.si_proto,
int socreate(int dom, struct socket **aso, int type, int proto,