Home
last modified time | relevance | path

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

/Linux-v5.10/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,
32 void ip6t_unregister_table_pre_exit(struct net *net, struct xt_table *table,
34 void ip6t_unregister_table_exit(struct net *net, struct xt_table *table);
37 struct xt_table *table);
/Linux-v5.10/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);
29 void ipt_unregister_table_pre_exit(struct net *net, struct xt_table *table,
32 void ipt_unregister_table_exit(struct net *net, struct xt_table *table);
34 void ipt_unregister_table(struct net *net, struct xt_table *table,
70 extern void *ipt_alloc_initial_table(const struct xt_table *);
73 struct xt_table *table);
/Linux-v5.10/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.10/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.10/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 *);
452 *xt_table_get_private_protected(const struct xt_table *table);
/Linux-v5.10/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()
93 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()
648 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
670 const struct xt_table *table, in copy_entries_to_user()
793 struct xt_table *t; in get_info()
850 struct xt_table *t; in get_entries()
886 struct xt_table *t; in __do_replace()
1003 struct xt_table *t; in do_add_counters()
1329 struct xt_table *table, in compat_copy_entries_to_user()
1368 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()
950 struct xt_table *t; in get_info()
1009 struct xt_table *t; in get_entries()
1042 struct xt_table *t; in __do_replace()
1159 struct xt_table *t; in do_add_counters()
1542 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user()
1576 struct xt_table *t; in compat_get_entries()
[all …]
Darptable_filter.c23 static const struct xt_table packet_filter = {
Diptable_security.c30 static const struct xt_table security_table = {
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.10/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()
92 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()
966 struct xt_table *t; in get_info()
1025 struct xt_table *t; in get_entries()
1059 struct xt_table *t; in __do_replace()
1176 struct xt_table *t; in do_add_counters()
1551 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table, in compat_copy_entries_to_user()
1585 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.10/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_table_get_private_protected(const struct xt_table *table) in xt_table_get_private_protected()
1361 xt_replace_table(struct xt_table *table, in xt_replace_table()
1399 struct xt_table *xt_register_table(struct net *net, in xt_register_table()
1400 const struct xt_table *input_table, in xt_register_table()
1406 struct xt_table *t, *table; in xt_register_table()
[all …]
/Linux-v5.10/include/uapi/linux/netfilter_ipv4/
Dip_tables.h31 #define ipt_table xt_table
/Linux-v5.10/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h31 #define ip6t_table xt_table