mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 13:15:12 +02:00

Use __u8 for the invert flag instead of int. Reduce CONDITION_NAME_LEN from 32 to 31 so that the entire structure can fit into a cacheline.
14 lines
194 B
C
14 lines
194 B
C
#ifndef _XT_CONDITION_H
|
|
#define _XT_CONDITION_H
|
|
|
|
enum {
|
|
CONDITION_NAME_LEN = 31,
|
|
};
|
|
|
|
struct xt_condition_mtinfo {
|
|
char name[CONDITION_NAME_LEN];
|
|
__u8 invert;
|
|
};
|
|
|
|
#endif /* _XT_CONDITION_H */
|