• 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

23 /* Does this chain exist? */
24 int ip6tc_is_chain(const char *chain, struct ip6tc_handle *const handle);
36 /* Get first rule in the given chain: NULL for empty chain. */
37 const struct ip6t_entry *ip6tc_first_rule(const char *chain,
48 /* Is this a built-in chain? */
49 int ip6tc_builtin(const char *chain, struct ip6tc_handle *const handle);
51 /* Get the policy of a given built-in chain */
52 const char *ip6tc_get_policy(const char *chain,
60 /* Insert the entry `fw' in chain `chain' into position `rulenum'. */
61 int ip6tc_insert_entry(const ip6t_chainlabel chain,
66 /* Atomically replace rule `rulenum' in `chain' with `fw'. */
67 int ip6tc_replace_entry(const ip6t_chainlabel chain,
72 /* Append entry `fw' to chain `chain'. Equivalent to insert with
73 rulenum = length of chain. */
74 int ip6tc_append_entry(const ip6t_chainlabel chain,
79 int ip6tc_check_entry(const ip6t_chainlabel chain,
84 /* Delete the first rule in `chain' which matches `fw'. */
85 int ip6tc_delete_entry(const ip6t_chainlabel chain,
90 /* Delete the rule in position `rulenum' in `chain'. */
91 int ip6tc_delete_num_entry(const ip6t_chainlabel chain,
95 /* Check the packet `fw' on chain `chain'. Returns the verdict, or
97 const char *ip6tc_check_packet(const ip6t_chainlabel chain,
101 /* Flushes the entries in the given chain (ie. empties chain). */
102 int ip6tc_flush_entries(const ip6t_chainlabel chain,
105 /* Zeroes the counters in a chain. */
106 int ip6tc_zero_entries(const ip6t_chainlabel chain,
109 /* Creates a new chain. */
110 int ip6tc_create_chain(const ip6t_chainlabel chain,
113 /* Deletes a chain. */
114 int ip6tc_delete_chain(const ip6t_chainlabel chain,
117 /* Renames a chain. */
122 /* Sets the policy on a built-in chain. */
123 int ip6tc_set_policy(const ip6t_chainlabel chain,
128 /* Get the number of references to this chain */
129 int ip6tc_get_references(unsigned int *ref, const ip6t_chainlabel chain,
133 struct ip6t_counters *ip6tc_read_counter(const ip6t_chainlabel chain,
138 int ip6tc_zero_counter(const ip6t_chainlabel chain,
143 int ip6tc_set_counter(const ip6t_chainlabel chain,