solookup
*errorp = solookup(family, type, protocol, &sp);
*errorp = solookup(family, type, 0, &sp);
error = solookup(so->so_family, SOCK_STREAM, so->so_protocol,
extern int solookup(int, int, int, struct sockparams **);