Home
last modified time | relevance | path

Searched refs:packet_mangler (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/net/ipv4/netfilter/
Diptable_mangle.c28 static const struct xt_table packet_mangler = { variable
89 repl = ipt_alloc_initial_table(&packet_mangler); in iptable_mangle_table_init()
92 ret = ipt_register_table(net, &packet_mangler, repl, mangle_ops); in iptable_mangle_table_init()
114 int ret = xt_register_template(&packet_mangler, in iptable_mangle_init()
119 mangle_ops = xt_hook_ops_alloc(&packet_mangler, iptable_mangle_hook); in iptable_mangle_init()
121 xt_unregister_template(&packet_mangler); in iptable_mangle_init()
128 xt_unregister_template(&packet_mangler); in iptable_mangle_init()
139 xt_unregister_template(&packet_mangler); in iptable_mangle_fini()
/linux-6.12.1/net/ipv6/netfilter/
Dip6table_mangle.c23 static const struct xt_table packet_mangler = { variable
82 repl = ip6t_alloc_initial_table(&packet_mangler); in ip6table_mangle_table_init()
85 ret = ip6t_register_table(net, &packet_mangler, repl, mangle_ops); in ip6table_mangle_table_init()
107 int ret = xt_register_template(&packet_mangler, in ip6table_mangle_init()
113 mangle_ops = xt_hook_ops_alloc(&packet_mangler, ip6table_mangle_hook); in ip6table_mangle_init()
115 xt_unregister_template(&packet_mangler); in ip6table_mangle_init()
121 xt_unregister_template(&packet_mangler); in ip6table_mangle_init()
132 xt_unregister_template(&packet_mangler); in ip6table_mangle_fini()