Searched refs:new_ops (Results 1 – 3 of 3) sorted by relevance
115 struct nf_hook_ops **new_ops; in nf_hook_entries_grow() local138 new_ops = nf_hook_entries_get_hook_ops(new); in nf_hook_entries_grow()149 new_ops[nhooks] = (void *)orig_ops[i]; in nf_hook_entries_grow()153 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()162 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()234 struct nf_hook_ops **new_ops; in __nf_hook_entries_try_shrink() local258 new_ops = nf_hook_entries_get_hook_ops(new); in __nf_hook_entries_try_shrink()263 new_ops[j] = (void *)orig_ops[i]; in __nf_hook_entries_try_shrink()
37 struct net_device_ops new_ops; member
320 mpc->new_ops = *mpc->old_ops; in start_mpc()321 mpc->new_ops.ndo_start_xmit = mpc_send_packet; in start_mpc()322 dev->netdev_ops = &mpc->new_ops; in start_mpc()332 if (dev->netdev_ops != &mpc->new_ops) { in stop_mpc()