#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
#include <net/if_arp.h>
#include <xtables.h>
#include <libiptc/libxtc.h>
#include <netinet/if_ether.h>
#include <linux/netfilter_arp/arp_tables.h>
#include <linux/netfilter/nf_tables.h>
#include "nft-shared.h"
#include "nft-arp.h"
#include "nft.h"
Functions | |
void | nft_rule_to_arptables_command_state (struct nft_rule *r, struct arptables_command_state *cs) |
Variables | |
char * | opcodes [] |
struct nft_family_ops | nft_family_ops_arp |
void nft_rule_to_arptables_command_state | ( | struct nft_rule * | r, |
struct arptables_command_state * | cs | ||
) |
References arpt_entry::counters, nft_xt_ctx::cs, nft_xt_ctx::cs_arp, nft_xt_ctx::family, arptables_command_state::fw, nft_xt_ctx::iter, arptables_command_state::jumpto, xtables_target::name, nft_parse_bitwise(), nft_parse_cmp(), nft_parse_counter(), nft_parse_immediate(), nft_parse_meta(), nft_parse_payload(), nft_parse_target(), NFT_RULE_ATTR_FAMILY, nft_rule_attr_get_u32(), NFT_RULE_EXPR_ATTR_NAME, nft_rule_expr_get_str(), nft_rule_expr_iter_create(), nft_rule_expr_iter_destroy(), nft_rule_expr_iter_next(), NULL, nft_xt_ctx::state, arptables_command_state::target, xtables_find_target(), and XTF_TRY_LOAD.
struct nft_family_ops nft_family_ops_arp |
Referenced by nft_family_ops_lookup().
char* opcodes[] |
Referenced by do_commandarp().