• Home
  • Raw
  • Download

Lines Matching refs:skb

48 			       struct sk_buff *skb,
121 int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb,
133 struct sk_buff *skb, in nf_hook_thresh() argument
139 return nf_hook_slow(pf, hook, skb, indev, outdev, okfn, thresh); in nf_hook_thresh()
143 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, in nf_hook() argument
147 return nf_hook_thresh(pf, hook, skb, indev, outdev, okfn, INT_MIN); in nf_hook()
168 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sk_buff *skb, in NF_HOOK_THRESH() argument
172 int ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, thresh); in NF_HOOK_THRESH()
174 ret = okfn(skb); in NF_HOOK_THRESH()
179 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct sk_buff *skb, in NF_HOOK_COND() argument
186 ((ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, INT_MIN)) == 1)) in NF_HOOK_COND()
187 ret = okfn(skb); in NF_HOOK_COND()
192 NF_HOOK(uint8_t pf, unsigned int hook, struct sk_buff *skb, in NF_HOOK() argument
196 return NF_HOOK_THRESH(pf, hook, skb, in, out, okfn, INT_MIN); in NF_HOOK()
214 int skb_make_writable(struct sk_buff *skb, unsigned int writable_len);
221 __sum16 (*checksum)(struct sk_buff *skb, unsigned int hook,
223 __sum16 (*checksum_partial)(struct sk_buff *skb,
230 void (*saveroute)(const struct sk_buff *skb,
232 int (*reroute)(struct sk_buff *skb,
244 nf_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, in nf_checksum() argument
253 csum = afinfo->checksum(skb, hook, dataoff, protocol); in nf_checksum()
259 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_checksum_partial() argument
269 csum = afinfo->checksum_partial(skb, hook, dataoff, len, in nf_checksum_partial()
282 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session() argument
290 decodefn(skb, fl); in nf_nat_decode_session()
296 #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) (okfn)(skb) argument
297 #define NF_HOOK_COND(pf, hook, skb, indev, outdev, okfn, cond) (okfn)(skb) argument
299 struct sk_buff *skb, in nf_hook_thresh() argument
304 return okfn(skb); in nf_hook_thresh()
306 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, in nf_hook() argument
314 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session() argument
330 int (*build)(struct sk_buff *skb, struct nf_conn *ct);
334 void (*seq_adjust)(struct sk_buff *skb, struct nf_conn *ct,
339 static inline void nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) {} in nf_ct_attach() argument