Lines Matching defs:nft_family_ops
76 struct nft_family_ops { struct
77 int (*add)(struct nft_handle *h, struct nftnl_rule *r, void *data);
78 bool (*is_same)(const void *data_a,
80 void (*print_payload)(struct nftnl_expr *e,
82 void (*parse_meta)(struct nft_xt_ctx *ctx, struct nftnl_expr *e,
84 void (*parse_payload)(struct nft_xt_ctx *ctx, struct nftnl_expr *e,
86 void (*parse_bitwise)(struct nft_xt_ctx *ctx, struct nftnl_expr *e,
88 void (*parse_cmp)(struct nft_xt_ctx *ctx, struct nftnl_expr *e,
90 void (*parse_lookup)(struct nft_xt_ctx *ctx, struct nftnl_expr *e,
92 void (*parse_immediate)(const char *jumpto, bool nft_goto, void *data);
94 void (*print_table_header)(const char *tablename);
95 void (*print_header)(unsigned int format, const char *chain,
99 void (*print_rule)(struct nft_handle *h, struct nftnl_rule *r,
101 void (*save_rule)(const void *data, unsigned int format);
102 void (*save_chain)(const struct nftnl_chain *c, const char *policy);
103 void (*proto_parse)(struct iptables_command_state *cs,
105 void (*post_parse)(int command, struct iptables_command_state *cs,
107 void (*parse_match)(struct xtables_match *m, void *data);
108 void (*parse_target)(struct xtables_target *t, void *data);
109 void (*rule_to_cs)(struct nft_handle *h, const struct nftnl_rule *r,
111 void (*clear_cs)(struct iptables_command_state *cs);
112 int (*xlate)(const void *data, struct xt_xlate *xl);