Lines Matching defs:family

158  * sockparams_create(int family, int type, int protocol, char *modname,
164 * family, type, protocol: specifies the socket type
187 sockparams_create(int family, int type, int protocol, char *modname,
210 sp->sp_family = family;
361 sockparams_find(list_t *list, int family, int type, int protocol,
367 if (sp->sp_family == family && sp->sp_type == type) {
387 * Returns an ephemeral sockparams entry of the requested family, type and
401 sockparams_hold_ephemeral(int family, int type, int protocol,
411 sp = sockparams_find(&sp_ephem_list, family, type, protocol,
435 newsp = sockparams_create(family, type,
439 newsp = sockparams_create(family, type,
467 sp = sockparams_find(&sp_ephem_list, family, type, protocol,
498 sockparams_hold_ephemeral_bydev(int family, int type, int protocol,
501 return (sockparams_hold_ephemeral(family, type, protocol, dev, B_TRUE,
506 sockparams_hold_ephemeral_bymod(int family, int type, int protocol,
509 return (sockparams_hold_ephemeral(family, type, protocol, mod, B_FALSE,
590 * sockparams_delete(int family, int type, int protocol)
592 * Marks the sockparams entry for a specific family, type and protocol
597 * family, type, protocol: the socket type that should be removed.
607 sockparams_delete(int family, int type, int protocol)
612 sp = sockparams_find(&sphead, family, type, protocol, B_TRUE, NULL);
641 * solookup(int family, int type, int protocol, struct sockparams **spp)
645 * for the given <family, type>. A default entry is on with a protocol
649 * family, type, protocol: tuple to search for
656 * EAFNOSUPPORT - address family not in list
657 * EPROTONOSUPPORT - address family supported but not protocol.
658 * EPROTOTYPE - address family and protocol supported but not socket type.
663 solookup(int family, int type, int protocol, struct sockparams **spp)
673 * Hopefully we find an entry that match the exact family,
676 * the default entry for a specific family and type, the
679 sp = sockparams_find(&sphead, family, type, protocol, B_TRUE, NULL);
687 if (sp->sp_family == family && found < 1)
689 if (sp->sp_family == family &&