Searched refs:okfn (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | netfilter.h | 75 int (*okfn)(struct net *, struct sock *, struct sk_buff *); member 162 p->okfn = okfn; in nf_hook_state_init() 257 sk, net, okfn); in nf_hook() 293 ret = okfn(net, sk, skb); in NF_HOOK_COND() 300 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK() 302 int ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn); in NF_HOOK() 304 ret = okfn(net, sk, skb); in NF_HOOK() 338 nf_hook_state_init(&state, hook, pf, in, out, sk, net, okfn); in NF_HOOK_LIST() 405 return okfn(net, sk, skb); in NF_HOOK_COND() 411 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK() [all …]
|
/openbmc/linux/include/net/netfilter/ |
H A D | br_netfilter.h | 28 int (*okfn)(struct net *, struct sock *,
|
/openbmc/linux/net/bridge/ |
H A D | br_netfilter_hooks.c | 1002 state->okfn(state->net, state->sk, skb); in ip_sabotage_in() 1147 int (*okfn)(struct net *, struct sock *, in br_nf_hook_thresh() 1158 return okfn(net, sk, skb); in br_nf_hook_thresh() 1181 sk, net, okfn); in br_nf_hook_thresh() 1185 ret = okfn(net, sk, skb); in br_nf_hook_thresh()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_queue.c | 340 entry->state.okfn(entry->state.net, entry->state.sk, skb); in nf_reinject()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 1526 if (user->net || user->sk || user->okfn) in verify_and_copy_hook_state()
|