xt_table
struct xt_table *xt_register_table(struct net *net,
const struct xt_table *table,
void *xt_unregister_table(struct xt_table *table);
struct xt_table_info *xt_replace_table(struct xt_table *table,
struct xt_table *xt_find_table(struct net *net, u8 af, const char *name);
struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af,
struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af,
void xt_table_unlock(struct xt_table *t);
struct nf_hook_ops *xt_hook_ops_alloc(const struct xt_table *, nf_hookfn *);
int xt_register_template(const struct xt_table *t, int(*table_init)(struct net *net));
void xt_unregister_template(const struct xt_table *t);
extern void *arpt_alloc_initial_table(const struct xt_table *);
int arpt_register_table(struct net *net, const struct xt_table *table,
int ipt_register_table(struct net *net, const struct xt_table *table,
extern void *ipt_alloc_initial_table(const struct xt_table *);
extern void *ip6t_alloc_initial_table(const struct xt_table *);
int ip6t_register_table(struct net *net, const struct xt_table *table,
#define ipt_table xt_table
#define ip6t_table xt_table
struct xt_table *t;
struct xt_table *table,
struct xt_table *t;
static void __arpt_unregister_table(struct net *net, struct xt_table *table)
const struct xt_table *table,
struct xt_table *new_table;
struct xt_table *table = xt_find_table(net, NFPROTO_ARP, name);
struct xt_table *table = xt_find_table(net, NFPROTO_ARP, name);
const struct xt_table *table = priv;
void *arpt_alloc_initial_table(const struct xt_table *info)
static struct xt_counters *alloc_counters(const struct xt_table *table)
const struct xt_table *table,
struct xt_table *t;
struct xt_table *t;
struct xt_table *t;
static const struct xt_table packet_filter = {
struct xt_table *t;
struct xt_table *t;
struct xt_table *t;
compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table,
struct xt_table *t;
static void __ipt_unregister_table(struct net *net, struct xt_table *table)
int ipt_register_table(struct net *net, const struct xt_table *table,
struct xt_table *new_table;
struct xt_table *table = xt_find_table(net, NFPROTO_IPV4, name);
struct xt_table *table = xt_find_table(net, NFPROTO_IPV4, name);
const struct xt_table *table = priv;
void *ipt_alloc_initial_table(const struct xt_table *info)
static struct xt_counters *alloc_counters(const struct xt_table *table)
const struct xt_table *table,
struct xt_table *t;
static const struct xt_table packet_filter = {
static const struct xt_table packet_mangler = {
static const struct xt_table nf_nat_ipv4_table = {
struct xt_table *table;
static const struct xt_table packet_raw = {
static const struct xt_table packet_raw_before_defrag = {
const struct xt_table *table = &packet_raw;
const struct xt_table *table = &packet_raw;
static const struct xt_table security_table = {
struct xt_table *t;
struct xt_table *t;
struct xt_table *t;
compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table,
struct xt_table *t;
static void __ip6t_unregister_table(struct net *net, struct xt_table *table)
int ip6t_register_table(struct net *net, const struct xt_table *table,
struct xt_table *new_table;
struct xt_table *table = xt_find_table(net, NFPROTO_IPV6, name);
struct xt_table *table = xt_find_table(net, NFPROTO_IPV6, name);
const struct xt_table *table = priv;
void *ip6t_alloc_initial_table(const struct xt_table *info)
static struct xt_counters *alloc_counters(const struct xt_table *table)
const struct xt_table *table,
struct xt_table *t;
static const struct xt_table packet_filter = {
static const struct xt_table packet_mangler = {
static const struct xt_table nf_nat_ipv6_table = {
struct xt_table *table;
static const struct xt_table packet_raw = {
static const struct xt_table packet_raw_before_defrag = {
const struct xt_table *table = &packet_raw;
const struct xt_table *table = &packet_raw;
static const struct xt_table security_table = {
struct xt_table *xt_find_table(struct net *net, u8 af, const char *name)
struct xt_table *t;
struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af,
struct xt_table *t;
struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af,
struct xt_table *t = xt_find_table_lock(net, af, name);
void xt_table_unlock(struct xt_table *table)
xt_replace_table(struct xt_table *table,
struct xt_table *xt_register_table(struct net *net,
const struct xt_table *input_table,
struct xt_table *t, *table;
table = kmemdup(input_table, sizeof(struct xt_table), GFP_KERNEL);
void *xt_unregister_table(struct xt_table *table)
struct xt_table *table = list_entry(v, struct xt_table, list);
xt_hook_ops_alloc(const struct xt_table *table, nf_hookfn *fn)
int xt_register_template(const struct xt_table *table,
void xt_unregister_template(const struct xt_table *table)