Home
last modified time | relevance | path

Searched refs:iptables_command_state (Results 1 – 20 of 20) sorted by relevance

/external/iptables/iptables/
Dnft-shared.h51 struct iptables_command_state *cs;
103 void (*proto_parse)(struct iptables_command_state *cs,
105 void (*post_parse)(int command, struct iptables_command_state *cs,
110 struct iptables_command_state *cs);
111 void (*clear_cs)(struct iptables_command_state *cs);
146 struct iptables_command_state *cs);
147 void nft_clear_iptables_command_state(struct iptables_command_state *cs);
151 void print_rule_details(const struct iptables_command_state *cs,
155 void print_matches_and_target(struct iptables_command_state *cs,
157 void save_rule_details(const struct iptables_command_state *cs,
[all …]
Dnft-bridge.h70 struct iptables_command_state;
117 void ebt_cs_clean(struct iptables_command_state *cs);
120 struct iptables_command_state *cs);
122 struct iptables_command_state *cs);
123 int ebt_command_default(struct iptables_command_state *cs);
Dxshared.h121 struct iptables_command_state { struct
156 extern int command_default(struct iptables_command_state *, argument
158 extern struct xtables_match *load_proto(struct iptables_command_state *);
215 void command_match(struct iptables_command_state *cs);
217 void command_jump(struct iptables_command_state *cs, const char *jumpto);
Dnft-cmd.h31 struct iptables_command_state *state,
36 const char *table, struct iptables_command_state *state,
39 const char *table, struct iptables_command_state *state,
42 const char *table, struct iptables_command_state *state,
Dnft-ipv6.c30 struct iptables_command_state *cs = data; in nft_ipv6_add()
88 const struct iptables_command_state *a = data_a; in nft_ipv6_is_same()
89 const struct iptables_command_state *b = data_b; in nft_ipv6_is_same()
113 struct iptables_command_state *cs = data; in nft_ipv6_parse_meta()
138 struct iptables_command_state *cs = data; in nft_ipv6_parse_payload()
186 struct iptables_command_state *cs = data; in nft_ipv6_parse_immediate()
197 struct iptables_command_state cs = {}; in nft_ipv6_print_rule()
249 const struct iptables_command_state *cs = data; in nft_ipv6_save_rule()
273 static void nft_ipv6_proto_parse(struct iptables_command_state *cs, in nft_ipv6_proto_parse()
287 static void nft_ipv6_post_parse(int command, struct iptables_command_state *cs, in nft_ipv6_post_parse()
[all …]
Dnft-ipv4.c31 struct iptables_command_state *cs = data; in nft_ipv4_add()
99 const struct iptables_command_state *a = data_a; in nft_ipv4_is_same()
100 const struct iptables_command_state *b = data_b; in nft_ipv4_is_same()
166 struct iptables_command_state *cs = data; in nft_ipv4_parse_meta()
191 struct iptables_command_state *cs = data; in nft_ipv4_parse_payload()
247 struct iptables_command_state *cs = data; in nft_ipv4_parse_immediate()
271 struct iptables_command_state cs = {}; in nft_ipv4_print_rule()
310 const struct iptables_command_state *cs = data; in nft_ipv4_save_rule()
331 static void nft_ipv4_proto_parse(struct iptables_command_state *cs, in nft_ipv4_proto_parse()
339 struct iptables_command_state *cs, in nft_ipv4_post_parse()
[all …]
Dnft-bridge.c27 void ebt_cs_clean(struct iptables_command_state *cs) in ebt_cs_clean()
94 static int _add_action(struct nftnl_rule *r, struct iptables_command_state *cs) in _add_action()
102 struct iptables_command_state *cs = data; in nft_bridge_add()
169 struct iptables_command_state *cs = data; in nft_bridge_parse_meta()
205 struct iptables_command_state *cs = data; in nft_bridge_parse_payload()
257 struct iptables_command_state *cs = data; in nft_bridge_parse_immediate()
500 struct iptables_command_state *cs = data; in nft_bridge_parse_match()
507 struct iptables_command_state *cs = data; in nft_bridge_parse_target()
521 struct iptables_command_state *cs) in nft_rule_to_ebtables_command_state()
547 static void print_matches_and_watchers(const struct iptables_command_state *cs, in print_matches_and_watchers()
[all …]
Dxtables-translate.c71 int xlate_action(const struct iptables_command_state *cs, bool goto_set, in xlate_action()
108 int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl) in xlate_matches()
135 bool xlate_find_match(const struct iptables_command_state *cs, const char *p_name) in xlate_find_match()
154 const struct iptables_command_state *cs, in nft_rule_xlate_add()
177 struct iptables_command_state *cs, in xlate()
181 const struct iptables_command_state *cs, in xlate()
243 struct iptables_command_state cs; in do_command_xlate()
Dnft.h194 int add_action(struct nftnl_rule *r, struct iptables_command_state *cs, bool goto_set);
240 bool xlate_find_match(const struct iptables_command_state *cs, const char *p_name);
241 int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl);
242 int xlate_action(const struct iptables_command_state *cs, bool goto_set,
Dnft-cmd.c19 struct iptables_command_state *state, in nft_cmd_new()
93 const char *table, struct iptables_command_state *state, in nft_cmd_rule_append()
109 const char *table, struct iptables_command_state *state, in nft_cmd_rule_insert()
130 const char *table, struct iptables_command_state *state, in nft_cmd_rule_delete()
Dnft-arp.c131 struct iptables_command_state *cs = data; in nft_arp_add()
246 struct iptables_command_state *cs = data; in nft_arp_parse_meta()
260 struct iptables_command_state *cs = data; in nft_arp_parse_immediate()
298 struct iptables_command_state *cs = data; in nft_arp_parse_payload()
402 static void nft_arp_print_rule_details(const struct iptables_command_state *cs, in nft_arp_print_rule_details()
561 const struct iptables_command_state *cs = data; in nft_arp_save_rule()
575 struct iptables_command_state cs = {}; in nft_arp_print_rule()
Dxtables-eb.c95 struct iptables_command_state *cs, in append_entry()
113 struct iptables_command_state *cs, in delete_entry()
411 …ters_rule(int argc, char **argv, int *rule_nr, int *rule_nr_end, struct iptables_command_state *cs) in parse_change_counters_rule()
560 struct iptables_command_state *cs) in ebt_add_match()
595 struct iptables_command_state *cs) in ebt_add_watcher()
625 int ebt_command_default(struct iptables_command_state *cs) in ebt_command_default()
733 struct iptables_command_state cs = { in do_commandeb()
Dnft-shared.c605 struct iptables_command_state *cs) in nft_rule_to_iptables_command_state()
701 void nft_clear_iptables_command_state(struct iptables_command_state *cs) in nft_clear_iptables_command_state()
759 void print_rule_details(const struct iptables_command_state *cs, in print_rule_details()
810 void save_rule_details(const struct iptables_command_state *cs, in save_rule_details()
849 void save_matches_and_target(const struct iptables_command_state *cs, in save_matches_and_target()
889 void print_matches_and_target(struct iptables_command_state *cs, in print_matches_and_target()
984 struct iptables_command_state *cs = data; in nft_ipv46_parse_target()
Dxshared.c99 static bool should_load_proto(struct iptables_command_state *cs) in should_load_proto()
109 struct xtables_match *load_proto(struct iptables_command_state *cs) in load_proto()
117 int command_default(struct iptables_command_state *cs, in command_default()
644 void command_match(struct iptables_command_state *cs) in command_match()
702 void command_jump(struct iptables_command_state *cs, const char *jumpto) in command_jump()
Dxtables.c265 struct iptables_command_state *cs, in add_entry()
320 struct iptables_command_state *cs, in replace_entry()
345 struct iptables_command_state *cs, in delete_entry()
386 struct iptables_command_state *cs, in check_entry()
460 struct nft_xt_cmd_parse *p, struct iptables_command_state *cs, in do_parse()
957 struct iptables_command_state cs; in do_commandx()
Dxtables-arp.c351 struct iptables_command_state *cs, in append_entry()
386 struct iptables_command_state *cs, in replace_entry()
405 struct iptables_command_state *cs, in delete_entry()
454 struct iptables_command_state cs = { in do_commandarp()
Dxtables-eb-translate.c173 const struct iptables_command_state *cs, bool append) in nft_rule_eb_xlate_add()
201 struct iptables_command_state cs = { in do_commandeb_xlate()
Dnft.c1327 int add_action(struct nftnl_rule *r, struct iptables_command_state *cs, in add_action()
1496 struct iptables_command_state cs = {}; in nft_rule_print_save()
2056 struct iptables_command_state _cs = {}, this = {}, *cs = &_cs; in nft_rule_cmp()
2554 struct iptables_command_state cs = {}; in nft_rule_zero_counters()
2930 struct iptables_command_state cs = { in ebt_add_policy_rule()
Dip6tables.c1060 struct iptables_command_state cs = { in do_command6()
Diptables.c1056 struct iptables_command_state cs = { in do_command4()