diff options
| author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-08-07 16:06:52 -0400 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-08 12:23:49 -0400 |
| commit | 212dfd909ea8b630e5d6fa4d25aeec9c4b4b14a5 (patch) | |
| tree | d434b9670ab8d73c402030cad5fddefa16294969 /include/uapi/linux | |
| parent | f699edb12a25a3dc8ecf72fe0a9b2fa42bd6a5da (diff) | |
netfilter: nfnetlink_osf: add missing enum in nfnetlink_osf uapi header
xt_osf_window_size_options was originally part of
include/uapi/linux/netfilter/xt_osf.h, restore it.
Fixes: bfb15f2a95cb ("netfilter: extract Passive OS fingerprint infrastructure from xt_osf")
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/netfilter/nfnetlink_osf.h | 12 | ||||
| -rw-r--r-- | include/uapi/linux/netfilter/xt_osf.h | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/nfnetlink_osf.h b/include/uapi/linux/netfilter/nfnetlink_osf.h index 3b93fbb9fc24..76a3527df5dd 100644 --- a/include/uapi/linux/netfilter/nfnetlink_osf.h +++ b/include/uapi/linux/netfilter/nfnetlink_osf.h | |||
| @@ -88,6 +88,18 @@ enum iana_options { | |||
| 88 | OSFOPT_EMPTY = 255, | 88 | OSFOPT_EMPTY = 255, |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | /* Initial window size option state machine: multiple of mss, mtu or | ||
| 92 | * plain numeric value. Can also be made as plain numeric value which | ||
| 93 | * is not a multiple of specified value. | ||
| 94 | */ | ||
| 95 | enum nf_osf_window_size_options { | ||
| 96 | OSF_WSS_PLAIN = 0, | ||
| 97 | OSF_WSS_MSS, | ||
| 98 | OSF_WSS_MTU, | ||
| 99 | OSF_WSS_MODULO, | ||
| 100 | OSF_WSS_MAX, | ||
| 101 | }; | ||
| 102 | |||
| 91 | enum nf_osf_attr_type { | 103 | enum nf_osf_attr_type { |
| 92 | OSF_ATTR_UNSPEC, | 104 | OSF_ATTR_UNSPEC, |
| 93 | OSF_ATTR_FINGER, | 105 | OSF_ATTR_FINGER, |
diff --git a/include/uapi/linux/netfilter/xt_osf.h b/include/uapi/linux/netfilter/xt_osf.h index c56c59605c2b..24102b5286ec 100644 --- a/include/uapi/linux/netfilter/xt_osf.h +++ b/include/uapi/linux/netfilter/xt_osf.h | |||
| @@ -46,6 +46,7 @@ | |||
| 46 | #define xt_osf_finger nf_osf_finger | 46 | #define xt_osf_finger nf_osf_finger |
| 47 | #define xt_osf_nlmsg nf_osf_nlmsg | 47 | #define xt_osf_nlmsg nf_osf_nlmsg |
| 48 | 48 | ||
| 49 | #define xt_osf_window_size_options nf_osf_window_size_options | ||
| 49 | #define xt_osf_attr_type nf_osf_attr_type | 50 | #define xt_osf_attr_type nf_osf_attr_type |
| 50 | #define xt_osf_msg_types nf_osf_msg_types | 51 | #define xt_osf_msg_types nf_osf_msg_types |
| 51 | 52 | ||
