• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/libiptc/

Lines Matching refs:chain

27 /* Does this chain exist? */
28 int iptc_is_chain(const char *chain, struct iptc_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 iptc_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 ipt_chainlabel chain,
70 /* Atomically replace rule `rulenum' in `chain' with `e'. */
71 int iptc_replace_entry(const ipt_chainlabel chain,
76 /* Append entry `e' to chain `chain'. Equivalent to insert with
77 rulenum = length of chain. */
78 int iptc_append_entry(const ipt_chainlabel chain,
83 int iptc_check_entry(const ipt_chainlabel chain,
88 /* Delete the first rule in `chain' which matches `e', subject to
90 int iptc_delete_entry(const ipt_chainlabel chain,
95 /* Delete the rule in position `rulenum' in `chain'. */
96 int iptc_delete_num_entry(const ipt_chainlabel chain,
100 /* Check the packet `e' on chain `chain'. Returns the verdict, or
102 const char *iptc_check_packet(const ipt_chainlabel chain,
106 /* Flushes the entries in the given chain (ie. empties chain). */
107 int iptc_flush_entries(const ipt_chainlabel chain,
110 /* Zeroes the counters in a chain. */
111 int iptc_zero_entries(const ipt_chainlabel chain,
114 /* Creates a new chain. */
115 int iptc_create_chain(const ipt_chainlabel chain,
118 /* Deletes a chain. */
119 int iptc_delete_chain(const ipt_chainlabel chain,
122 /* Renames a chain. */
127 /* Sets the policy on a built-in chain. */
128 int iptc_set_policy(const ipt_chainlabel chain,
133 /* Get the number of references to this chain */
135 const ipt_chainlabel chain,
139 struct ipt_counters *iptc_read_counter(const ipt_chainlabel chain,
144 int iptc_zero_counter(const ipt_chainlabel chain,
149 int iptc_set_counter(const ipt_chainlabel chain,