History

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.

Fernando Fernandez Mancera committed 8 years ago

Commit 212dfd91 parent f699edb3 files · +13 −12Browse files

Showing the changes to include/uapi/linux (2 of 3 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/netfilter/nfnetlink_osf.h +12 −0
  2. include/uapi/linux/netfilter/xt_osf.h +1 −0
include/uapi/linux/netfilter/nfnetlink_osf.h+12−0
@@ -88,6 +88,18 @@ enum iana_options { · 87 unmodified lines
8888 OSFOPT_EMPTY = 255,
8989 };
9090
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+
91103 enum nf_osf_attr_type {
92104 OSF_ATTR_UNSPEC,
93105 OSF_ATTR_FINGER,
include/uapi/linux/netfilter/xt_osf.h+1−0
@@ -46,6 +46,7 @@ · 45 unmodified lines
4646 #define xt_osf_finger nf_osf_finger
4747 #define xt_osf_nlmsg nf_osf_nlmsg
4848
49+#define xt_osf_window_size_options nf_osf_window_size_options
4950 #define xt_osf_attr_type nf_osf_attr_type
5051 #define xt_osf_msg_types nf_osf_msg_types
5152