/external/iptables/iptables/ |
D | nft.h | 28 struct nft_handle { struct 47 int mnl_talk(struct nft_handle *h, struct nlmsghdr *nlh, argument 50 int nft_init(struct nft_handle *h, struct builtin_table *t); 51 void nft_fini(struct nft_handle *h); 59 int nft_table_add(struct nft_handle *h, struct nftnl_table *t, uint16_t flags); 60 int nft_for_each_table(struct nft_handle *h, int (*func)(struct nft_handle *h, const char *tablenam… 61 bool nft_table_find(struct nft_handle *h, const char *tablename); 62 int nft_table_purge_chains(struct nft_handle *h, const char *table, struct nftnl_chain_list *list); 69 int nft_chain_add(struct nft_handle *h, struct nftnl_chain *c, uint16_t flags); 70 int nft_chain_set(struct nft_handle *h, const char *table, const char *chain, const char *policy, c… [all …]
|
D | nft-shared.h | 170 struct nft_handle; 233 void do_parse(struct nft_handle *h, int argc, char *argv[], 246 void (*table_new)(struct nft_handle *h, const char *table); 247 struct nftnl_chain_list *(*chain_list)(struct nft_handle *h); 248 int (*chains_purge)(struct nft_handle *h, const char *table, 252 int (*chain_set)(struct nft_handle *h, const char *table, 255 int (*chain_user_add)(struct nft_handle *h, const char *chain, 258 int (*rule_flush)(struct nft_handle *h, const char *chain, const char *table); 260 int (*do_command)(struct nft_handle *h, int argc, char *argv[], 263 int (*commit)(struct nft_handle *h); [all …]
|
D | nft.c | 58 int mnl_talk(struct nft_handle *h, struct nlmsghdr *nlh, in mnl_talk() 191 static int mnl_nftnl_batch_talk(struct nft_handle *h) in mnl_nftnl_batch_talk() 281 static int batch_add(struct nft_handle *h, enum obj_update_type type, void *ptr) in batch_add() 297 static int batch_table_add(struct nft_handle *h, enum obj_update_type type, in batch_table_add() 303 static int batch_chain_add(struct nft_handle *h, enum obj_update_type type, in batch_chain_add() 309 static int batch_rule_add(struct nft_handle *h, enum obj_update_type type, in batch_rule_add() 524 int nft_table_add(struct nft_handle *h, struct nftnl_table *t, uint16_t flags) in nft_table_add() 548 static int nft_table_builtin_add(struct nft_handle *h, in nft_table_builtin_add() 594 int nft_chain_add(struct nft_handle *h, struct nftnl_chain *c, uint16_t flags) in nft_chain_add() 617 static void nft_chain_builtin_add(struct nft_handle *h, in nft_chain_builtin_add() [all …]
|
D | xtables-translate.c | 134 static int nft_rule_xlate_add(struct nft_handle *h, in nft_rule_xlate_add() 158 static int xlate(struct nft_handle *h, struct nft_xt_cmd_parse *p, in xlate() 161 int (*cb)(struct nft_handle *h, in xlate() 214 static int do_command_xlate(struct nft_handle *h, int argc, char *argv[], in do_command_xlate() 334 static int xlate_chain_user_add(struct nft_handle *h, const char *chain, in xlate_chain_user_add() 341 static int commit(struct nft_handle *h) in commit() 346 static void xlate_table_new(struct nft_handle *h, const char *table) in xlate_table_new() 351 static int xlate_chain_set(struct nft_handle *h, const char *table, in xlate_chain_set() 396 struct nft_handle h = { in xtables_xlate_main() 434 struct nft_handle h = { in xtables_restore_xlate_main()
|
D | xtables-save.c | 41 do_output(struct nft_handle *h, const char *tablename, bool counters) in do_output() 82 struct nft_handle h = { in xtables_save_main()
|
D | xtables-restore.c | 164 static struct nftnl_chain_list *get_chain_list(struct nft_handle *h) in get_chain_list() 204 void xtables_restore_parse(struct nft_handle *h, in xtables_restore_parse() 442 struct nft_handle h = { in xtables_restore_main()
|
D | xtables-eb-standalone.c | 50 struct nft_handle h = { in xtables_eb_main()
|
D | xtables-arp-standalone.c | 50 struct nft_handle h = { in xtables_arp_main()
|
D | xtables.c | 415 bool verbose, struct nft_handle *h, bool append) in add_entry() 471 bool verbose, struct nft_handle *h) in replace_entry() 496 struct nft_handle *h) in delete_entry() 536 bool verbose, struct nft_handle *h) in check_entry() 571 list_entries(struct nft_handle *h, const char *chain, const char *table, in list_entries() 596 list_rules(struct nft_handle *h, const char *chain, const char *table, in list_rules() 686 void do_parse(struct nft_handle *h, int argc, char *argv[], in do_parse() 1170 int do_commandx(struct nft_handle *h, int argc, char *argv[], char **table, in do_commandx()
|
D | xtables-standalone.c | 47 struct nft_handle h = { in xtables_main()
|
D | xtables-arp.c | 803 list_entries(struct nft_handle *h, const char *chain, const char *table, in list_entries() 863 append_entry(struct nft_handle *h, in append_entry() 901 bool verbose, struct nft_handle *h) in replace_entry() 917 bool verbose, struct nft_handle *h) in delete_entry() 933 int do_commandarp(struct nft_handle *h, int argc, char *argv[], char **table) in do_commandarp()
|
D | xtables-eb.c | 168 append_entry(struct nft_handle *h, in append_entry() 186 delete_entry(struct nft_handle *h, in delete_entry() 473 static int list_rules(struct nft_handle *h, const char *chain, const char *table, in list_rules() 726 int do_commandeb(struct nft_handle *h, int argc, char *argv[], char **table) in do_commandeb()
|