Searched refs:okfn (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/ |
H A D | netfilter.h | 85 int (*okfn)(struct net *, struct sock *, struct sk_buff *); member 164 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() 172 p->okfn = okfn; in nf_hook_state_init() 226 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook() 267 sk, net, okfn); in nf_hook() 296 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND() 302 ((ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn)) == 1)) in NF_HOOK_COND() 303 ret = okfn(net, sk, skb); in NF_HOOK_COND() 310 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK() 312 int ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn); in NF_HOOK() [all …]
|
/linux/include/net/netfilter/ |
H A D | br_netfilter.h | 28 int (*okfn)(struct net *, struct sock *,
|
/linux/net/bridge/ |
H A D | br_netfilter_hooks.c | 1021 state->okfn(state->net, state->sk, skb); in ip_sabotage_in() 1160 int (*okfn)(struct net *, struct sock *, in br_nf_hook_thresh() 1171 return okfn(net, sk, skb); in br_nf_hook_thresh() 1194 sk, net, okfn); in br_nf_hook_thresh() 1198 ret = okfn(net, sk, skb); in br_nf_hook_thresh()
|
/linux/net/netfilter/ |
H A D | nfnetlink_queue.c | 355 entry->state.okfn(entry->state.net, entry->state.sk, skb); in nf_reinject()
|
/linux/net/bpf/ |
H A D | test_run.c | 1582 if (user->net || user->sk || user->okfn) in verify_and_copy_hook_state()
|