Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dnetfilter.h74 int (*okfn)(struct net *, struct sock *, struct sk_buff *); member
152 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init()
160 p->okfn = okfn; in nf_hook_state_init()
214 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
255 sk, net, okfn); in nf_hook()
284 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
290 ((ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn)) == 1)) in NF_HOOK_COND()
291 ret = okfn(net, sk, skb); in NF_HOOK_COND()
298 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK()
300 int ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn); in NF_HOOK()
[all …]
/linux-6.1.9/include/net/netfilter/
Dbr_netfilter.h28 int (*okfn)(struct net *, struct sock *,
/linux-6.1.9/net/bridge/
Dbr_netfilter_hooks.c874 state->okfn(state->net, state->sk, skb); in ip_sabotage_in()
1003 int (*okfn)(struct net *, struct sock *, in br_nf_hook_thresh()
1014 return okfn(net, sk, skb); in br_nf_hook_thresh()
1037 sk, net, okfn); in br_nf_hook_thresh()
1041 ret = okfn(net, sk, skb); in br_nf_hook_thresh()
/linux-6.1.9/net/netfilter/
Dnf_queue.c342 entry->state.okfn(entry->state.net, entry->state.sk, skb); in nf_reinject()