Home
last modified time | relevance | path

Searched refs:new_ops (Results 1 – 4 of 4) sorted by relevance

/linux/net/netfilter/
H A Dcore.c106 struct nf_hook_ops **new_ops; in nf_hook_entries_grow()
141 new_ops = nf_hook_entries_get_hook_ops(new); in nf_hook_entries_grow()
152 new_ops[nhooks] = (void *)orig_ops[i]; in nf_hook_entries_grow()
156 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
165 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
237 struct nf_hook_ops **new_ops; in __nf_hook_entries_try_shrink()
261 new_ops = nf_hook_entries_get_hook_ops(new); in __nf_hook_entries_try_shrink()
266 new_ops[j] = (void *)orig_ops[i]; in __nf_hook_entries_try_shrink()
109 struct nf_hook_ops **new_ops; nf_hook_entries_grow() local
240 struct nf_hook_ops **new_ops; __nf_hook_entries_try_shrink() local
/linux/drivers/net/ovpn/
H A Dtcp.c495 struct proto_ops *new_ops,
631 struct proto_ops *new_ops, in ovpn_tcp_build_protos() argument
636 memcpy(new_ops, orig_ops, sizeof(*new_ops)); in ovpn_tcp_build_protos()
642 new_ops->poll = ovpn_tcp_poll; in ovpn_tcp_build_protos()
/linux/net/atm/
H A Dmpc.h37 struct net_device_ops new_ops; member
H A Dmpc.c320 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()