1#include <uapi/linux/netfilter/nf_osf.h>
2
3
4
5
6
7enum nf_osf_window_size_options {
8 OSF_WSS_PLAIN = 0,
9 OSF_WSS_MSS,
10 OSF_WSS_MTU,
11 OSF_WSS_MODULO,
12 OSF_WSS_MAX,
13};
14
15enum osf_fmatch_states {
16
17 FMATCH_WRONG = 0,
18
19 FMATCH_OK,
20
21 FMATCH_OPT_WRONG,
22};
23
24struct nf_osf_finger {
25 struct rcu_head rcu_head;
26 struct list_head finger_entry;
27 struct nf_osf_user_finger finger;
28};
29
30bool nf_osf_match(const struct sk_buff *skb, u_int8_t family,
31 int hooknum, struct net_device *in, struct net_device *out,
32 const struct nf_osf_info *info, struct net *net,
33 const struct list_head *nf_osf_fingers);
34