Lines Matching refs:isv6
175 boolean_t isv6; in insert_smach() local
191 isv6 = lif->lif_pif->pif_isv6; in insert_smach()
210 lif->lif_iaid, isv6 ? 6 : 4, lif->lif_name); in insert_smach()
215 if (isv6) { in insert_smach()
252 plist = df_get_string(dsmp->dsm_name, isv6, DF_PARAM_REQUEST_LIST); in insert_smach()
255 plist = df_get_string(dsmp->dsm_name, isv6, DF_PARAM_IGNORE_LIST); in insert_smach()
259 dsmp->dsm_offer_wait = df_get_int(dsmp->dsm_name, isv6, in insert_smach()
266 if (primary_smach(isv6) == NULL && in insert_smach()
267 (alt_primary = primary_smach(!isv6)) != NULL) { in insert_smach()
272 dsmp->dsm_name, isv6 ? 6 : 4); in insert_smach()
383 next_smach(dhcp_smach_t *dsmp, boolean_t isv6) in next_smach() argument
402 pif = isv6 ? v6root : v4root; in next_smach()
422 primary_smach(boolean_t isv6) in primary_smach() argument
426 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in primary_smach()
427 dsmp = next_smach(dsmp, isv6)) { in primary_smach()
444 info_primary_smach(boolean_t isv6) in info_primary_smach() argument
449 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in info_primary_smach()
450 dsmp = next_smach(dsmp, isv6)) { in info_primary_smach()
533 lookup_smach(const char *smname, boolean_t isv6) in lookup_smach() argument
537 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in lookup_smach()
538 dsmp = next_smach(dsmp, isv6)) { in lookup_smach()
556 lookup_smach_by_uindex(uint16_t ifindex, dhcp_smach_t *dsmp, boolean_t isv6) in lookup_smach_by_uindex() argument
568 if ((dsmp = next_smach(dsmp, isv6)) == NULL) in lookup_smach_by_uindex()
583 pif = lookup_pif_by_uindex(ifindex, pif, isv6); in lookup_smach_by_uindex()
605 lookup_smach_by_xid(uint32_t xid, dhcp_smach_t *dsmp, boolean_t isv6) in lookup_smach_by_xid() argument
607 for (dsmp = next_smach(dsmp, isv6); dsmp != NULL; in lookup_smach_by_xid()
608 dsmp = next_smach(dsmp, isv6)) { in lookup_smach_by_xid()
610 pkt_get_xid(dsmp->dsm_send_pkt.pkt, isv6) == xid) in lookup_smach_by_xid()
629 boolean_t isv6 = B_FALSE; in lookup_smach_by_event() local
632 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in lookup_smach_by_event()
633 dsmp = next_smach(dsmp, isv6)) { in lookup_smach_by_event()
638 if (isv6) in lookup_smach_by_event()
640 isv6 = B_TRUE; in lookup_smach_by_event()
1274 boolean_t isv6 = B_FALSE; in refresh_smachs() local
1278 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in refresh_smachs()
1279 dsmp = next_smach(dsmp, isv6)) { in refresh_smachs()
1282 if (isv6) in refresh_smachs()
1284 isv6 = B_TRUE; in refresh_smachs()
1299 boolean_t isv6 = B_FALSE; in nuke_smach_list() local
1303 for (dsmp = next_smach(NULL, isv6); dsmp != NULL; in nuke_smach_list()
1307 dsmp_next = next_smach(dsmp, isv6); in nuke_smach_list()
1321 if (df_get_bool(dsmp->dsm_name, isv6, in nuke_smach_list()
1323 df_get_bool(dsmp->dsm_name, isv6, in nuke_smach_list()
1325 if (script_start(dsmp, isv6 ? EVENT_RELEASE6 : in nuke_smach_list()
1333 (void) script_start(dsmp, isv6 ? EVENT_DROP6 : in nuke_smach_list()
1336 if (isv6) in nuke_smach_list()
1338 isv6 = B_TRUE; in nuke_smach_list()