socreate
error = socreate(SCARG(uap, domain), &so, type, SCARG(uap, protocol));
error = socreate(AF_INET, &so, SCARG(uap, type), 0);
error = socreate(SCARG(uap, domain), &so1, type, SCARG(uap, protocol));
error = socreate(SCARG(uap, domain), &so2, type, SCARG(uap, protocol));
if ((error = socreate(AF_UNIX, &rso, SOCK_STREAM, 0)) != 0) {
if ((error = socreate(AF_UNIX, &wso, SOCK_STREAM, 0)) != 0) {
error = socreate(dst->sa_family, &so, SOCK_DGRAM, 0);
error = socreate(dst->sa_family, &so, SOCK_DGRAM, 0);
error = socreate(sc->sc_flowdst->sa_family,
error = socreate(vt->vt_af, &so, SOCK_DGRAM, IPPROTO_UDP);
if ((ret = socreate(af, so, SOCK_DGRAM, 0)) != 0)
if ((error = socreate(AF_INET, &so, SOCK_DGRAM, 0)))
if ((error = socreate(AF_INET, &so, SOCK_DGRAM, 0)) != 0)
error = socreate(saddr->sa_family, &nmp->nm_so, nmp->nm_sotype,
int socreate(int, struct socket **, int, int);