Lines Matching refs:sphead
69 static list_t sphead; variable
89 list_create(&sphead, sizeof (struct sockparams), in sockparams_init()
564 if (sockparams_find(&sphead, sp->sp_family, sp->sp_type, in sockparams_add()
583 list_insert_tail(&sphead, sp); in sockparams_add()
612 sp = sockparams_find(&sphead, family, type, protocol, B_TRUE, NULL); in sockparams_delete()
628 list_remove(&sphead, sp); in sockparams_delete()
679 sp = sockparams_find(&sphead, family, type, protocol, B_TRUE, NULL); in solookup()
685 for (sp = list_head(&sphead); sp != NULL; in solookup()
686 sp = list_next(&sphead, sp)) { in solookup()
791 sockparams_filter_cleanup_impl(ent, &sphead); in sockparams_filter_cleanup()
822 if ((error = sockparams_new_filter_impl(ent, &sphead)) != 0) in sockparams_new_filter()
826 sockparams_filter_cleanup_impl(ent, &sphead); in sockparams_new_filter()
855 for (sp = list_head(&sphead); sp != NULL; in sockparams_copyout_socktable()
856 sp = list_next(&sphead, sp)) { in sockparams_copyout_socktable()
871 for (sp = list_head(&sphead); sp != NULL; in sockparams_copyout_socktable()
872 sp = list_next(&sphead, sp)) { in sockparams_copyout_socktable()