Searched refs:packet_mangler (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/netfilter/ |
D | iptable_mangle.c | 28 static const struct xt_table packet_mangler = { variable 88 repl = ipt_alloc_initial_table(&packet_mangler); in iptable_mangle_table_init() 91 ret = ipt_register_table(net, &packet_mangler, repl, mangle_ops); in iptable_mangle_table_init() 113 int ret = xt_register_template(&packet_mangler, in iptable_mangle_init() 118 mangle_ops = xt_hook_ops_alloc(&packet_mangler, iptable_mangle_hook); in iptable_mangle_init() 120 xt_unregister_template(&packet_mangler); in iptable_mangle_init() 127 xt_unregister_template(&packet_mangler); in iptable_mangle_init() 138 xt_unregister_template(&packet_mangler); in iptable_mangle_fini()
|
/net/ipv6/netfilter/ |
D | ip6table_mangle.c | 23 static const struct xt_table packet_mangler = { variable 81 repl = ip6t_alloc_initial_table(&packet_mangler); in ip6table_mangle_table_init() 84 ret = ip6t_register_table(net, &packet_mangler, repl, mangle_ops); in ip6table_mangle_table_init() 106 int ret = xt_register_template(&packet_mangler, in ip6table_mangle_init() 112 mangle_ops = xt_hook_ops_alloc(&packet_mangler, ip6table_mangle_hook); in ip6table_mangle_init() 114 xt_unregister_template(&packet_mangler); in ip6table_mangle_init() 120 xt_unregister_template(&packet_mangler); in ip6table_mangle_init() 131 xt_unregister_template(&packet_mangler); in ip6table_mangle_fini()
|