Skip to content
Commit cfdfab31 authored by David S. Miller's avatar David S. Miller
Browse files

netfilter: Create and use nf_hook_state.



Instead of passing a large number of arguments down into the nf_hook()
entry points, create a structure which carries this state down through
the hook processing layers.

This makes is so that if we want to change the types or signatures of
any of these pieces of state, there are less places that need to be
changed.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b81b7be6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment