netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nft_family_ops Struct Reference

#include <nft-shared.h>

Data Fields

int(* add )(struct nft_rule *r, void *data)
 
bool(* is_same )(const void *data_a, const void *data_b)
 
void(* print_payload )(struct nft_rule_expr *e, struct nft_rule_expr_iter *iter)
 
void(* parse_meta )(struct nft_xt_ctx *ctx, struct nft_rule_expr *e, void *data)
 
void(* parse_payload )(struct nft_xt_ctx *ctx, struct nft_rule_expr *e, void *data)
 
void(* parse_bitwise )(struct nft_xt_ctx *ctx, struct nft_rule_expr *e, void *data)
 
void(* parse_cmp )(struct nft_xt_ctx *ctx, struct nft_rule_expr *e, void *data)
 
void(* parse_immediate )(const char *jumpto, bool nft_goto, void *data)
 
void(* print_header )(unsigned int format, const char *chain, const char *pol, const struct xt_counters *counters, bool basechain, uint32_t refs)
 
void(* print_firewall )(struct nft_rule *r, unsigned int num, unsigned int format)
 
void(* save_firewall )(const void *data, unsigned int format)
 
void(* save_counters )(const void *data)
 
void(* proto_parse )(struct iptables_command_state *cs, struct xtables_args *args)
 
void(* post_parse )(int command, struct iptables_command_state *cs, struct xtables_args *args)
 
void(* parse_target )(struct xtables_target *t, void *data)
 
bool(* rule_find )(struct nft_family_ops *ops, struct nft_rule *r, void *data)
 

Field Documentation

int(* nft_family_ops::add)(struct nft_rule *r, void *data)
bool(* nft_family_ops::is_same)(const void *data_a, const void *data_b)

Referenced by nft_ipv46_rule_find().

void(* nft_family_ops::parse_bitwise)(struct nft_xt_ctx *ctx, struct nft_rule_expr *e, void *data)
void(* nft_family_ops::parse_cmp)(struct nft_xt_ctx *ctx, struct nft_rule_expr *e, void *data)
void(* nft_family_ops::parse_immediate)(const char *jumpto, bool nft_goto, void *data)

Referenced by nft_parse_immediate().

void(* nft_family_ops::parse_meta)(struct nft_xt_ctx *ctx, struct nft_rule_expr *e, void *data)

Referenced by nft_parse_cmp().

void(* nft_family_ops::parse_payload)(struct nft_xt_ctx *ctx, struct nft_rule_expr *e, void *data)

Referenced by nft_parse_cmp().

void(* nft_family_ops::parse_target)(struct xtables_target *t, void *data)

Referenced by nft_parse_target().

void(* nft_family_ops::post_parse)(int command, struct iptables_command_state *cs, struct xtables_args *args)

Referenced by do_commandx().

void(* nft_family_ops::print_firewall)(struct nft_rule *r, unsigned int num, unsigned int format)

Referenced by nft_rule_list().

void(* nft_family_ops::print_header)(unsigned int format, const char *chain, const char *pol, const struct xt_counters *counters, bool basechain, uint32_t refs)

Referenced by nft_rule_list().

void(* nft_family_ops::print_payload)(struct nft_rule_expr *e, struct nft_rule_expr_iter *iter)
void(* nft_family_ops::proto_parse)(struct iptables_command_state *cs, struct xtables_args *args)

Referenced by do_commandx().

bool(* nft_family_ops::rule_find)(struct nft_family_ops *ops, struct nft_rule *r, void *data)
void(* nft_family_ops::save_counters)(const void *data)

Referenced by nft_rule_print_save().

void(* nft_family_ops::save_firewall)(const void *data, unsigned int format)

Referenced by nft_rule_print_save().


The documentation for this struct was generated from the following file: