Lines Matching refs:isv6

176 	boolean_t isv6;  in insert_smach()  local
192 isv6 = lif->lif_pif->pif_isv6; in insert_smach()
211 lif->lif_iaid, isv6 ? 6 : 4, lif->lif_name); in insert_smach()
216 if (isv6) { in insert_smach()
253 plist = df_get_string(dsmp->dsm_name, isv6, DF_PARAM_REQUEST_LIST); in insert_smach()
256 plist = df_get_string(dsmp->dsm_name, isv6, DF_PARAM_IGNORE_LIST); in insert_smach()
260 dsmp->dsm_offer_wait = df_get_int(dsmp->dsm_name, isv6, in insert_smach()
267 if (primary_smach(isv6) == NULL && in insert_smach()
268 (alt_primary = primary_smach(!isv6)) != NULL) { in insert_smach()
273 dsmp->dsm_name, isv6 ? 6 : 4); in insert_smach()
386 next_smach(dhcp_smach_t *dsmp, boolean_t isv6) in next_smach() argument
405 pif = isv6 ? v6root : v4root; in next_smach()
425 primary_smach(boolean_t isv6) in primary_smach() argument
429 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in primary_smach()
430 dsmp = next_smach(dsmp, isv6)) { in primary_smach()
447 info_primary_smach(boolean_t isv6) in info_primary_smach() argument
452 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in info_primary_smach()
453 dsmp = next_smach(dsmp, isv6)) { in info_primary_smach()
536 lookup_smach(const char *smname, boolean_t isv6) in lookup_smach() argument
540 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in lookup_smach()
541 dsmp = next_smach(dsmp, isv6)) { in lookup_smach()
559 lookup_smach_by_uindex(uint16_t ifindex, dhcp_smach_t *dsmp, boolean_t isv6) in lookup_smach_by_uindex() argument
571 if ((dsmp = next_smach(dsmp, isv6)) == NULL) in lookup_smach_by_uindex()
586 pif = lookup_pif_by_uindex(ifindex, pif, isv6); in lookup_smach_by_uindex()
608 lookup_smach_by_xid(uint32_t xid, dhcp_smach_t *dsmp, boolean_t isv6) in lookup_smach_by_xid() argument
610 for (dsmp = next_smach(dsmp, isv6); dsmp != NULL; in lookup_smach_by_xid()
611 dsmp = next_smach(dsmp, isv6)) { in lookup_smach_by_xid()
613 pkt_get_xid(dsmp->dsm_send_pkt.pkt, isv6) == xid) in lookup_smach_by_xid()
632 boolean_t isv6 = B_FALSE; in lookup_smach_by_event() local
635 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in lookup_smach_by_event()
636 dsmp = next_smach(dsmp, isv6)) { in lookup_smach_by_event()
641 if (isv6) in lookup_smach_by_event()
643 isv6 = B_TRUE; in lookup_smach_by_event()
1290 boolean_t isv6 = B_FALSE; in refresh_smachs() local
1294 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in refresh_smachs()
1295 dsmp = next_smach(dsmp, isv6)) { in refresh_smachs()
1298 if (isv6) in refresh_smachs()
1300 isv6 = B_TRUE; in refresh_smachs()
1315 boolean_t isv6 = B_FALSE; in nuke_smach_list() local
1319 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in nuke_smach_list()
1323 dsmp_next = next_smach(dsmp, isv6); in nuke_smach_list()
1337 if (df_get_bool(dsmp->dsm_name, isv6, in nuke_smach_list()
1339 df_get_bool(dsmp->dsm_name, isv6, in nuke_smach_list()
1341 if (script_start(dsmp, isv6 ? EVENT_RELEASE6 : in nuke_smach_list()
1349 (void) script_start(dsmp, isv6 ? EVENT_DROP6 : in nuke_smach_list()
1352 if (isv6) in nuke_smach_list()
1354 isv6 = B_TRUE; in nuke_smach_list()