|
@@ -79,16 +79,16 @@ typedef unsigned int nf_hookfn(const struct nf_hook_ops *ops,
|
|
const struct nf_hook_state *state);
|
|
const struct nf_hook_state *state);
|
|
|
|
|
|
struct nf_hook_ops {
|
|
struct nf_hook_ops {
|
|
- struct list_head list;
|
|
|
|
|
|
+ struct list_head list;
|
|
|
|
|
|
/* User fills in from here down. */
|
|
/* User fills in from here down. */
|
|
- nf_hookfn *hook;
|
|
|
|
- struct module *owner;
|
|
|
|
- void *priv;
|
|
|
|
- u_int8_t pf;
|
|
|
|
- unsigned int hooknum;
|
|
|
|
|
|
+ nf_hookfn *hook;
|
|
|
|
+ struct module *owner;
|
|
|
|
+ void *priv;
|
|
|
|
+ u_int8_t pf;
|
|
|
|
+ unsigned int hooknum;
|
|
/* Hooks are ordered in ascending priority. */
|
|
/* Hooks are ordered in ascending priority. */
|
|
- int priority;
|
|
|
|
|
|
+ int priority;
|
|
};
|
|
};
|
|
|
|
|
|
struct nf_sockopt_ops {
|
|
struct nf_sockopt_ops {
|