• 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

31 /* Does this chain exist? */
32 int iptc_is_chain(const char *chain, const iptc_handle_t handle);
44 /* Get first rule in the given chain: NULL for empty chain. */
45 const struct ipt_entry *iptc_first_rule(const char *chain,
56 /* Is this a built-in chain? */
57 int iptc_builtin(const char *chain, const iptc_handle_t handle);
59 /* Get the policy of a given built-in chain */
60 const char *iptc_get_policy(const char *chain,
68 /* Insert the entry `e' in chain `chain' into position `rulenum'. */
69 int iptc_insert_entry(const ipt_chainlabel chain,
74 /* Atomically replace rule `rulenum' in `chain' with `e'. */
75 int iptc_replace_entry(const ipt_chainlabel chain,
80 /* Append entry `e' to chain `chain'. Equivalent to insert with
81 rulenum = length of chain. */
82 int iptc_append_entry(const ipt_chainlabel chain,
86 /* Delete the first rule in `chain' which matches `e', subject to
88 int iptc_delete_entry(const ipt_chainlabel chain,
93 /* Delete the rule in position `rulenum' in `chain'. */
94 int iptc_delete_num_entry(const ipt_chainlabel chain,
98 /* Check the packet `e' on chain `chain'. Returns the verdict, or
100 const char *iptc_check_packet(const ipt_chainlabel chain,
104 /* Flushes the entries in the given chain (ie. empties chain). */
105 int iptc_flush_entries(const ipt_chainlabel chain,
108 /* Zeroes the counters in a chain. */
109 int iptc_zero_entries(const ipt_chainlabel chain,
112 /* Creates a new chain. */
113 int iptc_create_chain(const ipt_chainlabel chain,
116 /* Deletes a chain. */
117 int iptc_delete_chain(const ipt_chainlabel chain,
120 /* Renames a chain. */
125 /* Sets the policy on a built-in chain. */
126 int iptc_set_policy(const ipt_chainlabel chain,
131 /* Get the number of references to this chain */
133 const ipt_chainlabel chain,
137 struct ipt_counters *iptc_read_counter(const ipt_chainlabel chain,
142 int iptc_zero_counter(const ipt_chainlabel chain,
147 int iptc_set_counter(const ipt_chainlabel chain,