Guest User

Untitled

a guest
Oct 22nd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. typedef bool analyze_packet_fn(const struct sk_buff *skb);
  2.  
  3. // pointer, _t suffix
  4. typedef int (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64,
  5. unsigned);
  6.  
  7. // pointer, _func suffix
  8. typedef int (*get_char_func)(void);
  9.  
  10. // prototype, _fn suffix
  11. typedef void (elevator_registered_fn)(struct request_queue *);
  12.  
  13. // prototype, fn suffix
  14. typedef unsigned int nf_hookfn(void *priv,
  15. struct sk_buff *skb,
  16. const struct nf_hook_state *state);
Add Comment
Please, Sign In to add comment