Home
last modified time | relevance | path

Searched refs:xt_table (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/include/linux/netfilter_ipv6/
Dip6_tables.h28 extern void *ip6t_alloc_initial_table(const struct xt_table *);
29 int ip6t_register_table(struct net *net, const struct xt_table *table,
31 const struct nf_hook_ops *ops, struct xt_table **res);
32 void ip6t_unregister_table(struct net *net, struct xt_table *table,
36 struct xt_table *table);
/Linux-v4.19/include/linux/netfilter_arp/
Darp_tables.h51 extern void *arpt_alloc_initial_table(const struct xt_table *);
52 int arpt_register_table(struct net *net, const struct xt_table *table,
54 const struct nf_hook_ops *ops, struct xt_table **res);
55 void arpt_unregister_table(struct net *net, struct xt_table *table,
59 struct xt_table *table);
/Linux-v4.19/include/linux/netfilter_ipv4/
Dip_tables.h28 int ipt_register_table(struct net *net, const struct xt_table *table,
30 const struct nf_hook_ops *ops, struct xt_table **res);
31 void ipt_unregister_table(struct net *net, struct xt_table *table,
67 extern void *ipt_alloc_initial_table(const struct xt_table *);
70 struct xt_table *table);
/Linux-v4.19/include/net/netns/
Dipv6.h57 struct xt_table *ip6table_filter;
58 struct xt_table *ip6table_mangle;
59 struct xt_table *ip6table_raw;
61 struct xt_table *ip6table_security;
63 struct xt_table *ip6table_nat;
Dipv4.h76 struct xt_table *iptable_filter;
77 struct xt_table *iptable_mangle;
78 struct xt_table *iptable_raw;
79 struct xt_table *arptable_filter;
81 struct xt_table *iptable_security;
83 struct xt_table *nat_table;
/Linux-v4.19/include/linux/netfilter/
Dx_tables.h223 struct xt_table { struct
308 struct xt_table *xt_register_table(struct net *net,
309 const struct xt_table *table,
312 void *xt_unregister_table(struct xt_table *table);
314 struct xt_table_info *xt_replace_table(struct xt_table *table,
326 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af,
328 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af,
330 void xt_table_unlock(struct xt_table *t);
450 struct nf_hook_ops *xt_hook_ops_alloc(const struct xt_table *, nf_hookfn *);
/Linux-v4.19/net/ipv4/netfilter/
Diptable_raw.c20 static const struct xt_table packet_raw = {
29 static const struct xt_table packet_raw_before_defrag = {
51 const struct xt_table *table = &packet_raw; in iptable_raw_table_init()
84 const struct xt_table *table = &packet_raw; in iptable_raw_init()
Darp_tables.c37 void *arpt_alloc_initial_table(const struct xt_table *info) in arpt_alloc_initial_table()
183 struct xt_table *table) in arpt_do_table()
642 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
664 const struct xt_table *table, in copy_entries_to_user()
788 struct xt_table *t; in get_info()
845 struct xt_table *t; in get_entries()
881 struct xt_table *t; in __do_replace()
1000 struct xt_table *t; in do_add_counters()
1349 struct xt_table *table, in compat_copy_entries_to_user()
1388 struct xt_table *t; in compat_get_entries()
[all …]
Dip_tables.c39 void *ipt_alloc_initial_table(const struct xt_table *info) in ipt_alloc_initial_table()
230 struct xt_table *table) in ipt_do_table()
793 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
815 const struct xt_table *table, in copy_entries_to_user()
954 struct xt_table *t; in get_info()
1013 struct xt_table *t; in get_entries()
1046 struct xt_table *t; in __do_replace()
1164 struct xt_table *t; in do_add_counters()
1572 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user()
1606 struct xt_table *t; in compat_get_entries()
[all …]
Darptable_filter.c22 static const struct xt_table packet_filter = {
Diptable_security.c33 static const struct xt_table security_table = {
Diptable_filter.c28 static const struct xt_table packet_filter = {
Diptable_nat.c23 static const struct xt_table nf_nat_ipv4_table = {
Diptable_mangle.c33 static const struct xt_table packet_mangler = {
/Linux-v4.19/net/ipv6/netfilter/
Dip6table_raw.c19 static const struct xt_table packet_raw = {
28 static const struct xt_table packet_raw_before_defrag = {
50 const struct xt_table *table = &packet_raw; in ip6table_raw_table_init()
83 const struct xt_table *table = &packet_raw; in ip6table_raw_init()
Dip6_tables.c43 void *ip6t_alloc_initial_table(const struct xt_table *info) in ip6t_alloc_initial_table()
255 struct xt_table *table) in ip6t_do_table()
809 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
831 const struct xt_table *table, in copy_entries_to_user()
970 struct xt_table *t; in get_info()
1029 struct xt_table *t; in get_entries()
1063 struct xt_table *t; in __do_replace()
1181 struct xt_table *t; in do_add_counters()
1581 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user()
1615 struct xt_table *t; in compat_get_entries()
[all …]
Dip6table_security.c32 static const struct xt_table security_table = {
Dip6table_filter.c27 static const struct xt_table packet_filter = {
Dip6table_nat.c25 static const struct xt_table nf_nat_ipv6_table = {
Dip6table_mangle.c28 static const struct xt_table packet_mangler = {
/Linux-v4.19/net/netfilter/
Dx_tables.c1206 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, in xt_find_table_lock()
1209 struct xt_table *t, *found = NULL; in xt_find_table_lock()
1255 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af, in xt_request_find_table_lock()
1258 struct xt_table *t = xt_find_table_lock(net, af, name); in xt_request_find_table_lock()
1273 void xt_table_unlock(struct xt_table *table) in xt_table_unlock()
1358 xt_replace_table(struct xt_table *table, in xt_replace_table()
1429 struct xt_table *xt_register_table(struct net *net, in xt_register_table()
1430 const struct xt_table *input_table, in xt_register_table()
1436 struct xt_table *t, *table; in xt_register_table()
1439 table = kmemdup(input_table, sizeof(struct xt_table), GFP_KERNEL); in xt_register_table()
[all …]
/Linux-v4.19/include/uapi/linux/netfilter_ipv4/
Dip_tables.h31 #define ipt_table xt_table
/Linux-v4.19/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h31 #define ip6t_table xt_table