xt_osf_window_size_options was originally part of include/uapi/linux/netfilter/xt_osf.h, restore it.
Showing the changes to include/uapi/linux (2 of 3 files). Show all
Unified · Split
| @@ -88,6 +88,18 @@ enum iana_options { · 87 unmodified lines | ||
| 88 | 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 | 103 | enum nf_osf_attr_type { |
| 92 | 104 | OSF_ATTR_UNSPEC, |
| 93 | 105 | OSF_ATTR_FINGER, |
| @@ -46,6 +46,7 @@ · 45 unmodified lines | ||
| 46 | 46 | #define xt_osf_finger nf_osf_finger |
| 47 | 47 | #define xt_osf_nlmsg nf_osf_nlmsg |
| 48 | 48 | |
| 49 | +#define xt_osf_window_size_options nf_osf_window_size_options | |
| 49 | 50 | #define xt_osf_attr_type nf_osf_attr_type |
| 50 | 51 | #define xt_osf_msg_types nf_osf_msg_types |
| 51 | 52 | |