Lines Matching refs:new_set
893 uint8_t new_set; member
904 no->set = args->new_set; in swap_sets_cb()
905 else if (no->set == args->new_set) in swap_sets_cb()
918 no->set = args->new_set; in move_sets_cb()
931 if (ipfw_objhash_lookup_name_type(ni, args->new_set, in test_sets_cb()
942 uint16_t set, uint8_t new_set, enum ipfw_sets_cmd cmd) in ipfw_obj_manage_sets() argument
948 args.new_set = new_set; in ipfw_obj_manage_sets()
966 if (new_set != 0) in ipfw_obj_manage_sets()
985 if (ipfw_objhash_lookup_name_type(ni, new_set, type, in ipfw_obj_manage_sets()
992 no->set = new_set; in ipfw_obj_manage_sets()
1107 if (rule->set == rt->new_set) /* nothing to do */ in move_objects()
1134 if (rule->set == rt->new_set) /* nothing to do */ in move_objects()
1145 (uint8_t)rt->new_set, TEST_ONE); in move_objects()
1153 if (rule->set == rt->new_set) /* nothing to do */ in move_objects()
1169 (uint8_t)rt->new_set, MOVE_ONE); in move_objects()
1206 rule->set = rt->new_set; in move_range()
1295 if (rt->set >= IPFW_MAX_SETS || rt->new_set >= IPFW_MAX_SETS) in check_range_tlv()
1334 rh->range.new_set = ndel; in del_rules()
1404 rh->range.new_set = num; in clear_rules()
1416 v_set = (V_set_disable | rt->set) & ~rt->new_set; in enable_sets()
1432 if (rt->set == rt->new_set) /* nothing to do */ in swap_sets()
1445 (uint8_t)rt->new_set, TEST_ALL); in swap_sets()
1454 rule->set = (uint8_t)rt->new_set; in swap_sets()
1455 else if (rule->set == (uint8_t)rt->new_set && mv == 0) in swap_sets()
1462 (uint8_t)rt->new_set, mv != 0 ? MOVE_ALL: SWAP_ALL); in swap_sets()
1491 rh->range.new_set >= IPFW_MAX_SETS)) in manage_sets()
1529 uint8_t cmd, new_set; in del_entry() local
1536 new_set = (arg >> 16) & 0xff; in del_entry()
1538 if (cmd > 5 || new_set > RESVD_SET) in del_entry()
1553 rt.new_set = new_set; in del_entry()
1570 rt.set = new_set; in del_entry()
1571 rt.new_set = 0; in del_entry()