Home | History | Annotate | Download | only in linux

Lines Matching refs:pf

102 	u_int8_t pf;
111 u_int8_t pf;
151 int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb,
162 static inline int nf_hook_thresh(u_int8_t pf, unsigned int hook,
169 if (list_empty(&nf_hooks[pf][hook]))
172 return nf_hook_slow(pf, hook, skb, indev, outdev, okfn, thresh);
175 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb,
179 return nf_hook_thresh(pf, hook, skb, indev, outdev, okfn, INT_MIN);
200 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sk_buff *skb,
204 int ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, thresh);
211 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct sk_buff *skb,
218 ((ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, INT_MIN)) == 1))
224 NF_HOOK(uint8_t pf, unsigned int hook, struct sk_buff *skb,
228 return NF_HOOK_THRESH(pf, hook, skb, in, out, okfn, INT_MIN);
232 int nf_setsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt,
234 int nf_getsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt,
237 int compat_nf_setsockopt(struct sock *sk, u_int8_t pf, int optval,
239 int compat_nf_getsockopt(struct sock *sk, u_int8_t pf, int optval,
334 #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) (okfn)(skb)
335 #define NF_HOOK_COND(pf, hook, skb, indev, outdev, okfn, cond) (okfn)(skb)
336 static inline int nf_hook_thresh(u_int8_t pf, unsigned int hook,
344 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb,