extensions: syntactically compact struct definitions

This commit is contained in:
Jan Engelhardt
2021-07-17 11:32:19 +02:00
parent 81ab0b9586
commit 714998176a
10 changed files with 16 additions and 34 deletions

View File

@@ -19,8 +19,6 @@
#define SCAN_WEIGHT_THRESHOLD SCAN_MAX_COUNT
struct xt_psd_info {
__u32 weight_threshold;
__u32 delay_threshold;
__u16 lo_ports_weight;
__u16 hi_ports_weight;
__u32 weight_threshold, delay_threshold;
__u16 lo_ports_weight, hi_ports_weight;
};