Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/netfilter_ipv6/
Dip6_tables.h25 extern void *ip6t_alloc_initial_table(const struct xt_table *);
27 int ip6t_register_table(struct net *net, const struct xt_table *table,
29 const struct nf_hook_ops *ops, struct xt_table **res);
30 void ip6t_unregister_table(struct net *net, struct xt_table *table,
34 struct xt_table *table);
/Linux-v5.4/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-v5.4/include/linux/netfilter_ipv4/
Dip_tables.h25 int ipt_register_table(struct net *net, const struct xt_table *table,
27 const struct nf_hook_ops *ops, struct xt_table **res);
28 void ipt_unregister_table(struct net *net, struct xt_table *table,
64 extern void *ipt_alloc_initial_table(const struct xt_table *);
67 struct xt_table *table);
/Linux-v5.4/include/net/netns/
Dipv6.h63 struct xt_table *ip6table_filter;
64 struct xt_table *ip6table_mangle;
65 struct xt_table *ip6table_raw;
67 struct xt_table *ip6table_security;
69 struct xt_table *ip6table_nat;
Dipv4.h77 struct xt_table *iptable_filter;
78 struct xt_table *iptable_mangle;
79 struct xt_table *iptable_raw;
80 struct xt_table *arptable_filter;
82 struct xt_table *iptable_security;
84 struct xt_table *nat_table;
/Linux-v5.4/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,
325 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af,
327 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af,
329 void xt_table_unlock(struct xt_table *t);
449 struct nf_hook_ops *xt_hook_ops_alloc(const struct xt_table *, nf_hookfn *);
/Linux-v5.4/net/ipv4/netfilter/
Diptable_raw.c21 static const struct xt_table packet_raw = {
30 static const struct xt_table packet_raw_before_defrag = {
52 const struct xt_table *table = &packet_raw; in iptable_raw_table_init()
85 const struct xt_table *table = &packet_raw; in iptable_raw_init()
Darp_tables.c38 void *arpt_alloc_initial_table(const struct xt_table *info) in arpt_alloc_initial_table()
184 struct xt_table *table) in arpt_do_table()
643 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
665 const struct xt_table *table, in copy_entries_to_user()
789 struct xt_table *t; in get_info()
846 struct xt_table *t; in get_entries()
882 struct xt_table *t; in __do_replace()
1001 struct xt_table *t; in do_add_counters()
1350 struct xt_table *table, in compat_copy_entries_to_user()
1389 struct xt_table *t; in compat_get_entries()
[all …]
Dip_tables.c36 void *ipt_alloc_initial_table(const struct xt_table *info) in ipt_alloc_initial_table()
227 struct xt_table *table) in ipt_do_table()
790 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
812 const struct xt_table *table, in copy_entries_to_user()
951 struct xt_table *t; in get_info()
1010 struct xt_table *t; in get_entries()
1043 struct xt_table *t; in __do_replace()
1161 struct xt_table *t; in do_add_counters()
1569 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user()
1603 struct xt_table *t; in compat_get_entries()
[all …]
Diptable_security.c30 static const struct xt_table security_table = {
Darptable_filter.c23 static const struct xt_table packet_filter = {
Diptable_filter.c24 static const struct xt_table packet_filter = {
Diptable_nat.c18 static const struct xt_table nf_nat_ipv4_table = {
Diptable_mangle.c30 static const struct xt_table packet_mangler = {
/Linux-v5.4/net/ipv6/netfilter/
Dip6table_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 ip6table_raw_table_init()
84 const struct xt_table *table = &packet_raw; in ip6table_raw_init()
Dip6_tables.c40 void *ip6t_alloc_initial_table(const struct xt_table *info) in ip6t_alloc_initial_table()
252 struct xt_table *table) in ip6t_do_table()
806 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
828 const struct xt_table *table, in copy_entries_to_user()
967 struct xt_table *t; in get_info()
1026 struct xt_table *t; in get_entries()
1060 struct xt_table *t; in __do_replace()
1178 struct xt_table *t; in do_add_counters()
1578 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user()
1612 struct xt_table *t; in compat_get_entries()
[all …]
Dip6table_security.c29 static const struct xt_table security_table = {
Dip6table_filter.c24 static const struct xt_table packet_filter = {
Dip6table_nat.c20 static const struct xt_table nf_nat_ipv6_table = {
Dip6table_mangle.c25 static const struct xt_table packet_mangler = {
/Linux-v5.4/net/netfilter/
Dx_tables.c1201 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, in xt_find_table_lock()
1204 struct xt_table *t, *found = NULL; in xt_find_table_lock()
1250 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af, in xt_request_find_table_lock()
1253 struct xt_table *t = xt_find_table_lock(net, af, name); in xt_request_find_table_lock()
1268 void xt_table_unlock(struct xt_table *table) in xt_table_unlock()
1353 xt_replace_table(struct xt_table *table, in xt_replace_table()
1424 struct xt_table *xt_register_table(struct net *net, in xt_register_table()
1425 const struct xt_table *input_table, in xt_register_table()
1431 struct xt_table *t, *table; in xt_register_table()
1434 table = kmemdup(input_table, sizeof(struct xt_table), GFP_KERNEL); in xt_register_table()
[all …]
/Linux-v5.4/include/uapi/linux/netfilter_ipv4/
Dip_tables.h31 #define ipt_table xt_table
/Linux-v5.4/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h31 #define ip6t_table xt_table