HomeSort by relevance Sort by last modified time
    Searched refs:nft_handle (Results 1 - 12 of 12) sorted by null

  /external/iptables/iptables/
nft.h 28 struct nft_handle { struct
47 int mnl_talk(struct nft_handle *h, struct nlmsghdr *nlh,
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 *tablename, bool counters), bool counters);
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)
    [all...]
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...]
xtables-arp-standalone.c 50 struct nft_handle h = {
xtables-eb-standalone.c 50 struct nft_handle h = {
nft.c 58 int mnl_talk(struct nft_handle *h, struct nlmsghdr *nlh,
191 static int mnl_nftnl_batch_talk(struct nft_handle *h)
281 static int batch_add(struct nft_handle *h, enum obj_update_type type, void *ptr)
297 static int batch_table_add(struct nft_handle *h, enum obj_update_type type,
303 static int batch_chain_add(struct nft_handle *h, enum obj_update_type type,
309 static int batch_rule_add(struct nft_handle *h, enum obj_update_type type,
524 int nft_table_add(struct nft_handle *h, struct nftnl_table *t, uint16_t flags)
548 static int nft_table_builtin_add(struct nft_handle *h,
594 int nft_chain_add(struct nft_handle *h, struct nftnl_chain *c, uint16_t flags)
617 static void nft_chain_builtin_add(struct nft_handle *h
    [all...]
xtables-translate.c 134 static int nft_rule_xlate_add(struct nft_handle *h,
158 static int xlate(struct nft_handle *h, struct nft_xt_cmd_parse *p,
161 int (*cb)(struct nft_handle *h,
214 static int do_command_xlate(struct nft_handle *h, int argc, char *argv[],
334 static int xlate_chain_user_add(struct nft_handle *h, const char *chain,
341 static int commit(struct nft_handle *h)
346 static void xlate_table_new(struct nft_handle *h, const char *table)
351 static int xlate_chain_set(struct nft_handle *h, const char *table,
396 struct nft_handle h = {
434 struct nft_handle h =
    [all...]
xtables-save.c 41 do_output(struct nft_handle *h, const char *tablename, bool counters)
82 struct nft_handle h = {
xtables-standalone.c 47 struct nft_handle h = {
xtables-restore.c 164 static struct nftnl_chain_list *get_chain_list(struct nft_handle *h)
204 void xtables_restore_parse(struct nft_handle *h,
442 struct nft_handle h = {
xtables.c 415 bool verbose, struct nft_handle *h, bool append)
471 bool verbose, struct nft_handle *h)
496 struct nft_handle *h)
536 bool verbose, struct nft_handle *h)
571 list_entries(struct nft_handle *h, const char *chain, const char *table,
596 list_rules(struct nft_handle *h, const char *chain, const char *table,
686 void do_parse(struct nft_handle *h, int argc, char *argv[],
    [all...]
xtables-eb.c 168 append_entry(struct nft_handle *h,
186 delete_entry(struct nft_handle *h,
473 static int list_rules(struct nft_handle *h, const char *chain, const char *table,
726 int do_commandeb(struct nft_handle *h, int argc, char *argv[], char **table)
    [all...]
xtables-arp.c 803 list_entries(struct nft_handle *h, const char *chain, const char *table,
863 append_entry(struct nft_handle *h,
901 bool verbose, struct nft_handle *h)
917 bool verbose, struct nft_handle *h)
933 int do_commandarp(struct nft_handle *h, int argc, char *argv[], char **table)
    [all...]

Completed in 1062 milliseconds