• Home
  • Raw
  • Download

Lines Matching refs:rulenum

642 					    unsigned int rulenum)  in iptcc_get_rule_num()  argument
649 if (num == rulenum) in iptcc_get_rule_num()
657 unsigned int rulenum) in iptcc_get_rule_num_reverse() argument
664 if (num == rulenum) in iptcc_get_rule_num_reverse()
1737 unsigned int rulenum, in TC_INSERT_ENTRY() argument
1753 if (rulenum > c->num_rules) { in TC_INSERT_ENTRY()
1761 if (rulenum == c->num_rules) { in TC_INSERT_ENTRY()
1763 } else if (rulenum + 1 <= c->num_rules/2) { in TC_INSERT_ENTRY()
1764 r = iptcc_get_rule_num(c, rulenum + 1); in TC_INSERT_ENTRY()
1767 r = iptcc_get_rule_num_reverse(c, c->num_rules - rulenum); in TC_INSERT_ENTRY()
1796 unsigned int rulenum, in TC_REPLACE_ENTRY() argument
1809 if (rulenum >= c->num_rules) { in TC_REPLACE_ENTRY()
1815 if (rulenum + 1 <= c->num_rules/2) { in TC_REPLACE_ENTRY()
1816 old = iptcc_get_rule_num(c, rulenum + 1); in TC_REPLACE_ENTRY()
1818 old = iptcc_get_rule_num_reverse(c, c->num_rules - rulenum); in TC_REPLACE_ENTRY()
2044 unsigned int rulenum, in TC_DELETE_NUM_ENTRY() argument
2057 if (rulenum >= c->num_rules) { in TC_DELETE_NUM_ENTRY()
2063 if (rulenum + 1 <= c->num_rules/2) { in TC_DELETE_NUM_ENTRY()
2064 r = iptcc_get_rule_num(c, rulenum + 1); in TC_DELETE_NUM_ENTRY()
2066 r = iptcc_get_rule_num_reverse(c, c->num_rules - rulenum); in TC_DELETE_NUM_ENTRY()
2138 unsigned int rulenum, in TC_READ_COUNTER() argument
2151 if (!(r = iptcc_get_rule_num(c, rulenum))) { in TC_READ_COUNTER()
2161 unsigned int rulenum, in TC_ZERO_COUNTER() argument
2174 if (!(r = iptcc_get_rule_num(c, rulenum))) { in TC_ZERO_COUNTER()
2189 unsigned int rulenum, in TC_SET_COUNTER() argument
2204 if (!(r = iptcc_get_rule_num(c, rulenum))) { in TC_SET_COUNTER()