Lines Matching full:rulenum
659 unsigned int rulenum)
666 if (num == rulenum)
674 unsigned int rulenum)
681 if (num == rulenum)
1740 /* Insert the entry `fw' in chain `chain' into position `rulenum'. */
1744 unsigned int rulenum,
1758 /* first rulenum index = 0
1760 if (rulenum > c->num_rules) {
1768 if (rulenum == c->num_rules) {
1770 } else if (rulenum + 1 <= c->num_rules/2) {
1771 r = iptcc_get_rule_num(c, rulenum + 1);
1774 r = iptcc_get_rule_num_reverse(c, c->num_rules - rulenum);
1799 /* Atomically replace rule `rulenum' in `chain' with `fw'. */
1803 unsigned int rulenum,
1816 if (rulenum >= c->num_rules) {
1822 if (rulenum + 1 <= c->num_rules/2) {
1823 old = iptcc_get_rule_num(c, rulenum + 1);
1825 old = iptcc_get_rule_num_reverse(c, c->num_rules - rulenum);
1850 rulenum = length of chain. */
2046 /* Delete the rule in position `rulenum' in `chain'. */
2049 unsigned int rulenum,
2062 if (rulenum >= c->num_rules) {
2068 if (rulenum + 1 <= c->num_rules/2) {
2069 r = iptcc_get_rule_num(c, rulenum + 1);
2071 r = iptcc_get_rule_num_reverse(c, c->num_rules - rulenum);
2143 unsigned int rulenum,
2157 if (!(r = iptcc_get_rule_num(c, rulenum))) {
2167 unsigned int rulenum,
2181 if (!(r = iptcc_get_rule_num(c, rulenum))) {
2196 unsigned int rulenum,
2212 if (!(r = iptcc_get_rule_num(c, rulenum))) {