• Home
  • Raw
  • Download

Lines Matching full:chain

27 /* Does this chain exist? */
28 int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
40 /* Get first rule in the given chain: NULL for empty chain. */
41 const struct ipt_entry *iptc_first_rule(const char *chain,
52 /* Is this a built-in chain? */
53 int iptc_builtin(const char *chain, struct xtc_handle *const handle);
55 /* Get the policy of a given built-in chain */
56 const char *iptc_get_policy(const char *chain,
64 /* Insert the entry `e' in chain `chain' into position `rulenum'. */
65 int iptc_insert_entry(const xt_chainlabel chain,
70 /* Atomically replace rule `rulenum' in `chain' with `e'. */
71 int iptc_replace_entry(const xt_chainlabel chain,
76 /* Append entry `e' to chain `chain'. Equivalent to insert with
77 rulenum = length of chain. */
78 int iptc_append_entry(const xt_chainlabel chain,
83 int iptc_check_entry(const xt_chainlabel chain,
88 /* Delete the first rule in `chain' which matches `e', subject to
90 int iptc_delete_entry(const xt_chainlabel chain,
95 /* Delete the rule in position `rulenum' in `chain'. */
96 int iptc_delete_num_entry(const xt_chainlabel chain,
100 /* Check the packet `e' on chain `chain'. Returns the verdict, or
102 const char *iptc_check_packet(const xt_chainlabel chain,
106 /* Flushes the entries in the given chain (ie. empties chain). */
107 int iptc_flush_entries(const xt_chainlabel chain,
110 /* Zeroes the counters in a chain. */
111 int iptc_zero_entries(const xt_chainlabel chain,
114 /* Creates a new chain. */
115 int iptc_create_chain(const xt_chainlabel chain,
118 /* Deletes a chain. */
119 int iptc_delete_chain(const xt_chainlabel chain,
122 /* Renames a chain. */
127 /* Sets the policy on a built-in chain. */
128 int iptc_set_policy(const xt_chainlabel chain,
133 /* Get the number of references to this chain */
135 const xt_chainlabel chain,
139 struct xt_counters *iptc_read_counter(const xt_chainlabel chain,
144 int iptc_zero_counter(const xt_chainlabel chain,
149 int iptc_set_counter(const xt_chainlabel chain,