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

Lines Matching refs:chain

23 /* Does this chain exist? */
24 int ip6tc_is_chain(const char *chain, const ip6tc_handle_t 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, const ip6tc_handle_t 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,
78 /* Delete the first rule in `chain' which matches `fw'. */
79 int ip6tc_delete_entry(const ip6t_chainlabel chain,
84 /* Delete the rule in position `rulenum' in `chain'. */
85 int ip6tc_delete_num_entry(const ip6t_chainlabel chain,
89 /* Check the packet `fw' on chain `chain'. Returns the verdict, or
91 const char *ip6tc_check_packet(const ip6t_chainlabel chain,
95 /* Flushes the entries in the given chain (ie. empties chain). */
96 int ip6tc_flush_entries(const ip6t_chainlabel chain,
99 /* Zeroes the counters in a chain. */
100 int ip6tc_zero_entries(const ip6t_chainlabel chain,
103 /* Creates a new chain. */
104 int ip6tc_create_chain(const ip6t_chainlabel chain,
107 /* Deletes a chain. */
108 int ip6tc_delete_chain(const ip6t_chainlabel chain,
111 /* Renames a chain. */
116 /* Sets the policy on a built-in chain. */
117 int ip6tc_set_policy(const ip6t_chainlabel chain,
122 /* Get the number of references to this chain */
123 int ip6tc_get_references(unsigned int *ref, const ip6t_chainlabel chain,
127 struct ip6t_counters *ip6tc_read_counter(const ip6t_chainlabel chain,
132 int ip6tc_zero_counter(const ip6t_chainlabel chain,
137 int ip6tc_set_counter(const ip6t_chainlabel chain,