Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dnft-ipv6.c30 struct iptables_command_state *cs = data; in nft_ipv6_add()
90 const struct iptables_command_state *a = data_a; in nft_ipv6_is_same()
91 const struct iptables_command_state *b = data_b; in nft_ipv6_is_same()
115 struct iptables_command_state *cs = data; in nft_ipv6_parse_meta()
130 struct iptables_command_state *cs = data; in nft_ipv6_parse_payload()
177 struct iptables_command_state *cs = data; in nft_ipv6_parse_immediate()
193 static void print_ipv6_addr(const struct iptables_command_state *cs, in print_ipv6_addr()
233 struct iptables_command_state cs = {}; in nft_ipv6_print_firewall()
270 const struct iptables_command_state *cs = data; in nft_ipv6_save_firewall()
301 static void nft_ipv6_proto_parse(struct iptables_command_state *cs, in nft_ipv6_proto_parse()
[all …]
Dnft-shared.h50 struct iptables_command_state *cs;
97 void (*proto_parse)(struct iptables_command_state *cs,
99 void (*post_parse)(int command, struct iptables_command_state *cs,
144 struct iptables_command_state *cs);
148 void print_firewall_details(const struct iptables_command_state *cs,
154 void print_matches_and_target(struct iptables_command_state *cs,
156 void save_firewall_details(const struct iptables_command_state *cs,
172 struct iptables_command_state *cs);
234 struct nft_xt_cmd_parse *p, struct iptables_command_state *cs,
Dnft-ipv4.c31 struct iptables_command_state *cs = data; in nft_ipv4_add()
102 const struct iptables_command_state *a = data_a; in nft_ipv4_is_same()
103 const struct iptables_command_state *b = data_b; in nft_ipv4_is_same()
169 struct iptables_command_state *cs = data; in nft_ipv4_parse_meta()
184 struct iptables_command_state *cs = data; in nft_ipv4_parse_payload()
237 struct iptables_command_state *cs = data; in nft_ipv4_parse_immediate()
253 static void print_ipv4_addr(const struct iptables_command_state *cs, in print_ipv4_addr()
299 struct iptables_command_state cs = {}; in nft_ipv4_print_firewall()
337 const struct iptables_command_state *cs = data; in nft_ipv4_save_firewall()
364 static void nft_ipv4_proto_parse(struct iptables_command_state *cs, in nft_ipv4_proto_parse()
[all …]
Dxshared.h52 struct iptables_command_state { struct
84 extern int command_default(struct iptables_command_state *, argument
86 extern struct xtables_match *load_proto(struct iptables_command_state *);
Dxtables-translate.c54 int xlate_action(const struct iptables_command_state *cs, bool goto_set, in xlate_action()
90 int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl) in xlate_matches()
117 bool xlate_find_match(const struct iptables_command_state *cs, const char *p_name) in xlate_find_match()
136 const struct iptables_command_state *cs, in nft_rule_xlate_add()
159 struct iptables_command_state *cs, in xlate()
163 const struct iptables_command_state *cs, in xlate()
222 struct iptables_command_state cs; in do_command_xlate()
Dnft.h104 int add_action(struct nftnl_rule *r, struct iptables_command_state *cs, bool goto_set);
163 bool xlate_find_match(const struct iptables_command_state *cs, const char *p_name);
164 int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl);
165 int xlate_action(const struct iptables_command_state *cs, bool goto_set,
Dxshared.c98 static bool should_load_proto(struct iptables_command_state *cs) in should_load_proto()
108 struct xtables_match *load_proto(struct iptables_command_state *cs) in load_proto()
116 int command_default(struct iptables_command_state *cs, in command_default()
Dnft-shared.c486 struct iptables_command_state *cs) in nft_rule_to_iptables_command_state()
606 void print_firewall_details(const struct iptables_command_state *cs, in print_firewall_details()
696 void save_firewall_details(const struct iptables_command_state *cs, in save_firewall_details()
762 void print_matches_and_target(struct iptables_command_state *cs, in print_matches_and_target()
854 struct nftnl_rule *r, struct iptables_command_state *cs) in nft_ipv46_rule_find()
856 struct iptables_command_state this = {}; in nft_ipv46_rule_find()
Dxtables.c411 struct iptables_command_state *cs, in add_entry()
466 struct iptables_command_state *cs, in replace_entry()
491 struct iptables_command_state *cs, in delete_entry()
532 struct iptables_command_state *cs, in check_entry()
608 static void command_jump(struct iptables_command_state *cs) in command_jump()
650 static void command_match(struct iptables_command_state *cs) in command_match()
687 struct nft_xt_cmd_parse *p, struct iptables_command_state *cs, in do_parse()
1178 struct iptables_command_state cs; in do_commandx()
Dnft.c968 int add_action(struct nftnl_rule *r, struct iptables_command_state *cs, in add_action()
1336 struct iptables_command_state cs = {}; in nft_rule_save()
1878 const char *table, struct iptables_command_state *cs, in nft_rule_add()
2149 struct iptables_command_state cs = {}; in list_save()
2254 struct iptables_command_state cs = {}; in nft_rule_zero_counters()
Diptables.c1246 static void command_jump(struct iptables_command_state *cs) in command_jump()
1289 static void command_match(struct iptables_command_state *cs) in command_match()
1329 struct iptables_command_state cs; in do_command4()
Dip6tables.c1256 static void command_jump(struct iptables_command_state *cs) in command_jump()
1296 static void command_match(struct iptables_command_state *cs) in command_match()
1334 struct iptables_command_state cs; in do_command6()